Function at 0x418cef
Capabilities:
Check if file exists

Disassembly:
push 0xc60
mov eax, 0x597fbc
call fcn.00410ff3
mov eax, dword [ebp + 8]
mov esi, 0x208
mov dword [ebp - 0xc60], eax
xor ebx, ebx
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0xc5c], eax
lea eax, [ebp - 0xc40]
push ebx
push eax
mov dword [ebp - 0xc6c], ebx
call fcn.00431720
push esi
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.00431720
add esp, 0x18
call fcn.00415671
test al, al
je 0x418d66
pop esi
pop esi
pop eax
push edi
pop ebx
push edx
pop ebx
push edi
push edx
push ebp
pop esp
push esi
pop edx
push eax
pop ecx
pop eax
pop ebx
push edx
push ebp
pop edi
pop esi
push eax
push edi
pop esi
push esi
pop ebp
pop eax
push eax
push ebp
pop ebp
push ebp
xor ebx, ebx
call fcn.00415ac1
test al, al
je 0x418d81
push edi
push esp
push esi
push esp
pop ecx
pop ecx
push esi
push ebp
push ebp
pop edi
pop edx
pop esp
push esp
push edi
pop esi
pop esi
pop esp
pop ebp
mov esi, 0x208
lea eax, [ebp - 0x628]
push esi
push ebx
push eax
call fcn.00431720
push esi
lea eax, [ebp - 0xa38]
push ebx
push eax
call fcn.00431720
push esi
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00431720
push esi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.00431720
add esp, 0x30
call fcn.004155a2
test al, al
je 0x418de4
pop edx
pop edx
push esi
pop esp
pop edi
pop eax
pop ebx
push eax
pop edx
push eax
push eax
push eax
pop ebp
push esi
push edi
push esp
push ecx
push ebx
pop edx
push ebx
push esp
push edx
push ebx
pop edi
push esp
push ebx
call fcn.0041580f
test al, al
je 0x418e06
pop edi
pop esi
push ecx
pop ecx
pop edi
push ebx
pop ebx
push esp
pop esi
pop ebx
pop edx
push esp
pop ebx
pop edx
pop ebp
pop esp
pop edx
push esi
push esi
push ecx
pop ebx
push eax
pop edi
push edx
push edx
and dword [ebp - 0xc48], 0
xor eax, eax
mov dword [ebp - 0xc44], 7
mov word [ebp - 0xc58], ax
and dword [ebp - 4], eax
push eax
push 0x1a
lea eax, [ebp - 0xc40]
push eax
push 0
call fcn.004190ff
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0043fbd8
lea eax, [ebp - 0x218]
push eax
call fcn.00434fd1
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00431f22
add esp, 0x24
mov esi, eax
call fcn.0041555d
test al, al
je 0x418e84
push ecx
push ecx
push esi
pop ebp
pop ebx
push esp
push ebx
push ecx
pop eax
pop ebp
pop ebp
pop ecx
pop edx
pop edi
push edi
push esi
push esp
push ebp
push eax
pop eax
pop edx
test esi, esi
jne 0x418eb6
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.00417d01
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc60]
lea eax, [ebp - 0xc58]
push eax
call fcn.00405a1f
push esi
push 1
jmp 0x4190e8
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.0043fbd8
lea eax, [ebp - 0x830]
push 0x59da7c
push eax
call fcn.0043841c
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x830]
add esp, 0x10
push eax
call edi
xor edx, edx
xor ecx, ecx
inc edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0xc68], ecx
call fcn.00415a37
test al, al
je 0x418f1c
push ecx
pop edx
pop ecx
pop esi
push ebx
pop ebp
pop eax
push eax
pop esi
pop esi
push ecx
pop ebx
push ebx
push esp
push esp
pop ebp
push eax
push ebx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.0043fbd8
lea eax, [ebp - 0x628]
push 0x59da8c
push eax
call fcn.0043841c
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call edi
push 1
xor esi, esi
test eax, eax
pop eax
cmovne esi, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc64], esi
push eax
call fcn.0043fbd8
lea eax, [ebp - 0xa38]
push 0x59daa0
push eax
call fcn.0043841c
add esp, 0x10
call fcn.00415b06
test al, al
je 0x418fa3
push edx
pop ebp
pop edi
push edx
push ebx
push edi
pop ebx
push edi
push edx
push esp
pop esp
push edx
push edx
pop ebx
push ecx
pop edx
push eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call fcn.00415785
test al, al
je 0x418fcf
pop esp
push esi
pop eax
pop ebx
pop edx
pop esi
pop edx
push ebp
pop esp
push edx
pop ebp
push esi
push edi
pop ebx
push esp
push ebp
push ecx
push eax
push ecx
pop esp
pop esp
push esp
push esp
push esp
push ebp
push ebx
push ecx
push esp
push edx
mov esi, dword [ebp - 0xc64]
lea eax, [ebp - 0xa38]
push eax
call edi
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
cmp dword [ebp - 0xc68], 0
je 0x41905e
test esi, esi
je 0x41905e
test ecx, ecx
je 0x41905e
push dword [ebp - 0xc5c]
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push 0x59bb00
push eax
call fcn.00402189
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call edi
test eax, eax
jne 0x41902e
lea eax, [ebp - 0x420]
push eax
call fcn.004178ac
pop ecx
cmp word [ebp - 0x420], 0
jne 0x41903c
xor eax, eax
jmp 0x419049
lea eax, [ebp - 0x420]
push eax
call fcn.00434fd1
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00401f62
jmp 0x4190d0
call fcn.00415854
test al, al
je 0x41907f
push ecx
push ebp
pop esp
pop ebx
push ebx
push esi
pop eax
pop edi
pop edi
pop eax
pop esp
pop ecx
pop ebp
pop esi
push edi
push ebp
push eax
pop ecx
pop ebp
pop eax
push edi
pop ecx
push ecx
pop ecx
call fcn.004155a2
test al, al
je 0x4190a1
push esp
push ebx
push ecx
push esp
push edi
push ebx
push ecx
pop eax
pop edx
push ebp
pop edi
push ecx
push ecx
push esp
pop ebx
pop esi
push eax
pop edx
push esi
push esp
pop ebp
pop eax
pop ebp
pop esi
push edx
call fcn.00415404
test al, al
je 0x4190bc
pop edx
push esi
pop edi
push esp
pop esi
pop esi
pop esi
pop ebx
push ecx
pop ebx
push esi
push esi
push ebp
push ebp
push edi
pop ebx
pop edx
pop eax
push dword [ebp - 0xc5c]
lea eax, [ebp - 0xc58]
push eax
call fcn.00417d01
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc60]
lea eax, [ebp - 0xc58]
push eax
call fcn.00405a1f
xor eax, eax
push 0
inc eax
push eax
lea ecx, [ebp - 0xc58]
call fcn.00401bfd
mov eax, dword [ebp - 0xc60]
call fcn.00410fae
ret