Function at 0x437db0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64663e
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x6c3afc]
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 eax, dword [ebp + 8]
mov ebx, ecx
push 0xffffffffffffffff
push 0
push eax
mov dword [ebp - 4], 0
call fcn.004038b0
lea esi, [ebp - 0x64]
call fcn.00432860
mov edi, eax
lea eax, [ebp - 0x48]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.004391b0
add esp, 8
mov ecx, eax
lea eax, [ebp + 0xc]
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00412a00
mov ecx, eax
mov eax, edi
lea edi, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004146e0
mov esi, 0x10
cmp dword [ebp - 0x88], esi
jb 0x437e4f
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004effaf
add esp, 4
xor edi, edi
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], edi
mov byte [ebp - 0x9c], 0
cmp dword [ebp - 0x34], esi
jb 0x437e79
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x50], esi
jb 0x437e9c
mov eax, dword [ebp - 0x64]
push eax
call fcn.004effaf
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x64], 0
cmp dword [ebp - 0x18], esi
jae 0x437eb5
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x437ed3
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call fcn.004038b0
jmp 0x437f60
lea esi, [ebp - 0xb8]
call fcn.00432860
mov esi, eax
lea edi, [ebp - 0x80]
mov byte [ebp - 4], 8
call fcn.00439270
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00403740
mov esi, 0x10
cmp dword [ebp - 0x6c], esi
jb 0x437f0f
mov edx, dword [ebp - 0x80]
push edx
call fcn.004effaf
add esp, 4
xor edi, edi
mov byte [ebp - 4], 7
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x80], 0
cmp dword [ebp - 0xa4], esi
jb 0x437f3a
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004effaf
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x437f45
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x437f94
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call fcn.004038b0
xor edi, edi
cmp dword [ebp - 0x18], esi
jb 0x437f71
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp dword [ebp + 0x20], esi
jb 0x437f90
mov eax, dword [ebp + 0xc]
push eax
call fcn.004effaf
add esp, 4
mov al, 1
jmp 0x437fc6
cmp dword [ebp - 0x18], esi
jb 0x437fa5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp dword [ebp + 0x20], esi
jb 0x437fc4
mov edx, dword [ebp + 0xc]
push edx
call fcn.004effaf
add esp, 4
xor al, al
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.005dd8e2
mov esp, ebp
pop ebp
ret 0x20