Function at 0x404990
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], 0
test eax, eax
jne 0x404b90
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.WINTRUST.DLL
mov dword [esi + 0xc], 1
call ebx
test eax, eax
mov dword [esi + 0x14], eax
jne 0x4049fb
push 0x416770
push eax
push 0x3f7
push str.E:_build360BaseQHPEInfo.cpp
call fcn.004061c0
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
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x30], eax
test ecx, ecx
je 0x404a91
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x404a91
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x404a91
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x404a91
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x404a91
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x404a91
test eax, eax
jne 0x404aaa
push 0x416680
push 0
push 0x406
push str.E:_build360BaseQHPEInfo.cpp
call fcn.004061c0
add esp, 0x10
push 0
lea ecx, [esi + 4]
push 0
push ecx
call dword [esi + 0x1c]
push str.Crypt32.dll
mov dword [esi], eax
call ebx
test eax, eax
mov dword [esi + 0x34], eax
jne 0x404add
push 0x416654
push eax
push 0x40c
push str.E:_build360BaseQHPEInfo.cpp
call fcn.004061c0
add esp, 0x10
mov edx, dword [esi + 0x34]
push str.CryptQueryObject
push edx
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x34]
push str.CertCloseStore
push eax
call edi
mov ecx, dword [esi + 0x34]
push str.CryptMsgClose
push ecx
mov dword [esi + 0x3c], eax
call edi
mov edx, dword [esi + 0x34]
push str.CryptMsgGetParam
push edx
mov dword [esi + 0x40], eax
call edi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x34]
push str.CryptDecodeObject
push eax
call edi
mov ecx, dword [esi + 0x34]
push str.CertFindCertificateInStore
push ecx
mov dword [esi + 0x48], eax
call edi
mov edx, dword [esi + 0x34]
push str.CertFreeCertificateContext
push edx
mov dword [esi + 0x4c], eax
call edi
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x34]
push str.CertGetNameStringA
push eax
call edi
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x54], eax
test ecx, ecx
je 0x404b82
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x404b82
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x404b82
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x404b82
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x404b82
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x404b82
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x404b82
test eax, eax
jne 0x404bc1
push 0x416594
push 0
push 0x41d
jmp 0x404bb4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x404b9e
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x404bc1
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x416580
push 0
push 0x421
push str.E:_build360BaseQHPEInfo.cpp
call fcn.004061c0
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret