Function at 0x401e20
Capabilities:
Delete file
Get common file path
Get hostname
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xaac
mov eax, dword [0x421008]
xor eax, esp
mov dword [esp + 0xaa8], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push eax
push 0x41de98
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x401fa2
push 0x208
lea eax, [esp + 0x494]
push 0
push eax
call fcn.00407ea0
add esp, 0xc
lea eax, [esp + 0x288]
push 0x208
push 0
push eax
call fcn.00407ea0
add esp, 0xc
lea eax, [esp + 0x80]
push 0x208
push 0
push eax
call fcn.00407ea0
add esp, 0xc
lea eax, [esp + 0x490]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x288]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x80]
push eax
push 0
push 0x41dea0
lea eax, [esp + 0x294]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov edx, str..exe
lea ecx, [esp + 0x80]
call fcn.00405a30
push ecx
lea edx, [esp + 0x84]
lea ecx, [esp + 0x494]
call fcn.00401c60
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0x44
add esp, 4
movlpd qword [esp + 0x2c], xmm0
mov edx, 0x41deb4
movlpd qword [esp + 0x34], xmm0
lea ecx, [esp + 0x80]
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x44], xmm0
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x64], xmm0
call fcn.00405a30
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x2c]
push eax
sub esp, 0x18
lea edx, [esp + 0xa0]
call fcn.00401bb0
add esp, 0x20
xor eax, eax
pop esi
mov ecx, dword [esp + 0xaa8]
xor ecx, esp
call fcn.00406e3d
mov esp, ebp
pop ebp
ret 0x10
push 0x64
push 0x4225b0
push 0x68
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x4224e8
push 0x6e
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x208
lea eax, [esp + 0x8a4]
push 0
push eax
call fcn.00407ea0
add esp, 0xc
mov dword [esp + 0x24], 0x104
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x8a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov ecx, esi
call fcn.004020d0
mov edx, dword [ebp + 0x14]
mov ecx, esi
call fcn.00402200
test eax, eax
je 0x401f8b
push 0x6e
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
push 0
push 0
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x40206f
nop dword [eax]
lea eax, [esp + 8]
push eax
push esi
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x40205a
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x402030
push 0x208
lea eax, [esp + 0x69c]
push 0
push eax
call fcn.00407ea0
add esp, 0xc
lea eax, [esp + 0x698]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 4
push 0
lea eax, [esp + 0x6a0]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0xaac]
mov eax, dword [esp + 0x10]
pop esi
xor ecx, esp
call fcn.00406e3d
mov esp, ebp
pop ebp
ret 0x10