Function at 0x423c30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x648676
mov eax, dword fs:[0]
push eax
sub esp, 0x90
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 - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00403240
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
jne 0x423dab
lea esi, [ebp - 0x64]
call fcn.00432620
mov esi, eax
push 0x690680
lea edx, [edi + 0xac]
push edx
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 1
call fcn.0040aa60
add esp, 0xc
push esi
push eax
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 2
call fcn.0040ada0
add esp, 0xc
cmp dword [ebp - 0x6c], 8
jb 0x423cd7
mov edx, dword [ebp - 0x80]
push edx
call fcn.004effaf
add esp, 4
mov esi, 7
xor eax, eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x50], 8
jb 0x423cfe
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 0x423d2b
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x423d1b
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
jne 0x423d5c
cmp dword [ebp - 0x34], 8
jb 0x423d3d
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
jb 0x423e5f
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x423e57
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00434a70
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00402260
mov esi, 8
cmp dword [ebp - 0x88], esi
jb 0x423d94
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004effaf
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], esi
jb 0x423db0
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
jmp 0x423db0
mov esi, 8
push 0x688728
add edi, 0x20
lea eax, [ebp - 0x9c]
push edi
push eax
call fcn.0040aa60
add esp, 0xc
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea edx, [ebp - 0x64]
push edx
mov byte [ebp - 4], 7
call fcn.0040ad50
add esp, 0xc
cmp dword [eax + 0x10], ebx
jne 0x423de6
xor bl, bl
jmp 0x423df9
cmp dword [eax + 0x14], esi
jb 0x423ded
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
cmp dword [ebp - 0x50], esi
jb 0x423e0a
mov eax, dword [ebp - 0x64]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x88], esi
jb 0x423e35
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004effaf
add esp, 4
test bl, bl
je 0x423e4e
cmp dword [ebp - 0x18], esi
jb 0x423e4a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
xor eax, eax
jmp 0x423e64
cmp dword [ebp - 0x18], esi
jb 0x423e5f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
mov eax, 0x10
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