Function at 0x140003030
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 - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400a96f0]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov qword [rbp - 0x70], rcx
mov qword [rsp + 0x48], rdx
xor r12d, r12d
mov dword [rbp - 0x70], 0x101
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov qword [rsp + 0x70], r12
test eax, eax
je 0x1400030c1
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], r12b
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400030b1
lea rdx, [rbp - 0x60]
jmp 0x1400030dc
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
xor r8d, r8d
lea rdx, [0x14009733b]
lea rcx, [rsp + 0x70]
call fcn.14000b880
nop
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov r8d, 9
lea rdx, str._pc_name_
lea rcx, [rsp + 0x50]
call fcn.14000b880
nop
lea r14, [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp rcx, 0x10
setae byte [rsp + 0x30]
mov r13, qword [rsp + 0x50]
cmovae r14, r13
mov rax, qword [rsi + 0x10]
mov r15, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140003144
mov r15, qword [rsi]
mov rdi, qword [rsp + 0x60]
cmp rdi, rax
ja 0x1400032a5
sub rax, rdi
test rdi, rdi
jne 0x140003162
mov rbx, r12
jmp 0x1400031e0
lea r12, [r15 + rax]
movsx r13d, byte [r14]
lea r8, [r12 + 1]
sub r8, r15
mov edx, r13d
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140003293
nop dword [rax]
mov r8, rdi
mov rdx, r14
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400031c5
inc rbx
lea r8, [r12 + 1]
sub r8, rbx
mov edx, r13d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140003190
jmp 0x140003293
sub rbx, r15
cmp rbx, 0xffffffffffffffff
je 0x140003293
mov r13, qword [rsp + 0x50]
nop word [rax + rax]
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae r9, qword [rsp + 0x70]
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.14000b6e0
add rbx, qword [rbp - 0x80]
lea r12, [rsp + 0x50]
cmp byte [rsp + 0x30], 0
cmovne r12, r13
mov rax, qword [rsi + 0x10]
mov r13, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14000322a
mov r13, qword [rsi]
cmp rdi, rax
ja 0x140003293
sub rax, rdi
cmp rbx, rax
ja 0x140003293
test rdi, rdi
je 0x140003284
lea r14, [rax + r13]
lea rcx, [rbx + r13]
movsx r15d, byte [r12]
lea r8, [r14 + 1]
sub r8, rcx
mov edx, r15d
call sub.VCRUNTIME140.dll_memchr
test rax, rax
mov rbx, rax
je 0x140003293
mov r8, rdi
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140003281
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov rcx, rbx
jmp 0x140003250
sub rbx, r13
cmp rbx, 0xffffffffffffffff
mov r13, qword [rsp + 0x50]
jne 0x1400031e0
xor r12d, r12d
mov rcx, qword [rsp + 0x68]
mov r13, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x38]
mov qword [rbx], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
cmp byte [rsp + 0x30], 0
je 0x140003309
lea rdx, [rcx + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x140003300
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003300
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.140083fe4
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140003349
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003343
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003343
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083fe4
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14000337f
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000337a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400033bb
mov rcx, r8
call fcn.140083fe4
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rax, rbx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140083eb0
mov rbx, qword [rsp + 0x210]
add rsp, 0x1c0
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]
int3