Function at 0x41b660
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4ead
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov dword [ebp - 0x10], ecx
mov ecx, 0x534838
call fcn.004c63e1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
lea edx, [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004195f0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00405510
lea ecx, [ebp - 0x84]
call fcn.00403800
mov ecx, dword [ebp - 0x10]
call fcn.00418150
mov ecx, dword [ebp - 0x10]
call fcn.004197b0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
movzx eax, byte [edx + 6]
test eax, eax
je 0x41b798
push 0x4fc3c8
lea ecx, [ebp - 0x20]
call fcn.00407940
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
push ecx
push 0x4fc3d8
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
add eax, 4
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004087b0
add esp, 0xc
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 - 0x1c]
push ecx
call fcn.00408710
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.004082a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.004082a0
lea ecx, [ebp - 0x1c]
call fcn.004086f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 0x46d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.004078e0
mov ecx, dword [ebp - 0x10]
call fcn.00418e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004082a0
jmp 0x41ba02
push str.GInstallerPkg
lea ecx, [ebp - 0x24]
call fcn.00407940
mov dword [ebp - 4], 5
lea eax, [ebp - 0x24]
push eax
push 0x4fc3ec
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
add edx, 4
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.004087b0
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x44]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00408710
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
call fcn.004082a0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.004082a0
push 0x4fc3f0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004087b0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
push eax
call fcn.0040cee0
add esp, 4
mov byte [ebp - 4], 0xb
push 0x4fc3fc
lea ecx, [ebp - 0x28]
push ecx
push 0x4fc408
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
add eax, 4
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.004087b0
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00408710
add esp, 0xc
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.004087b0
add esp, 0xc
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x5c]
call fcn.004082a0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x60]
call fcn.004082a0
lea ecx, [ebp - 0x18]
call fcn.004086f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.004086f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.004086f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b94a
push 0x4fc40c
lea ecx, [ebp - 0x14]
call fcn.00408a50
lea ecx, [ebp - 0x14]
call fcn.004086f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.004086f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b94a
push 0x4fc418
lea ecx, [ebp - 0x14]
call fcn.00408a50
lea ecx, [ebp - 0x14]
call fcn.004086f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.004086f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b94a
push 0x4fc424
lea ecx, [ebp - 0x14]
call fcn.00408a50
lea ecx, [ebp - 0x14]
call fcn.004086f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp - 0x18]
push edx
call fcn.004078e0
mov ecx, dword [ebp - 0x10]
call fcn.00418a20
lea ecx, [ebp - 0x14]
call fcn.004086f0
push eax
lea ecx, [ebp - 0x18]
call fcn.004086f0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0
push 0
push 0x46d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea eax, [ebp - 0x14]
push eax
call fcn.004078e0
mov ecx, dword [ebp - 0x10]
call fcn.00418cf0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
mov dword [edx + 8], 1
push 0
push 0
push 0x46c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.004082a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.004082a0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.004082a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004082a0
jmp 0x41ba22
mov ecx, dword [ebp - 0x10]
call fcn.00418f90
push 0
push 0
push 0x46c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4