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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x590
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x1800a1658]
xor rax, rsp
mov qword [rsp + 0x580], rax
mov r13d, r9d
mov r12, r8
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x50], r14d
lea r15, [0x1800a7910]
mov edi, 0x80
cmp word [0x1800a7910], r14w
jne 0x1800258b6
mov word [r11 - 0x468], r14w
xor edx, edx
lea r8d, [rdi + 0x7e]
lea rcx, [r11 - 0x466]
call fcn.18005a150
mov dword [rsp + 0x50], edi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x160]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, r14d
je 0x1800258b6
lea rdx, str.system
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r14d
jne 0x1800258a2
lea r9, str.agentUser
lea r8, str.SoftwareWOW6432Nodeprojonepodlp_smpcache_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xe0]
call fcn.1800057cc
cmp qword [rsp + 0xf8], r14
jne 0x180025862
mov r8d, edi
lea rdx, [rsp + 0x160]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x180025888
lea rdx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rdx, qword [rsp + 0xe8]
mov r8d, edi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp qword [rsp + 0x100], 8
jb 0x1800258b6
mov rcx, qword [rsp + 0xe8]
call fcn.180058ed8
jmp 0x1800258b6
mov r8d, edi
lea rdx, [rsp + 0x160]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp byte [0x1800a7a10], r14b
jne 0x180025905
lea rcx, [rsp + 0xb0]
call fcn.18002ae04
cmp qword [rax + 0x20], 0x10
jb 0x1800258d9
mov rdx, qword [rax + 8]
jmp 0x1800258dd
lea rdx, [rax + 8]
mov r8d, edi
lea rcx, [0x1800a7a10]
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp qword [rsp + 0xd0], 0x10
jb 0x180025905
mov rcx, qword [rsp + 0xb8]
call fcn.180058ed8
cmp word [0x1800a7910], r14w
je 0x180026251
cmp byte [0x1800a7a10], r14b
je 0x180026251
cmp rbp, r14
je 0x18002624d
cmp byte [rbx + 8], 7
jne 0x18002624d
mov r15d, sendto
mov qword [rsp + 0x100], r15
mov qword [rsp + 0xf8], r14
mov byte [rsp + 0xe8], r14b
lea r8d, [r15 - 7]
lea rdx, str.i_action
lea rcx, [rsp + 0xe0]
call fcn.180007288
nop
mov qword [rsp + 0xd0], r15
mov qword [rsp + 0xc8], r14
mov byte [rsp + 0xb8], r14b
xor r8d, r8d
lea rdx, [0x1800827d9]
lea rcx, [rsp + 0xb0]
call fcn.180007288
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0xe0]
mov rdx, rbx
lea rcx, [rsp + 0x108]
call fcn.1800254b8
nop
cmp qword [rsp + 0x100], 0x10
jb 0x1800259d2
mov rcx, qword [rsp + 0xe8]
call fcn.180058ed8
mov qword [rsp + 0x100], r15
mov qword [rsp + 0xf8], r14
mov byte [rsp + 0xe8], r14b
mov qword [rsp + 0x20], 7
lea r9, str.replace
mov r8, qword [rsp + 0x120]
xor edx, edx
lea rcx, [rsp + 0x108]
call fcn.18000f370
cmp eax, r14d
je 0x180025a46
mov qword [rsp + 0x20], 6
lea r9, str.delete
mov r8, qword [rsp + 0x120]
xor edx, edx
lea rcx, [rsp + 0x108]
call fcn.18000f370
cmp eax, r14d
jne 0x180025ac9
lea rdx, str.i_key_columns
mov rcx, rbx
call fcn.180017d70
cmp byte [rax + 8], 4
jne 0x180025a87
lea rdx, str.i_key_columns
mov rcx, rbx
call fcn.180017d70
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.180016b98
mov esi, 1
cmp qword [rax + 0x18], r14
je 0x180025a87
mov dil, r14b
jmp 0x180025a8a
mov dil, 1
test sil, 1
je 0x180025aa5
cmp qword [rsp + 0x80], 0x10
jb 0x180025aa5
mov rcx, qword [rsp + 0x68]
call fcn.180058ed8
cmp dil, r14b
je 0x180025ac9
cmp qword [rsp + 0x128], 0x10
jb 0x180025ac2
mov rcx, qword [rsp + 0x110]
call fcn.180058ed8
xor eax, eax
jmp 0x180026253
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rdx, rbp
lea rcx, [rsp + 0x60]
call fcn.18001675c
mov rdi, rax
lea rdx, str.i_dt
mov rcx, rbx
call fcn.180017d70
mov rcx, rax
mov rdx, rdi
call fcn.180016a90
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rcx
lea rdx, [0x1800a7a10]
lea rcx, [rsp + 0x60]
call fcn.18001675c
mov rdi, rax
lea rdx, str.client_unique
mov rcx, rbx
call fcn.180017d70
mov rcx, rax
mov rdx, rdi
call fcn.180016a90
lea rbp, str.user_name
mov rdx, rbp
mov rcx, rbx
call fcn.180017d70
cmp byte [rax + 8], r14b
jne 0x180025dd8
mov qword [rsp + 0x180], r15
mov qword [rsp + 0x178], r14
mov byte [rsp + 0x168], r14b
mov qword [rsp + 0x1a8], r15
mov qword [rsp + 0x1a0], r14
mov byte [rsp + 0x190], r14b
mov dword [rsp + 0x1b0], r14d
mov qword [rsp + 0x1d8], r15
mov qword [rsp + 0x1d0], r14
mov byte [rsp + 0x1c0], r14b
mov qword [rsp + 0x200], r15
mov qword [rsp + 0x1f8], r14
mov byte [rsp + 0x1e8], r14b
mov qword [rsp + 0x228], r15
mov qword [rsp + 0x220], r14
mov byte [rsp + 0x210], r14b
mov qword [rsp + 0x250], r15
mov qword [rsp + 0x248], r14
mov byte [rsp + 0x238], r14b
mov qword [rsp + 0x278], r15
mov qword [rsp + 0x270], r14
mov byte [rsp + 0x260], r14b
mov qword [rsp + 0x2a0], r15
mov qword [rsp + 0x298], r14
mov byte [rsp + 0x288], r14b
mov qword [rsp + 0x2c8], r15
mov qword [rsp + 0x2c0], r14
mov byte [rsp + 0x2b0], r14b
lea rcx, [rsp + 0x160]
call fcn.18002b89c
cmp eax, r14d
je 0x180025cf5
cmp qword [rsp + 0x178], r14
je 0x180025cf5
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x60]
call fcn.180016804
mov rdi, rax
mov rdx, rbp
mov rcx, rbx
call fcn.180017d70
mov rcx, rax
mov rdx, rdi
call fcn.180016a90
lea rdx, [rsp + 0x130]
mov qword [rsp + 0x50], rdx
mov byte [rsp + 0x138], 1
btr dword [rsp + 0x138], 8
mov qword [rsp + 0x140], r14
mov qword [rsp + 0x148], r14
mov qword [rsp + 0x150], r14
mov qword [rsp + 0x130], 1
lea rdx, str.i_user_data
mov rcx, rbx
call fcn.180017d70
mov rcx, rax
lea rdx, [rsp + 0x130]
call fcn.180016a90
mov esi, 7
jmp 0x180025dc9
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov esi, 7
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x148], r14
mov word [rsp + 0x138], r14w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1800a7910]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [0x1800a7910]
lea rcx, [rsp + 0x130]
call fcn.180007618
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000e8d0
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180016804
mov rdi, rax
mov rdx, rbp
mov rcx, rbx
call fcn.180017d70
mov rcx, rax
mov rdx, rdi
call fcn.180016a90
nop
cmp qword [rsp + 0x80], 0x10
jb 0x180025d9e
mov rcx, qword [rsp + 0x68]
call fcn.180058ed8
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x180025dc9
mov rcx, qword [rsp + 0x138]
call fcn.180058ed8
nop
lea rcx, [rsp + 0x160]
call fcn.180026280
jmp 0x180025ddd
mov esi, 7
lea rdx, str.data_time
mov rcx, rbx
call fcn.180017d70
cmp byte [rax + 8], r14b
jne 0x180025ec7
mov byte [rsp + 0x130], r14b
xor eax, eax
mov qword [rsp + 0x131], rax
mov qword [rsp + 0x139], rax
mov qword [rsp + 0x141], rax
mov dword [rsp + 0x149], eax
mov word [rsp + 0x14d], ax
mov byte [rsp + 0x14f], al
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [rsp + 0x5c]
movzx eax, word [rsp + 0x5a]
movzx ecx, word [rsp + 0x58]
movzx edi, word [rsp + 0x56]
movzx r8d, word [rsp + 0x52]
movzx r9d, word [rsp + 0x50]
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r8d
lea r8, str._04d__02d__02d__02d:_02d:_02d
mov edx, 0x20
lea rcx, [rsp + 0x130]
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x50], rcx
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x88]
call fcn.18001675c
mov rdi, rax
lea rdx, str.data_time
mov rcx, rbx
call fcn.180017d70
mov rcx, rax
mov rdx, rdi
call fcn.180016a90
cmp r12, r14
je 0x18002622e
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov rcx, r12
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rdx, rax
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x148], r14
mov word [rsp + 0x138], r14w
xor eax, eax
or rbp, 0xffffffffffffffff
mov rcx, rbp
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x130]
call fcn.180007618
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000e8d0
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180016804
mov rdi, rax
lea rdx, str.attach_name
mov rcx, rbx
call fcn.180017d70
mov rcx, rax
mov rdx, rdi
call fcn.180016a90
nop
cmp qword [rsp + 0x80], 0x10
jb 0x180025f7c
mov rcx, qword [rsp + 0x68]
call fcn.180058ed8
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x180025fa6
mov rcx, qword [rsp + 0x138]
call fcn.180058ed8
cmp r13d, r14d
je 0x180026081
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x148], r14
mov word [rsp + 0x138], r14w
xor eax, eax
mov rcx, rbp
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r12
lea rcx, [rsp + 0x130]
call fcn.180007618
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000e8d0
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180016804
mov rdi, rax
lea rdx, str.attachment
mov rcx, rbx
call fcn.180017d70
mov rcx, rax
mov rdx, rdi
call fcn.180016a90
nop
cmp qword [rsp + 0x80], 0x10
jb 0x18002604e
mov rcx, qword [rsp + 0x68]
call fcn.180058ed8
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x18002622e
mov rcx, qword [rsp + 0x138]
call fcn.180058ed8
jmp 0x18002622e
mov word [rsp + 0x160], r14w
mov edi, 0x206
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x162]
call fcn.18005a150
lea rcx, [rsp + 0x160]
call fcn.1800255a0
cmp eax, r14d
jne 0x1800260d2
cmp qword [rsp + 0x128], 0x10
jb 0x1800260cb
mov rcx, qword [rsp + 0x110]
call fcn.180058ed8
xor eax, eax
jmp 0x180026253
lea rcx, [rsp + 0x160]
call fcn.180001fc0
mov word [rsp + 0x370], r14w
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x372]
call fcn.18005a150
mov edx, 0x104
lea rcx, [rsp + 0x370]
call fcn.180002e48
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x160]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor r8d, r8d
lea rdx, [rsp + 0x160]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, r14d
jne 0x18002615a
cmp qword [rsp + 0x128], 0x10
jb 0x180026153
mov rcx, qword [rsp + 0x110]
call fcn.180058ed8
xor eax, eax
jmp 0x180026253
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x148], r14
mov word [rsp + 0x138], r14w
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x160]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x130]
call fcn.180007618
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000e8d0
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180016804
mov rdi, rax
lea rdx, str.attachment
mov rcx, rbx
call fcn.180017d70
mov rcx, rax
mov rdx, rdi
call fcn.180016a90
nop
cmp qword [rsp + 0x80], 0x10
jb 0x180026203
mov rcx, qword [rsp + 0x68]
call fcn.180058ed8
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x18002622e
mov rcx, qword [rsp + 0x138]
call fcn.180058ed8
nop
cmp qword [rsp + 0x128], 0x10
jb 0x180026246
mov rcx, qword [rsp + 0x110]
call fcn.180058ed8
mov eax, 1
jmp 0x180026253
xor eax, eax
jmp 0x180026253
xor eax, eax
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.180059b00
mov rbx, qword [rsp + 0x5e8]
add rsp, 0x590
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret