Function at 0x429300
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0e31
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4ccf60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2710
jne 0x4296eb
mov ecx, dword [ebp - 0x7c]
cmp dword [ecx + 0x148], 0x62
jl 0x4296a5
lea ecx, [ebp - 0x14]
call fcn.0040aa00
mov dword [ebp - 4], 0
mov ecx, 0x4d6ec0
call fcn.0041bc20
mov edx, dword [eax]
push edx
push 0x4bfbbc
lea eax, [ebp - 0x14]
push eax
call fcn.00414920
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x7c]
add ecx, 4
call fcn.0041db30
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x224]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
je 0x4293b1
cmp dword [ebp - 0x18], 0
je 0x4293b1
cmp dword [ebp - 0x18], 1
je 0x4293b1
call fcn.00428890
test eax, eax
jne 0x4293f5
cmp dword [ebp - 0x18], 0
jne 0x4293c3
push 2
call fcn.0043b740
add esp, 4
jmp 0x4293e0
cmp dword [ebp - 0x18], 1
jne 0x4293d5
push 3
call fcn.0043b740
add esp, 4
jmp 0x4293e0
cmp dword [ebp - 0x18], 3
jne 0x4293e0
call fcn.0043bd50
mov ecx, dword [ebp - 0x7c]
call fcn.0040b030
mov ecx, dword [ebp - 0x7c]
call fcn.00429cf0
jmp 0x429696
cmp dword [ebp - 0x18], 5
jne 0x4295ae
push 0x64
mov ecx, dword [ebp - 0x7c]
add ecx, 0xd8
call fcn.00426770
mov ecx, dword [ebp - 0x7c]
call fcn.0040b030
call fcn.00428eb0
test eax, eax
je 0x429437
push 4
call fcn.0043b740
add esp, 4
mov ecx, dword [ebp - 0x7c]
call fcn.00429ad0
jmp 0x4295a9
push 1
call fcn.0043b740
add esp, 4
mov ecx, 0x4d6ec0
call fcn.00416600
push eax
lea ecx, [ebp - 0x20]
call fcn.0040aa20
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
push 0x4bfbd8
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x2c]
call fcn.0040aac0
cmp dword [ebp - 0x28], 0
je 0x429501
push 0xa08
call fcn.004862f0
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], 0
je 0x4294e2
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea eax, [ebp - 0x20]
push eax
call fcn.0040aa20
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x34]
call fcn.0042a6d0
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
jmp 0x4294ec
mov dword [ebp - 0x8c], 0
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
jmp 0x429548
push 0xa08
call fcn.004862f0
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x40], 0
je 0x42952b
mov ecx, dword [ebp - 0x40]
call fcn.0042a230
mov dword [ebp - 0x90], eax
jmp 0x429535
mov dword [ebp - 0x90], 0
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], edx
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0
call fcn.00436a40
push 0
push 0x90080000
lea ecx, [ebp - 0x14]
call fcn.00436d80
push eax
push 0x64
push 0x190
push 0
push 0
lea ecx, [ebp - 0x58]
call fcn.00401f60
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.00436a40
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.00437230
push 5
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.0041b990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0040aac0
jmp 0x429696
cmp dword [ebp - 0x18], 2
jne 0x429696
push 0x64
mov ecx, dword [ebp - 0x7c]
add ecx, 0xd8
call fcn.00426770
mov ecx, dword [ebp - 0x7c]
call fcn.0040b030
push 1
call fcn.0043b740
add esp, 4
call fcn.00428eb0
test eax, eax
je 0x4295fa
push 4
call fcn.0043b740
add esp, 4
mov ecx, dword [ebp - 0x7c]
call fcn.00429ad0
jmp 0x429696
push 0xa08
call fcn.004862f0
add esp, 4
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x60], 0
je 0x429624
mov ecx, dword [ebp - 0x60]
call fcn.0042a230
mov dword [ebp - 0x94], eax
jmp 0x42962e
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x24], ecx
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0
call fcn.00436a40
push 0
push 0x90080000
lea ecx, [ebp - 0x14]
call fcn.00436d80
push eax
push 0x64
push 0x190
push 0
push 0
lea ecx, [ebp - 0x78]
call fcn.00401f60
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
push eax
call fcn.00436a40
push 0
mov ecx, dword [ebp - 0x24]
call fcn.00437230
push 5
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.0041b990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040aac0
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x148]
add eax, 2
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 0x148], eax
mov edx, dword [ebp - 0x7c]
cmp dword [edx + 0x148], 0x62
jle 0x4296d3
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x148], 0x62
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x148]
push edx
mov ecx, dword [ebp - 0x7c]
add ecx, 0xd8
call fcn.00426770
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10