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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1e0d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov dword [ebp - 0x10], ecx
mov ecx, 0x5175eb
call fcn.004bd4ad
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.004148f0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.004049d0
lea ecx, [ebp - 0x84]
call fcn.00403480
mov ecx, dword [ebp - 0x10]
call fcn.004134b0
mov ecx, dword [ebp - 0x10]
call fcn.00414af0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
movzx eax, byte [edx + 6]
test eax, eax
je 0x416af8
push 0x4e8ba4
lea ecx, [ebp - 0x20]
call fcn.004067e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
push ecx
push 0x4e8bb4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
add eax, 4
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00407620
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.00407580
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.00407110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.00407110
lea ecx, [ebp - 0x1c]
call fcn.00407560
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.00406780
mov ecx, dword [ebp - 0x10]
call fcn.00414230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00407110
jmp 0x416d62
push str.GInstallerPkg
lea ecx, [ebp - 0x24]
call fcn.004067e0
mov dword [ebp - 4], 5
lea eax, [ebp - 0x24]
push eax
push 0x4e8bc8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
add edx, 4
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.00407620
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.00407580
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
call fcn.00407110
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x24]
call fcn.00407110
push 0x4e8bcc
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.00407620
add esp, 0xc
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
push eax
call fcn.0040c7b0
add esp, 4
mov byte [ebp - 4], 0xb
push 0x4e8bd8
lea ecx, [ebp - 0x28]
push ecx
push 0x4e8be4
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
add eax, 4
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.00407620
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.00407580
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.00407620
add esp, 0xc
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x5c]
call fcn.00407110
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x60]
call fcn.00407110
lea ecx, [ebp - 0x18]
call fcn.00407560
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.00407560
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.00407560
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416caa
push 0x4e8be8
lea ecx, [ebp - 0x14]
call fcn.004078c0
lea ecx, [ebp - 0x14]
call fcn.00407560
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.00407560
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416caa
push 0x4e8bf4
lea ecx, [ebp - 0x14]
call fcn.004078c0
lea ecx, [ebp - 0x14]
call fcn.00407560
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.00407560
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416caa
push str..exe
lea ecx, [ebp - 0x14]
call fcn.004078c0
lea ecx, [ebp - 0x14]
call fcn.00407560
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.00406780
mov ecx, dword [ebp - 0x10]
call fcn.00413de0
lea ecx, [ebp - 0x14]
call fcn.00407560
push eax
lea ecx, [ebp - 0x18]
call fcn.00407560
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.00406780
mov ecx, dword [ebp - 0x10]
call fcn.004140b0
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.00407110
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00407110
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00407110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407110
jmp 0x416d82
mov ecx, dword [ebp - 0x10]
call fcn.00414350
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