Function at 0x4f2980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x304
mov eax, dword [0x5e56f0]
xor eax, esp
mov dword [esp + 0x300], eax
push ebx
push esi
push edi
push 0x2c
lea eax, [esp + 0x34]
mov dword [esp + 0x30], 0
mov ebx, ecx
push 0
push eax
mov dword [esp + 0x1c], ebx
call fcn.0054cf60
push 0x208
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
lea eax, [esp + 0xa4]
movq qword [esp + 0x30], xmm0
push 0
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x74], 0
movdqu xmmword [esp + 0x78], xmm0
mov dword [esp + 0xa8], 0
movdqu xmmword [esp + 0x88], xmm0
call fcn.0054cf60
add esp, 0x18
mov dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push 0
push 0
push eax
call dword [sym.imp.WINTRUST.dll_CryptCATAdminAcquireContext]
test eax, eax
je 0x4f2a4f
push 0
push 0
push 3
push 0
push 1
push closesocket
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 0
cmp esi, 0xffffffff
jne 0x4f2a66
push dword [esp + 0x18]
call dword [sym.imp.WINTRUST.dll_CryptCATAdminReleaseContext]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x300]
xor ecx, esp
call fcn.0054caf9
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x2a4]
mov dword [esp + 0x1c], 0x64
push eax
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.WINTRUST.dll_CryptCATAdminCalcHashFromFileHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, 2
lea eax, [eax*2 + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00549ae9
mov ecx, dword [esp + 0x1c]
add esp, 4
mov edi, eax
xor esi, esi
mov dword [esp + 0xc], edi
test ecx, ecx
je 0x4f2af8
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x4f2ad0
movzx eax, byte [esp + esi + 0x2a0]
push eax
push 0x5cc4c8
push edi
call ebx
mov ecx, dword [esp + 0x24]
inc esi
add esp, 0xc
add edi, 4
cmp esi, ecx
jb 0x4f2ad0
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
push 0
push 0
push ecx
lea eax, [esp + 0x2ac]
push eax
push dword [esp + 0x24]
call dword [sym.imp.WINTRUST.dll_CryptCATAdminEnumCatalogFromHash]
mov esi, eax
test esi, esi
jne 0x4f2b47
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], ebx
mov dword [esp + 0x40], 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x54], 0x100
jmp 0x4f2b8f
push 0
lea eax, [esp + 0x94]
push eax
push esi
call dword [sym.imp.WINTRUST.dll_CryptCATCatalogInfoFromContext]
lea eax, [esp + 0x94]
mov dword [esp + 0x5c], 0x24
mov dword [esp + 0x64], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x40], 2
mov dword [esp + 0x3c], 1
mov dword [esp + 0x54], 0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x84]
mov dword [esp + 0x54], 0
push eax
push 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x44], 2
mov dword [esp + 0x38], 0x30
mov dword [esp + 0x8c], 0xaac56b
mov dword [esp + 0x90], 0x11d0cd44
mov dword [esp + 0x94], 0xc000c28c
mov dword [esp + 0x98], 0xee95c24f
call dword [sym.imp.WINTRUST.dll_WinVerifyTrust]
test eax, eax
mov ecx, 1
mov ebx, 0
cmove ebx, ecx
test esi, esi
je 0x4f2c14
push 0
push esi
push dword [esp + 0x1c]
call dword [sym.imp.WINTRUST.dll_CryptCATAdminReleaseCatalogContext]
push 0
push dword [esp + 0x18]
call dword [sym.imp.WINTRUST.dll_CryptCATAdminReleaseContext]
push edi
call fcn.0054d402
mov ecx, dword [esp + 0x310]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054caf9
mov esp, ebp
pop ebp
ret