Function at 0x180006210
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 [0x1801c00c0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rdx
mov r13, rcx
mov qword [rbp + 0xf0], rdx
xor r12d, r12d
call fcn.180006f30
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 0x1800062a1
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x100]
call fcn.180008770
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.180006a10
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 0x1800063c6
lea r15, [rdx + rcx]
mov qword [rbx + 0x10], r15
mov rsi, rbx
cmp r8, 0x10
jb 0x1800063b1
mov rsi, qword [rbx]
add rcx, rsi
mov r8, rdx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + rsi], 0
jmp 0x1800063dd
mov qword [rsp + 0x20], rdx
mov rcx, rbx
call fcn.180009670
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.180004390
nop
mov rdx, rdi
mov rcx, rax
call fcn.180007bc0
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.1800051f0
nop
lea rdx, [r13 + 0x260]
mov rcx, rax
call fcn.180007bc0
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.180004280
nop
mov rdx, r13
mov rcx, rax
call fcn.180007bc0
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.180004390
nop
lea rdx, [r13 + 0x20]
mov rcx, rax
call fcn.180007bc0
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 0x180006542
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000653d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000653d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bef08
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 0x180006591
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000658b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000658b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bef08
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1800065cf
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800065ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800065ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bef08
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 0x18000661e
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006618
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006618
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bef08
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x18000665c
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006657
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006657
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bef08
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 0x1800066ab
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800066a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800066a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bef08
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x1800066ec
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800066e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800066e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bef08
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 0x180006741
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000673b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000673b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bef08
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x180006785
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006780
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006780
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bef08
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.180007d00
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0xc0], rax
lea rdx, [r13 + 0x80]
lea rcx, [rbp - 0x28]
call fcn.180007d00
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 0x18000682e
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x78], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x1800068a7
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180006882
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800069fe
mov rcx, rax
call fcn.1800beecc
mov rcx, rax
test rax, rax
je 0x1800068f5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180006890
test rcx, rcx
je 0x18000688e
call fcn.1800beecc
jmp 0x180006890
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.180006b90
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x180006901
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800068fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800068fc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1800bef08
call fcn.180006f30
nop
cmp r13, 0x10
jb 0x180006942
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180006939
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006939
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800bef08
nop
mov rax, qword [rbp + 0x118]
cmp rax, 0x10
jb 0x180006984
lea rdx, [rax + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x18000697b
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000697b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1800bef08
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1800069ba
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1800069b5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800069f7
mov rcx, r8
call fcn.1800bef08
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.1800bf4b0
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.1800016b0
nop
int3