Function at 0x49ae40
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8c00
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4e70ac]
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 0x49b03e
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 0x49aeb4
push 0x4cbdc0
push eax
push 0x3f7
push str..QHPEInfo.cpp
call fcn.0049d590
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 0x49af44
cmp dword [esi + 0x24], 0
je 0x49af44
cmp dword [esi + 0x1c], 0
je 0x49af44
cmp dword [esi + 0x20], 0
je 0x49af44
cmp dword [esi + 0x28], 0
je 0x49af44
cmp dword [esi + 0x2c], 0
je 0x49af44
test eax, eax
jne 0x49af5d
push 0x4cbcc0
push 0
push 0x406
push str..QHPEInfo.cpp
call fcn.0049d590
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 0x49af92
push 0x4cbc88
push eax
push 0x40c
push str..QHPEInfo.cpp
call fcn.0049d590
add esp, 0x10
mov eax, dword [esi + 0x34]
push str.CryptQueryObject
push eax
call edi
mov ecx, dword [esi + 0x34]
push str.CertCloseStore
push ecx
mov dword [esi + 0x38], eax
call edi
mov edx, dword [esi + 0x34]
push str.CryptMsgClose
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 str.CertGetNameStringW
push ecx
mov dword [esi + 0x50], eax
call edi
cmp dword [esi + 0x38], 0
mov dword [esi + 0x54], eax
je 0x49b030
cmp dword [esi + 0x3c], 0
je 0x49b030
cmp dword [esi + 0x40], 0
je 0x49b030
cmp dword [esi + 0x44], 0
je 0x49b030
cmp dword [esi + 0x48], 0
je 0x49b030
cmp dword [esi + 0x4c], 0
je 0x49b030
cmp dword [esi + 0x50], 0
je 0x49b030
test eax, eax
jne 0x49b06d
push 0x4cbbbc
push 0
push 0x41d
jmp 0x49b060
cmp dword [esi + 0x14], 0
je 0x49b04a
cmp dword [esi + 0x34], 0
jne 0x49b06d
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x4cbba8
push 0
push 0x421
push str..QHPEInfo.cpp
call fcn.0049d590
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