Function at 0x40f760
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ff57
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x5640a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xf0], ebx
mov edx, dword [ebx]
lea ecx, [ebp - 0xe8]
add edx, 0xb78
call fcn.00430df0
lea edx, [ebp - 0xe8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040e740
mov byte [ebp - 4], 1
mov eax, dword [ebx]
add eax, 0xc60
push 0x53ca10
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0040cc50
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0xd0]
call fcn.0040cdd0
add esp, 0x10
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x40f812
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00402f10
xor eax, eax
mov dword [ebp - 0x74], 7
push 4
push eax
push str..zip
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 0xec], al
call fcn.0040c530
cmp eax, 0xffffffff
je 0x40fa20
mov edi, dword [ebx]
mov esi, dword [edi + 0xbf0]
mov edi, dword [edi + 0xbf4]
cmp esi, edi
je 0x40fa20
nop
mov edx, esi
lea ecx, [ebp - 0xb8]
call fcn.00430df0
mov ebx, eax
mov eax, dword [ebp - 0xf0]
mov byte [ebp - 4], 5
push 0x53ca10
mov ecx, dword [eax]
lea eax, [ebp - 0xa0]
add ecx, 0xc60
push ecx
push eax
call fcn.0040cc50
push ebx
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
push eax
call fcn.0040cd60
add esp, 0x18
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x40f8c3
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00402f10
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xa4]
cmp eax, 8
jb 0x40f902
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00402f10
xor eax, eax
mov dword [ebp - 0xa4], 7
cmp dword [ebp - 0x5c], 8
mov word [ebp - 0xb8], ax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
mov dword [ebp - 0xa8], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, dword [ebp - 0xec]
test eax, eax
je 0x40f9f2
cmp dword [esi + 0x28], 0
lea ecx, [ebp - 0x58]
mov eax, 1
movzx ebx, bl
cmovne ebx, eax
mov dword [ebp - 0x44], 7
push 5
xor eax, eax
mov dword [ebp - 0xec], ebx
push str.local
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00402570
xor eax, eax
mov byte [ebp - 4], 0xa
push eax
push 0x53cb10
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00402570
push ecx
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.00426100
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, 8
jb 0x40f9c9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402f10
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x40f9f2
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402f10
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x40fa0b
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00402f10
add esi, 0x30
cmp esi, edi
jne 0x40f860
test bl, bl
jne 0x40fa43
mov ebx, dword [ebp - 0xf0]
mov eax, dword [ebx]
mov ecx, dword [eax + 0xa34]
test ecx, ecx
je 0x40fa43
mov eax, dword [ecx]
push 1
call dword [eax + 0x108]
mov eax, dword [ebx]
mov ecx, dword [eax + 0xa34]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [ebp - 0xbc]
cmp eax, 8
jb 0x40fa61
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00402f10
xor eax, eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc0], 0
cmp eax, 8
jb 0x40fa93
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402f10
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x40fac5
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.00402f10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1bb1
mov esp, ebp
pop ebp
ret