Function at 0x447c21
Capabilities:
Copy file
Get session user name

Disassembly:
push 0x5c0
mov eax, 0x4b086a
call fcn.0049174a
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x590], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x580], esi
mov dword [ebp - 0x58c], eax
mov dword [ebp - 0x594], ebx
mov edi, 0x80
cmp word [0x4e8be0], bx
jne 0x447d32
xor eax, eax
push 0xfe
mov word [ebp - 0x134], ax
lea eax, [ebp - 0x132]
push ebx
push eax
call fcn.00492360
add esp, 0xc
lea eax, [ebp - 0x584]
push eax
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0x584], edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x447d32
push str.system
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x447d1f
push str.agentUser
push str.Softwareprojonepodlp_smpcache_
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x560]
call fcn.00427ab0
add esp, 0xc
cmp dword [ebp - 0x54c], ebx
jne 0x447ce7
lea eax, [ebp - 0x134]
jmp 0x447cfc
cmp dword [ebp - 0x548], 8
mov eax, dword [ebp - 0x55c]
jae 0x447cfc
lea eax, [ebp - 0x55c]
push edi
push eax
push 0x4e8be0
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push ebx
push 1
lea esi, [ebp - 0x560]
call fcn.00402bb8
mov esi, dword [ebp - 0x580]
jmp 0x447d32
push edi
lea eax, [ebp - 0x134]
push eax
push 0x4e8be0
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp byte [0x4e8ce0], bl
jne 0x447d74
lea eax, [ebp - 0x5cc]
push eax
call fcn.0042a8fe
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x447d52
mov eax, dword [eax + 4]
jmp 0x447d55
add eax, 4
push edi
push eax
push 0x4e8ce0
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x5cc]
call fcn.00402abb
jmp 0x447d77
xor edi, edi
inc edi
cmp word [0x4e8be0], bx
je 0x447ea4
cmp byte [0x4e8ce0], bl
je 0x447ea4
cmp dword [ebp - 0x590], ebx
je 0x447ea4
cmp byte [esi + 8], 7
jne 0x447ea4
push str.i_action
lea ecx, [ebp - 0x5cc]
call fcn.004026bb
sub esp, 0x1c
mov dword [ebp - 4], ebx
mov ecx, esp
mov dword [ebp - 0x584], esp
push 0x4b8448
call fcn.004026bb
lea eax, [ebp - 0x5cc]
push eax
lea eax, [ebp - 0x57c]
push eax
call fcn.00406a70
add esp, 0x24
push ebx
push edi
lea ecx, [ebp - 0x5cc]
mov byte [ebp - 4], 2
call fcn.00402abb
mov edx, dword [ebp - 0x568]
push 7
push str.replace
lea eax, [ebp - 0x57c]
call fcn.00402a6a
test eax, eax
je 0x447e2d
mov edx, dword [ebp - 0x568]
push 6
push str.delete
lea eax, [ebp - 0x57c]
call fcn.00402a6a
test eax, eax
jne 0x447eac
push dword [ebp - 0x580]
mov esi, str.i_key_columns
mov edx, esi
call fcn.00431fdf
cmp byte [eax + 8], 4
jne 0x447e72
lea eax, [ebp - 0x5b0]
push eax
push ecx
push dword [ebp - 0x580]
mov edx, esi
call fcn.00431fdf
pop ecx
push eax
call fcn.0043121e
mov dword [ebp - 0x594], edi
mov byte [ebp - 0x585], bl
cmp dword [eax + 0x14], ebx
jne 0x447e79
mov byte [ebp - 0x585], 1
test byte [ebp - 0x594], 1
je 0x447e8f
push ebx
push edi
lea ecx, [ebp - 0x5b0]
call fcn.00402abb
cmp byte [ebp - 0x585], bl
je 0x447eac
push ebx
push edi
lea ecx, [ebp - 0x57c]
call fcn.00402abb
xor eax, eax
call fcn.004917cd
ret
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x584], esp
push dword [ebp - 0x590]
call fcn.00430da6
push dword [ebp - 0x580]
mov edx, str.i_dt
mov byte [ebp - 4], 3
call fcn.00431fdf
mov edi, eax
mov byte [ebp - 4], 2
call fcn.004310b2
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x584], esp
push 0x4e8ce0
call fcn.00430da6
push dword [ebp - 0x580]
mov edx, str.client_unique
mov byte [ebp - 4], 4
call fcn.00431fdf
mov edi, eax
mov byte [ebp - 4], 2
call fcn.004310b2
push dword [ebp - 0x580]
mov edi, str.user_name
mov edx, edi
call fcn.00431fdf
cmp byte [eax + 8], bl
jne 0x44807f
push ebx
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xcc], 0xf
call fcn.00402ff0
lea esi, [ebp - 0xc8]
call fcn.004026a8
lea esi, [ebp - 0xa8]
mov dword [ebp - 0xac], ebx
call fcn.004026a8
lea esi, [ebp - 0x8c]
call fcn.004026a8
lea esi, [ebp - 0x70]
call fcn.004026a8
lea esi, [ebp - 0x54]
call fcn.004026a8
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 5
call fcn.0042b733
pop ecx
test eax, eax
je 0x447fff
cmp dword [ebp - 0xd0], ebx
je 0x447fff
sub esp, 0x18
lea edx, [ebp - 0xe4]
mov esi, esp
mov dword [ebp - 0x584], esp
call fcn.00430e5a
push dword [ebp - 0x580]
mov edx, edi
mov byte [ebp - 4], 6
call fcn.00431fdf
mov edi, eax
mov byte [ebp - 4], 5
call fcn.004310b2
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x584], esp
push 1
call fcn.00430d48
push dword [ebp - 0x580]
mov edx, str.i_user_data
mov byte [ebp - 4], 7
call fcn.00431fdf
mov edi, eax
mov byte [ebp - 4], 5
call fcn.004310b2
jmp 0x448070
push 0x4e8be0
lea esi, [ebp - 0x560]
call fcn.00402703
mov eax, esi
push eax
lea eax, [ebp - 0x5b0]
push eax
mov byte [ebp - 4], 8
call fcn.00403ea7
sub esp, 0x10
mov byte [ebp - 4], 9
mov edx, eax
mov esi, esp
mov dword [ebp - 0x584], esp
call fcn.00430e5a
push dword [ebp - 0x580]
mov edx, edi
mov byte [ebp - 4], 0xa
call fcn.00431fdf
mov edi, eax
mov byte [ebp - 4], 9
call fcn.004310b2
push ebx
push 1
lea ecx, [ebp - 0x5b0]
call fcn.00402abb
push ebx
push 1
lea esi, [ebp - 0x560]
call fcn.00402bb8
lea esi, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.0044833e
push dword [ebp - 0x580]
mov edx, str.data_time
call fcn.00431fdf
cmp byte [eax + 8], bl
jne 0x448129
push 7
xor eax, eax
mov byte [ebp - 0x34], bl
pop ecx
lea edi, [ebp - 0x33]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x554]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x548]
push eax
movzx eax, word [ebp - 0x54a]
push eax
movzx eax, word [ebp - 0x54c]
push eax
movzx eax, word [ebp - 0x54e]
push eax
movzx eax, word [ebp - 0x552]
push eax
movzx eax, word [ebp - 0x554]
push eax
push str._04d__02d__02d__02d:_02d:_02d
lea eax, [ebp - 0x34]
push 0x20
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0xc
lea eax, [ebp - 0x34]
mov esi, esp
mov dword [ebp - 0x584], esp
push eax
call fcn.00430da6
push dword [ebp - 0x580]
mov edx, str.data_time
mov byte [ebp - 4], 0xb
call fcn.00431fdf
mov edi, eax
mov byte [ebp - 4], 2
call fcn.004310b2
cmp dword [ebp - 0x58c], ebx
je 0x448328
push dword [ebp - 0x58c]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea esi, [ebp - 0x560]
call fcn.00402703
mov eax, esi
push eax
lea eax, [ebp - 0x5b0]
push eax
mov byte [ebp - 4], 0xc
call fcn.00403ea7
sub esp, 0x10
mov byte [ebp - 4], 0xd
mov edx, eax
mov esi, esp
mov dword [ebp - 0x584], esp
call fcn.00430e5a
push dword [ebp - 0x580]
mov edx, str.attach_name
mov byte [ebp - 4], 0xe
call fcn.00431fdf
mov edi, eax
mov byte [ebp - 4], 0xd
call fcn.004310b2
push ebx
push 1
lea ecx, [ebp - 0x5b0]
call fcn.00402abb
push ebx
push 1
lea esi, [ebp - 0x560]
mov byte [ebp - 4], 2
call fcn.00402bb8
cmp dword [ebp + 0x10], ebx
je 0x44822c
push dword [ebp - 0x58c]
lea esi, [ebp - 0x560]
call fcn.00402703
mov eax, esi
push eax
lea eax, [ebp - 0x5b0]
push eax
mov byte [ebp - 4], 0xf
call fcn.00403ea7
sub esp, 0x10
mov byte [ebp - 4], 0x10
mov edx, eax
mov esi, esp
mov dword [ebp - 0x584], esp
call fcn.00430e5a
push dword [ebp - 0x580]
mov edx, str.attachment
mov byte [ebp - 4], 0x11
call fcn.00431fdf
mov edi, eax
mov byte [ebp - 4], 0x10
call fcn.004310b2
push ebx
push 1
lea ecx, [ebp - 0x5b0]
call fcn.00402abb
lea esi, [ebp - 0x560]
jmp 0x448320
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x33c], ax
lea eax, [ebp - 0x33a]
push ebx
push eax
call fcn.00492360
add esp, 0xc
lea ecx, [ebp - 0x33c]
call fcn.00447aff
test eax, eax
jne 0x448262
push ebx
push 1
jmp 0x447e99
lea esi, [ebp - 0x33c]
call fcn.0042500b
xor eax, eax
push edi
mov word [ebp - 0x544], ax
lea eax, [ebp - 0x542]
push ebx
push eax
call fcn.00492360
add esp, 0xc
push 0x104
lea eax, [ebp - 0x544]
push eax
call fcn.004259b1
lea eax, [ebp - 0x544]
push eax
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
mov eax, esi
push eax
push dword [ebp - 0x58c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x44825a
mov eax, esi
push eax
lea esi, [ebp - 0x5b0]
call fcn.00402703
mov eax, esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x12
call fcn.00403ea7
sub esp, 0x10
mov byte [ebp - 4], 0x13
mov edx, eax
mov esi, esp
mov dword [ebp - 0x584], esp
call fcn.00430e5a
push dword [ebp - 0x580]
mov edx, str.attachment
mov byte [ebp - 4], 0x14
call fcn.00431fdf
mov edi, eax
mov byte [ebp - 4], 0x13
call fcn.004310b2
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00402abb
lea esi, [ebp - 0x5b0]
push ebx
push 1
call fcn.00402bb8
push ebx
push 1
lea ecx, [ebp - 0x57c]
call fcn.00402abb
xor eax, eax
inc eax
jmp 0x447ea6