Function at 0x525190
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e520
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x58c758]
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 0x52538e
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 0x525204
push 0x56f060
push eax
push 0x3f3
push str..QHPEInfo.cpp
call fcn.004aa270
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 0x525294
cmp dword [esi + 0x24], 0
je 0x525294
cmp dword [esi + 0x1c], 0
je 0x525294
cmp dword [esi + 0x20], 0
je 0x525294
cmp dword [esi + 0x28], 0
je 0x525294
cmp dword [esi + 0x2c], 0
je 0x525294
test eax, eax
jne 0x5252ad
push 0x56ef60
push 0
push 0x402
push str..QHPEInfo.cpp
call fcn.004aa270
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 0x5252e2
push 0x56ef28
push eax
push 0x408
push str..QHPEInfo.cpp
call fcn.004aa270
add esp, 0x10
mov eax, dword [esi + 0x34]
push str.CryptQueryObject
push eax
call edi
mov ecx, dword [esi + 0x34]
push 0x56ef04
push ecx
mov dword [esi + 0x38], eax
call edi
mov edx, dword [esi + 0x34]
push 0x56eef4
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 0x56ee80
push ecx
mov dword [esi + 0x50], eax
call edi
cmp dword [esi + 0x38], 0
mov dword [esi + 0x54], eax
je 0x525380
cmp dword [esi + 0x3c], 0
je 0x525380
cmp dword [esi + 0x40], 0
je 0x525380
cmp dword [esi + 0x44], 0
je 0x525380
cmp dword [esi + 0x48], 0
je 0x525380
cmp dword [esi + 0x4c], 0
je 0x525380
cmp dword [esi + 0x50], 0
je 0x525380
test eax, eax
jne 0x5253bd
push 0x56ee5c
push 0
push 0x419
jmp 0x5253b0
cmp dword [esi + 0x14], 0
je 0x52539a
cmp dword [esi + 0x34], 0
jne 0x5253bd
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x56ee48
push 0
push 0x41d
push str..QHPEInfo.cpp
call fcn.004aa270
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