Function at 0x14006f5e0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
cmp byte [0x1400f5b78], 0
jne 0x14006fc49
mov dword [rsp + 0x70], pe_nt_image_headers64
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14006f655
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.140003660
nop
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
mov r14d, 8
lea rdi, str.Welcome
cmp rax, r14
jb 0x14006f70b
lea rax, [r8 + 8]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x30]
lea rax, [0x14009ef68]
cmp rax, rbx
jbe 0x14006f6ce
lea rax, [rbx + r8]
cmp rdi, rax
ja 0x14006f6ce
cmp rbx, rdi
ja 0x14006f6c6
xor esi, esi
jmp 0x14006f6d1
mov rsi, rbx
sub rsi, rdi
jmp 0x14006f6d1
mov rsi, r14
lea rcx, [rbx + 8]
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]
sub r14, rsi
lea rdx, [rdi + 8]
add rdx, rsi
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x30]
jmp 0x14006f722
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdi
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.14001d550
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 3
lea rdx, [0x14009ef5c]
lea rcx, [rsp + 0x50]
call fcn.140011a10
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14006f7e1
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f7dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006f7dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009016c
movdqa xmm0, xmmword [0x1400a0760]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14006f834
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006f82f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006f82f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009016c
movdqa xmm0, xmmword [0x1400a0760]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea r8, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova r8, qword [rsp + 0x78]
mov byte [rsp + 0x20], 1
movsd xmm3, qword [0x1400a0568]
movq r9, xmm3
lea rdx, str._Log_
lea rcx, [0x1400f47e8]
call fcn.14006e660
call fcn.14006f2b0
cmp eax, 7
ja case.default.0x14006f89e
cdqe
lea r9, [0x140000000]
mov r8d, dword [r9 + rax*4 + 0x6fc78]
add r8, r9
jmp r8
lea r8, str.FiveM_Build:_b1604
jmp 0x14006fbde
mov qword [0x1400f5698], 0x20d9868
lea r8, str.FiveM_Build:_b2060
jmp 0x14006fbde
mov qword [0x1400f5698], 0x1fd7b48
lea r8, str.FiveM_Build:_b2545
jmp 0x14006fbde
mov byte [rsp + 0x20], 1
movsd xmm3, qword [0x1400a0560]
movq r9, xmm3
lea r8, str.FiveM_Build:_b2699
lea rdx, str._Log_
lea rcx, [0x1400f47e8]
call fcn.14006e660
mov qword [0x1400f56a8], 0x26684d8
mov qword [0x1400f56a0], 0x20304c8
mov qword [0x1400f5690], 0x20d8c90
mov qword [0x1400f5698], 0x20d9868
mov qword [0x1400f57e8], 0x60
mov qword [0x1400f5808], 0x90
mov qword [0x1400f5b70], 0x189
mov qword [0x1400f5818], 0x280
mov qword [0x1400f57e0], 0x2a0
mov qword [0x1400f5810], 0x430
mov qword [0x1400f57d8], 0x1530
mov qword [0x1400f57f0], 0x10c8
mov qword [0x1400f57f8], 0x10d8
mov qword [0x1400f56e0], 0x84
mov qword [0x1400f56e8], 0x28c
mov qword [0x1400f5800], 0x10b8
jmp case.default.0x14006f89e
mov qword [0x1400f56a8], 0x257bea0
mov qword [0x1400f56a0], 0x1f42068
mov qword [0x1400f5690], 0x1feaac0
mov qword [0x1400f5698], 0x1fbccd8
mov qword [0x1400f57e8], 0x60
mov qword [0x1400f5808], 0x90
mov qword [0x1400f5b70], 0x189
mov qword [0x1400f5818], 0x280
mov qword [0x1400f57e0], 0x284
mov qword [0x1400f5810], 0x430
mov qword [0x1400f57d8], 0x150c
mov qword [0x1400f57f0], 0x10a8
mov qword [0x1400f57f8], 0x10b8
mov qword [0x1400f56e0], 0x74
mov qword [0x1400f56e8], 0x28c
lea r8, str.FiveM_Build:_b2802
jmp 0x14006fbde
mov qword [0x1400f56a8], 0x254d448
mov qword [0x1400f56a0], 0x1f5b820
mov qword [0x1400f5690], 0x1fbc100
mov qword [0x1400f5698], 0x1feb968
mov qword [0x1400f57e8], 0x60
mov qword [0x1400f5808], 0x90
mov qword [0x1400f5b70], 0x189
mov qword [0x1400f5818], 0x280
mov qword [0x1400f57e0], 0x284
mov qword [0x1400f5810], 0x410
mov qword [0x1400f57d8], 0x150c
mov qword [0x1400f57f0], 0x10a8
mov qword [0x1400f57f8], 0x10b8
mov qword [0x1400f56e0], 0x74
mov qword [0x1400f56e8], 0x28c
lea r8, str.FiveM_Build:_b2944
jmp 0x14006fbde
mov qword [0x1400f56a8], 0x2593320
mov qword [0x1400f56a0], 0x1f58b58
mov qword [0x1400f5690], 0x20019e0
mov qword [0x1400f5698], 0x20025b8
mov qword [0x1400f57e8], 0x60
mov qword [0x1400f5808], 0x90
mov qword [0x1400f5b70], 0x189
mov qword [0x1400f5818], 0x280
mov qword [0x1400f57e0], 0x284
mov qword [0x1400f5810], 0x410
mov qword [0x1400f57d8], 0x1530
mov qword [0x1400f57f0], 0x10a8
mov qword [0x1400f57f8], 0x10b8
mov qword [0x1400f56e0], 0x74
mov qword [0x1400f56e8], 0x28c
mov qword [0x1400f5800], 0x1098
lea r8, str.FiveM_Build:_b3095
jmp 0x14006fbde
lea r8, str.FiveM_Build:_b3258
movsd xmm3, qword [0x1400a0560]
mov byte [rsp + 0x20], 1
movq r9, xmm3
lea rdx, str._Log_
lea rcx, [0x1400f47e8]
call fcn.14006e660
mov byte [0x1400f5b78], 1
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14006fc49
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fc44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006fc44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009016c
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14008fdb0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret