Function at 0x14000bc30
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14005c018]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rsi, rcx
mov qword [rsp + 0x38], rcx
cmp dword [rcx + 0x58], 0
setg al
mov byte [rcx + 0x148], al
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
xor r15d, r15d
mov qword [rsp + 0x78], r15
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x80]
call fcn.140003fb0
nop
lea rdi, [rsi + 0x1b0]
xor r8d, r8d
lea rdx, [0x140050ed0]
mov rcx, rdi
call fcn.1400052c0
mov r8d, r15d
mov qword [rsp + 0x30], r15
mov rcx, qword [rbp - 0x78]
sub rcx, qword [rbp - 0x80]
movabs r13, 0x2aaaaaaaaaaaaaab
mov rax, r13
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
lea r12, [r15 - 1]
add rdx, rax
je 0x14000bee7
mov r13d, r15d
nop word [rax + rax]
mov rax, qword [rbp - 0x80]
cmp dword [rax + r13], 0
je 0x14000bea1
test r8, r8
je 0x14000bd8a
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x14000bd6b
lea rax, [rcx + 3]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14000bd4c
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8d, 3
lea rdx, [0x1400511c4]
mov rcx, rbx
call fcn.14002f4b0
mov byte [rbx + 3], 0
jmp 0x14000bd8a
mov qword [rsp + 0x20], 3
lea r9, [0x1400511c4]
xor r8d, r8d
lea edx, [r8 + 3]
mov rcx, rdi
call fcn.140005ff0
mov rax, qword [rbp - 0x80]
mov ecx, dword [rax + r13]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x60], eax
mov r9d, 0x20
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x60]
lea ecx, [r9 - 0x1e]
call qword [sym.imp.WS2_32.dll_inet_ntop]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], send
mov byte [rsp + 0x40], 0
lea rax, [rbp - 0x58]
mov r8, r12
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14000bdd0
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x40]
call fcn.1400052c0
nop
lea r9, [rsp + 0x40]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x58]
cmp r15, 0x10
cmovae r9, rsi
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
mov r14, qword [rsp + 0x50]
cmp r14, rax
ja 0x14000be45
lea rax, [r14 + rcx]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14000be2c
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, r14
mov rdx, r9
mov rcx, rbx
call fcn.14002f4b0
mov byte [rbx + r14], 0
jmp 0x14000be62
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call fcn.140005ff0
mov r15, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x40]
cmp r15, 0x10
jb 0x14000be99
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000be91
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c262
mov rcx, rsi
call fcn.1400111e4
xor r15d, r15d
mov r8, qword [rsp + 0x30]
inc r8
mov qword [rsp + 0x30], r8
add r13, 0xc
mov rcx, qword [rbp - 0x78]
sub rcx, qword [rbp - 0x80]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jb 0x14000bd10
mov rsi, qword [rsp + 0x38]
movabs r13, 0x2aaaaaaaaaaaaaab
lea rdi, [rsi + 0x190]
xor r8d, r8d
lea rdx, [0x140050ed0]
mov rcx, rdi
call fcn.1400052c0
mov r14, r15
mov rax, qword [rsp + 0x70]
sub rax, qword [rsp + 0x68]
sar rax, 5
test rax, rax
je 0x14000c01c
nop word [rax + rax]
test r14, r14
je 0x14000bf8b
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x14000bf6c
lea rax, [rcx + 3]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14000bf4d
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8d, 3
lea rdx, [0x1400511c4]
mov rcx, rbx
call fcn.14002f4b0
mov byte [rbx + 3], 0
jmp 0x14000bf8b
mov qword [rsp + 0x20], 3
lea r9, [0x1400511c4]
xor r8d, r8d
lea edx, [r8 + 3]
mov rcx, rdi
call fcn.140005ff0
mov rsi, qword [rsp + 0x68]
add rsi, r15
mov r9, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14000bfa0
mov r9, qword [rsi]
mov rsi, qword [rsi + 0x10]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14000bfe3
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14000bfcb
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call fcn.14002f4b0
mov byte [rbx + rsi], 0
jmp 0x14000bff6
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.140005ff0
inc r14
add r15, 0x20
mov rax, qword [rsp + 0x70]
sub rax, qword [rsp + 0x68]
sar rax, 5
cmp r14, rax
jb 0x14000bf20
mov rsi, qword [rsp + 0x38]
xor r15d, r15d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.14002f8c0
mov dword [rbp - 0x68], 0x104
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x14000c09b
lea rcx, [rsi + 0x1d0]
lea rax, [rbp - 0x30]
inc r12
cmp word [rax + r12*2], 0
jne 0x14000c051
mov rax, qword [rcx + 0x18]
cmp r12, rax
ja 0x14000c08f
mov rdi, rcx
cmp rax, 8
jb 0x14000c071
mov rdi, qword [rcx]
mov qword [rcx + 0x10], r12
lea rbx, [r12 + r12]
mov r8, rbx
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.14002f4b0
mov word [rdi + rbx], r15w
jmp 0x14000c09b
lea r9, [rbp - 0x30]
mov rdx, r12
call fcn.140005e90
lea rcx, [rbp - 0x58]
call fcn.140002140
mov rdi, rax
lea rbx, [rsi + 0x1f0]
cmp rbx, rax
je 0x14000c120
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000c0f2
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000c0ed
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000c268
mov rcx, r8
call fcn.1400111e4
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x14000c160
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c15b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c268
call fcn.1400111e4
lea rcx, [rsi + 0x50]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov ebx, dword [rsi + 0x48]
lea rcx, [rsi + 0x50]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov dword [rsi + 0x210], ebx
mov r8, qword [rbp - 0x80]
test r8, r8
je 0x14000c1e1
mov rcx, qword [rbp - 0x70]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 2
mov rax, r8
cmp rdx, 0x1000
jb 0x14000c1cd
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c26e
mov rcx, r8
call fcn.1400111e4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000c22c
mov rdx, qword [rsp + 0x70]
call fcn.140006180
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c227
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c25c
call fcn.1400111e4
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400111c0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14003393c
nop
call fcn.14003393c
nop
call fcn.14003393c
nop
call fcn.14003393c
int3