Function at 0x493e30
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7e60
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 0x494047
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 0x493e9b
push 0x5408a8
push eax
push 0x2e4
push str.D:_root.ddev360C360PubSrc360BaseQHPEInfo.cpp
call fcn.0049f120
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 0x493f31
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x493f31
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x493f31
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x493f31
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x493f31
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x493f31
test eax, eax
jne 0x493f4a
push 0x5407b8
push 0
push 0x2f3
push str.D:_root.ddev360C360PubSrc360BaseQHPEInfo.cpp
call fcn.0049f120
add esp, 0x10
push 0
push 0
push esi
call dword [esi + 0x18]
test eax, eax
jne 0x493f6e
push 0x5407a0
push eax
push 0x2f5
push str.D:_root.ddev360C360PubSrc360BaseQHPEInfo.cpp
call fcn.0049f120
add esp, 0x10
push str.Crypt32.dll
call ebx
test eax, eax
mov dword [esi + 0x30], eax
jne 0x493f94
push 0x540774
push eax
push 0x2f8
push str.D:_root.ddev360C360PubSrc360BaseQHPEInfo.cpp
call fcn.0049f120
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 0x494039
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x494039
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x494039
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x494039
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x494039
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x494039
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x494039
test eax, eax
jne 0x494076
push 0x5406b4
push 0
push 0x309
jmp 0x494069
mov eax, dword [esi + 0x10]
test eax, eax
je 0x494053
cmp dword [esi], 0
jne 0x494076
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x5406a0
push 0
push 0x30d
push str.D:_root.ddev360C360PubSrc360BaseQHPEInfo.cpp
call fcn.0049f120
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