Function at 0x18002583c
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 [0x1800a1628]
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, [0x1800a7920]
mov edi, 0x80
cmp word [0x1800a7920], r14w
jne 0x180025992
mov word [r11 - 0x468], r14w
xor edx, edx
lea r8d, [rdi + 0x7e]
lea rcx, [r11 - 0x466]
call fcn.180059db0
mov dword [rsp + 0x50], edi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x160]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, r14d
je 0x180025992
lea rdx, str.system
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r14d
jne 0x18002597e
lea r9, str.agentUser
lea r8, str.SoftwareWOW6432Nodeprojonepodlp_smpcache_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xe0]
call fcn.1800057dc
cmp qword [rsp + 0xf8], r14
jne 0x18002593e
mov r8d, edi
lea rdx, [rsp + 0x160]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x180025964
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 0x180025992
mov rcx, qword [rsp + 0xe8]
call fcn.180058b34
jmp 0x180025992
mov r8d, edi
lea rdx, [rsp + 0x160]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp byte [0x1800a7a20], r14b
jne 0x1800259e1
lea rcx, [rsp + 0xb0]
call fcn.18002adec
cmp qword [rax + 0x20], 0x10
jb 0x1800259b5
mov rdx, qword [rax + 8]
jmp 0x1800259b9
lea rdx, [rax + 8]
mov r8d, edi
lea rcx, [0x1800a7a20]
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp qword [rsp + 0xd0], 0x10
jb 0x1800259e1
mov rcx, qword [rsp + 0xb8]
call fcn.180058b34
cmp word [0x1800a7920], r14w
je 0x18002632d
cmp byte [0x1800a7a20], r14b
je 0x18002632d
cmp rbp, r14
je 0x180026329
cmp byte [rbx + 8], 7
jne 0x180026329
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.180007360
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.180007360
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0xe0]
mov rdx, rbx
lea rcx, [rsp + 0x108]
call fcn.180025594
nop
cmp qword [rsp + 0x100], 0x10
jb 0x180025aae
mov rcx, qword [rsp + 0xe8]
call fcn.180058b34
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.18000f3f8
cmp eax, r14d
je 0x180025b22
mov qword [rsp + 0x20], 6
lea r9, str.delete
mov r8, qword [rsp + 0x120]
xor edx, edx
lea rcx, [rsp + 0x108]
call fcn.18000f3f8
cmp eax, r14d
jne 0x180025ba5
lea rdx, str.i_key_columns
mov rcx, rbx
call fcn.180017e84
cmp byte [rax + 8], 4
jne 0x180025b63
lea rdx, str.i_key_columns
mov rcx, rbx
call fcn.180017e84
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.180016cac
mov esi, 1
cmp qword [rax + 0x18], r14
je 0x180025b63
mov dil, r14b
jmp 0x180025b66
mov dil, 1
test sil, 1
je 0x180025b81
cmp qword [rsp + 0x80], 0x10
jb 0x180025b81
mov rcx, qword [rsp + 0x68]
call fcn.180058b34
cmp dil, r14b
je 0x180025ba5
cmp qword [rsp + 0x128], 0x10
jb 0x180025b9e
mov rcx, qword [rsp + 0x110]
call fcn.180058b34
xor eax, eax
jmp 0x18002632f
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rdx, rbp
lea rcx, [rsp + 0x60]
call fcn.180016870
mov rdi, rax
lea rdx, str.i_dt
mov rcx, rbx
call fcn.180017e84
mov rcx, rax
mov rdx, rdi
call fcn.180016ba4
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rcx
lea rdx, [0x1800a7a20]
lea rcx, [rsp + 0x60]
call fcn.180016870
mov rdi, rax
lea rdx, str.client_unique
mov rcx, rbx
call fcn.180017e84
mov rcx, rax
mov rdx, rdi
call fcn.180016ba4
lea rbp, str.user_name
mov rdx, rbp
mov rcx, rbx
call fcn.180017e84
cmp byte [rax + 8], r14b
jne 0x180025eb4
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.18002b8b4
cmp eax, r14d
je 0x180025dd1
cmp qword [rsp + 0x178], r14
je 0x180025dd1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x60]
call fcn.180016918
mov rdi, rax
mov rdx, rbp
mov rcx, rbx
call fcn.180017e84
mov rcx, rax
mov rdx, rdi
call fcn.180016ba4
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.180017e84
mov rcx, rax
lea rdx, [rsp + 0x130]
call fcn.180016ba4
mov esi, 7
jmp 0x180025ea5
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, [0x1800a7920]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [0x1800a7920]
lea rcx, [rsp + 0x130]
call fcn.1800076f0
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000e98c
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180016918
mov rdi, rax
mov rdx, rbp
mov rcx, rbx
call fcn.180017e84
mov rcx, rax
mov rdx, rdi
call fcn.180016ba4
nop
cmp qword [rsp + 0x80], 0x10
jb 0x180025e7a
mov rcx, qword [rsp + 0x68]
call fcn.180058b34
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x180025ea5
mov rcx, qword [rsp + 0x138]
call fcn.180058b34
nop
lea rcx, [rsp + 0x160]
call fcn.18002635c
jmp 0x180025eb9
mov esi, 7
lea rdx, str.data_time
mov rcx, rbx
call fcn.180017e84
cmp byte [rax + 8], r14b
jne 0x180025fa3
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.180016870
mov rdi, rax
lea rdx, str.data_time
mov rcx, rbx
call fcn.180017e84
mov rcx, rax
mov rdx, rdi
call fcn.180016ba4
cmp r12, r14
je 0x18002630a
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.1800076f0
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000e98c
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180016918
mov rdi, rax
lea rdx, str.attach_name
mov rcx, rbx
call fcn.180017e84
mov rcx, rax
mov rdx, rdi
call fcn.180016ba4
nop
cmp qword [rsp + 0x80], 0x10
jb 0x180026058
mov rcx, qword [rsp + 0x68]
call fcn.180058b34
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x180026082
mov rcx, qword [rsp + 0x138]
call fcn.180058b34
cmp r13d, r14d
je 0x18002615d
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.1800076f0
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000e98c
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180016918
mov rdi, rax
lea rdx, str.attachment
mov rcx, rbx
call fcn.180017e84
mov rcx, rax
mov rdx, rdi
call fcn.180016ba4
nop
cmp qword [rsp + 0x80], 0x10
jb 0x18002612a
mov rcx, qword [rsp + 0x68]
call fcn.180058b34
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x18002630a
mov rcx, qword [rsp + 0x138]
call fcn.180058b34
jmp 0x18002630a
mov word [rsp + 0x160], r14w
mov edi, 0x206
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x162]
call fcn.180059db0
lea rcx, [rsp + 0x160]
call fcn.18002567c
cmp eax, r14d
jne 0x1800261ae
cmp qword [rsp + 0x128], 0x10
jb 0x1800261a7
mov rcx, qword [rsp + 0x110]
call fcn.180058b34
xor eax, eax
jmp 0x18002632f
lea rcx, [rsp + 0x160]
call fcn.180001f54
mov word [rsp + 0x370], r14w
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x372]
call fcn.180059db0
mov edx, 0x104
lea rcx, [rsp + 0x370]
call fcn.180002ddc
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 0x180026236
cmp qword [rsp + 0x128], 0x10
jb 0x18002622f
mov rcx, qword [rsp + 0x110]
call fcn.180058b34
xor eax, eax
jmp 0x18002632f
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.1800076f0
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000e98c
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180016918
mov rdi, rax
lea rdx, str.attachment
mov rcx, rbx
call fcn.180017e84
mov rcx, rax
mov rdx, rdi
call fcn.180016ba4
nop
cmp qword [rsp + 0x80], 0x10
jb 0x1800262df
mov rcx, qword [rsp + 0x68]
call fcn.180058b34
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x18002630a
mov rcx, qword [rsp + 0x138]
call fcn.180058b34
nop
cmp qword [rsp + 0x128], 0x10
jb 0x180026322
mov rcx, qword [rsp + 0x110]
call fcn.180058b34
mov eax, 1
jmp 0x18002632f
xor eax, eax
jmp 0x18002632f
xor eax, eax
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.180059760
mov rbx, qword [rsp + 0x5e8]
add rsp, 0x590
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret