Function at 0x180005ff0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1802b38c0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rdx
mov r13, rcx
mov qword [rbp + 0xf0], rdx
xor r12d, r12d
call fcn.180006cf0
mov dword [rbp + 0xf8], 0x64
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0x140]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x110], r12
mov qword [rbp + 0x118], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x100], r12b
lea rax, [rbp + 0x140]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x180006081
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x100]
call fcn.180008400
nop
mov dword [rsp + 0x68], 0x948e97d1
mov dword [rsp + 0x6c], 0x9a948e9e
mov word [rsp + 0x70], Ordinal_200
mov byte [rsp + 0x72], 1
mov dword [rsp + 0x30], 0x979896d1
mov dword [rsp + 0x34], 0x100c19e
mov dword [rsp + 0x78], 0x899c8bd1
mov dword [rsp + 0x7c], 0x90929588
mov dword [rbp - 0x80], 0x3c6496
mov byte [rbp - 0x7c], 1
mov dword [rsp + 0x58], 0x899c95d1
mov dword [rsp + 0x5c], 0x9b9a9d88
mov word [rsp + 0x60], Ordinal_200
mov byte [rsp + 0x62], 1
mov dword [rsp + 0x38], 0x8f9a88d1
mov dword [rsp + 0x3c], 0xc38f9988
mov word [rsp + 0x40], 0x100
mov dword [rsp + 0x48], 0x9f898183
mov dword [rsp + 0x4c], 0x999290c6
mov word [rsp + 0x50], 0x100
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x98]
call fcn.1800067f0
mov rbx, rax
lea r9, [rbp + 0x100]
mov r14, qword [rbp + 0x100]
cmp qword [rbp + 0x118], 0x10
cmovae r9, r14
mov rcx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, r8
sub rax, rcx
mov rdx, qword [rbp + 0x110]
cmp rdx, rax
ja 0x1800061a6
lea r15, [rcx + rdx]
mov qword [rbx + 0x10], r15
mov rsi, rbx
cmp r8, 0x10
jb 0x180006191
mov rsi, qword [rbx]
add rcx, rsi
mov r8, rdx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + rsi], 0
jmp 0x1800061bd
mov qword [rsp + 0x20], rdx
mov rcx, rbx
call fcn.1800092c0
mov rbx, rax
mov r14, qword [rbp + 0x100]
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x78]
call fcn.180004200
nop
mov rdx, rdi
mov rcx, rax
call fcn.180007850
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x58]
call fcn.180005020
nop
lea rdx, [r13 + 0x260]
mov rcx, rax
call fcn.180007850
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x38]
call fcn.180004100
nop
mov rdx, r13
mov rcx, rax
call fcn.180007850
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x18]
call fcn.180004200
nop
lea rdx, [r13 + 0x20]
mov rcx, rax
call fcn.180007850
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0x130], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x180006322
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000631d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000631d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bf958
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x180006371
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000636b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000636b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bf958
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1800063af
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800063aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800063aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bf958
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1800063fe
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800063f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800063f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bf958
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x18000643c
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006437
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006437
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bf958
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x58], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x18000648b
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006485
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006485
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bf958
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x1800064cc
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800064c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800064c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bf958
mov qword [rbp + 0x88], r12
mov qword [rbp + 0x90], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x78], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x180006521
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000651b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000651b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bf958
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x180006565
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006560
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006560
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bf958
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x98], 0
lea rax, [rbp - 8]
mov qword [rbp + 0xb8], rax
lea rdx, [r13 + 0xa0]
lea rcx, [rbp - 8]
call fcn.180007990
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0xc0], rax
lea rdx, [r13 + 0x80]
lea rcx, [rbp - 0x28]
call fcn.180007990
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
lea r12, [rbp + 0x120]
mov rsi, qword [rbp + 0xd0]
movups xmm1, xmmword [rbp + 0xe0]
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r13, xmm0
cmp r13, 0x10
cmovae r12, rsi
movq r15, xmm1
cmp r15, 0x10
jae 0x18000660e
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x78], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x180006687
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180006662
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800067de
mov rcx, rax
call fcn.1800bf91c
mov rcx, rax
test rax, rax
je 0x1800066d5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180006670
test rcx, rcx
je 0x18000666e
call fcn.1800bf91c
jmp 0x180006670
xor eax, eax
mov qword [rbp - 0x78], rax
lea r8, [r15 + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], rbx
mov r9, qword [rbp - 0x50]
mov r8, rax
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x48]
call fcn.180006960
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1800066e1
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800066dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800066dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800bf958
call fcn.180006cf0
nop
cmp r13, 0x10
jb 0x180006722
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180006719
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006719
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800bf958
nop
mov rax, qword [rbp + 0x118]
cmp rax, 0x10
jb 0x180006764
lea rdx, [rax + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x18000675b
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000675b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1800bf958
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x18000679a
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180006795
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800067d7
mov rcx, r8
call fcn.1800bf958
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1800bfe80
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800015c0
nop
int3