Function at 0x140001a60
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x101
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x140001ee7
mov r8d, dword [rbp - 0x70]
lea r9, [rbp + 0x1b0]
xor r14d, r14d
mov qword [rsp + 0x20], 0xffffffffffffffff
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x68], r14
lea rcx, [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.140002000
lea rcx, [rsp + 0x50]
call fcn.1400012a0
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140001b34
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b2f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001b85
call fcn.140002b3c
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.140002000
lea rcx, [rsp + 0x50]
call fcn.140001830
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140001b91
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b8c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002b3c
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x70]
call fcn.140002000
mov r8, rax
lea rcx, [rsp + 0x50]
call fcn.1400022a0
mov rbx, rax
mov rdx, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1e
jb 0x140001bf4
lea rsi, [rcx + 0x1e]
mov rdi, rbx
mov qword [rbx + 0x10], rsi
cmp rdx, 7
jbe 0x140001bd7
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 0x3c
lea rdx, str.AppDataLocalTemp_shdtsk.exe
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rsi*2], r14w
jmp 0x140001c14
lea r9, str.AppDataLocalTemp_shdtsk.exe
mov qword [rsp + 0x20], 0x1e
mov edx, 0x1e
mov rcx, rbx
call fcn.140002830
mov rbx, rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
call fcn.1400011c0
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140001c92
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c8d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d30
call fcn.140002b3c
mov rdx, qword [rsp + 0x68]
movdqa xmm0, xmmword [0x140004750]
mov word [rsp + 0x30], r14w
movdqu xmmword [rsp + 0x40], xmm0
cmp rdx, 7
jbe 0x140001cec
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001cdf
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001d30
call fcn.140002b3c
movdqa xmm0, xmmword [0x140004750]
mov rdx, qword [rbp - 0x78]
mov word [rsp + 0x50], r14w
movdqu xmmword [rsp + 0x60], xmm0
cmp rdx, 7
jbe 0x140001d3c
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d37
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002b3c
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x70]
call fcn.140002000
mov r8, rax
lea rcx, [rsp + 0x50]
call fcn.1400022a0
mov rbx, rax
mov rdx, qword [rax + 0x18]
mov rcx, qword [rax + 0x10]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1c
jb 0x140001d9f
lea rsi, [rcx + 0x1c]
mov rdi, rbx
mov qword [rbx + 0x10], rsi
cmp rdx, 7
jbe 0x140001d82
mov rdi, qword [rbx]
lea rcx, [rdi + rcx*2]
mov r8d, 0x38
lea rdx, str.AppDataLocalTempPwMn.exe
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rsi*2], r14w
jmp 0x140001dbf
lea r9, str.AppDataLocalTempPwMn.exe
mov qword [rsp + 0x20], 0x1c
mov edx, 0x1c
mov rcx, rbx
call fcn.140002830
mov rbx, rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
call fcn.1400011c0
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140001e3d
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e38
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001edb
call fcn.140002b3c
mov rdx, qword [rsp + 0x68]
movdqa xmm0, xmmword [0x140004750]
mov word [rsp + 0x30], r14w
movdqu xmmword [rsp + 0x40], xmm0
cmp rdx, 7
jbe 0x140001e97
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e8a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001edb
call fcn.140002b3c
movdqa xmm0, xmmword [0x140004750]
mov rdx, qword [rbp - 0x78]
mov word [rsp + 0x50], r14w
movdqu xmmword [rsp + 0x60], xmm0
cmp rdx, 7
jbe 0x140001ee7
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ee2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ee2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002b3c
xor eax, eax
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140002a10
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret