Untitled Diff

Created Diff never expires
27 removals
135 lines
49 additions
156 lines
G_M1750_IG01:
G_M1750_IG01:
push r14
push r14
push rdi
push rdi
push rsi
push rsi
push rbp
push rbp
push rbx
push rbx
sub rsp, 32
sub rsp, 32
mov rsi, rcx
mov rsi, rcx
;; size=13 bbWeight=1 PerfScore 5.50
;; size=13 bbWeight=1 PerfScore 5.50
G_M1750_IG02:
G_M1750_IG02:
mov rcx, 0xD1FFAB1E ; 'System.Security.Cryptography.RSA'
mov rcx, 0xD1FFAB1E ; 'System.Security.Cryptography.RSA'


mov edx, 2
mov edx, 2
call [System.RuntimeType:GetCachedName(int):System.String:this]
call [System.RuntimeType:GetCachedName(int):System.String:this]
mov rdi, rax
mov rdi, rax
test rdi, rdi
test rdi, rdi
jne SHORT G_M1750_IG04
jne SHORT G_M1750_IG04
;; size=29 bbWeight=1 PerfScore 5.00
;; size=29 bbWeight=1 PerfScore 5.00
G_M1750_IG03:
G_M1750_IG03:
xor rdx, rdx
xor rdx, rdx
jmp G_M1750_IG07
jmp G_M1750_IG07
;; size=7 bbWeight=0.50 PerfScore 1.12
;; size=7 bbWeight=0.50 PerfScore 1.12
G_M1750_IG04:
G_M1750_IG04:
mov rcx, 0xD1FFAB1E ; 'System.Security.Cryptography.RSA'
mov rcx, 0xD1FFAB1E ; 'System.Security.Cryptography.RSA'


call System.RuntimeTypeHandle:GetAssembly(System.RuntimeType):System.Reflection.RuntimeAssembly
call System.RuntimeTypeHandle:GetAssembly(System.RuntimeType):System.Reflection.RuntimeAssembly
mov rcx, rax
mov rcx, rax
cmp dword ptr [rcx], ecx
cmp dword ptr [rcx], ecx
call [System.Reflection.RuntimeAssembly:get_FullName():System.String:this]
call [System.Reflection.RuntimeAssembly:get_FullName():System.String:this]
mov rbx, rax
mov rbx, rax
mov ebp, dword ptr [rdi+08H]
mov ebp, dword ptr [rdi+08H]
test ebp, ebp
test ebp, ebp
je SHORT G_M1750_IG05
je SHORT G_M1750_IG05
test rbx, rbx
test rbx, rbx
je G_M1750_IG09
je G_M1750_IG11
jmp SHORT G_M1750_IG06
jmp SHORT G_M1750_IG06
;; size=47 bbWeight=0.50 PerfScore 7.12
;; size=47 bbWeight=0.50 PerfScore 7.12
G_M1750_IG05:
G_M1750_IG05:
mov rdx, rbx
mov rdx, rbx
mov rcx, 0xD1FFAB1E ; ', '
mov rcx, 0xD1FFAB1E ; ', '


call [System.String:Concat(System.String,System.String):System.String]
call [System.String:Concat(System.String,System.String):System.String]
mov rdx, rax
mov rdx, rax
jmp SHORT G_M1750_IG07
jmp SHORT G_M1750_IG07
;; size=24 bbWeight=0.50 PerfScore 2.88
;; size=24 bbWeight=0.50 PerfScore 2.88
G_M1750_IG06:
G_M1750_IG06:
mov ecx, dword ptr [rbx+08H]
mov ecx, dword ptr [rbx+08H]
test ecx, ecx
test ecx, ecx
je G_M1750_IG09
je G_M1750_IG11
lea ecx, [rcx+rbp+02H]
lea ecx, [rcx+rbp+02H]
call System.String:FastAllocateString(int):System.String
call System.String:FastAllocateString(int):System.String
mov r14, rax
mov r14, rax
cmp dword ptr [r14+08H], ebp
cmp dword ptr [r14+08H], ebp
jl G_M1750_IG10
jl G_M1750_IG13
lea rcx, bword ptr [r14+0CH]
lea rcx, bword ptr [r14+0CH]
lea rdx, bword ptr [rdi+0CH]
lea rdx, bword ptr [rdi+0CH]
mov r8d, ebp
mov r8d, ebp
add r8, r8
add r8, r8
call [System.Buffer:Memmove(byref,byref,ulong)]
call [System.Buffer:Memmove(byref,byref,ulong)]
mov ecx, ebp
mov ecx, ebp
mov edx, dword ptr [r14+08H]
mov edx, dword ptr [r14+08H]
sub edx, ecx
sub edx, ecx
cmp edx, 2
cmp edx, 2
jl G_M1750_IG11
jl G_M1750_IG14
movsxd rcx, ecx
movsxd rcx, ecx
lea rcx, bword ptr [r14+2*rcx+0CH]
lea rcx, bword ptr [r14+2*rcx+0CH]
mov rdx, 0xD1FFAB1E ; ', '
mov rdx, 0xD1FFAB1E ; ', '


add rdx, 12
add rdx, 12
mov r8d, 4
mov r8d, 4
call [System.Buffer:Memmove(byref,byref,ulong)]
call [System.Buffer:Memmove(byref,byref,ulong)]
lea edx, [rbp+02H]
lea edx, [rbp+02H]
mov rcx, r14
mov rcx, r14
mov r8, rbx
mov r8, rbx
call [System.String:FillStringChecked(System.String,int,System.String)]
call [System.String:FillStringChecked(System.String,int,System.String)]
mov rdx, r14
mov rdx, r14
;; size=122 bbWeight=0.50 PerfScore 13.50
;; size=122 bbWeight=0.50 PerfScore 13.50
G_M1750_IG07:
G_M1750_IG07:
lea rcx, bword ptr [rsi+08H]
lea rcx, bword ptr [rsi+08H]
call CORINFO_HELP_ASSIGN_REF
call CORINFO_HELP_ASSIGN_REF
mov rcx, 0xD1FFAB1E ; 'System.Security.Cryptography.RSAPKCS1SignatureFormatter'
mov rcx, 0xD1FFAB1E ; 'System.Security.Cryptography.RSAPKCS1SignatureFormatter'


call [System.RuntimeType:get_AssemblyQualifiedName():System.String:this]
call [System.RuntimeType:get_FullName():System.String:this]
lea rcx, bword ptr [rsi+18H]
mov rbx, rax
mov rdx, rax
test rbx, rbx
call CORINFO_HELP_ASSIGN_REF
jne SHORT G_M1750_IG12
;; size=33 bbWeight=1 PerfScore 6.25
G_M1750_IG08:
xor rdx, rdx
;; size=2 bbWeight=0.50 PerfScore 0.12
G_M1750_IG09:
mov rcx, rsi
call [System.Security.Cryptography.SignatureDescription:set_FormatterAlgorithm(System.String):this]
mov rcx, 0xD1FFAB1E ; 'System.Security.Cryptography.RSAPKCS1SignatureDeformatter'
mov rcx, 0xD1FFAB1E ; 'System.Security.Cryptography.RSAPKCS1SignatureDeformatter'


call [System.RuntimeType:get_AssemblyQualifiedName():System.String:this]
call [System.RuntimeType:get_AssemblyQualifiedName():System.String:this]
lea rcx, bword ptr [rsi+20H]
mov rdx, rax
mov rdx, rax
call CORINFO_HELP_ASSIGN_REF
mov rcx, rsi
mov rcx, 0xD1FFAB1E ; 'SHA1'
call [System.Security.Cryptography.SignatureDescription:set_DeformatterAlgorithm(System.String):this]
mov rcx, rsi
mov rdx, 0xD1FFAB1E ; 'SHA1'


mov gword ptr [rsi+10H], rcx
;; size=50 bbWeight=1 PerfScore 10.50
;; size=79 bbWeight=1 PerfScore 12.75
G_M1750_IG10:
G_M1750_IG08:
add rsp, 32
add rsp, 32
pop rbx
pop rbx
pop rbp
pop rbp
pop rsi
pop rsi
pop rdi
pop rdi
pop r14
pop r14
ret
tail.jmp [System.Security.Cryptography.SignatureDescription:set_DigestAlgorithm(System.String):this]
;; size=11 bbWeight=1 PerfScore 3.75
;; size=16 bbWeight=1 PerfScore 4.75
G_M1750_IG09:
G_M1750_IG11:
mov rcx, rdi
mov rcx, rdi
mov rdx, 0xD1FFAB1E ; ', '
mov rdx, 0xD1FFAB1E ; ', '


call [System.String:Concat(System.String,System.String):System.String]
call [System.String:Concat(System.String,System.String):System.String]
mov rdx, rax
mov rdx, rax
jmp SHORT G_M1750_IG07
jmp SHORT G_M1750_IG07
;; size=24 bbWeight=0.50 PerfScore 2.88
;; size=24 bbWeight=0.50 PerfScore 2.88
G_M1750_IG10:
G_M1750_IG12:
mov rcx, 0xD1FFAB1E ; 'System.Security.Cryptography.RSAPKCS1SignatureFormatter'

call [System.RuntimeType:get_Assembly():System.Reflection.Assembly:this]
mov rcx, rax
mov rax, qword ptr [rax]
mov rax, qword ptr [rax+48H]
call [rax+18H]System.Reflection.Assembly:get_FullName():System.String:this
mov rcx, rax
mov rdx, rbx
call [System.Reflection.Assembly:CreateQualifiedName(System.String,System.String):System.String]
mov rdx, rax
jmp G_M1750_IG09
;; size=49 bbWeight=0.50 PerfScore 8.12
G_M1750_IG13:
mov rcx, 0xD1FFAB1E ; System.IndexOutOfRangeException
mov rcx, 0xD1FFAB1E ; System.IndexOutOfRangeException
call CORINFO_HELP_NEWSFAST
call CORINFO_HELP_NEWSFAST
mov rsi, rax
mov rsi, rax
mov rcx, rsi
mov rcx, rsi
call [System.IndexOutOfRangeException:.ctor():this]
call [System.IndexOutOfRangeException:.ctor():this]
mov rcx, rsi
mov rcx, rsi
call CORINFO_HELP_THROW
call CORINFO_HELP_THROW
;; size=35 bbWeight=0 PerfScore 0.00
;; size=35 bbWeight=0 PerfScore 0.00
G_M1750_IG11:
G_M1750_IG14:
mov rcx, 0xD1FFAB1E ; System.IndexOutOfRangeException
mov rcx, 0xD1FFAB1E ; System.IndexOutOfRangeException
call CORINFO_HELP_NEWSFAST
call CORINFO_HELP_NEWSFAST
mov rsi, rax
mov rsi, rax
mov rcx, rsi
mov rcx, rsi
call [System.IndexOutOfRangeException:.ctor():this]
call [System.IndexOutOfRangeException:.ctor():this]
mov rcx, rsi
mov rcx, rsi
call CORINFO_HELP_THROW
call CORINFO_HELP_THROW
int3
int3
;; size=36 bbWeight=0 PerfScore 0.00
;; size=36 bbWeight=0 PerfScore 0.00


; Total bytes of code 427, prolog size 10, PerfScore 97.20, instruction count 102, allocated bytes for code 427 (MethodHash=2c4af929) for method System.Security.Cryptography.Xml.RSAPKCS1SHA1SignatureDescription:.ctor():this
; Total bytes of code 487, prolog size 10, PerfScore 116.45, instruction count 116, allocated bytes for code 487 (MethodHash=2c4af929) for method System.Security.Cryptography.Xml.RSAPKCS1SHA1SignatureDescription:.ctor():this
; ============================================================
; ============================================================