Function at 0x41a580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4710b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call fcn.004028f0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.0041a0d0
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x10]
call fcn.004029a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00402980
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x28
call fcn.004029a0
push 0x479e2a
lea ecx, [ebp - 0x10]
call fcn.00413800
mov edx, dword [ebp + 8]
add edx, 0x2c
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.0041a0d0
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x10]
call fcn.004029a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00402980
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x2c
call fcn.004029a0
push 0x479e2b
lea ecx, [ebp - 0x10]
call fcn.00413800
mov ecx, dword [ebp + 8]
add ecx, 0x30
push ecx
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.0041a0d0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004029a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402980
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x30
call fcn.004029a0
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x41a6b3
mov ecx, dword [ebp + 8]
cmp dword [ecx], 2
jne 0x41a6f5
mov ecx, dword [ebp + 8]
add ecx, 0x2c
call fcn.00405020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x34], eax
cmp dword [ebp - 0x14], 0
jne 0x41a6f0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
push edx
push str.Action_File_does_not_exist:__s
push 0x49d444
call fcn.00441600
add esp, 0xc
jmp 0x41a868
mov eax, dword [ebp + 8]
cmp dword [eax], 5
jne 0x41a85e
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp + 8]
add edx, 0x2c
push edx
lea ecx, [ebp - 0x18]
call fcn.00402a80
mov byte [ebp - 4], 4
push 0x479e6c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0041a890
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x18]
call fcn.004029a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00402980
lea ecx, [ebp - 0x18]
call fcn.00405020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41a7b1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x34], edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x2c
call fcn.004029a0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402980
jmp 0x41a877
mov edx, dword [ebp + 8]
add edx, 0x2c
push edx
lea ecx, [ebp - 0x18]
call fcn.004029a0
push 0x479e78
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0041a890
add esp, 0xc
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x18]
call fcn.004029a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00402980
lea ecx, [ebp - 0x18]
call fcn.00405020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41a850
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x34], edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x2c
call fcn.004029a0
mov ecx, dword [ebp + 8]
mov dword [ecx], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402980
jmp 0x41a877
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00402980
jmp 0x41a868
mov edx, dword [ebp + 8]
mov dword [edx + 0x34], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402980
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4