Function at 0x43f980
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a6c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x485d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp dword [esi + 0xc], 0
mov dword [ebp - 4], 0
jne 0x43fb7e
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.WINTRUST.DLL
mov dword [esi + 0xc], 1
call ebx
mov dword [esi + 0x14], eax
test eax, eax
jne 0x43f9f4
push 0x472edc
push eax
push 0x3ed
push str..QHPEInfo.cpp
call fcn.0043e5f0
add esp, 0x10
mov eax, dword [esi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinVerifyTrust
push eax
call edi
mov ecx, dword [esi + 0x14]
push str.CryptCATAdminCalcHashFromFileHandle
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 0x14]
push str.CryptCATAdminAcquireContext
push edx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x14]
push str.CryptCATAdminReleaseContext
push eax
call edi
mov ecx, dword [esi + 0x14]
push str.CryptCATAdminEnumCatalogFromHash
push ecx
mov dword [esi + 0x20], eax
call edi
mov edx, dword [esi + 0x14]
push str.CryptCATAdminReleaseCatalogContext
push edx
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x14]
push str.CryptCATCatalogInfoFromContext
push eax
call edi
cmp dword [esi + 0x18], 0
mov dword [esi + 0x30], eax
je 0x43fa84
cmp dword [esi + 0x24], 0
je 0x43fa84
cmp dword [esi + 0x1c], 0
je 0x43fa84
cmp dword [esi + 0x20], 0
je 0x43fa84
cmp dword [esi + 0x28], 0
je 0x43fa84
cmp dword [esi + 0x2c], 0
je 0x43fa84
test eax, eax
jne 0x43fa9d
push 0x472ddc
push 0
push 0x3fc
push str..QHPEInfo.cpp
call fcn.0043e5f0
add esp, 0x10
mov edx, dword [esi + 0x1c]
push 0
push 0
lea ecx, [esi + 4]
push ecx
call edx
push str.Crypt32.dll
mov dword [esi], eax
call ebx
mov dword [esi + 0x34], eax
test eax, eax
jne 0x43fad2
push 0x472da4
push eax
push 0x402
push str..QHPEInfo.cpp
call fcn.0043e5f0
add esp, 0x10
mov eax, dword [esi + 0x34]
push str.CryptQueryObject
push eax
call edi
mov ecx, dword [esi + 0x34]
push 0x472d80
push ecx
mov dword [esi + 0x38], eax
call edi
mov edx, dword [esi + 0x34]
push 0x472d70
push edx
mov dword [esi + 0x3c], eax
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x34]
push str.CryptMsgGetParam
push eax
call edi
mov ecx, dword [esi + 0x34]
push str.CryptDecodeObject
push ecx
mov dword [esi + 0x44], eax
call edi
mov edx, dword [esi + 0x34]
push str.CertFindCertificateInStore
push edx
mov dword [esi + 0x48], eax
call edi
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x34]
push str.CertFreeCertificateContext
push eax
call edi
mov ecx, dword [esi + 0x34]
push 0x472cfc
push ecx
mov dword [esi + 0x50], eax
call edi
cmp dword [esi + 0x38], 0
mov dword [esi + 0x54], eax
je 0x43fb70
cmp dword [esi + 0x3c], 0
je 0x43fb70
cmp dword [esi + 0x40], 0
je 0x43fb70
cmp dword [esi + 0x44], 0
je 0x43fb70
cmp dword [esi + 0x48], 0
je 0x43fb70
cmp dword [esi + 0x4c], 0
je 0x43fb70
cmp dword [esi + 0x50], 0
je 0x43fb70
test eax, eax
jne 0x43fbad
push 0x472cd8
push 0
push 0x413
jmp 0x43fba0
cmp dword [esi + 0x14], 0
je 0x43fb8a
cmp dword [esi + 0x34], 0
jne 0x43fbad
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x472cc4
push 0
push 0x417
push str..QHPEInfo.cpp
call fcn.0043e5f0
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret