Function at 0x180006790
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1801bfd40]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rbp + 0xb0], rdx
xor edi, edi
call fcn.180006fa0
mov dword [rbp + 0xb8], 0x64
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x100]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xd0], rdi
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], dil
lea rax, [rbp + 0x100]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180006820
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xc0]
call fcn.180008d20
nop
mov dword [rsp + 0x58], 0xa1b9a2ea
mov dword [rsp + 0x5c], 0xb7bba3b5
mov word [rsp + 0x60], 0xe9
mov byte [rsp + 0x62], 1
mov dword [rsp + 0x20], 0xa2afa3ea
mov dword [rsp + 0x24], 0x100ecb5
mov dword [rsp + 0x68], 0xbcabbeea
mov dword [rsp + 0x6c], 0xbdbdb8a3
mov dword [rsp + 0x70], 0xebb1bd
mov byte [rsp + 0x74], 1
mov dword [rsp + 0x48], 0xbcaba0ea
mov dword [rsp + 0x4c], 0xb6b5b0a3
mov word [rsp + 0x50], 0xe9
mov byte [rsp + 0x52], 1
mov dword [rsp + 0x28], 0xbaadbdea
mov dword [rsp + 0x2c], 0xeea0b4a3
mov word [rsp + 0x30], 0x100
mov dword [rsp + 0x38], 0xaabeb4b8
mov dword [rsp + 0x3c], 0xb4bdbded
mov word [rsp + 0x40], 0x100
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x90]
call fcn.180006b70
nop
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rdx, qword [rbp + 0xc0]
mov r8, qword [rbp + 0xd0]
mov rcx, rax
call fcn.180008020
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x70]
call fcn.1800042b0
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x18000694c
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.180008020
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x50]
call fcn.1800055f0
nop
lea rdx, [rbx + 0x260]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18000699e
mov rdx, qword [rdx]
mov rcx, rax
call fcn.180008020
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x30]
call fcn.1800040b0
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1800069e4
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.180008020
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.1800042b0
nop
lea r8, [rbx + 0x20]
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.180009490
nop
mov r8, qword [rbp - 0x70]
cmp r8, 0x10
jb 0x180006a52
inc r8
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x78]
call fcn.180008ee0
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
lea rcx, [rbp - 0x68]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x30]
call fcn.1800080d0
nop
lea rcx, [rbp - 0x48]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x50]
call fcn.1800080d0
nop
lea rcx, [rbp - 0x28]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x70]
call fcn.1800080d0
nop
lea rcx, [rbp - 8]
call fcn.1800080d0
nop
lea rcx, [rbp + 0x90]
call fcn.1800080d0
lea rax, [rbp - 8]
mov qword [rbp + 0x18], rax
lea rdx, [rbx + 0xa0]
lea rcx, [rbp - 8]
call fcn.180008200
mov rdi, rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0x20], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 0x28]
call fcn.180008200
mov rbx, rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x48]
call fcn.180008200
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.180006ce0
lea rcx, [rbp - 0x68]
call fcn.1800080d0
call fcn.180006fa0
nop
lea rcx, [rbp + 0xe0]
call fcn.1800080d0
nop
lea rcx, [rbp + 0xc0]
call fcn.1800080d0
nop
mov rcx, rsi
call fcn.1800080d0
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1800e21a0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret