Function at 0x18003b7bc
Capabilities:
Get session user name

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x2d0
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov rax, qword [0x1800824d0]
xor rax, rsp
mov qword [rsp + 0x2c8], rax
mov r12, r8
mov rbx, rdx
mov rbp, rcx
xor r13d, r13d
mov esi, r13d
mov dword [rsp + 0x50], r13d
lea r14, [0x180087a30]
mov edi, 0x80
cmp word [0x180087a30], r13w
jne 0x18003b90a
mov word [rsp + 0x130], r13w
xor edx, edx
lea r8d, [rdi + 0x7e]
lea rcx, [rsp + 0x132]
call fcn.180045560
mov dword [rsp + 0x50], edi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x130]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, r13d
je 0x18003b90a
lea rdx, str.system
lea rcx, [rsp + 0x130]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r13d
jne 0x18003b8f6
lea r9, str.agentUser
lea r8, str.SoftwareWOW6432Nodeprojonepodlp_smpcache_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xe0]
call fcn.18002182c
cmp qword [rsp + 0xf8], r13
jne 0x18003b8b6
mov r8d, edi
lea rdx, [rsp + 0x130]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x18003b8dc
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 0x18003b90a
mov rcx, qword [rsp + 0xe8]
call fcn.180043070
jmp 0x18003b90a
mov r8d, edi
lea rdx, [rsp + 0x130]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp byte [0x180087b30], r13b
jne 0x18003b959
lea rcx, [rsp + 0xb0]
call fcn.180038bb0
cmp qword [rax + 0x20], 0x10
jb 0x18003b92d
mov rdx, qword [rax + 8]
jmp 0x18003b931
lea rdx, [rax + 8]
mov r8d, edi
lea rcx, [0x180087b30]
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp qword [rsp + 0xd0], 0x10
jb 0x18003b959
mov rcx, qword [rsp + 0xb8]
call fcn.180043070
cmp word [0x180087a30], r13w
je 0x18003c0bb
cmp byte [0x180087b30], r13b
je 0x18003c0bb
cmp rbp, r13
je 0x18003c0b7
cmp byte [rbx + 8], 7
jne 0x18003c0b7
mov r14d, 0xf
mov qword [rsp + 0x100], r14
mov qword [rsp + 0xf8], r13
mov byte [rsp + 0xe8], r13b
lea r8d, [r14 - 7]
lea rdx, str.i_action
lea rcx, [rsp + 0xe0]
call fcn.1800026f8
nop
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xc8], r13
mov byte [rsp + 0xb8], r13b
xor r8d, r8d
lea rdx, [0x1800677fc]
lea rcx, [rsp + 0xb0]
call fcn.1800026f8
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0xe0]
mov rdx, rbx
lea rcx, [rsp + 0x108]
call fcn.180004158
nop
cmp qword [rsp + 0x100], 0x10
jb 0x18003ba26
mov rcx, qword [rsp + 0xe8]
call fcn.180043070
mov qword [rsp + 0x100], r14
mov qword [rsp + 0xf8], r13
mov byte [rsp + 0xe8], r13b
lea rdx, str.replace
lea rcx, [rsp + 0x108]
call fcn.180008d90
cmp al, r13b
jne 0x18003ba74
lea rdx, str.delete
lea rcx, [rsp + 0x108]
call fcn.180008d90
cmp al, r13b
je 0x18003baf7
lea rdx, str.i_key_columns
mov rcx, rbx
call fcn.18002c6ac
cmp byte [rax + 8], 4
jne 0x18003bab5
lea rdx, str.i_key_columns
mov rcx, rbx
call fcn.18002c6ac
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.18002b4dc
mov esi, 1
cmp qword [rax + 0x18], r13
je 0x18003bab5
mov dil, r13b
jmp 0x18003bab8
mov dil, 1
test sil, 1
je 0x18003bad3
cmp qword [rsp + 0x80], 0x10
jb 0x18003bad3
mov rcx, qword [rsp + 0x68]
call fcn.180043070
cmp dil, r13b
je 0x18003baf7
cmp qword [rsp + 0x128], 0x10
jb 0x18003baf0
mov rcx, qword [rsp + 0x110]
call fcn.180043070
xor eax, eax
jmp 0x18003c0bd
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rdx, rbp
lea rcx, [rsp + 0x60]
call fcn.18002b0a0
mov rdi, rax
lea rdx, str.i_dt
mov rcx, rbx
call fcn.18002c6ac
mov rcx, rax
mov rdx, rdi
call fcn.18002b3d4
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rcx
lea rdx, [0x180087b30]
lea rcx, [rsp + 0x60]
call fcn.18002b0a0
mov rdi, rax
lea rdx, str.client_unique
mov rcx, rbx
call fcn.18002c6ac
mov rcx, rax
mov rdx, rdi
call fcn.18002b3d4
lea rsi, str.user_name
mov rdx, rsi
mov rcx, rbx
call fcn.18002c6ac
or rbp, 0xffffffffffffffff
cmp byte [rax + 8], r13b
jne 0x18003be01
mov qword [rsp + 0x150], r14
mov qword [rsp + 0x148], r13
mov byte [rsp + 0x138], r13b
mov qword [rsp + 0x178], r14
mov qword [rsp + 0x170], r13
mov byte [rsp + 0x160], r13b
mov dword [rsp + 0x180], r13d
mov qword [rsp + 0x1a8], r14
mov qword [rsp + 0x1a0], r13
mov byte [rsp + 0x190], r13b
mov qword [rsp + 0x1d0], r14
mov qword [rsp + 0x1c8], r13
mov byte [rsp + 0x1b8], r13b
mov qword [rsp + 0x1f8], r14
mov qword [rsp + 0x1f0], r13
mov byte [rsp + 0x1e0], r13b
mov qword [rsp + 0x220], r14
mov qword [rsp + 0x218], r13
mov byte [rsp + 0x208], r13b
mov qword [rsp + 0x248], r14
mov qword [rsp + 0x240], r13
mov byte [rsp + 0x230], r13b
mov qword [rsp + 0x270], r14
mov qword [rsp + 0x268], r13
mov byte [rsp + 0x258], r13b
mov qword [rsp + 0x298], r14
mov qword [rsp + 0x290], r13
mov byte [rsp + 0x280], r13b
lea rcx, [rsp + 0x130]
call fcn.180038efc
cmp eax, r13d
je 0x18003bd22
cmp qword [rsp + 0x148], r13
je 0x18003bd22
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.18002b148
mov rdi, rax
mov rdx, rsi
mov rcx, rbx
call fcn.18002c6ac
mov rcx, rax
mov rdx, rdi
call fcn.18002b3d4
lea rdx, [rsp + 0x2a0]
mov qword [rsp + 0x50], rdx
mov byte [rsp + 0x2a8], 1
btr dword [rsp + 0x2a8], 8
mov qword [rsp + 0x2b0], r13
mov qword [rsp + 0x2b8], r13
mov qword [rsp + 0x2c0], r13
mov qword [rsp + 0x2a0], 1
lea rdx, str.i_user_data
mov rcx, rbx
call fcn.18002c6ac
mov rcx, rax
lea rdx, [rsp + 0x2a0]
call fcn.18002b3d4
jmp 0x18003bdf4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x2c0], 7
mov qword [rsp + 0x2b8], r13
mov word [rsp + 0x2a8], r13w
xor eax, eax
mov rcx, rbp
lea rdi, [0x180087a30]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [0x180087a30]
lea rcx, [rsp + 0x2a0]
call fcn.18000297c
nop
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x60]
call fcn.180003fdc
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.18002b148
mov rdi, rax
mov rdx, rsi
mov rcx, rbx
call fcn.18002c6ac
mov rcx, rax
mov rdx, rdi
call fcn.18002b3d4
nop
cmp qword [rsp + 0x80], 0x10
jb 0x18003bdc9
mov rcx, qword [rsp + 0x68]
call fcn.180043070
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x78], r13
mov byte [rsp + 0x68], r13b
cmp qword [rsp + 0x2c0], 8
jb 0x18003bdf4
mov rcx, qword [rsp + 0x2a8]
call fcn.180043070
nop
lea rcx, [rsp + 0x130]
call fcn.18003c0e0
lea rdx, str.data_time
mov rcx, rbx
call fcn.18002c6ac
cmp byte [rax + 8], r13b
jne 0x18003beeb
mov byte [rsp + 0x2a0], r13b
xor eax, eax
mov qword [rsp + 0x2a1], rax
mov qword [rsp + 0x2a9], rax
mov qword [rsp + 0x2b1], rax
mov dword [rsp + 0x2b9], eax
mov word [rsp + 0x2bd], ax
mov byte [rsp + 0x2bf], 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 + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x50], rcx
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x88]
call fcn.18002b0a0
mov rdi, rax
lea rdx, str.data_time
mov rcx, rbx
call fcn.18002c6ac
mov rcx, rax
mov rdx, rdi
call fcn.18002b3d4
cmp r12, r13
je 0x18003c098
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 + 0x2c0], 7
mov qword [rsp + 0x2b8], r13
mov word [rsp + 0x2a8], r13w
xor eax, eax
mov rcx, rbp
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x2a0]
call fcn.18000297c
nop
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x60]
call fcn.180003fdc
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.18002b148
mov rdi, rax
lea rdx, str.attach_name
mov rcx, rbx
call fcn.18002c6ac
mov rcx, rax
mov rdx, rdi
call fcn.18002b3d4
nop
cmp qword [rsp + 0x80], 0x10
jb 0x18003bfa0
mov rcx, qword [rsp + 0x68]
call fcn.180043070
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x78], r13
mov byte [rsp + 0x68], r13b
cmp qword [rsp + 0x2c0], 8
jb 0x18003bfca
mov rcx, qword [rsp + 0x2a8]
call fcn.180043070
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x2c0], 7
mov qword [rsp + 0x2b8], r13
mov word [rsp + 0x2a8], r13w
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 + 0x2a0]
call fcn.18000297c
nop
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x60]
call fcn.180003fdc
nop
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.18002b148
mov rdi, rax
lea rdx, str.attachment
mov rcx, rbx
call fcn.18002c6ac
mov rcx, rax
mov rdx, rdi
call fcn.18002b3d4
nop
cmp qword [rsp + 0x80], 0x10
jb 0x18003c06d
mov rcx, qword [rsp + 0x68]
call fcn.180043070
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x78], r13
mov byte [rsp + 0x68], r13b
cmp qword [rsp + 0x2c0], 8
jb 0x18003c098
mov rcx, qword [rsp + 0x2a8]
call fcn.180043070
nop
cmp qword [rsp + 0x128], 0x10
jb 0x18003c0b0
mov rcx, qword [rsp + 0x110]
call fcn.180043070
mov eax, 1
jmp 0x18003c0bd
xor eax, eax
jmp 0x18003c0bd
xor eax, eax
mov rcx, qword [rsp + 0x2c8]
xor rcx, rsp
call fcn.180042bb0
add rsp, 0x2d0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret