Function at 0x140050b90
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 [0x140161080]
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 0x140050c16
movabs rdi, 0x7fffffffffffffff
cmp rbx, rdi
ja 0x140051116
cmp rbx, 0x10
jae 0x140050c7f
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 0x140050ce0
mov rax, rbx
or rax, 0xf
cmp rax, rdi
ja 0x140050c9a
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.14003d230
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.140044b30
nop
lea rdx, [rbp + 0xb8]
cmp rdi, 0x10
cmovae rdx, r15
mov r8, rbx
mov rcx, rax
call fcn.140039c50
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.140044f40
nop
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140050de1
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
mov rcx, rax
call fcn.140039c50
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.1400451d0
nop
lea rdx, [rsi + 0x240]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140050e33
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140039c50
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.140044a50
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140050e79
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.140039c50
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.140044f40
nop
lea rdx, [rsi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140050ec8
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140039c50
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 0x140050f0e
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.140039ce0
movdqa xmm0, xmmword [0x14014b1b0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov r8, qword [rbp + 0x10]
cmp r8, 0x10
jb 0x140050f3a
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.140039ce0
nop
mov r8, qword [rbp + 0x30]
cmp r8, 0x10
jb 0x140050f54
inc r8
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
call fcn.140039ce0
movdqa xmm0, xmmword [0x14014b1b0]
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], 0
mov r8, qword [rbp - 0x50]
cmp r8, 0x10
jb 0x140050f80
inc r8
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.140039ce0
nop
mov r8, qword [rbp + 0x50]
cmp r8, 0x10
jb 0x140050f9a
inc r8
mov rdx, qword [rbp + 0x38]
lea rcx, [rbp + 0x38]
call fcn.140039ce0
movdqa xmm0, xmmword [0x14014b1b0]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
mov r8, qword [rbp - 0x30]
cmp r8, 0x10
jb 0x140050fc6
inc r8
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.140039ce0
nop
mov r8, qword [rbp + 0x70]
cmp r8, 0x10
jb 0x140050fe0
inc r8
mov rdx, qword [rbp + 0x58]
lea rcx, [rbp + 0x58]
call fcn.140039ce0
movdqa xmm0, xmmword [0x14014b1b0]
movdqu xmmword [rbp + 0x68], xmm0
mov byte [rbp + 0x58], 0
mov r8, qword [rbp - 0x70]
cmp r8, 0x10
jb 0x14005100e
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.140039ce0
nop
mov r8, qword [rbp + 0x90]
cmp r8, 0x10
jb 0x14005102b
inc r8
mov rdx, qword [rbp + 0x78]
lea rcx, [rbp + 0x78]
call fcn.140039ce0
movdqa xmm0, xmmword [0x14014b1b0]
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.140043d80
mov rbx, rax
lea rdx, [rbp + 0xd8]
lea rcx, [rbp - 0x68]
call fcn.140043d80
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400541c0
mov r8, qword [rbp - 0x70]
cmp r8, 0x10
jb 0x14005109b
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.140039ce0
nop
mov r8, qword [rbp + 0xf0]
cmp r8, 0x10
jb 0x1400510bf
inc r8
mov rdx, qword [rbp + 0xd8]
lea rcx, [rbp + 0xd8]
call fcn.140039ce0
nop
mov r8, qword [rbp + 0xd0]
cmp r8, 0x10
jb 0x1400510e3
inc r8
mov rdx, qword [rbp + 0xb8]
lea rcx, [rbp + 0xb8]
call fcn.140039ce0
nop
mov rcx, r14
call fcn.140039ac0
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14010fbc0
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.14002cc80
nop
int3