Function at 0x4312a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483d7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.0041d490
lea ecx, [ebp - 0xb8]
call fcn.004226b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb8]
push ecx
call fcn.00426fc0
add esp, 4
lea edx, [ebp - 0xa0]
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x50]
call fcn.0041d490
lea ecx, [ebp - 0xa0]
call fcn.004226b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0xa0]
push eax
call fcn.00431a20
add esp, 4
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 8
jb 0x431347
mov dword [ebp - 0x2c], 1
jmp 0x43134e
mov dword [ebp - 0x2c], 0
mov cl, byte [ebp - 0x2c]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x43136a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.0041ed00
add esp, 8
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x14], 8
jb 0x4313aa
mov dword [ebp - 0x34], 1
jmp 0x4313b1
mov dword [ebp - 0x34], 0
mov cl, byte [ebp - 0x34]
mov byte [ebp - 0xe], cl
movzx edx, byte [ebp - 0xe]
test edx, edx
je 0x4313cd
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4314d4
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0xa0]
call fcn.00422000
mov byte [ebp - 4], 1
lea eax, [ebp - 0xa0]
push eax
call fcn.00431ac0
add esp, 4
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x14], 8
jb 0x431435
mov dword [ebp - 0x3c], 1
jmp 0x43143c
mov dword [ebp - 0x3c], 0
mov cl, byte [ebp - 0x3c]
mov byte [ebp - 0xf], cl
movzx edx, byte [ebp - 0xf]
test edx, edx
je 0x431458
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.0041ed00
add esp, 8
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x431498
mov dword [ebp - 0x44], 1
jmp 0x43149f
mov dword [ebp - 0x44], 0
mov cl, byte [ebp - 0x44]
mov byte [ebp - 0x10], cl
movzx edx, byte [ebp - 0x10]
test edx, edx
je 0x4314bb
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x431510
cmp dword [ebp + 8], 0
je 0x431510
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0x84]
je 0x431510
xor edx, edx
mov byte [ebp - 0x11], dl
movzx eax, byte [ebp - 0x11]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00421f00
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.00422580
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00422580
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret