Function at 0x429160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ad4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x14], 8
jb 0x42919c
mov dword [ebp - 0x28], 1
jmp 0x4291a3
mov dword [ebp - 0x28], 0
mov al, byte [ebp - 0x28]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x4291bf
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x429459
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 8
jb 0x4291f3
mov dword [ebp - 0x30], 1
jmp 0x4291fa
mov dword [ebp - 0x30], 0
mov cl, byte [ebp - 0x30]
mov byte [ebp - 0xe], cl
movzx edx, byte [ebp - 0xe]
test edx, edx
je 0x429216
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
movzx eax, word [edx]
test eax, eax
je 0x429459
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 8
jb 0x42924e
mov dword [ebp - 0x38], 1
jmp 0x429255
mov dword [ebp - 0x38], 0
mov cl, byte [ebp - 0x38]
mov byte [ebp - 0xf], cl
movzx edx, byte [ebp - 0xf]
test edx, edx
je 0x429271
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429459
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
call fcn.0041e200
lea ecx, [ebp - 0xa8]
call fcn.004231b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x74]
call fcn.0041e200
lea ecx, [ebp - 0xc0]
call fcn.004231b0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x14], 8
jb 0x4292f0
mov dword [ebp - 0x40], 1
jmp 0x4292f7
mov dword [ebp - 0x40], 0
mov dl, byte [ebp - 0x40]
mov byte [ebp - 0x10], dl
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x429313
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.0043a2d0
add esp, 8
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
push edx
lea ecx, [ebp - 0xa8]
call fcn.00415df0
lea ecx, [ebp - 0xd8]
call fcn.00422fd0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x429373
mov dword [ebp - 0x48], 1
jmp 0x42937a
mov dword [ebp - 0x48], 0
mov cl, byte [ebp - 0x48]
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x429438
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xa8]
push ecx
call fcn.00429020
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x4293d8
lea edx, [ebp - 0xa8]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x8c]
je 0x4293d8
xor ecx, ecx
mov byte [ebp - 0x12], cl
movzx edx, byte [ebp - 0x12]
push edx
lea eax, [ebp - 0xa8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040ce30
cmp dword [ebp + 0x10], 0
je 0x42940e
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x90]
je 0x42940e
xor eax, eax
mov byte [ebp - 0x13], al
movzx ecx, byte [ebp - 0x13]
push ecx
lea edx, [ebp - 0xc0]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.0040ce30
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00422fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.00422fd0
mov al, byte [ebp - 0x14]
jmp 0x42945b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00422fd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.00422fd0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret