Function at 0x140008540
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 [0x140101e00]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rdx
mov r13, rcx
mov qword [rbp + 0xf0], rdx
xor r12d, r12d
call fcn.14000a190
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 0x1400085d1
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x100]
call fcn.14000b980
nop
mov dword [rsp + 0x68], 0x21c054f
mov dword [rsp + 0x6c], 0x14061c08
mov word [rsp + 0x70], Ordinal_79
mov byte [rsp + 0x72], 1
mov dword [rsp + 0x30], 0x10a044f
mov dword [rsp + 0x34], 0x1005308
mov dword [rsp + 0x78], 0x1f0e194f
mov dword [rsp + 0x7c], 0x1e00071e
mov dword [rbp - 0x80], 0x4e1618
mov byte [rbp - 0x7c], 1
mov dword [rsp + 0x58], 0x1f0e074f
mov dword [rsp + 0x5c], 0x15080f1e
mov word [rsp + 0x60], Ordinal_79
mov byte [rsp + 0x62], 1
mov dword [rsp + 0x38], 0x19081a4f
mov dword [rsp + 0x3c], 0x4d1d0b1e
mov word [rsp + 0x40], 0x100
mov dword [rsp + 0x48], 0x91b131d
mov dword [rsp + 0x4c], 0x17000250
mov word [rsp + 0x50], 0x100
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x98]
call fcn.140008d40
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 0x1400086f6
lea r15, [rdx + rcx]
mov qword [rbx + 0x10], r15
mov rsi, rbx
cmp r8, 0x10
jb 0x1400086e1
mov rsi, qword [rbx]
add rcx, rsi
mov r8, rdx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + rsi], 0
jmp 0x14000870d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
call fcn.14000c640
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.1400060c0
nop
mov rdx, rdi
mov rcx, rax
call fcn.14000add0
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.140006290
nop
lea rdx, [r13 + 0x260]
mov rcx, rax
call fcn.14000add0
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.140005fb0
nop
mov rdx, r13
mov rcx, rax
call fcn.14000add0
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.1400060c0
nop
lea rdx, [r13 + 0x20]
mov rcx, rax
call fcn.14000add0
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 0x140008872
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000886d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000886d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077484
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 0x1400088c1
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400088bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400088bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077484
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x1400088ff
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400088fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400088fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077484
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 0x14000894e
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008948
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008948
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077484
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x14000898c
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008987
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008987
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077484
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 0x1400089db
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400089d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400089d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077484
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x140008a1c
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008a17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077484
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 0x140008a71
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008a6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008a6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077484
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0x10
jb 0x140008ab5
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008ab0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008ab0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077484
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.14000af10
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0xc0], rax
lea rdx, [r13 + 0x80]
lea rcx, [rbp - 0x28]
call fcn.14000af10
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 0x140008b5e
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x78], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x140008bd7
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140008bb2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140008d2e
mov rcx, rax
call fcn.140077448
mov rcx, rax
test rax, rax
je 0x140008c25
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140008bc0
test rcx, rcx
je 0x140008bbe
call fcn.140077448
jmp 0x140008bc0
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.140009df0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140008c31
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008c2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140077484
call fcn.14000a190
nop
cmp r13, 0x10
jb 0x140008c72
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140008c69
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008c69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140077484
nop
mov rax, qword [rbp + 0x118]
cmp rax, 0x10
jb 0x140008cb4
lea rdx, [rax + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140008cab
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008cab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.140077484
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140008cea
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140008ce5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008d27
mov rcx, r8
call fcn.140077484
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.1400775a0
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.140003430
nop
int3