Function at 0x431830
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488926
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.0041f610
lea ecx, [ebp - 0xb4]
call fcn.00424600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x3c]
call fcn.0041f610
lea ecx, [ebp - 0x9c]
call fcn.00424600
mov byte [ebp - 4], 1
lea edx, [ebp - 0x84]
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp - 0x40]
call fcn.0041f610
lea ecx, [ebp - 0x84]
call fcn.00424600
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.0042ff20
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.004309e0
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 0x4318ff
mov dword [ebp - 0x20], 1
jmp 0x431906
mov dword [ebp - 0x20], 0
mov dl, byte [ebp - 0x20]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x431922
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 0x431a3c
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 0x431961
mov dword [ebp - 0x28], 1
jmp 0x431968
mov dword [ebp - 0x28], 0
mov cl, byte [ebp - 0x28]
mov byte [ebp - 0xe], cl
movzx edx, byte [ebp - 0xe]
test edx, edx
je 0x431984
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 0x431a3c
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 0x4319c3
mov dword [ebp - 0x30], 1
jmp 0x4319ca
mov dword [ebp - 0x30], 0
mov al, byte [ebp - 0x30]
mov byte [ebp - 0xf], al
movzx ecx, byte [ebp - 0xf]
test ecx, ecx
je 0x4319e6
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 0x431a3c
mov dword [ebp - 0x68], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.004244d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.004244d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.004244d0
mov eax, dword [ebp - 0x68]
jmp 0x431a76
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.004244d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.004244d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.004244d0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret