Function at 0x41aa90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30c
mov eax, dword [0x4c7084]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
mov ebx, ecx
push esi
push edi
test ebx, ebx
je 0x41ab5e
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ab5e
push 0x34
lea eax, [esp + 0x30]
push 0
push eax
call fcn.004640b0
add esp, 0xc
mov dword [esp + 0x1c], 0
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
lea eax, [esp + 0x98]
movq qword [esp + 0x20], xmm0
movups xmmword [esp + 0x60], xmm0
push 0x20c
push 0
push eax
movups xmmword [esp + 0x7c], xmm0
movq qword [esp + 0x8c], xmm0
call fcn.004640b0
add esp, 0xc
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push 0
push 0
push eax
call dword [sym.imp.WINTRUST.dll_CryptCATAdminAcquireContext]
test eax, eax
je 0x41ab5e
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push 0
cmp esi, 0xffffffff
jne 0x41ab75
push dword [esp + 0x14]
call dword [sym.imp.WINTRUST.dll_CryptCATAdminReleaseContext]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.0044b43a
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x2ac]
mov dword [esp + 0x10], 0x64
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.WINTRUST.dll_CryptCATAdminCalcHashFromFileHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, 2
lea eax, [eax*2 + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044bc96
mov ecx, dword [esp + 0x10]
add esp, 4
mov edi, eax
xor esi, esi
mov dword [esp + 0x14], edi
test ecx, ecx
je 0x41abf8
nop dword [eax]
movzx eax, byte [esp + esi + 0x2a8]
push eax
push str._02X
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esp + 0x18]
inc esi
add esp, 0xc
add edi, 4
cmp esi, ecx
jb 0x41abd0
mov edi, dword [esp + 0x14]
xor eax, eax
push eax
push eax
mov word [edi + ecx*4], ax
lea eax, [esp + 0x2b0]
push dword [esp + 0x14]
push eax
push dword [esp + 0x20]
call dword [sym.imp.WINTRUST.dll_CryptCATAdminEnumCatalogFromHash]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x41ac58
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], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x54], 0x100
jmp 0x41aca0
push 0
lea ecx, [esp + 0x9c]
push ecx
push eax
call dword [sym.imp.WINTRUST.dll_CryptCATCatalogInfoFromContext]
lea eax, [esp + 0x9c]
mov dword [esp + 0x60], 0x28
mov dword [esp + 0x68], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x40], 2
mov dword [esp + 0x3c], 1
mov dword [esp + 0x54], 0
mov ebx, dword [sym.imp.WINTRUST.dll_WinVerifyTrust]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x54], 0
push eax
push 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x44], 2
mov dword [esp + 0x38], 0x34
mov dword [esp + 0x94], 0xaac56b
mov dword [esp + 0x98], 0x11d0cd44
mov dword [esp + 0x9c], 0xc000c28c
mov dword [esp + 0xa0], 0xee95c24f
call ebx
mov edi, eax
xor esi, esi
test edi, edi
je 0x41ad54
nop
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x8c]
push eax
push 0
call ebx
mov edi, eax
mov eax, esi
inc esi
cmp eax, 0xa
jg 0x41ad2f
test edi, edi
jne 0x41ad10
test esi, esi
je 0x41ad54
push edi
push esi
push 0x156
push str.DigitalCertify.cpp
push str.error_times:_d_result:_d
push 3
call fcn.0040bb40
push eax
call fcn.0040bdd0
add esp, 0x1c
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41ad69
push 0
push eax
push dword [esp + 0x18]
call dword [sym.imp.WINTRUST.dll_CryptCATAdminReleaseCatalogContext]
push dword [esp + 0x14]
call fcn.0044bc91
add esp, 4
push 0
push dword [esp + 0x14]
call dword [sym.imp.WINTRUST.dll_CryptCATAdminReleaseContext]
test edi, edi
jne 0x41ab5e
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], 2
push eax
lea eax, [esp + 0x8c]
push eax
push edi
call ebx
mov ecx, dword [esp + 0x314]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044b43a
mov esp, ebp
pop ebp
ret