Function at 0x1400109f0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x140160040]
xor rax, rsp
mov qword [rbp + 0xe0], rax
xor r15d, r15d
mov dword [rbp - 0x80], 0x100
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp - 0x20]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x140010a60
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x30]
call fcn.140084ef0
nop
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
mov esi, 9
cmp rax, rsi
jb 0x140010b19
lea rax, [r8 + 9]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x30]
lea rax, [0x140146fc1]
lea r14, str.C:Users_
cmp rax, rbx
jbe 0x140010adc
lea rax, [rbx + r8]
cmp r14, rax
ja 0x140010adc
cmp rbx, r14
ja 0x140010ad4
mov rdi, r15
jmp 0x140010adf
mov rdi, rbx
sub rdi, r14
jmp 0x140010adf
mov rdi, rsi
inc r8
lea rcx, [rbx + 9]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub rsi, rdi
lea rdx, [r14 + 9]
add rdx, rdi
lea rcx, [rbx + rdi]
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x30]
jmp 0x140010b2b
mov qword [rsp + 0x28], rsi
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400864b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
mov byte [rax], 0
mov r8d, 0x2d
lea rdx, str.AppDataLocalMicrosoftWindowsINetCacheIE
lea rcx, [rsp + 0x50]
call fcn.140083580
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140010be0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010bdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010bdb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140124cd0
movdqa xmm0, xmmword [0x14014d710]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140010c3b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010c2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010c2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140124cd0
movdqa xmm0, xmmword [0x14014d710]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rax, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rax, qword [rbp - 0x48]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x78], rax
call fcn.140124134
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x68]
call fcn.140005610
nop
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x70]
call fcn.140007230
movsd xmm0, qword [rax]
movsd qword [rbp - 0x78], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x70], ecx
lea rbx, [0x14016ce80]
mov qword [rsp + 0x78], rbx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
mov eax, dword [rbp - 0x78]
test eax, eax
jne 0x140010ccc
test ecx, ecx
jne 0x140010e43
jmp 0x140010d6c
cmp eax, 1
je 0x140010d6c
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x70]
call fcn.140007230
movsd xmm0, qword [rax]
movsd qword [rbp - 0x78], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rbp - 0x78]
test edx, edx
je 0x140010d04
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x140010e59
cmp ecx, 3
jne 0x140010d6c
lea rcx, [rbp - 0x68]
call fcn.140010480
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rcx, qword [rbp - 0x68]
call fcn.1401247c8
mov rdx, rax
shr rdx, 0x20
movzx ecx, al
mov qword [rbp - 0x78], rcx
mov dword [rsp + 0x70], edx
mov qword [rsp + 0x78], rbx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
cmp edx, 0x91
jne 0x140010d61
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.140007310
cmp dword [rsp + 0x70], 0
jne 0x140010e2d
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x140010daf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010daa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010daa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140124cd0
movdqa xmm0, xmmword [0x14014d6f0]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r15w
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140010dff
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010dfa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010dfa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140124cd0
xor eax, eax
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140124cb0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x70]
lea rcx, str.remove_all
call fcn.140006650
int3
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x70]
lea rcx, str.exists
call fcn.140006650
int3
lea r8, [rbp - 0x68]
lea rcx, str.status
call fcn.1400065e0
int3