Function at 0x40c2b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x50730e
mov eax, dword fs:[0]
push eax
sub esp, 0x6f8
mov eax, dword [0x5375a0]
xor eax, esp
mov dword [esp + 0x6f4], eax
push ebx
push esi
push edi
mov eax, dword [0x5375a0]
xor eax, esp
push eax
lea eax, [esp + 0x708]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x4b4]
mov edi, edx
call fcn.00438ae0
mov eax, esi
lea edx, [esp + 0x4b4]
call fcn.00438d30
lea ecx, [esp + 0x5dc]
mov dword [esp + 0x710], 1
call fcn.00438ae0
mov eax, dword [edi]
push eax
push 0x51a034
lea edx, [esp + 0x5e4]
call fcn.004392f0
add esp, 8
cmp byte [esp + 0x6f8], 0
lea ebx, [esp + 0x5e8]
jne 0x40c34e
mov ebx, dword [esp + 0x5e4]
lea ecx, [esp + 0x18]
call fcn.00438ae0
lea eax, [ebx + 4]
lea edx, [esp + 0x18]
call fcn.00438d30
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4b8]
mov byte [esp + 0x714], 2
call fcn.00435f50
cmp byte [esp + 0x134], 0
mov ebx, vtable.t_str.0
mov dword [esp + 0x18], ebx
jne 0x40c3a4
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x40c3a4
push eax
call fcn.004c6103
add esp, 4
cmp dword [esp + 0x4b8], 0
je 0x40c3ca
lea ecx, [esp + 0x4b4]
call fcn.00436170
test al, al
je 0x40c3ca
lea ecx, [esp + 0x4b4]
call fcn.004365e0
lea ecx, [esp + 0x13c]
call fcn.00438ae0
mov eax, esi
lea edx, [esp + 0x13c]
call fcn.00438d30
lea ecx, [esp + 0x38c]
call fcn.00438ae0
mov eax, dword [edi]
push eax
push 0x51a034
lea edx, [esp + 0x394]
call fcn.004392f0
push str..zip
push 0x5192f4
lea edx, [esp + 0x39c]
call fcn.004392f0
add esp, 0x10
cmp byte [esp + 0x4a8], 0
lea esi, [esp + 0x398]
jne 0x40c435
mov esi, dword [esp + 0x394]
lea ecx, [esp + 0x18]
call fcn.00438ae0
lea eax, [esi + 4]
lea edx, [esp + 0x18]
call fcn.00438d30
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x140]
mov byte [esp + 0x714], 6
call fcn.00435f50
cmp byte [esp + 0x134], 0
mov dword [esp + 0x18], ebx
jne 0x40c486
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
cmp eax, ecx
je 0x40c486
push eax
call fcn.004c6103
add esp, 4
cmp dword [esp + 0x140], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
je 0x40c4ce
cmp byte [esp + 0x258], 0
lea eax, [esp + 0x148]
jne 0x40c4ae
mov eax, dword [esp + 0x144]
add eax, 4
push eax
call esi
cmp eax, 0xffffffff
je 0x40c4ce
shr eax, 4
not al
and al, 1
je 0x40c4ce
lea ecx, [esp + 0x13c]
call fcn.00436570
mov edi, dword [edi + 0x10]
lea ecx, [esp + 0x264]
call fcn.00438ae0
mov eax, edi
lea edx, [esp + 0x264]
call fcn.00438d30
mov byte [esp + 0x710], 9
cmp dword [esp + 0x268], 0
je 0x40c535
cmp byte [esp + 0x380], 0
lea eax, [esp + 0x270]
jne 0x40c515
mov eax, dword [esp + 0x26c]
add eax, 4
push eax
call esi
cmp eax, 0xffffffff
je 0x40c535
shr eax, 4
not al
and al, 1
je 0x40c535
lea ecx, [esp + 0x264]
call fcn.00436570
cmp byte [esp + 0x380], 0
mov dword [esp + 0x264], ebx
jne 0x40c561
mov eax, dword [esp + 0x26c]
lea edx, [esp + 0x270]
cmp eax, edx
je 0x40c561
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x4a8], 0
mov dword [esp + 0x38c], ebx
jne 0x40c58d
mov eax, dword [esp + 0x394]
lea ecx, [esp + 0x398]
cmp eax, ecx
je 0x40c58d
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x258], 0
mov dword [esp + 0x13c], ebx
jne 0x40c5b9
mov eax, dword [esp + 0x144]
lea edx, [esp + 0x148]
cmp eax, edx
je 0x40c5b9
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x6f8], 0
mov dword [esp + 0x5dc], ebx
jne 0x40c5e5
mov eax, dword [esp + 0x5e4]
lea ecx, [esp + 0x5e8]
cmp eax, ecx
je 0x40c5e5
push eax
call fcn.004c6103
add esp, 4
cmp byte [esp + 0x5d0], 0
mov dword [esp + 0x4b4], ebx
jne 0x40c611
mov eax, dword [esp + 0x4bc]
lea edx, [esp + 0x4c0]
cmp eax, edx
je 0x40c611
push eax
call fcn.004c6103
add esp, 4
mov ecx, dword [esp + 0x708]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6f4]
xor ecx, esp
call fcn.004c60f4
add esp, 0x704
ret