Function at 0x40750c
Capabilities:
Check if file exists

Disassembly:
push 0x1b4
mov eax, 0x5873af
call fcn.0042d9c2
mov ebx, ecx
call fcn.00407ef8
mov edi, eax
test edi, edi
je 0x407938
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push 0
push eax
call fcn.004131b5
pop ecx
pop ecx
push esi
call fcn.0040dd23
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x14]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push 1
push eax
call fcn.004131b5
pop ecx
pop ecx
push esi
call fcn.0040dd23
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x18]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push 2
push eax
call fcn.004131b5
pop ecx
pop ecx
push esi
call fcn.0040dd23
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x1c]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push 0
push eax
call fcn.004131cf
pop ecx
pop ecx
push esi
call fcn.0040dd23
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 8]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push 3
push eax
call fcn.004131b5
pop ecx
pop ecx
push esi
call fcn.0040dd23
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x20]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push 4
push eax
call fcn.004131b5
pop ecx
pop ecx
push esi
call fcn.0040dd23
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x24]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push 5
push eax
call fcn.004131b5
pop ecx
pop ecx
push esi
call fcn.0040dd23
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x28]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
mov eax, esp
push 6
push eax
call fcn.004131b5
pop ecx
pop ecx
push esi
call fcn.0040dd23
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x2c]
sub esp, 0x18
mov esi, esp
call fcn.00402bb3
mov ecx, eax
call fcn.00411da7
push eax
push esi
call fcn.0040d819
mov eax, dword [edi]
pop ecx
pop ecx
mov ecx, edi
call dword [eax + 4]
sub esp, 0x18
push esp
call fcn.00418bfe
mov eax, dword [edi]
pop ecx
mov ecx, edi
call dword [eax + 0x10]
sub esp, 0x18
mov esi, esp
call fcn.00414759
push eax
push esi
call fcn.0040d819
mov eax, dword [edi]
pop ecx
pop ecx
mov ecx, edi
call dword [eax + 0x30]
sub esp, 0x18
mov esi, esp
call fcn.00402bb3
mov ecx, eax
call fcn.0041208e
push eax
push esi
call fcn.0040d819
mov eax, dword [edi]
pop ecx
pop ecx
mov ecx, edi
call dword [eax + 0x40]
sub esp, 0x18
mov esi, esp
push 0x3a8
sub esp, 0x18
push esp
call fcn.00406a82
mov ecx, eax
call fcn.0040bd8d
push esi
call fcn.0040dd23
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x38]
lea eax, [ebp - 0x18c]
push 9
push eax
call fcn.004131cf
pop ecx
pop ecx
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x15c]
push eax
call fcn.004073e1
mov ecx, eax
call fcn.004178cf
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x407740
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x407748
mov eax, dword [eax]
push esi
push eax
lea eax, [ebp - 0x12c]
push str._s_s_
push eax
call fcn.0040d6ae
add esp, 0x10
lea ecx, [ebp - 0x15c]
call fcn.00406942
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 4
call fcn.00406942
cmp dword [ebp - 0x118], 8
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4077d3
and dword [ebp - 0x190], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1b4]
cmp dword [ebp - 0x118], 8
lea eax, [ebp - 0x12c]
push ecx
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.00419200
pop ecx
pop ecx
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 4
call fcn.00407fca
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov esi, esp
push 0x3a8
sub esp, 0x18
mov ecx, esp
push eax
and dword [ecx + 0x10], 0
and dword [ecx + 0x14], 0
call fcn.004065a8
push esi
call fcn.0040dd23
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
call dword [eax + 0x3c]
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x44]
sub esp, 0x18
push esp
call fcn.00402bb3
mov ecx, eax
call fcn.00411acf
call fcn.0040db19
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x1c0]
push eax
mov dword [ebp - 0x1bc], edx
call fcn.00449ef4
push dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
inc ecx
push ecx
add eax, 0x76c
push eax
lea eax, [ebp - 0x174]
push str._d_.2d_.2d
push eax
call fcn.0040d5f7
add esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
lea eax, [ebp - 0x174]
xor ebx, ebx
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404f69
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
mov esi, 0x104
lea eax, [ebp - 0x114]
push esi
push ebx
push eax
call fcn.00444fb0
add esp, 0xc
lea eax, [ebp - 0x114]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], bl
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x15c]
call fcn.004067f7
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004193d5
pop ecx
pop ecx
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 7
call fcn.0040688e
sub esp, 0x18
lea eax, [ebp - 0x144]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404f69
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea ecx, [ebp - 0x144]
call fcn.0040688e
lea ecx, [ebp - 0x174]
call fcn.0040688e
lea ecx, [ebp - 0x12c]
call fcn.00406942
call fcn.0042d96c
ret