Function at 0x488768
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea ebx, [ebp - 0x58]
mov eax, 0x5543f0
call fcn.00524684
mov dword [ebx + 0x1c], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.0052f058
inc dword [ebx + 0x1c]
xor edx, edx
mov word [ebx + 0x10], 8
mov dword [ebp - 0x5c], edx
xor ecx, ecx
mov word [ebx + 0x10], 0x14
mov dword [ebp - 8], ecx
inc dword [ebx + 0x1c]
mov word [ebx + 0x10], 8
call sub.KERNEL32.DLL_GetLastError
mov esi, eax
push 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 0
push esi
push 0
push 0x1100
call sub.KERNEL32.DLL_FormatMessageA
mov edi, eax
cmp edi, 2
jle 0x48880d
mov word [ebx + 0x10], 0x20
lea ecx, [edi - 2]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x5c]
call fcn.0052f094
mov edx, eax
inc dword [ebx + 0x1c]
lea eax, [ebp - 8]
call fcn.0052f364
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0052f334
jmp 0x48883e
mov word [ebx + 0x10], 0x2c
mov edx, 0x55356a
lea eax, [ebp - 0x10]
call fcn.0052f020
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.0052f364
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0052f334
mov word [ebx + 0x10], 0x38
xor ecx, ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
inc dword [ebx + 0x1c]
mov edx, 8
mov eax, esi
call fcn.004a3820
lea edx, [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
inc dword [ebx + 0x1c]
mov eax, str._Win
call fcn.0052f980
lea edx, [ebp - 0x18]
push edx
mov edx, 0x553571
lea eax, [ebp - 0x1c]
call fcn.0052f020
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x1c]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x20]
pop eax
call fcn.0052f38c
lea edx, [ebp - 0x20]
lea eax, [ebp - 8]
call fcn.0052f378
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0052f334
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0052f334
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0052f334
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0052f334
cmp dword [ebp - 0x5c], 0
je 0x4888f5
mov ecx, dword [ebp - 0x5c]
push ecx
call sub.KERNEL32.DLL_GlobalFree
cmp dword [ebp - 4], 0
je 0x488903
mov eax, dword [ebp - 4]
mov edx, dword [eax - 4]
jmp 0x488905
xor edx, edx
test edx, edx
je 0x4889aa
push ebx
push 0
push 0
push 0
push 1
push 0x4516a4
push 0
push 0x63
mov word [ebx + 0x10], 0x44
mov edx, 0x553573
lea eax, [ebp - 0x24]
call fcn.0052f020
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 4]
inc dword [ebx + 0x1c]
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x28]
call fcn.0052f38c
lea eax, [ebp - 0x28]
xor edx, edx
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x2c]
inc dword [ebx + 0x1c]
lea edx, [ebp - 8]
call fcn.0052f38c
lea eax, [ebp - 0x2c]
push eax
mov edx, 0x553576
lea eax, [ebp - 0x30]
call fcn.0052f020
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x30]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x34]
pop eax
call fcn.0052f38c
lea ecx, [ebp - 0x34]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x536408]
call fcn.004515f0
push eax
push 0x4140a8
call fcn.0052be3d
add esp, 0x24
jmp 0x4889d9
push ebx
push 0
push 0
push 0
push 1
push 0x4516a4
push 0
push 0x63
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x536408]
call fcn.004515f0
push eax
push 0x4140a8
call fcn.0052be3d
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret