Function at 0x140008c30
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x140181180]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov rsi, rcx
mov qword [rbp - 0x18], rcx
xor r13d, r13d
mov dword [rbp - 0x18], 0x101
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xorps xmm0, xmm0
test eax, eax
jne 0x140008cb7
mov qword [rsi], r13
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], r13
mov qword [rsi + 0x20], r13
xor r8d, r8d
lea rdx, [0x140167d34]
mov rcx, rsi
call fcn.140020510
jmp 0x14000922d
mov qword [rsp + 0x30], r13
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rax, [rbp + 0xf0]
mov r12, 0xffffffffffffffff
mov r8, r12
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], r13w
jne 0x140008ce0
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x30]
call fcn.140020510
nop
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
sub rax, r8
mov r15d, 9
cmp rax, r15
jb 0x140008db7
lea rax, [r8 + 9]
mov qword [rsp + 0x48], rax
lea rdi, [rsp + 0x38]
cmp rcx, 7
cmova rdi, qword [rsp + 0x38]
lea rax, [0x140168412]
lea rcx, str.C:Users_
cmp rax, rdi
jbe 0x140008d64
lea rax, [rdi + r8*2]
cmp rcx, rax
ja 0x140008d64
cmp rdi, rcx
ja 0x140008d59
mov r14, r13
jmp 0x140008d67
mov r14, rdi
sub r14, rcx
sar r14, 1
jmp 0x140008d67
mov r14, r15
lea rcx, [rdi + 0x12]
lea r8, [r8*2 + 2]
mov rdx, rdi
call fcn.140135260
lea rbx, [r14 + r14]
mov r8, rbx
lea rdx, str.C:Users_
mov rcx, rdi
call fcn.140135260
lea rdx, str.C:Users_
lea rdx, [rdx + 0x12]
lea rdx, [rdx + r14*2]
lea rcx, [rdi + rbx]
sub r15, r14
lea r8, [r15 + r15]
call fcn.140135260
lea rax, [rsp + 0x30]
jmp 0x140008dc9
mov qword [rsp + 0x28], r15
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.140030440
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140012070
nop
lea rcx, [rsp + 0x30]
call fcn.1400029b0
lea rcx, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
lea rdx, [0x140167bfc]
mov rax, qword [rsp + 0x50]
cmp rax, 7
jbe 0x140008e65
mov rdi, qword [rsp + 0x38]
lea rbx, [rax + 1]
test rdi, rdi
jne 0x140008e59
test rbx, rbx
je 0x140008e59
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
xor r9d, r9d
mov r8d, 0x3cf
lea rdx, [0x140167c00]
lea ecx, [rdi + 2]
call fcn.1400c9890
cmp eax, 1
jne 0x140008e34
int3
mov qword [rsp + 0x20], r13
mov r9d, 0x3cf
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.39.33519includexmemory
lea rdx, [0x140167d34]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.1400ca770
lea rdx, [rbx + rbx]
mov rcx, rdi
call fcn.140025670
movdqa xmm0, xmmword [0x14016f010]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r13w
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x30], r13
mov edx, reloc.WS2_32.dll_recv
call fcn.140025670
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov r14d, eax
xorps xmm0, xmm0
test eax, eax
jne 0x140008ed6
mov qword [rsi], r13
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], r13
mov qword [rsi + 0x20], r13
xor r8d, r8d
lea rdx, [0x140167d34]
mov rcx, rsi
call fcn.140020510
jmp 0x140009212
mov rdi, r14
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movdqu xmmword [rbp - 0x78], xmm0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400bc960
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x78]
mov qword [rax], rcx
mov qword [rax + 8], r13
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
add rdi, rdi
mov rcx, rdi
call fcn.14001fde0
mov qword [rbp - 0x80], rax
lea rbx, [rax + rdi]
mov qword [rbp - 0x70], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.140135900
mov qword [rbp - 0x78], rbx
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
mov r8d, r14d
mov rdx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
xorps xmm0, xmm0
test eax, eax
jne 0x140008f86
mov qword [rsi], r13
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], r13
mov qword [rsi + 0x20], r13
xor r8d, r8d
lea rdx, [0x140167d34]
mov rcx, rsi
call fcn.140020510
jmp 0x1400091cc
mov qword [rbp - 0x68], r13
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
mov rdx, qword [rbp - 0x80]
mov r8, r12
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140008fa0
lea rcx, [rbp - 0x68]
call fcn.140020510
nop
lea rbx, [rbp - 0x60]
mov r14, qword [rbp - 0x60]
mov r15, qword [rbp - 0x48]
cmp r15, 7
cmova rbx, r14
mov rdi, qword [rbp - 0x50]
test rdi, rdi
je 0x1400090f8
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x10]
call fcn.140135900
lea rcx, [0x140168414]
lea rdx, [0x140168416]
mov r8d, 0x100
nop dword [rax + rax]
movzx eax, word [rcx]
cmp ax, r8w
jae 0x14000904f
movzx eax, al
mov byte [rbp + rax - 0x10], 1
add rcx, 2
cmp rcx, rdx
jne 0x140009000
lea rcx, [rdi - 1]
mov rax, r12
cmp rcx, r12
cmovb rax, rcx
lea rdx, [rbx + rax*2]
nop dword [rax]
movzx eax, word [rdx]
cmp ax, r8w
jae 0x140009040
cmp byte [rbp + rax - 0x10], 0
jne 0x1400090ae
cmp rdx, rbx
je 0x1400090f8
sub rdx, 2
jmp 0x140009030
lea rcx, [rdi - 1]
mov rax, r12
cmp rcx, r12
cmovb rax, rcx
lea rdx, [rbx + rax*2]
mov r9d, 0x5c
nop word [rax + rax]
mov ecx, 1
movzx r8d, word [rdx]
lea rax, [0x140168414]
cmp r9w, r8w
je 0x1400090ae
cmp rcx, 1
je 0x14000909e
dec rcx
add rax, 2
cmp word [rax], r8w
jne 0x140009086
test rax, rax
jne 0x1400090ae
cmp rdx, rbx
je 0x1400090a9
sub rdx, 2
jmp 0x140009070
mov rdx, r12
jmp 0x1400090b4
sub rdx, rbx
sar rdx, 1
cmp rdx, 0xffffffffffffffff
je 0x1400090f8
inc rdx
mov qword [rsi], r13
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], r13
mov qword [rsi + 0x20], r13
cmp rdi, rdx
jb 0x140009260
sub rdi, rdx
cmp rdi, 0xffffffffffffffff
cmovb r12, rdi
lea rax, [rbp - 0x60]
cmp r15, 7
cmova rax, r14
lea rdx, [rax + rdx*2]
mov r8, r12
jmp 0x140009114
mov qword [rsi], r13
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov qword [rsi + 0x18], r13
mov qword [rsi + 0x20], r13
xor r8d, r8d
lea rdx, [0x140167d34]
mov rcx, rsi
call fcn.140020510
nop
lea rcx, [rbp - 0x68]
call fcn.1400029b0
mov rbx, qword [rbp - 0x48]
cmp rbx, 7
jbe 0x1400091a8
inc rbx
mov rdi, qword [rbp - 0x60]
test rdi, rdi
jne 0x14000919c
test rbx, rbx
je 0x14000919c
lea rax, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
mov qword [rsp + 0x28], rax
lea rax, [0x140167bfc]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3cf
lea rdx, [0x140167c00]
lea ecx, [rdi + 2]
call fcn.1400c9890
cmp eax, 1
jne 0x140009177
int3
mov qword [rsp + 0x20], r13
mov r9d, 0x3cf
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.39.33519includexmemory
lea rdx, [0x140167d34]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call fcn.1400ca770
lea rdx, [rbx + rbx]
mov rcx, rdi
call fcn.140025670
mov rcx, qword [rbp - 0x68]
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r13w
mov qword [rbp - 0x68], r13
mov edx, reloc.WS2_32.dll_recv
call fcn.140025670
nop
lea rcx, [rsp + 0x78]
call fcn.1400029b0
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400091fd
mov rdx, qword [rbp - 0x70]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
call fcn.140025670
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x78], r13
mov edx, reloc.WS2_32.dll_recv
call fcn.140025670
nop
lea rcx, [rbp - 0x40]
call fcn.1400175b0
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x40], r13
mov edx, reloc.WS2_32.dll_recv
call fcn.140025670
mov rax, rsi
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1400bc780
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14001a7b0
nop
int3