Function at 0x140010070
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 [0x1400f4040]
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 0x1400100e0
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x30]
call fcn.140019a70
nop
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
mov esi, 9
cmp rax, rsi
jb 0x140010199
lea rax, [r8 + 9]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x30]
lea rax, [0x1400dafc1]
lea r14, str.C:Users_
cmp rax, rbx
jbe 0x14001015c
lea rax, [rbx + r8]
cmp r14, rax
ja 0x14001015c
cmp rbx, r14
ja 0x140010154
mov rdi, r15
jmp 0x14001015f
mov rdi, rbx
sub rdi, r14
jmp 0x14001015f
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 0x1400101ab
mov qword [rsp + 0x28], rsi
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14001af70
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.140018480
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 0x140010260
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001025b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001025b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b9480
movdqa xmm0, xmmword [0x1400e1560]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400102bb
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400102ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400102ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b9480
movdqa xmm0, xmmword [0x1400e1560]
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.1400b88e4
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x68]
call fcn.1400054c0
nop
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x70]
call fcn.1400070e0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x78], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x70], ecx
lea rbx, [0x140100e80]
mov qword [rsp + 0x78], rbx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
mov eax, dword [rbp - 0x78]
test eax, eax
jne 0x14001034c
test ecx, ecx
jne 0x1400104c3
jmp 0x1400103ec
cmp eax, 1
je 0x1400103ec
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x70]
call fcn.1400070e0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x78], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rbp - 0x78]
test edx, edx
je 0x140010384
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x1400104d9
cmp ecx, 3
jne 0x1400103ec
lea rcx, [rbp - 0x68]
call fcn.14000fb00
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rcx, qword [rbp - 0x68]
call fcn.1400b8f78
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 0x1400103e1
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.1400071c0
cmp dword [rsp + 0x70], 0
jne 0x1400104ad
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x14001042f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001042a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001042a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b9480
movdqa xmm0, xmmword [0x1400e1540]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r15w
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14001047f
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001047a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001047a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b9480
xor eax, eax
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400b9460
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.140006500
int3
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x70]
lea rcx, str.exists
call fcn.140006500
int3
lea r8, [rbp - 0x68]
lea rcx, str.status
call fcn.140006490
int3