Function at 0x42a570
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487feb
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 0x42a5ac
mov dword [ebp - 0x28], 1
jmp 0x42a5b3
mov dword [ebp - 0x28], 0
mov al, byte [ebp - 0x28]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x42a5cf
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 0x42a869
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 0x42a603
mov dword [ebp - 0x30], 1
jmp 0x42a60a
mov dword [ebp - 0x30], 0
mov cl, byte [ebp - 0x30]
mov byte [ebp - 0xe], cl
movzx edx, byte [ebp - 0xe]
test edx, edx
je 0x42a626
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 0x42a869
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 0x42a65e
mov dword [ebp - 0x38], 1
jmp 0x42a665
mov dword [ebp - 0x38], 0
mov cl, byte [ebp - 0x38]
mov byte [ebp - 0xf], cl
movzx edx, byte [ebp - 0xf]
test edx, edx
je 0x42a681
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 0x42a869
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
call fcn.0041f610
lea ecx, [ebp - 0xa8]
call fcn.004245c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x74]
call fcn.0041f610
lea ecx, [ebp - 0xc0]
call fcn.004245c0
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 0x42a700
mov dword [ebp - 0x40], 1
jmp 0x42a707
mov dword [ebp - 0x40], 0
mov dl, byte [ebp - 0x40]
mov byte [ebp - 0x10], dl
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x42a723
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.00438e20
add esp, 8
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
push edx
lea ecx, [ebp - 0xa8]
call fcn.00416f80
lea ecx, [ebp - 0xd8]
call fcn.004243e0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x42a783
mov dword [ebp - 0x48], 1
jmp 0x42a78a
mov dword [ebp - 0x48], 0
mov cl, byte [ebp - 0x48]
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x42a848
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xa8]
push ecx
call fcn.0042a430
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x42a7e8
lea edx, [ebp - 0xa8]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x8c]
je 0x42a7e8
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.0040e270
cmp dword [ebp + 0x10], 0
je 0x42a81e
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x90]
je 0x42a81e
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.0040e270
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.004243e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004243e0
mov al, byte [ebp - 0x14]
jmp 0x42a86b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.004243e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.004243e0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret