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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fe7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov dword [ebp - 0x10], ecx
mov ecx, 0x4d5715
call fcn.0047b83a
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.00417310
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.004048b0
lea ecx, [ebp - 0x84]
call fcn.00403360
mov ecx, dword [ebp - 0x10]
call fcn.00416000
mov ecx, dword [ebp - 0x10]
call fcn.00417470
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
movzx eax, byte [edx + 6]
test eax, eax
je 0x419478
push 0x4a7e9c
lea ecx, [ebp - 0x20]
call fcn.00406760
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
push ecx
push 0x4a7eac
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
add eax, 4
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004075a0
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.00407500
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00407090
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00407090
lea ecx, [ebp - 0x1c]
call fcn.004074e0
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.00406700
mov ecx, dword [ebp - 0x10]
call fcn.00416c40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00407090
jmp 0x4196e2
push str.GInstallerPkg
lea ecx, [ebp - 0x24]
call fcn.00406760
mov dword [ebp - 4], 5
lea eax, [ebp - 0x24]
push eax
push 0x4a7ec0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
add edx, 4
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.004075a0
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.00407500
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
call fcn.00407090
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.00407090
push 0x4a7ec4
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004075a0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
push eax
call fcn.0040caa0
add esp, 4
mov byte [ebp - 4], 0xb
push 0x4a7ed0
lea ecx, [ebp - 0x28]
push ecx
push 0x4a7edc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
add eax, 4
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.004075a0
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.00407500
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.004075a0
add esp, 0xc
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x5c]
call fcn.00407090
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x60]
call fcn.00407090
lea ecx, [ebp - 0x18]
call fcn.004074e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.004074e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.004074e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41962a
push 0x4a7ee0
lea ecx, [ebp - 0x14]
call fcn.00407840
lea ecx, [ebp - 0x14]
call fcn.004074e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.004074e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41962a
push 0x4a7eec
lea ecx, [ebp - 0x14]
call fcn.00407840
lea ecx, [ebp - 0x14]
call fcn.004074e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.004074e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41962a
push str..exe
lea ecx, [ebp - 0x14]
call fcn.00407840
lea ecx, [ebp - 0x14]
call fcn.004074e0
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.00406700
mov ecx, dword [ebp - 0x10]
call fcn.004167e0
lea ecx, [ebp - 0x14]
call fcn.004074e0
push eax
lea ecx, [ebp - 0x18]
call fcn.004074e0
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.00406700
mov ecx, dword [ebp - 0x10]
call fcn.00416ac0
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.00407090
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00407090
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00407090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407090
jmp 0x419702
mov ecx, dword [ebp - 0x10]
call fcn.00416d60
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