Function at 0x428d00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a1e82
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x778400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x494], ecx
push 1
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x4c0], esp
push eax
call fcn.00414450
add esp, 4
mov dword [ebp - 0x4c4], eax
lea ecx, [ebp - 0x45c]
push ecx
mov ecx, dword [ebp - 0x494]
call fcn.004291c0
mov dword [ebp - 0x4bc], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x45c]
call fcn.00419090
movzx edx, al
test edx, edx
je 0x428ddb
push 0
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x4cc], esp
push eax
call fcn.00414450
add esp, 4
mov dword [ebp - 0x4c8], eax
lea ecx, [ebp - 0x4fc]
push ecx
mov ecx, dword [ebp - 0x494]
call fcn.004291c0
mov dword [ebp - 0x4a8], eax
mov edx, dword [ebp - 0x4a8]
mov dword [ebp - 0x4ac], edx
mov eax, dword [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x45c]
call fcn.00415700
lea ecx, [ebp - 0x4fc]
call fcn.00419eb0
mov byte [ebp - 0x48d], 0
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.0066eb10
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call fcn.004e9420
add esp, 4
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428edd
lea edx, [ebp - 0x4e4]
push edx
call fcn.00414550
add esp, 4
mov dword [ebp - 0x4a4], eax
mov ecx, dword [ebp - 0x4a4]
call fcn.0041b040
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x4e4]
call fcn.00419320
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428edd
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x48c]
call fcn.00418f80
mov byte [ebp - 4], 1
push 0xc
lea ecx, [ebp - 0x444]
call fcn.00413f70
push 0
lea eax, [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x444]
push ecx
call fcn.004f3bc0
add esp, 0xc
lea ecx, [ebp - 0x444]
call fcn.004292c0
movzx edx, al
test edx, edx
jne 0x428ec3
mov byte [ebp - 0x48d], 1
lea ecx, [ebp - 0x444]
call fcn.00415ba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48c]
call fcn.00419320
mov byte [ebp - 0x48e], 0
xor eax, eax
mov word [ebp - 0x420], ax
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.0066eb10
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
call fcn.004e9480
add esp, 4
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4290e8
lea ecx, [ebp - 0x52c]
push ecx
call fcn.00414550
add esp, 4
mov dword [ebp - 0x4b4], eax
mov ecx, dword [ebp - 0x4b4]
call fcn.0041b040
push eax
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x52c]
call fcn.00419320
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4290e8
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x474]
call fcn.00418f80
mov byte [ebp - 4], 2
push 0xc
lea ecx, [ebp - 0x438]
call fcn.00413f70
push 0
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x438]
push eax
call fcn.004f3bc0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x438]
call fcn.0041a2a0
cmp eax, 1
jne 0x4290c3
push 0x73fd10
push 0
lea ecx, [ebp - 0x438]
call fcn.0041b550
push eax
call fcn.004292f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4290c3
push 0xc
lea ecx, [ebp - 0x42c]
call fcn.00413f70
push str.Log
lea edx, [ebp - 0x474]
push edx
lea eax, [ebp - 0x514]
push eax
call fcn.00427830
add esp, 0xc
mov dword [ebp - 0x49c], eax
mov ecx, dword [ebp - 0x49c]
mov dword [ebp - 0x4a0], ecx
mov byte [ebp - 4], 4
push 0
mov edx, dword [ebp - 0x4a0]
push edx
lea eax, [ebp - 0x42c]
push eax
call fcn.004f3bc0
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x514]
call fcn.00419320
lea ecx, [ebp - 0x42c]
call fcn.0041a2a0
cmp eax, 1
jne 0x4290b4
push 0x73fd24
push 0
lea ecx, [ebp - 0x42c]
call fcn.0041b550
push eax
call fcn.004292f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4290b4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x42c]
call fcn.00415ba0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x438]
call fcn.00415ba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x474]
call fcn.00419320
jmp 0x4290f0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x42c]
call fcn.00415ba0
mov byte [ebp - 0x48e], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x438]
call fcn.00415ba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x474]
call fcn.00419320
xor edx, edx
jne 0x428f12
lea ecx, [ebp - 0x45c]
call fcn.00419090
movzx eax, al
test eax, eax
je 0x42910d
movzx ecx, byte [ebp - 0x48d]
test ecx, ecx
je 0x429133
mov dword [ebp - 0x498], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x45c]
call fcn.00419eb0
mov eax, dword [ebp - 0x498]
jmp 0x42919a
movzx edx, byte [ebp - 0x48e]
test edx, edx
je 0x429164
mov dword [ebp - 0x4b0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x45c]
call fcn.00419eb0
mov eax, dword [ebp - 0x4b0]
jmp 0x42919a
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x45c]
call fcn.00419eb0
mov eax, dword [ebp - 0x4b8]
jmp 0x42919a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066c98d
mov esp, ebp
pop ebp
ret