Function at 0x404600
Capabilities:
Copy file
Delete file
Get common file path
Get hostname
Get session user name

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x40eb36
push eax
mov eax, 0x3b70
mov dword fs:[0], esp
call fcn.00406850
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x27c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x40465d
mov edx, dword [0x4134e8]
push 0x1000
lea ecx, [esp + 0x384]
push ecx
push 0xe
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
xor eax, eax
jmp 0x404a96
push 0x412fe0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4048d2
push 0x412fe0
lea ecx, [esp + 0x30]
call fcn.00402ea0
push 0
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x40f348
mov dword [esp + 0x3bb4], 0
call fcn.00402ea0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x58]
call fcn.004025e0
mov ecx, eax
mov byte [esp + 0x3b88], 1
call fcn.004018f0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
lea ecx, [esp + 0x78]
push ecx
call ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x3b88], 0
call fcn.00401d70
lea edx, [esp + 0x74]
push edx
call fcn.00403d40
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
add esp, 4
test eax, eax
jne 0x4047f7
lea eax, [esp + 0x74]
push 0x40f344
push eax
call fcn.004076d1
mov esi, eax
add esp, 8
test esi, esi
jne 0x40475d
mov edx, dword [0x4134e8]
push 0x1000
lea ecx, [esp + 0x1384]
push ecx
push 0xf
push edx
call edi
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x1384]
push ecx
lea edx, [esp + 0x388]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push esi
push 0x4130e8
lea eax, [esp + 0x388]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4048be
push esi
push 0x40f340
call fcn.00407664
mov edx, dword [0x4134e8]
add esp, 8
push 0x1000
lea ecx, [esp + 0x384]
push ecx
push 0xc
push edx
call edi
lea eax, [esp + 0x380]
push esi
push eax
call fcn.00407664
mov edx, dword [0x4134e8]
add esp, 8
push 0x1000
lea ecx, [esp + 0x384]
push ecx
push 0xb
push edx
call edi
lea eax, [esp + 0x380]
push esi
push eax
call fcn.00407664
mov edx, dword [0x4134e8]
add esp, 8
push 0x1000
lea ecx, [esp + 0x384]
push ecx
push 0xc
push edx
call edi
lea eax, [esp + 0x380]
push esi
push eax
call fcn.00407664
push esi
push 0x40f340
call fcn.00407664
push esi
call fcn.0040760e
add esp, 0x14
lea ecx, [esp + 0x178]
push ecx
push 0
push str.DEPLOYLOG
lea edx, [esp + 0x288]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0x74]
push 0x40f330
push eax
call fcn.004076d1
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x404864
mov edx, dword [0x4134e8]
push 0x1000
lea ecx, [esp + 0x1384]
push ecx
push 0xf
push edx
call edi
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x1384]
push ecx
lea edx, [esp + 0x388]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4048be
lea eax, [esp + 0x178]
push 0x40f32c
push eax
call fcn.004076d1
mov esi, eax
add esp, 8
test esi, esi
jne 0x4048d9
mov edx, dword [0x4134e8]
push 0x1000
lea ecx, [esp + 0x1384]
push ecx
push 0xf
push edx
call edi
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x1384]
push ecx
lea edx, [esp + 0x388]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
push ebp
call fcn.0040760e
add esp, 0x10
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3b88], 0xffffffff
call fcn.00401d70
xor eax, eax
jmp 0x404a96
push ebp
lea eax, [esp + 0x384]
push 0x1000
push eax
call fcn.004075b7
add esp, 0xc
test eax, eax
je 0x40491b
lea ecx, [esp + 0x380]
push esi
push ecx
call fcn.00407664
push ebp
lea edx, [esp + 0x38c]
push 0x1000
push edx
call fcn.004075b7
add esp, 0x14
test eax, eax
jne 0x4048f3
push ebp
call fcn.0040760e
add esp, 4
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2b84]
mov ebp, 0x800
push edx
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x3384]
push ecx
mov dword [esp + 0x18], ebp
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea edx, [esp + 0x2b80]
push edx
lea eax, [esp + 0x2384]
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40f2a4
lea ecx, [esp + 0x2384]
push ecx
call ebp
lea edx, [esp + 0x3380]
push edx
lea eax, [esp + 0x2384]
push eax
call ebp
mov edx, dword [0x4134e8]
push 0x1000
lea ecx, [esp + 0x1384]
push ecx
push 8
push edx
call edi
mov eax, dword [esp + 0x3b90]
mov ecx, dword [esp + 0x3b94]
push eax
movzx eax, word [esp + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push ecx
movzx ecx, word [esp + 0x26]
lea edx, [esp + 0x2388]
push edx
movzx edx, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x34]
push ecx
movzx ecx, word [esp + 0x36]
push edx
movzx edx, word [esp + 0x38]
push eax
push ecx
push edx
lea eax, [esp + 0x13a4]
push eax
lea ecx, [esp + 0x3a8]
push ecx
call ebp
lea edx, [esp + 0x3ac]
push esi
push edx
call fcn.00407664
push esi
call fcn.0040760e
add esp, 0x38
push 0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x180]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
test esi, esi
jne 0x404a72
mov eax, dword [0x4134e8]
push 0x1000
lea edx, [esp + 0x1384]
push edx
push 0x10
push eax
call edi
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x17c]
push edx
lea eax, [esp + 0x1388]
push eax
lea ecx, [esp + 0x38c]
push ecx
call ebp
add esp, 0x10
lea edx, [esp + 0x178]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3b88], 0xffffffff
call fcn.00401d70
mov eax, esi
mov ecx, dword [esp + 0x3b80]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3b7c
ret