Function at 0x140038ff0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1400ff040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r14, rcx
mov qword [rbp - 0x48], rcx
xor r12d, r12d
mov dword [rbp - 0x48], 0x105
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.14003a090
nop
lea esi, [r12 + 0xe]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
jne 0x1400390a7
cmp qword [rbp - 0x50], 7
jb 0x14003908e
lea rbx, [rbp - 0x68]
cmova rbx, qword [rbp - 0x68]
mov qword [rbp - 0x58], 7
mov r8d, esi
lea rdx, [0x1400d7508]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + 0xe], r12w
jmp 0x1400390a3
lea r9, [0x1400d7508]
mov edx, 7
lea rcx, [rbp - 0x68]
call fcn.14003b040
mov rcx, qword [rbp - 0x58]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov edi, r12d
test rcx, rcx
je 0x1400391e5
mov rbx, r12
nop
cmp rcx, rbx
jbe 0x140039345
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rax, qword [rbp - 0x68]
movzx edx, word [rax + rbx*2]
lea rcx, [rsp + 0x30]
call fcn.14003adf0
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.14003ab60
nop
lea rcx, [rsp + 0x30]
call fcn.14003ab00
inc edi
inc rbx
movsxd rax, edi
mov rcx, qword [rbp - 0x58]
cmp rax, rcx
jb 0x1400390d0
mov rax, qword [rbp - 0x78]
cmp rax, 0xf
jbe 0x1400391e5
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
cmp rax, 0xe
cmovb rsi, rax
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rdx, qword [rsp + 0x78]
mov r8, rsi
lea rcx, [rsp + 0x30]
call fcn.14003b1b0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400391b5
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400391b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400391b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008624c
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x78], xmm1
movdqa xmm0, xmmword [0x1400dafc0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14003ab00
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 5
lea rdx, str.RSCFG
lea rcx, [rsp + 0x50]
call fcn.14003b1b0
nop
mov r15, qword [rbp - 0x78]
lea rdi, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova rdi, qword [rsp + 0x78]
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, r8
cmp r15, rax
ja 0x1400392b0
lea rax, [r15 + r8]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x50]
lea rax, [r15 + rdi]
cmp rax, rbx
jbe 0x140039273
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x140039273
cmp rbx, rdi
ja 0x14003926b
mov rsi, r12
jmp 0x140039276
mov rsi, rbx
sub rsi, rdi
jmp 0x140039276
mov rsi, r15
lea rcx, [r15 + rbx]
inc r8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rbx + rsi]
mov r8, r15
sub r8, rsi
lea rdx, [rsi + rdi]
add rdx, r15
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
jmp 0x1400392ca
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.14003c0a0
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x50]
call fcn.14003ab00
nop
lea rcx, [rsp + 0x78]
call fcn.14003ab00
nop
lea rcx, [rbp - 0x68]
call fcn.14003aa90
mov rax, r14
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140085d50
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14003ad20
nop
int3