Function at 0x180024a3c
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, 0x690
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x18009a658]
xor rax, rsp
mov qword [rsp + 0x680], 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, [0x1800a0780]
mov edi, 0x80
cmp word [0x1800a0780], r14w
jne 0x180024b92
mov word [r11 - 0x568], r14w
xor edx, edx
lea r8d, [rdi + 0x7e]
lea rcx, [r11 - 0x566]
call fcn.180055bd0
mov dword [rsp + 0x50], edi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x160]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, r14d
je 0x180024b92
lea rdx, str.system
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r14d
jne 0x180024b7e
lea r9, str.agentUser
lea r8, str.SoftwareWOW6432Nodeprojonepodlp_smpcache_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xe0]
call fcn.18000558c
cmp qword [rsp + 0xf8], r14
jne 0x180024b3e
mov r8d, edi
lea rdx, [rsp + 0x160]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x180024b64
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 0x180024b92
mov rcx, qword [rsp + 0xe8]
call fcn.180054958
jmp 0x180024b92
mov r8d, edi
lea rdx, [rsp + 0x160]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp byte [0x1800a0880], r14b
jne 0x180024be1
lea rcx, [rsp + 0xb0]
call fcn.180029ccc
cmp qword [rax + 0x20], 0x10
jb 0x180024bb5
mov rdx, qword [rax + 8]
jmp 0x180024bb9
lea rdx, [rax + 8]
mov r8d, edi
lea rcx, [0x1800a0880]
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp qword [rsp + 0xd0], 0x10
jb 0x180024be1
mov rcx, qword [rsp + 0xb8]
call fcn.180054958
cmp word [0x1800a0780], r14w
je 0x1800254e5
cmp byte [0x1800a0880], r14b
je 0x1800254e5
cmp rbp, r14
je 0x1800254e1
cmp byte [rbx + 8], 7
jne 0x1800254e1
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.180006ec0
nop
mov qword [rsp + 0xd0], r15
mov qword [rsp + 0xc8], r14
mov byte [rsp + 0xb8], r14b
xor r8d, r8d
lea rdx, [0x18007ceb9]
lea rcx, [rsp + 0xb0]
call fcn.180006ec0
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0xe0]
mov rdx, rbx
lea rcx, [rsp + 0x108]
call fcn.180024794
nop
cmp qword [rsp + 0x100], 0x10
jb 0x180024cae
mov rcx, qword [rsp + 0xe8]
call fcn.180054958
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.18000e430
cmp eax, r14d
je 0x180024d22
mov qword [rsp + 0x20], 6
lea r9, str.delete
mov r8, qword [rsp + 0x120]
xor edx, edx
lea rcx, [rsp + 0x108]
call fcn.18000e430
cmp eax, r14d
jne 0x180024da5
lea rdx, str.i_key_columns
mov rcx, rbx
call fcn.180016e68
cmp byte [rax + 8], 4
jne 0x180024d63
lea rdx, str.i_key_columns
mov rcx, rbx
call fcn.180016e68
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.180015c90
mov esi, 1
cmp qword [rax + 0x18], r14
je 0x180024d63
mov dil, r14b
jmp 0x180024d66
mov dil, 1
test sil, 1
je 0x180024d81
cmp qword [rsp + 0x80], 0x10
jb 0x180024d81
mov rcx, qword [rsp + 0x68]
call fcn.180054958
cmp dil, r14b
je 0x180024da5
cmp qword [rsp + 0x128], 0x10
jb 0x180024d9e
mov rcx, qword [rsp + 0x110]
call fcn.180054958
xor eax, eax
jmp 0x1800254e7
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rdx, rbp
lea rcx, [rsp + 0x60]
call fcn.180015854
mov rdi, rax
lea rdx, str.i_dt
mov rcx, rbx
call fcn.180016e68
mov rcx, rax
mov rdx, rdi
call fcn.180015b88
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rcx
lea rdx, [0x1800a0880]
lea rcx, [rsp + 0x60]
call fcn.180015854
mov rdi, rax
lea rdx, str.client_unique
mov rcx, rbx
call fcn.180016e68
mov rcx, rax
mov rdx, rdi
call fcn.180015b88
lea rbp, str.user_name
mov rdx, rbp
mov rcx, rbx
call fcn.180016e68
cmp byte [rax + 8], r14b
jne 0x18002506c
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
lea rcx, [rsp + 0x160]
call fcn.18002a6dc
cmp eax, r14d
je 0x180024f89
cmp qword [rsp + 0x178], r14
je 0x180024f89
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x60]
call fcn.1800158fc
mov rdi, rax
mov rdx, rbp
mov rcx, rbx
call fcn.180016e68
mov rcx, rax
mov rdx, rdi
call fcn.180015b88
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.180016e68
mov rcx, rax
lea rdx, [rsp + 0x130]
call fcn.180015b88
mov esi, 7
jmp 0x18002505d
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, [0x1800a0780]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [0x1800a0780]
lea rcx, [rsp + 0x130]
call fcn.180007250
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000d990
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.1800158fc
mov rdi, rax
mov rdx, rbp
mov rcx, rbx
call fcn.180016e68
mov rcx, rax
mov rdx, rdi
call fcn.180015b88
nop
cmp qword [rsp + 0x80], 0x10
jb 0x180025032
mov rcx, qword [rsp + 0x68]
call fcn.180054958
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x18002505d
mov rcx, qword [rsp + 0x138]
call fcn.180054958
nop
lea rcx, [rsp + 0x160]
call fcn.180025514
jmp 0x180025071
mov esi, 7
lea rdx, str.data_time
mov rcx, rbx
call fcn.180016e68
cmp byte [rax + 8], r14b
jne 0x18002515b
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.180015854
mov rdi, rax
lea rdx, str.data_time
mov rcx, rbx
call fcn.180016e68
mov rcx, rax
mov rdx, rdi
call fcn.180015b88
cmp r12, r14
je 0x1800254c2
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.180007250
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000d990
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.1800158fc
mov rdi, rax
lea rdx, str.attach_name
mov rcx, rbx
call fcn.180016e68
mov rcx, rax
mov rdx, rdi
call fcn.180015b88
nop
cmp qword [rsp + 0x80], 0x10
jb 0x180025210
mov rcx, qword [rsp + 0x68]
call fcn.180054958
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x18002523a
mov rcx, qword [rsp + 0x138]
call fcn.180054958
cmp r13d, r14d
je 0x180025315
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.180007250
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000d990
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.1800158fc
mov rdi, rax
lea rdx, str.attachment
mov rcx, rbx
call fcn.180016e68
mov rcx, rax
mov rdx, rdi
call fcn.180015b88
nop
cmp qword [rsp + 0x80], 0x10
jb 0x1800252e2
mov rcx, qword [rsp + 0x68]
call fcn.180054958
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x1800254c2
mov rcx, qword [rsp + 0x138]
call fcn.180054958
jmp 0x1800254c2
mov word [rsp + 0x260], r14w
mov edi, 0x206
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x262]
call fcn.180055bd0
lea rcx, [rsp + 0x260]
call fcn.18002487c
cmp eax, r14d
jne 0x180025366
cmp qword [rsp + 0x128], 0x10
jb 0x18002535f
mov rcx, qword [rsp + 0x110]
call fcn.180054958
xor eax, eax
jmp 0x1800254e7
lea rcx, [rsp + 0x260]
call fcn.180001f58
mov word [rsp + 0x470], r14w
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x472]
call fcn.180055bd0
mov edx, 0x104
lea rcx, [rsp + 0x470]
call fcn.180002db4
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x260]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor r8d, r8d
lea rdx, [rsp + 0x260]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, r14d
jne 0x1800253ee
cmp qword [rsp + 0x128], 0x10
jb 0x1800253e7
mov rcx, qword [rsp + 0x110]
call fcn.180054958
xor eax, eax
jmp 0x1800254e7
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 + 0x260]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x130]
call fcn.180007250
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18000d990
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.1800158fc
mov rdi, rax
lea rdx, str.attachment
mov rcx, rbx
call fcn.180016e68
mov rcx, rax
mov rdx, rdi
call fcn.180015b88
nop
cmp qword [rsp + 0x80], 0x10
jb 0x180025497
mov rcx, qword [rsp + 0x68]
call fcn.180054958
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rsp + 0x150], 8
jb 0x1800254c2
mov rcx, qword [rsp + 0x138]
call fcn.180054958
nop
cmp qword [rsp + 0x128], 0x10
jb 0x1800254da
mov rcx, qword [rsp + 0x110]
call fcn.180054958
mov eax, 1
jmp 0x1800254e7
xor eax, eax
jmp 0x1800254e7
xor eax, eax
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.180055580
mov rbx, qword [rsp + 0x6e8]
add rsp, 0x690
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret