Function at 0x140050350
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1fc0]
mov eax, 0x20c0
call fcn.14006f5c0
sub rsp, rax
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rbp + 0x1fb0], rax
xor esi, esi
lea rdi, [0x1401ac758]
mov rdx, rdi
lea rcx, [0x1401ac5a0]
call fcn.14005b5f0
test al, al
je 0x1400505d2
mov byte [0x1401ac55c], 1
lea rcx, [0x1401ac5a0]
call fcn.14005e260
lea rax, [rsp + 0x20]
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [rdi + r8], sil
jne 0x1400503e0
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140008090
nop
lea rax, [rsp + 0x60]
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov r8d, 0xa
lea rdx, str.LicenseKey
lea rcx, [rsp + 0x60]
call fcn.140008090
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov r8d, recv
lea rdx, str.license.json
lea rcx, [rsp + 0x40]
call fcn.140008090
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140003ef0
mov dword [rbp - 0x70], 0x400
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea rax, [rbp - 0x60]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140050492
mov r8, rbx
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x20]
call fcn.140008090
nop
lea rbx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rbx, qword [rsp + 0x20]
lea rdi, [0x1401ac6a0]
cmp qword [0x1401ac6b8], 0xf
cmova rdi, qword [0x1401ac6a0]
lea rsi, [0x1401ac680]
cmp qword [0x1401ac698], 0xf
cmova rsi, qword [0x1401ac680]
lea rcx, [rsp + 0x40]
call fcn.14004fca0
nop
cmp qword [rax + 0x18], 0xf
jbe 0x140050501
mov rax, qword [rax]
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.14004f4c0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140050553
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005054e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005054e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400680a4
movdqa xmm0, xmmword [0x14019c8b0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400505a6
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400505a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400505a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400680a4
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x1401ac55d], 0
mov byte [0x1401ac55a], 1
mov byte [0x1401ac55c], 0
mov byte [0x1401ac55b], 0
jmp 0x14005067f
lea r9, [0x1401ac6f0]
cmp qword [0x1401ac708], 0xf
cmova r9, qword [0x1401ac6f0]
mov edx, 3
mov r8d, 0xbb8
lea rcx, [rbp - 0x60]
call fcn.14004ddf0
mov r9, qword [0x1401ab200]
mov rcx, r9
sub rcx, qword [0x1401ab1f8]
movabs rax, 0x3fe00ff803fe01
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 3
jae 0x140050663
cmp r9, qword [0x1401ab208]
je 0x140050657
mov r8d, 0x2010
lea rdx, [rbp - 0x60]
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
add qword [0x1401ab200], 0x2010
jmp 0x140050663
lea r8, [rbp - 0x60]
mov rdx, r9
call fcn.1400589b0
mov byte [reloc.WS2_32.dll_accept], sil
mov byte [0x1401ac55a], sil
mov byte [0x1401ac55d], 1
mov byte [0x1401ac55b], sil
mov rcx, qword [rbp + 0x1fb0]
xor rcx, rsp
call fcn.140068040
lea r11, [rsp + 0x20c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret