Function at 0x42d140
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cc26
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.0041bb30
lea ecx, [ebp - 0xb4]
call fcn.0041fce0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
call fcn.0041bb30
lea ecx, [ebp - 0x9c]
call fcn.0041fce0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x84]
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp - 0x40]
call fcn.0041bb30
lea ecx, [ebp - 0x84]
call fcn.0041fce0
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.0042bbe0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.0042c6a0
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 0x42d20f
mov dword [ebp - 0x20], 1
jmp 0x42d216
mov dword [ebp - 0x20], 0
mov dl, byte [ebp - 0x20]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x42d232
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 0x42d34c
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 0x42d271
mov dword [ebp - 0x28], 1
jmp 0x42d278
mov dword [ebp - 0x28], 0
mov cl, byte [ebp - 0x28]
mov byte [ebp - 0xe], cl
movzx edx, byte [ebp - 0xe]
test edx, edx
je 0x42d294
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 0x42d34c
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 0x42d2d3
mov dword [ebp - 0x30], 1
jmp 0x42d2da
mov dword [ebp - 0x30], 0
mov al, byte [ebp - 0x30]
mov byte [ebp - 0xf], al
movzx ecx, byte [ebp - 0xf]
test ecx, ecx
je 0x42d2f6
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 0x42d34c
mov dword [ebp - 0x68], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.0041fbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.0041fbb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.0041fbb0
mov eax, dword [ebp - 0x68]
jmp 0x42d386
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.0041fbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.0041fbb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.0041fbb0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret