Function at 0x180025ae8
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 0x180025c3e
mov word [r11 - 0x468], r14w
xor edx, edx
lea r8d, [rdi + 0x7e]
lea rcx, [r11 - 0x466]
call fcn.180059f80
mov dword [rsp + 0x50], edi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x160]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, r14d
je 0x180025c3e
lea rdx, str.system
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r14d
jne 0x180025c2a
lea r9, str.agentUser
lea r8, str.SoftwareWOW6432Nodeprojonepodlp_smpcache_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xe0]
call fcn.1800057d4
cmp qword [rsp + 0xf8], r14
jne 0x180025bea
mov r8d, edi
lea rdx, [rsp + 0x160]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x180025c10
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 0x180025c3e
mov rcx, qword [rsp + 0xe8]
call fcn.1800018ec
jmp 0x180025c3e
mov r8d, edi
lea rdx, [rsp + 0x160]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp byte [0x1800a7a20], r14b
jne 0x180025c8d
lea rcx, [rsp + 0xb0]
call fcn.18002b04c
cmp qword [rax + 0x20], 0x10
jb 0x180025c61
mov rdx, qword [rax + 8]
jmp 0x180025c65
lea rdx, [rax + 8]
mov r8d, edi
lea rcx, [0x1800a7a20]
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp qword [rsp + 0xd0], 0x10
jb 0x180025c8d
mov rcx, qword [rsp + 0xb8]
call fcn.1800018ec
cmp word [0x1800a7920], r14w
je 0x1800265d9
cmp byte [0x1800a7a20], r14b
je 0x1800265d9
cmp rbp, r14
je 0x1800265d5
cmp byte [rbx + 8], 7
jne 0x1800265d5
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.180007324
nop
mov qword [rsp + 0xd0], r15
mov qword [rsp + 0xc8], r14
mov byte [rsp + 0xb8], r14b
xor r8d, r8d
lea rdx, [0x180081a97]
lea rcx, [rsp + 0xb0]
call fcn.180007324
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0xe0]
mov rdx, rbx
lea rcx, [rsp + 0x108]
call fcn.180025840
nop
cmp qword [rsp + 0x100], 0x10
jb 0x180025d5a
mov rcx, qword [rsp + 0xe8]
call fcn.1800018ec
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.18000f440
cmp eax, r14d
je 0x180025dce
mov qword [rsp + 0x20], 6
lea r9, str.delete
mov r8, qword [rsp + 0x120]
xor edx, edx
lea rcx, [rsp + 0x108]
call fcn.18000f440
cmp eax, r14d
jne 0x180025e51
lea rdx, str.i_key_columns
mov rcx, rbx
call fcn.180017f04
cmp byte [rax + 8], 4
jne 0x180025e0f
lea rdx, str.i_key_columns
mov rcx, rbx
call fcn.180017f04
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.180016d2c
mov esi, 1
cmp qword [rax + 0x18], r14
je 0x180025e0f
mov dil, r14b
jmp 0x180025e12
mov dil, 1
test sil, 1
je 0x180025e2d
cmp qword [rsp + 0x80], 0x10
jb 0x180025e2d
mov rcx, qword [rsp + 0x68]
call fcn.1800018ec
cmp dil, r14b
je 0x180025e51
cmp qword [rsp + 0x128], 0x10
jb 0x180025e4a
mov rcx, qword [rsp + 0x110]
call fcn.1800018ec
xor eax, eax
jmp 0x1800265db
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rdx, rbp
lea rcx, [rsp + 0x60]
call fcn.1800168f0
mov rdi, rax
lea rdx, str.i_dt
mov rcx, rbx
call fcn.180017f04
mov rcx, rax
mov rdx, rdi
call fcn.180016c24
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rcx
lea rdx, [0x1800a7a20]
lea rcx, [rsp + 0x60]
call fcn.1800168f0
mov rdi, rax
lea rdx, str.client_unique
mov rcx, rbx
call fcn.180017f04
mov rcx, rax
mov rdx, rdi
call fcn.180016c24
lea rbp, str.user_name
mov rdx, rbp
mov rcx, rbx
call fcn.180017f04
cmp byte [rax + 8], r14b
jne 0x180026160
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.18002bb14
cmp eax, r14d
je 0x18002607d
cmp qword [rsp + 0x178], r14
je 0x18002607d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x60]
call fcn.180016998
mov rdi, rax
mov rdx, rbp
mov rcx, rbx
call fcn.180017f04
mov rcx, rax
mov rdx, rdi
call fcn.180016c24
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.180017f04
mov rcx, rax
lea rdx, [rsp + 0x130]
call fcn.180016c24
mov esi, 7
jmp 0x180026151
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.1800076b4
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000e9a0
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180016998
mov rdi, rax
mov rdx, rbp
mov rcx, rbx
call fcn.180017f04
mov rcx, rax
mov rdx, rdi
call fcn.180016c24
nop
cmp qword [rsp + 0x80], 0x10
jb 0x180026126
mov rcx, qword [rsp + 0x68]
call fcn.1800018ec
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x180026151
mov rcx, qword [rsp + 0x138]
call fcn.1800018ec
nop
lea rcx, [rsp + 0x160]
call fcn.180026608
jmp 0x180026165
mov esi, 7
lea rdx, str.data_time
mov rcx, rbx
call fcn.180017f04
cmp byte [rax + 8], r14b
jne 0x18002624f
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.1800168f0
mov rdi, rax
lea rdx, str.data_time
mov rcx, rbx
call fcn.180017f04
mov rcx, rax
mov rdx, rdi
call fcn.180016c24
cmp r12, r14
je 0x1800265b6
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.1800076b4
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000e9a0
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180016998
mov rdi, rax
lea rdx, str.attach_name
mov rcx, rbx
call fcn.180017f04
mov rcx, rax
mov rdx, rdi
call fcn.180016c24
nop
cmp qword [rsp + 0x80], 0x10
jb 0x180026304
mov rcx, qword [rsp + 0x68]
call fcn.1800018ec
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x18002632e
mov rcx, qword [rsp + 0x138]
call fcn.1800018ec
cmp r13d, r14d
je 0x180026409
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.1800076b4
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000e9a0
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180016998
mov rdi, rax
lea rdx, str.attachment
mov rcx, rbx
call fcn.180017f04
mov rcx, rax
mov rdx, rdi
call fcn.180016c24
nop
cmp qword [rsp + 0x80], 0x10
jb 0x1800263d6
mov rcx, qword [rsp + 0x68]
call fcn.1800018ec
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x1800265b6
mov rcx, qword [rsp + 0x138]
call fcn.1800018ec
jmp 0x1800265b6
mov word [rsp + 0x160], r14w
mov edi, 0x206
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x162]
call fcn.180059f80
lea rcx, [rsp + 0x160]
call fcn.180025928
cmp eax, r14d
jne 0x18002645a
cmp qword [rsp + 0x128], 0x10
jb 0x180026453
mov rcx, qword [rsp + 0x110]
call fcn.1800018ec
xor eax, eax
jmp 0x1800265db
lea rcx, [rsp + 0x160]
call fcn.180001f48
mov word [rsp + 0x370], r14w
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x372]
call fcn.180059f80
mov edx, 0x104
lea rcx, [rsp + 0x370]
call fcn.180002dd4
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 0x1800264e2
cmp qword [rsp + 0x128], 0x10
jb 0x1800264db
mov rcx, qword [rsp + 0x110]
call fcn.1800018ec
xor eax, eax
jmp 0x1800265db
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.1800076b4
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000e9a0
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180016998
mov rdi, rax
lea rdx, str.attachment
mov rcx, rbx
call fcn.180017f04
mov rcx, rax
mov rdx, rdi
call fcn.180016c24
nop
cmp qword [rsp + 0x80], 0x10
jb 0x18002658b
mov rcx, qword [rsp + 0x68]
call fcn.1800018ec
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x1800265b6
mov rcx, qword [rsp + 0x138]
call fcn.1800018ec
nop
cmp qword [rsp + 0x128], 0x10
jb 0x1800265ce
mov rcx, qword [rsp + 0x110]
call fcn.1800018ec
mov eax, 1
jmp 0x1800265db
xor eax, eax
jmp 0x1800265db
xor eax, eax
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.180059930
mov rbx, qword [rsp + 0x5e8]
add rsp, 0x590
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret