Function at 0x450dd0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xfffffffffffffffe
push 0x52cb50
push 0x4e02e2
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x53fa2c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 0x40c]
mov eax, dword [ebp + 0x410]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0x414]
mov dword [ebp - 0x4c], ecx
push str.CryptQueryObject
push str.Crypt32.dll
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call esi
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
mov dword [0x745a00], eax
push str.CertFindCertificateInStore
push str.Crypt32.dll
call esi
push eax
call edi
mov dword [0x745a04], eax
push str.CertGetNameStringA
push str.Crypt32.dll
call esi
push eax
call edi
mov dword [0x745a08], eax
push str.CryptMsgGetParam
push str.Crypt32.dll
call esi
push eax
call edi
mov dword [0x745a0c], eax
push str.CryptMsgClose
push str.Crypt32.dll
call esi
push eax
call edi
mov dword [0x745a10], eax
push str.CertFreeCertificateContext
push str.Crypt32.dll
call esi
push eax
call edi
mov dword [0x745a14], eax
push str.CertCloseStore
push str.Crypt32.dll
call esi
push eax
call edi
mov dword [0x745a18], eax
xor edi, edi
cmp dword [0x745a00], edi
je 0x4511a0
cmp dword [0x745a04], edi
je 0x4511a0
cmp dword [0x745a08], edi
je 0x4511a0
cmp dword [0x745a0c], edi
je 0x4511a0
cmp dword [0x745a10], edi
je 0x4511a0
cmp dword [0x745a14], edi
je 0x4511a0
cmp eax, edi
je 0x4511a0
push 0x400
lea edx, [ebp]
push edx
push 0xffffffffffffffff
push ebx
push edi
push edi
call fcn.0048ea60
add esp, 0x18
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x3c], edi
mov byte [ebp - 0x19], 0
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], edi
push edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x54]
push ecx
push edi
push 2
push 0x400
lea edx, [ebp]
push edx
push 1
call dword [0x745a00]
cmp eax, edi
je 0x451109
lea eax, [ebp - 0x30]
push eax
push edi
push edi
push 6
mov ecx, dword [ebp - 0x24]
push ecx
call dword [0x745a0c]
cmp eax, edi
jne 0x450fca
mov esi, dword [ebp - 0x20]
push esi
push str.ERR_CryptMsgGetParam_size__:
call fcn.0044d6d0
push esi
push ebx
push str.__s__s
push edi
call fcn.0043d500
add esp, 0x18
mov dword [ebp - 4], 0xfffffffe
jmp 0x451138
mov edx, dword [ebp - 0x30]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov dword [ebp - 0x28], esi
cmp esi, edi
jne 0x450fea
mov esi, dword [ebp - 0x20]
push esi
push str.ERR_CryptMsgGetParam_LocalAlloc__:
jmp 0x450fa9
lea eax, [ebp - 0x30]
push eax
push esi
push edi
push 6
mov ecx, dword [ebp - 0x24]
push ecx
call dword [0x745a0c]
cmp eax, edi
jne 0x45100b
mov esi, dword [ebp - 0x20]
push esi
push str.ERR_CryptMsgGetParam__:
jmp 0x450fa9
mov edx, dword [esi + 4]
mov dword [ebp - 0xac], edx
mov eax, dword [esi + 8]
mov dword [ebp - 0xa8], eax
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0xc0], ecx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0xbc], edx
push edi
lea eax, [ebp - 0xc4]
push eax
push 0xb0000
push edi
push 0x10001
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [0x745a04]
mov esi, eax
mov dword [ebp - 0x34], esi
cmp esi, edi
jne 0x451063
mov esi, dword [ebp - 0x20]
push esi
push str.ERR_CertFindCertificateInStore__:
jmp 0x450fa9
push edi
push edi
push edi
push edi
push 4
push esi
call dword [0x745a08]
cmp eax, edi
jne 0x451082
mov esi, dword [ebp - 0x20]
push esi
push str.ERR_CertGetNameString_size__:
jmp 0x450fa9
cmp eax, 0x200
jbe 0x45108e
mov eax, 0x1ff
push eax
mov edx, dword [ebp - 0x20]
push edx
push edi
push edi
push 4
push esi
call dword [0x745a08]
test eax, eax
jne 0x4510b0
mov esi, dword [ebp - 0x20]
push esi
push str.ERR_CertGetNameString__:
jmp 0x450fa9
mov ebx, dword [ebp - 0x4c]
mov esi, ebx
cmp esi, edi
je 0x4510de
cmp byte [esi], 0
je 0x4510de
mov eax, dword [ebp + 0x418]
lea ecx, [ebx + eax]
cmp esi, ecx
jae 0x4510de
push esi
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x451112
mov byte [ebp - 0x19], 1
cmp dword [0x103a97c], 0x98
jne 0x451109
cmp dword [ebp - 0x28], edi
je 0x451109
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 8]
push edx
push str.GetSignOfExeIssuer__s_CertGetNameString__s_
push 8
call fcn.0043d500
add esp, 0x10
mov dword [ebp - 4], 0xfffffffe
jmp 0x451138
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451117
sub eax, edx
lea esi, [esi + eax + 1]
jmp 0x4510b5
mov eax, dword [ebp - 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp eax, edi
je 0x451148
push eax
call esi
mov eax, dword [ebp - 0x44]
cmp eax, edi
je 0x451152
push eax
call esi
mov eax, dword [ebp - 0x40]
cmp eax, edi
je 0x45115c
push eax
call esi
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x451166
push eax
call esi
mov eax, dword [ebp - 0x3c]
cmp eax, edi
je 0x451170
push eax
call esi
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x45117e
push eax
call dword [0x745a14]
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x45118d
push edi
push eax
call dword [0x745a18]
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x45119b
push eax
call dword [0x745a10]
mov al, byte [ebp - 0x19]
jmp 0x4511a2
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.004e0148
add ebp, 0x404
mov esp, ebp
pop ebp
ret