Function at 0x418c28
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
mov esi, edx
xor ebx, ebx
push edi
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
test eax, eax
je 0x418c45
xor edx, edx
mov word [eax], dx
mov ebp, dword [esp + 0x94]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
test eax, eax
je 0x418c5b
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0x98]
mov dword [eax + 8], ebx
mov eax, dword [eax + 4]
test eax, eax
je 0x418c71
xor edx, edx
mov word [eax], dx
mov edi, dword [esp + 0x9c]
mov dword [edi], ebx
test ecx, ecx
je 0x418f04
cmp word [ecx], bx
je 0x418f04
push 2
pop eax
mov dword [esp + 0x6c], eax
xorps xmm0, xmm0
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x78], eax
xor ecx, ecx
lea eax, [esp + 0x60]
mov dword [esp + 0x20], 0xaac56b
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x11d0cd44
inc ecx
mov dword [esp + 0x2c], 0xc000c28c
push eax
push 0xffffffffffffffff
mov dword [esp + 0x38], 0xee95c24f
mov dword [esp + 0x48], ebx
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x8c], xmm0
mov dword [esp + 0x98], ebx
mov dword [esp + 0x20], 3
mov dword [esp + 0x3c], 0x10
mov dword [esp + 0x44], ebx
mov dword [esp + 0x6c], 0x30
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x94], 0x1010
call dword [sym.imp.WINTRUST.dll_WinVerifyTrust]
mov dword [edi], eax
cmp eax, 0x80096010
je 0x418ef8
cmp eax, 0x800b0001
je 0x418ef1
cmp eax, 0x800b0100
je 0x418eea
test eax, eax
je 0x418d64
push eax
push str.error_0x_.8X
push esi
call fcn.004011fb
add esp, 0xc
jmp 0x418f04
push dword [esp + 0x80]
call dword [sym.imp.WINTRUST.dll_WTHelperProvDataFromStateData]
test eax, eax
je 0x418ec9
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WINTRUST.dll_WTHelperGetProvSignerFromChain]
test eax, eax
je 0x418ec9
push ebx
push eax
call dword [sym.imp.WINTRUST.dll_WTHelperGetProvCertFromChain]
mov edi, eax
test edi, edi
je 0x418ec9
push ebx
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push 5
push dword [edi + 4]
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x418e0a
push 0x45f8cc
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041aafd
mov dword [esp + 0x20], eax
pop ecx
pop ecx
test eax, eax
je 0x418e0a
push dword [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
push 5
push dword [edi + 4]
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
test eax, eax
je 0x418e00
push dword [esp + 0x18]
mov ecx, esi
call fcn.00403489
push dword [esp + 0x18]
call fcn.0041ab06
pop ecx
push ebx
push ebx
lea eax, [esp + 0x1c]
push eax
push 1
push 5
push dword [edi + 4]
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x418e71
push 0x45f8cc
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041aafd
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x418e71
push dword [esp + 0x1c]
lea eax, [esp + 0x18]
push esi
push eax
push 1
push 5
push dword [edi + 4]
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
test eax, eax
je 0x418e6a
push esi
mov ecx, ebp
call fcn.00403489
push esi
call fcn.0041ab06
pop ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x418ec7
mov eax, dword [eax + 0xc]
test eax, eax
je 0x418ec7
cmp dword [eax + 4], 0x10
jne 0x418ec7
cmp dword [eax + 8], ebx
je 0x418ec7
mov ebx, dword [esp + 0x98]
push 0xf
pop esi
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
movzx eax, byte [eax + esi]
push eax
push str._02x
lea eax, [esp + 0x48]
push 0xf
push eax
call fcn.00403c23
add esp, 0x10
lea eax, [esp + 0x40]
mov ecx, ebx
push eax
call fcn.0040380a
sub esi, 1
jns 0x418e94
mov bl, 1
push 2
pop eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
call dword [sym.imp.WINTRUST.dll_WinVerifyTrust]
mov al, bl
jmp 0x418f06
push str.no_signature
jmp 0x418efd
push str.no_trust_provider_on_this_machine_can_verify_this_type_of_files
jmp 0x418efd
push str.invalid_signature
mov ecx, esi
call fcn.00403489
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret