Function at 0x41fda0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6484ac
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
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 edi, ecx
push 0xffffffffffffffff
xor ebx, ebx
xor ecx, ecx
push ebx
mov word [ebp - 0x2c], cx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00403240
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
jne 0x41ff9c
lea esi, [ebp - 0x64]
call fcn.00432620
mov edi, eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.00432680
mov ecx, eax
mov eax, dword [ebp - 0xdc]
add eax, 0xac
lea esi, [ebp - 0xd4]
mov byte [ebp - 4], 2
call fcn.0040ad10
push 0x688728
push eax
lea edx, [ebp - 0x80]
push edx
mov byte [ebp - 4], 3
call fcn.0040ac00
add esp, 0xc
push edi
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 4
call fcn.0040ada0
add esp, 0xc
mov edi, 8
cmp dword [ebp - 0x6c], edi
jb 0x41fe76
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004effaf
add esp, 4
mov esi, 7
xor edx, edx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0xc0], edi
jb 0x41fe9e
mov eax, dword [ebp - 0xd4]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], cx
cmp dword [ebp - 0x88], edi
jb 0x41feca
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x50], edi
jb 0x41fef4
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x38], ebx
je 0x41ff20
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x41ff10
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
jne 0x41ff4f
cmp dword [ebp - 0x34], edi
jb 0x41ff31
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], edi
jb 0x420082
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x42007a
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00434a70
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00402260
cmp dword [ebp - 0xa4], edi
jb 0x41ff82
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.004effaf
add esp, 4
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], edi
jb 0x41ff96
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
mov edi, dword [ebp - 0xdc]
push 0x688728
lea eax, [edi + 0x20]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.0040aa60
add esp, 0xc
lea edx, [ebp - 0x2c]
push edx
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0xb
call fcn.0040ad50
add esp, 0xc
mov esi, 8
cmp dword [eax + 0x10], ebx
jne 0x41ffdb
mov byte [ebp - 0xd5], bl
jmp 0x41fff2
cmp dword [eax + 0x14], esi
jb 0x41ffe2
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne byte [ebp - 0xd5]
cmp dword [ebp - 0x50], esi
jb 0x420003
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0xa4], esi
jb 0x42002d
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004effaf
add esp, 4
cmp byte [ebp - 0xd5], bl
je 0x420071
lea ecx, [ebp - 0x2c]
lea esi, [edi + 4]
push ecx
mov ecx, esi
call fcn.004345f0
test al, al
je 0x42006c
push esi
lea ecx, [ebp - 0x2c]
mov edx, edi
call fcn.00433fa0
test al, al
je 0x42006c
cmp dword [ebp - 0x18], 8
jb 0x420068
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
jmp 0x420087
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x420082
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
mov eax, 0x100
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 4