Function at 0x1400cd1c0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140178080]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0xa8], rdx
xor r12d, r12d
mov dword [rbp + 0xb0], 0x64
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x100]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd0], r12
lea rax, [rbp + 0x100]
mov r8, 0xffffffffffffffff
mov rbx, r8
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400cd246
movabs rdi, 0x7fffffffffffffff
cmp rbx, rdi
ja 0x1400cd746
cmp rbx, 0x10
jae 0x1400cd2af
mov qword [rbp + 0xc8], rbx
mov qword [rbp + 0xd0], reloc.WS2_32.dll_ntohs
mov r8, rbx
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xb8]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx + 0xb8], 0
mov rdi, qword [rbp + 0xd0]
mov rbx, qword [rbp + 0xc8]
mov r15, qword [rbp + 0xb8]
jmp 0x1400cd310
mov rax, rbx
or rax, 0xf
cmp rax, rdi
ja 0x1400cd2ca
mov rdi, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rdi, rcx
mov rdx, rdi
add rdx, 1
cmovb rdx, r8
lea rcx, [rbp + 0xb8]
call fcn.140041210
mov r15, rax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc8], rbx
mov qword [rbp + 0xd0], rdi
mov r8, rbx
lea rdx, [rbp + 0x100]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [r15 + rbx], 0
mov dword [rsp + 0x58], 0xe0fae3ad
mov dword [rsp + 0x5c], 0xf6f8e2ea
mov word [rsp + 0x60], 0xae
mov byte [rsp + 0x62], 1
mov dword [rsp + 0x20], 0xe3ece2ad
mov dword [rsp + 0x24], 0x100adea
mov dword [rsp + 0x68], 0xfde8ffad
mov dword [rsp + 0x6c], 0xfcfef9fc
mov dword [rsp + 0x70], 0xa8f0fa
mov byte [rsp + 0x74], 1
mov dword [rsp + 0x48], 0xfde8e1ad
mov dword [rsp + 0x4c], 0xf7f6f1fc
mov word [rsp + 0x50], 0xae
mov byte [rsp + 0x52], 1
mov dword [rsp + 0x28], 0xfbeefcad
mov dword [rsp + 0x2c], 0xafe3f5fc
mov word [rsp + 0x30], 0x100
mov dword [rsp + 0x38], 0xebfdf5ff
mov dword [rsp + 0x3c], 0xf5fefcb2
mov word [rsp + 0x40], 0x100
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x78]
call fcn.1400c17b0
nop
lea rdx, [rbp + 0xb8]
cmp rdi, 0x10
cmovae rdx, r15
mov r8, rbx
mov rcx, rax
call fcn.140040970
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x58]
call fcn.1400c1bc0
nop
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400cd411
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.140040970
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x38]
call fcn.1400c1e50
nop
lea rdx, [rsi + 0x240]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400cd463
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140040970
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x18]
call fcn.1400c16d0
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400cd4a9
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.140040970
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.1400c1bc0
nop
lea rdx, [rsi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400cd4f8
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140040970
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbp - 0x10]
cmp r8, 0x10
jb 0x1400cd53e
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.140040b60
movdqa xmm0, xmmword [0x140160990]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov r8, qword [rbp + 0x10]
cmp r8, 0x10
jb 0x1400cd56a
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.140040b60
nop
mov r8, qword [rbp + 0x30]
cmp r8, 0x10
jb 0x1400cd584
inc r8
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
call fcn.140040b60
movdqa xmm0, xmmword [0x140160990]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
mov r8, qword [rbp - 0x50]
cmp r8, 0x10
jb 0x1400cd5b0
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.140040b60
nop
mov r8, qword [rbp + 0x50]
cmp r8, 0x10
jb 0x1400cd5ca
inc r8
mov rdx, qword [rbp + 0x38]
lea rcx, [rbp + 0x38]
call fcn.140040b60
movdqa xmm0, xmmword [0x140160990]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
mov r8, qword [rbp - 0x30]
cmp r8, 0x10
jb 0x1400cd5f6
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.140040b60
nop
mov r8, qword [rbp + 0x70]
cmp r8, 0x10
jb 0x1400cd610
inc r8
mov rdx, qword [rbp + 0x58]
lea rcx, [rbp + 0x58]
call fcn.140040b60
movdqa xmm0, xmmword [0x140160990]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
mov r8, qword [rbp - 0x70]
cmp r8, 0x10
jb 0x1400cd63e
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.140040b60
nop
mov r8, qword [rbp + 0x90]
cmp r8, 0x10
jb 0x1400cd65b
inc r8
mov rdx, qword [rbp + 0x78]
lea rcx, [rbp + 0x78]
call fcn.140040b60
movdqa xmm0, xmmword [0x140160990]
movdqu xmmword [rbp + 0x88], xmm0
mov byte [rbp + 0x78], 0
lea rax, [rbp - 0x48]
mov qword [rbp + 0x98], rax
lea rdx, [rsi + 0x80]
lea rcx, [rbp - 0x48]
call fcn.140056910
mov rbx, rax
lea rdx, [rbp + 0xd8]
lea rcx, [rbp - 0x68]
call fcn.140056910
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400d05f0
mov r8, qword [rbp - 0x70]
cmp r8, 0x10
jb 0x1400cd6cb
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.140040b60
nop
mov r8, qword [rbp + 0xf0]
cmp r8, 0x10
jb 0x1400cd6ef
inc r8
mov rdx, qword [rbp + 0xd8]
lea rcx, [rbp + 0xd8]
call fcn.140040b60
nop
mov r8, qword [rbp + 0xd0]
cmp r8, 0x10
jb 0x1400cd713
inc r8
mov rdx, qword [rbp + 0xb8]
lea rcx, [rbp + 0xb8]
call fcn.140040b60
nop
mov rcx, r14
call fcn.1400407d0
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140122350
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14003c160
nop
int3