Function at 0x140003f20
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140177090]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rcx
mov qword [rbp - 0x11], rcx
xor r13d, r13d
mov dword [rbp - 0x59], r13d
mov esi, r13d
mov qword [rbp + 0x1f], r13
mov r12d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x27], r12
mov byte [rbp + 0xf], sil
mov dword [rbp - 0x11], r13d
lea r8, [rbp - 0x11]
xor edx, edx
mov ebx, 2
mov ecx, ebx
call qword [sym.imp.Secur32.dll_GetUserNameExW]
xorps xmm0, xmm0
mov r15d, dword [rbp - 0x11]
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r13
test r15, r15
je 0x140003fca
mov edx, r15d
lea rcx, [rbp - 9]
call fcn.1400089e0
mov rdi, rax
mov qword [rbp - 9], rax
lea rdx, [rax + r15*2]
mov qword [rbp + 7], rdx
movzx eax, r13w
mov ecx, r15d
rep stosw word [rdi], ax
mov qword [rbp - 1], rdx
mov rdx, qword [rbp - 9]
test rdx, rdx
je 0x140004100
lea r8, [rbp - 0x11]
mov ecx, ebx
call qword [sym.imp.Secur32.dll_GetUserNameExW]
test al, al
je 0x140004100
mov eax, dword [rbp - 0x11]
lea r8d, [rax + rax]
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 0x31]
call fcn.140003490
mov rdi, rax
lea rax, [rbp + 0xf]
cmp rax, rdi
je 0x14000403a
lea rcx, [rbp + 0xf]
call fcn.140008a50
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov r12, qword [rbp + 0x27]
mov rsi, qword [rbp + 0x1f]
lea rcx, [rbp - 0x31]
call fcn.140008a50
test rsi, rsi
je 0x140004100
lea r15, [rbp + 0xf]
cmp r12, 0x10
cmovae r15, qword [rbp + 0xf]
cmp rsi, 0x10
jae 0x14000407c
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x39], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x41], rsi
lea rax, [rbp - 0x51]
jmp 0x14000412f
mov rdi, rsi
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400040d0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400041bb
mov rcx, rax
call fcn.1400e9d8c
mov rcx, rax
test rax, rax
je 0x1400041b5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400040df
test rcx, rcx
je 0x1400040dc
call fcn.1400e9d8c
jmp 0x1400040df
mov rax, r13
mov qword [rbp - 0x51], rax
lea r8, [rsi + 1]
mov rdx, r15
mov rcx, rax
call fcn.1400ec270
mov qword [rbp - 0x39], rdi
mov qword [rbp - 0x41], rsi
lea rax, [rbp - 0x51]
jmp 0x14000412f
mov qword [rbp - 0x21], r13
mov qword [rbp - 0x19], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x31], 0
mov r8d, 7
lea rdx, str.UNKNOWN
lea rcx, [rbp - 0x31]
call fcn.140008ab0
lea rax, [rbp - 0x31]
mov ebx, 1
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or ebx, 4
test bl, 2
je 0x140004163
and ebx, 0xfffffffd
lea rcx, [rbp - 0x51]
call fcn.140008a50
nop
test bl, 1
je 0x140004172
lea rcx, [rbp - 0x31]
call fcn.140008a50
nop
lea rcx, [rbp - 9]
call fcn.1400087e0
nop
lea rcx, [rbp + 0xf]
call fcn.140008a50
mov rax, r14
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400e9d60
lea r11, [rsp + 0xb0]
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.1400f35b0
nop
call fcn.1400012d0
int3