Function at 0x18000def0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1800a7040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
xor edi, edi
mov dword [rbp - 0x58], 0x101
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rax, [rbp - 0x50]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x18000df40
lea rdx, [rbp - 0x50]
lea rcx, [0x1800fe510]
call fcn.1800115d0
lea rdx, [rbp - 0x50]
lea rcx, [0x18008ad4c]
call fcn.18004d300
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea rax, [rbp - 0x50]
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x18000df81
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.1800124a0
nop
mov r9d, 9
lea r8, str.c:Users_
lea rcx, [rsp + 0x68]
call fcn.180012a90
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x18], select
mov qword [rax + 0x10], rdi
mov byte [rax], 0
mov r8d, select
lea rdx, [0x18008ad50]
lea rcx, [rsp + 0x48]
call fcn.180011480
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], select
mov byte [rax], 0
lea rdi, [rbp - 0x78]
movq rcx, xmm0
psrldq xmm1, 8
movq rdx, xmm1
cmp rdx, 0xf
cmova rdi, rcx
jbe 0x18000e05f
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e05a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e05a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180084530
movdqa xmm0, xmmword [0x180098c70]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x18000e0b8
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e0ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e0ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180084530
movdqa xmm0, xmmword [0x180098c70]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x18000e10a
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e0fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e0fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180084530
movdqa xmm0, xmmword [0x180098c70]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, str.save
call fcn.18004dc10
test al, al
je 0x18000e1b3
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x18000e150
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.1800124a0
nop
lea rcx, [rsp + 0x28]
call fcn.18000d230
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x18000e1b3
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e1ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e1ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180084530
movss xmm1, dword [0x180098b90]
xorps xmm0, xmm0
call fcn.18002e850
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
lea rcx, str.load
call fcn.18004dc10
test al, al
je 0x18000e257
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
inc rbx
cmp byte [rdi + rbx], 0
jne 0x18000e1f2
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.1800124a0
nop
lea rcx, [rsp + 0x28]
call fcn.18000c510
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x18000e257
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e252
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000e252
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180084530
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.180084510
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret