Function at 0x180060d50
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 [0x1800ba080]
xor rax, rsp
mov qword [rsp + 0x580], rax
mov r13d, r9d
mov r12, r8
mov rbx, rdx
mov rbp, rcx
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x50], r15d
lea r14, [0x1800c05e0]
mov edi, 0x80
cmp word [0x1800c05e0], r15w
jne 0x180060ea6
mov word [r11 - 0x468], r15w
xor edx, edx
lea r8d, [rdi + 0x7e]
lea rcx, [r11 - 0x466]
call fcn.1800729a0
mov dword [rsp + 0x50], edi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x160]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, r15d
je 0x180060ea6
lea rdx, str.system
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r15d
jne 0x180060e92
lea r9, str.agentUser
lea r8, str.SoftwareWOW6432Nodeprojonepodlp_smpcache_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xe0]
call fcn.180034278
cmp qword [rsp + 0xf8], r15
jne 0x180060e52
mov r8d, edi
lea rdx, [rsp + 0x160]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x180060e78
lea rdx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rdx, qword [rsp + 0xe8]
mov r8d, edi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp qword [rsp + 0x100], 8
jb 0x180060ea6
mov rcx, qword [rsp + 0xe8]
call fcn.18006e998
jmp 0x180060ea6
mov r8d, edi
lea rdx, [rsp + 0x160]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp byte [0x1800c06e0], r15b
jne 0x180060ef5
lea rcx, [rsp + 0xb0]
call fcn.18003a4f4
cmp qword [rax + 0x20], 0x10
jb 0x180060ec9
mov rdx, qword [rax + 8]
jmp 0x180060ecd
lea rdx, [rax + 8]
mov r8d, edi
lea rcx, [0x1800c06e0]
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp qword [rsp + 0xd0], 0x10
jb 0x180060ef5
mov rcx, qword [rsp + 0xb8]
call fcn.18006e998
cmp word [0x1800c05e0], r15w
je 0x1800618a1
cmp byte [0x1800c06e0], r15b
je 0x1800618a1
cmp rbp, r15
je 0x18006189d
mov r14d, 7
cmp byte [rbx + 8], r14b
jne 0x18006189d
lea edi, [r14 + 8]
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0xf8], r15
mov byte [rsp + 0xe8], r15b
lea r8d, [r14 + 1]
lea rdx, str.i_action
lea rcx, [rsp + 0xe0]
call fcn.180006440
nop
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xc8], r15
mov byte [rsp + 0xb8], r15b
xor r8d, r8d
lea rdx, [0x18009545a]
lea rcx, [rsp + 0xb0]
call fcn.180006440
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0xe0]
mov rdx, rbx
lea rcx, [rsp + 0x108]
call fcn.18000f1f0
nop
cmp qword [rsp + 0x100], 0x10
jb 0x180060fc6
mov rcx, qword [rsp + 0xe8]
call fcn.18006e998
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0xf8], r15
mov byte [rsp + 0xe8], r15b
lea rcx, [rsp + 0x110]
cmp qword [rsp + 0x128], 0x10
cmovae rcx, qword [rsp + 0x110]
mov r8, r14
mov rdi, qword [rsp + 0x120]
cmp rdi, r14
cmovb r8, rdi
lea rdx, str.replace
call fcn.1800780a0
movsxd rcx, eax
mov eax, r15d
cmp rdi, r14
setne al
or rdx, 0xffffffffffffffff
cmp rdi, r14
cmovb eax, edx
cmp rcx, r15
cmovne eax, ecx
cmp eax, r15d
je 0x180061090
lea rcx, [rsp + 0x110]
cmp qword [rsp + 0x128], 0x10
cmovae rcx, qword [rsp + 0x110]
lea r14d, [rdx + 7]
mov r8, r14
cmp rdi, r14
cmovb r8, rdi
lea rdx, str.delete
call fcn.1800780a0
movsxd rcx, eax
mov eax, r15d
cmp rdi, r14
setne al
cmp rdi, r14
lea rdx, [r14 - 7]
cmovb eax, edx
cmp rcx, r15
cmovne eax, ecx
cmp eax, r15d
jne 0x180061113
lea rdx, str.i_key_columns
mov rcx, rbx
call fcn.1800572fc
cmp byte [rax + 8], 4
jne 0x1800610d1
lea rdx, str.i_key_columns
mov rcx, rbx
call fcn.1800572fc
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.180056124
mov esi, 1
cmp qword [rax + 0x18], r15
je 0x1800610d1
mov dil, r15b
jmp 0x1800610d4
mov dil, 1
test sil, 1
je 0x1800610ef
cmp qword [rsp + 0x80], 0x10
jb 0x1800610ef
mov rcx, qword [rsp + 0x68]
call fcn.18006e998
cmp dil, r15b
je 0x180061113
cmp qword [rsp + 0x128], 0x10
jb 0x18006110c
mov rcx, qword [rsp + 0x110]
call fcn.18006e998
xor eax, eax
jmp 0x1800618a3
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rdx, rbp
lea rcx, [rsp + 0x60]
call fcn.180055ce8
mov rdi, rax
lea rdx, str.i_dt
mov rcx, rbx
call fcn.1800572fc
mov rcx, rax
mov rdx, rdi
call fcn.18005601c
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rcx
lea rdx, [0x1800c06e0]
lea rcx, [rsp + 0x60]
call fcn.180055ce8
mov rdi, rax
lea rdx, str.client_unique
mov rcx, rbx
call fcn.1800572fc
mov rcx, rax
mov rdx, rdi
call fcn.18005601c
lea r14, str.user_name
mov rdx, r14
mov rcx, rbx
call fcn.1800572fc
cmp byte [rax + 8], r15b
jne 0x180061425
mov esi, 0xf
mov qword [rsp + 0x180], rsi
mov qword [rsp + 0x178], r15
mov byte [rsp + 0x168], r15b
mov qword [rsp + 0x1a8], rsi
mov qword [rsp + 0x1a0], r15
mov byte [rsp + 0x190], r15b
mov dword [rsp + 0x1b0], r15d
mov qword [rsp + 0x1d8], rsi
mov qword [rsp + 0x1d0], r15
mov byte [rsp + 0x1c0], r15b
mov qword [rsp + 0x200], rsi
mov qword [rsp + 0x1f8], r15
mov byte [rsp + 0x1e8], r15b
mov qword [rsp + 0x228], rsi
mov qword [rsp + 0x220], r15
mov byte [rsp + 0x210], r15b
mov qword [rsp + 0x250], rsi
mov qword [rsp + 0x248], r15
mov byte [rsp + 0x238], r15b
mov qword [rsp + 0x278], rsi
mov qword [rsp + 0x270], r15
mov byte [rsp + 0x260], r15b
mov qword [rsp + 0x2a0], rsi
mov qword [rsp + 0x298], r15
mov byte [rsp + 0x288], r15b
mov qword [rsp + 0x2c8], rsi
mov qword [rsp + 0x2c0], r15
mov byte [rsp + 0x2b0], r15b
lea rcx, [rsp + 0x160]
call fcn.18003a840
cmp eax, r15d
je 0x180061342
cmp qword [rsp + 0x178], r15
je 0x180061342
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x60]
call fcn.180055d90
mov rdi, rax
mov rdx, r14
mov rcx, rbx
call fcn.1800572fc
mov rcx, rax
mov rdx, rdi
call fcn.18005601c
lea rdx, [rsp + 0x130]
mov qword [rsp + 0x50], rdx
mov byte [rsp + 0x138], 1
btr dword [rsp + 0x138], 8
mov qword [rsp + 0x140], r15
mov qword [rsp + 0x148], r15
mov qword [rsp + 0x150], r15
mov qword [rsp + 0x130], 1
lea rdx, str.i_user_data
mov rcx, rbx
call fcn.1800572fc
mov rcx, rax
lea rdx, [rsp + 0x130]
call fcn.18005601c
lea ebp, [rsi - 8]
jmp 0x180061416
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov ebp, 7
mov qword [rsp + 0x150], rbp
mov qword [rsp + 0x148], r15
mov word [rsp + 0x138], r15w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1800c05e0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [0x1800c05e0]
lea rcx, [rsp + 0x130]
call fcn.180006960
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.180001450
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180055d90
mov rdi, rax
mov rdx, r14
mov rcx, rbx
call fcn.1800572fc
mov rcx, rax
mov rdx, rdi
call fcn.18005601c
nop
cmp qword [rsp + 0x80], 0x10
jb 0x1800613eb
mov rcx, qword [rsp + 0x68]
call fcn.18006e998
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x68], r15b
cmp qword [rsp + 0x150], 8
jb 0x180061416
mov rcx, qword [rsp + 0x138]
call fcn.18006e998
nop
lea rcx, [rsp + 0x160]
call fcn.1800618d0
jmp 0x18006142d
mov esi, 0xf
lea ebp, [rsi - 8]
lea rdx, str.data_time
mov rcx, rbx
call fcn.1800572fc
cmp byte [rax + 8], r15b
jne 0x180061517
mov byte [rsp + 0x130], r15b
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.180055ce8
mov rdi, rax
lea rdx, str.data_time
mov rcx, rbx
call fcn.1800572fc
mov rcx, rax
mov rdx, rdi
call fcn.18005601c
cmp r12, r15
je 0x18006187e
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], rbp
mov qword [rsp + 0x148], r15
mov word [rsp + 0x138], r15w
xor eax, eax
or r14, 0xffffffffffffffff
mov rcx, r14
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x130]
call fcn.180006960
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.180001450
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180055d90
mov rdi, rax
lea rdx, str.attach_name
mov rcx, rbx
call fcn.1800572fc
mov rcx, rax
mov rdx, rdi
call fcn.18005601c
nop
cmp qword [rsp + 0x80], 0x10
jb 0x1800615cc
mov rcx, qword [rsp + 0x68]
call fcn.18006e998
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x68], r15b
cmp qword [rsp + 0x150], 8
jb 0x1800615f6
mov rcx, qword [rsp + 0x138]
call fcn.18006e998
cmp r13d, r15d
je 0x1800616d1
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x150], rbp
mov qword [rsp + 0x148], r15
mov word [rsp + 0x138], r15w
xor eax, eax
mov rcx, r14
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r12
lea rcx, [rsp + 0x130]
call fcn.180006960
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.180001450
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180055d90
mov rdi, rax
lea rdx, str.attachment
mov rcx, rbx
call fcn.1800572fc
mov rcx, rax
mov rdx, rdi
call fcn.18005601c
nop
cmp qword [rsp + 0x80], 0x10
jb 0x18006169e
mov rcx, qword [rsp + 0x68]
call fcn.18006e998
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x68], r15b
cmp qword [rsp + 0x150], 8
jb 0x18006187e
mov rcx, qword [rsp + 0x138]
call fcn.18006e998
jmp 0x18006187e
mov word [rsp + 0x160], r15w
mov edi, 0x206
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x162]
call fcn.1800729a0
lea rcx, [rsp + 0x160]
call fcn.180060b90
cmp eax, r15d
jne 0x180061722
cmp qword [rsp + 0x128], 0x10
jb 0x18006171b
mov rcx, qword [rsp + 0x110]
call fcn.18006e998
xor eax, eax
jmp 0x1800618a3
lea rcx, [rsp + 0x160]
call fcn.1800317d0
mov word [rsp + 0x370], r15w
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x372]
call fcn.1800729a0
mov edx, 0x104
lea rcx, [rsp + 0x370]
call fcn.18003252c
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, r15d
jne 0x1800617aa
cmp qword [rsp + 0x128], 0x10
jb 0x1800617a3
mov rcx, qword [rsp + 0x110]
call fcn.18006e998
xor eax, eax
jmp 0x1800618a3
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x150], rbp
mov qword [rsp + 0x148], r15
mov word [rsp + 0x138], r15w
xor eax, eax
mov rcx, r14
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.180006960
nop
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.180001450
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.180055d90
mov rdi, rax
lea rdx, str.attachment
mov rcx, rbx
call fcn.1800572fc
mov rcx, rax
mov rdx, rdi
call fcn.18005601c
nop
cmp qword [rsp + 0x80], 0x10
jb 0x180061853
mov rcx, qword [rsp + 0x68]
call fcn.18006e998
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x68], r15b
cmp qword [rsp + 0x150], 8
jb 0x18006187e
mov rcx, qword [rsp + 0x138]
call fcn.18006e998
nop
cmp qword [rsp + 0x128], 0x10
jb 0x180061896
mov rcx, qword [rsp + 0x110]
call fcn.18006e998
mov eax, 1
jmp 0x1800618a3
xor eax, eax
jmp 0x1800618a3
xor eax, eax
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.18006e130
mov rbx, qword [rsp + 0x5e8]
add rsp, 0x590
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret