Function at 0x498a10
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac910
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 + 8]
mov dword [ebp - 4], 0
test eax, eax
jne 0x498c27
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.WINTRUST.DLL
mov dword [esi + 8], 1
call ebx
test eax, eax
mov dword [esi + 0x10], eax
jne 0x498a7b
push 0x53cad0
push eax
push 0x2e4
push str.D:SVN360BaseQHPEInfo.cpp
call fcn.004a3d40
add esp, 0x10
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinVerifyTrust
push eax
call edi
mov ecx, dword [esi + 0x10]
push str.CryptCATAdminCalcHashFromFileHandle
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 0x10]
push str.CryptCATAdminAcquireContext
push edx
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x10]
push str.CryptCATAdminReleaseContext
push eax
call edi
mov ecx, dword [esi + 0x10]
push str.CryptCATAdminEnumCatalogFromHash
push ecx
mov dword [esi + 0x1c], eax
call edi
mov edx, dword [esi + 0x10]
push str.CryptCATAdminReleaseCatalogContext
push edx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x10]
push str.CryptCATCatalogInfoFromContext
push eax
call edi
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x2c], eax
test ecx, ecx
je 0x498b11
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x498b11
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x498b11
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x498b11
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x498b11
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x498b11
test eax, eax
jne 0x498b2a
push 0x53c9e0
push 0
push 0x2f3
push str.D:SVN360BaseQHPEInfo.cpp
call fcn.004a3d40
add esp, 0x10
push 0
push 0
push esi
call dword [esi + 0x18]
test eax, eax
jne 0x498b4e
push 0x53c9c8
push eax
push 0x2f5
push str.D:SVN360BaseQHPEInfo.cpp
call fcn.004a3d40
add esp, 0x10
push str.Crypt32.dll
call ebx
test eax, eax
mov dword [esi + 0x30], eax
jne 0x498b74
push 0x53c99c
push eax
push 0x2f8
push str.D:SVN360BaseQHPEInfo.cpp
call fcn.004a3d40
add esp, 0x10
mov ecx, dword [esi + 0x30]
push str.CryptQueryObject
push ecx
call edi
mov edx, dword [esi + 0x30]
push str.CertCloseStore
push edx
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x30]
push str.CryptMsgClose
push eax
call edi
mov ecx, dword [esi + 0x30]
push str.CryptMsgGetParam
push ecx
mov dword [esi + 0x3c], eax
call edi
mov edx, dword [esi + 0x30]
push str.CryptDecodeObject
push edx
mov dword [esi + 0x40], eax
call edi
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x30]
push str.CertFindCertificateInStore
push eax
call edi
mov ecx, dword [esi + 0x30]
push str.CertFreeCertificateContext
push ecx
mov dword [esi + 0x48], eax
call edi
mov edx, dword [esi + 0x30]
push str.CertGetNameStringA
push edx
mov dword [esi + 0x4c], eax
call edi
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x50], eax
test ecx, ecx
je 0x498c19
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x498c19
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x498c19
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x498c19
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x498c19
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x498c19
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x498c19
test eax, eax
jne 0x498c56
push 0x53c8dc
push 0
push 0x309
jmp 0x498c49
mov eax, dword [esi + 0x10]
test eax, eax
je 0x498c33
cmp dword [esi], 0
jne 0x498c56
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x53c8c8
push 0
push 0x30d
push str.D:SVN360BaseQHPEInfo.cpp
call fcn.004a3d40
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