Function at 0x180091e80
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 - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1802c0758]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r15, rcx
mov qword [rsp + 0x70], rcx
xor r12d, r12d
mov dword [rsp + 0x70], 0x100
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
movabs r14, 0x7fffffffffffffff
xorps xmm0, xmm0
mov qword [rsp + 0x58], r12
movups xmmword [rsp + 0x48], xmm0
test eax, eax
je 0x180091f9d
mov qword [rsp + 0x60], r12
lea rax, [rbp - 0x40]
mov rcx, 0xffffffffffffffff
mov rdi, rcx
inc rdi
cmp byte [rax + rdi], r12b
jne 0x180091f06
cmp rdi, r14
ja 0x18009211e
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x180091f44
mov qword [rsp + 0x58], rdi
mov r8, rdi
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x48]
call fcn.18009cd34
mov byte [rsp + rdi + 0x48], r12b
jmp 0x180091fab
mov rsi, rdi
or rsi, 0xf
cmp rsi, r14
jbe 0x180091f55
mov rsi, r14
jmp 0x180091f61
mov eax, reloc.WS2_32.dll_shutdown
cmp rsi, rax
cmovb rsi, rax
mov rdx, rsi
add rdx, 1
cmovb rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.18008d690
mov rbx, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rsi
mov r8, rdi
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.18009cd34
mov byte [rbx + rdi], r12b
jmp 0x180091fab
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], r12b
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.180091790
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180091ffb
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180091ff6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180091ff6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180097778
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
lea rcx, [rbp - 0x68]
call fcn.180091ac0
nop
mov rcx, qword [rbp - 0x78]
sub r14, rcx
mov rdx, qword [rbp - 0x58]
cmp r14, rdx
jb 0x180092118
lea r9, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae r9, qword [rsp + 0x78]
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rax, qword [rbp - 0x68]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x78]
movzx edx, byte [rsp + 0x40]
mov rcx, r15
call fcn.1800625e0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1800920ab
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800920a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800920a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180097778
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1800920ea
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800920e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800920e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180097778
mov rax, r15
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.180097d30
lea r11, [rsp + 0x1d0]
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.180043ad8
nop
call fcn.180043ad8
int3