Function at 0x42ef00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483af6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.0041d490
lea ecx, [ebp - 0xb4]
call fcn.004226b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
call fcn.0041d490
lea ecx, [ebp - 0x9c]
call fcn.004226b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x84]
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp - 0x40]
call fcn.0041d490
lea ecx, [ebp - 0x84]
call fcn.004226b0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0xb4]
push edx
call fcn.0042d5f0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.0042e0b0
add esp, 8
lea edx, [ebp - 0xb4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 8
jb 0x42efcf
mov dword [ebp - 0x20], 1
jmp 0x42efd6
mov dword [ebp - 0x20], 0
mov dl, byte [ebp - 0x20]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x42eff2
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f10c
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x14], 8
jb 0x42f031
mov dword [ebp - 0x28], 1
jmp 0x42f038
mov dword [ebp - 0x28], 0
mov cl, byte [ebp - 0x28]
mov byte [ebp - 0xe], cl
movzx edx, byte [ebp - 0xe]
test edx, edx
je 0x42f054
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f10c
lea eax, [ebp - 0x84]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x42f093
mov dword [ebp - 0x30], 1
jmp 0x42f09a
mov dword [ebp - 0x30], 0
mov al, byte [ebp - 0x30]
mov byte [ebp - 0xf], al
movzx ecx, byte [ebp - 0xf]
test ecx, ecx
je 0x42f0b6
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f10c
mov dword [ebp - 0x68], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.00422580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.00422580
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.00422580
mov eax, dword [ebp - 0x68]
jmp 0x42f146
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.00422580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.00422580
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.00422580
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret