Function at 0x180006be0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
lea rbp, [rsp - 0x128]
sub rsp, 0x228
lea rdx, [rbp + 0x150]
mov dword [rbp + 0x150], 0x101
lea rcx, [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
lea rax, [rbp - 0x10]
movups xmmword [rsp + 0x40], xmm0
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x180006c24
mov qword [rsp + 0x258], rsi
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x220], rdi
mov qword [rsp + 0x208], r14
cmp rbx, rax
ja 0x180006f53
mov ecx, 0x16
lea esi, [rcx - 7]
cmp rbx, 0x10
jae 0x180006c97
mov r8, rbx
mov qword [rsp + 0x50], rbx
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x40], 0
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x40]
jmp 0x180006cdd
mov rdi, rbx
or rdi, rsi
cmp rdi, rax
jbe 0x180006ca7
mov rdi, rax
jmp 0x180006cae
cmp rdi, rcx
cmovb rdi, rcx
lea rdx, [rdi + 1]
call fcn.180007260
mov r8, rbx
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x50], rbx
mov rcx, rax
mov qword [rsp + 0x58], rdi
mov r14, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rbx], 0
movzx edx, word [0x1801b1d18]
movabs rcx, 0x7ffffffffffffff9
mov eax, dword [str.User:]
xorps xmm0, xmm0
mov dword [rbp + 0x148], eax
mov word [rbp + 0x140], dx
cmp rbx, rcx
ja 0x180006f53
mov qword [rsp + 0x218], r12
cmp rdi, 0x10
mov qword [rsp + 0x210], r13
lea r12, [rbx + 6]
lea r13, [rsp + 0x40]
mov qword [rsp + 0x200], r15
cmovae r13, r14
lea r15, [rsp + 0x20]
xorps xmm1, xmm1
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
cmp r12, rsi
jbe 0x180006df2
mov rsi, r12
movabs rcx, 0x7fffffffffffffff
or rsi, 0xf
cmp rsi, rcx
jbe 0x180006da5
movabs rax, 0x8000000000000000
mov rsi, rcx
add rax, 0x27
mov rcx, rax
call fcn.180114520
test rax, rax
je 0x180006f0a
movzx edx, word [rbp + 0x140]
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
mov eax, dword [rbp + 0x148]
jmp 0x180006ded
cmp rsi, 0x16
mov ecx, 0x16
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x180006dce
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180006f59
jmp 0x180006d79
test rcx, rcx
je 0x180006dea
call fcn.180114520
movzx edx, word [rbp + 0x140]
mov r15, rax
mov eax, dword [rbp + 0x148]
jmp 0x180006ded
xor r15d, r15d
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], r12
lea rcx, [r15 + 6]
mov qword [rsp + 0x38], rsi
mov r8, rbx
mov dword [r15], eax
mov word [r15 + 4], dx
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
xorps xmm0, xmm0
mov byte [r15 + r12], 0
cmp qword [rsp + 0x38], 0x10
lea rax, [rsp + 0x20]
movups xmmword [rsp + 0x60], xmm0
cmovae rax, qword [rsp + 0x20]
xor ecx, ecx
mov qword [rsp + 0x68], rax
lea rax, str.Playing_Rust_With_BaffClient
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x60]
lea rax, [0x1801b1d40]
mov qword [rbp - 0x80], rax
lea rax, str.discord.gg_PhZjEgf9fX
mov qword [rbp - 0x78], rax
lea rax, str.baffclient
mov qword [rbp - 0x70], rax
call fcn.180008dc0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x180006ecc
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006ec7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006f0a
call fcn.1801148dc
movdqa xmm0, xmmword [0x1801b97b0]
mov byte [rsp + 0x20], 0
movdqu xmmword [rsp + 0x30], xmm0
cmp rdi, 0x10
jb 0x180006f19
lea rdx, [rdi + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x180006f11
mov r14, qword [r14 - 8]
add rdx, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006f11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1801148dc
mov r13, qword [rsp + 0x210]
mov r12, qword [rsp + 0x218]
mov r15, qword [rsp + 0x200]
mov r14, qword [rsp + 0x208]
mov rdi, qword [rsp + 0x220]
mov rsi, qword [rsp + 0x258]
add rsp, 0x228
pop rbx
pop rbp
ret
call fcn.180006bc0
int3
call fcn.180006b00
int3