Function at 0x140067910
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x478]
sub rsp, 0x550
vmovaps xmmword [rax - 0x38], xmm6
vmovaps xmmword [rax - 0x48], xmm7
vmovaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14009f028]
xor rax, rsp
mov qword [rbp + 0x410], rax
cmp byte [0x140155858], 0
je 0x14006801f
mov rax, qword [0x1401569a0]
mov rcx, qword [rax + 0x48d0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rcx]
call fcn.140010210
mov r15, rax
mov eax, 8
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x140157aec], ecx
jle 0x1400679dc
lea rcx, [0x140157aec]
call fcn.14007ec00
cmp dword [0x140157aec], 0xffffffff
jne 0x1400679dc
mov rdx, qword [0x1401569a0]
vmovss xmm0, dword [rdx + 0xe0]
vmovss dword [0x140157af8], xmm0
lea rcx, [0x140157aec]
call fcn.14007eb94
mov rax, qword [0x1401569a0]
vmovss xmm0, dword [rax + 0xe0]
vmovss dword [0x140157af8], xmm0
mov dword [rbp - 0x48], pe_nt_image_headers64
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x210]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x14006801f
xor r13d, r13d
mov qword [rbp - 0x20], r13
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x210]
mov r8d, pe_nt_image_headers64
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
test eax, eax
jne 0x14006801f
cmp byte [0x140155858], r13b
je 0x14006801f
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x40], xmm0
vmovdqu xmm1, xmmword [0x1400916f0]
vmovdqu xmmword [rbp - 0x30], xmm1
mov byte [rbp - 0x40], r13b
lea r8d, [r13 + 9]
lea rdx, str.Aapoxware
lea rcx, [rbp - 0x40]
call fcn.1400091f0
lea r14d, [r13 + 3]
lea r12, [0x140090474]
cmp byte [0x140155834], r13b
je 0x140067ac3
mov r8d, r14d
mov rdx, r12
lea rcx, [rbp - 0x40]
call fcn.1400091f0
cmp byte [0x140155834], r13b
je 0x140067ac3
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x40]
call fcn.1400090b0
cmp byte [0x1401558c9], r13b
je 0x140067cab
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rax, 0xd6bf94d5e57a42bd
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp - 0x58], rdx
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x10]
call fcn.14007a230
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x50], rax
lea rax, str.___H:_M:_S
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
inc rax
cmp byte [rax], r13b
jne 0x140067b43
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.14007aa00
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], r13b
xor eax, eax
vmovups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
mov rcx, qword [rbp + 0x68]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140067bb4
mov rax, qword [rbp + 0x38]
mov rdi, qword [rax]
test rdi, rdi
je 0x140067bb4
mov rax, qword [rbp + 0x18]
mov r9, qword [rax]
cmp rdi, qword [rbp + 0x60]
cmovb rdi, qword [rbp + 0x60]
sub rdi, r9
jmp 0x140067bd9
test cl, 4
jne 0x140067c0b
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax]
test rcx, rcx
je 0x140067c0b
mov rax, qword [rbp + 0x10]
mov r9, qword [rax]
mov rax, qword [rbp + 0x48]
movsxd rdi, dword [rax]
sub rdi, r9
add rdi, rcx
mov rax, r9
test rax, rax
je 0x140067c0b
lea rcx, [rsp + 0x68]
cmp rdi, 0xf
ja 0x140067c03
mov qword [rsp + 0x78], rdi
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rdi + 0x68], r13b
jmp 0x140067c0b
mov rdx, rdi
call fcn.140007c40
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
lea rcx, [rbp - 0x40]
call fcn.1400091f0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140067c68
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067c63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067c63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eb1c
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp - 8]
call fcn.14007a170
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
cmp byte [0x1401558c8], r13b
je 0x140067e1c
vcvttss2si edx, dword [0x140157af8]
lea rcx, [rbp - 0x78]
call fcn.14007a730
mov r8, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
sub rax, r8
cmp rax, r14
jb 0x140067d55
lea rax, [r8 + 3]
mov qword [rbp - 0x68], rax
lea rdi, [rbp - 0x78]
cmp rcx, 0x10
cmovae rdi, qword [rbp - 0x78]
lea rax, [0x140090477]
cmp rax, rdi
jbe 0x140067d18
lea rax, [rdi + r8]
cmp r12, rax
ja 0x140067d18
cmp rdi, r12
ja 0x140067d10
mov rsi, r13
jmp 0x140067d1b
mov rsi, rdi
sub rsi, r12
jmp 0x140067d1b
mov rsi, r14
inc r8
lea rcx, [rdi + 3]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub r14, rsi
lea rdx, [r12 + 3]
add rdx, rsi
lea rcx, [rdi + rsi]
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x78]
jmp 0x140067d6b
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r12
mov rdx, r14
lea rcx, [rbp - 0x78]
call fcn.14007d350
vmovups ymm0, ymmword [rax]
vmovups ymmword [rsp + 0x68], ymm0
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x40]
vzeroupper
call fcn.14007a310
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140067dcd
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067dc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140067dff
call fcn.14007eb1c
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140067e0b
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067e06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067e06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eb1c
vmovdqu xmm0, xmmword [0x1400916f0]
vmovdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], r13b
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rax, qword [rbp - 0x40]
mov rcx, qword [0x1401569a0]
vxorps xmm8, xmm8, xmm8
test rax, rax
jne 0x140067e41
vxorps xmm0, xmm0, xmm0
jmp 0x140067e99
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
vmovss xmm0, dword [0x140091658]
vmovss dword [rsp + 0x20], xmm0
vmovss xmm3, dword [0x140091614]
vmovss xmm2, dword [rcx + 0x3c20]
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx + 0x3c18]
call fcn.140036630
vmovss xmm0, dword [rsp + 0x50]
vaddss xmm1, xmm0, dword [0x140091424]
vcvttss2si eax, xmm1
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vaddss xmm6, xmm0, dword [0x14009153c]
vmovss dword [rsp + 0x50], xmm6
vmovss xmm7, dword [0x140091518]
vmovss dword [rsp + 0x54], xmm7
vmovss dword [rbp - 0x58], xmm7
vmovss xmm0, dword [0x14009150c]
vmovss dword [rbp - 0x54], xmm0
lea rcx, [0x140155a28]
call fcn.14000bf80
mov r9d, eax
mov dword [rsp + 0x28], r13d
vmovss dword [rsp + 0x20], xmm8
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x58]
mov rcx, r15
call fcn.14002f770
vmovss dword [rbp - 0x58], xmm6
vmovss xmm0, dword [0x140091558]
vmovss dword [rbp - 0x54], xmm0
vmovss dword [rsp + 0x50], xmm7
vmovss dword [rsp + 0x54], xmm7
mov dword [rsp + 0x28], r13d
vmovss dword [rsp + 0x20], xmm8
mov r9d, 0xc8282828
lea r8, [rbp - 0x58]
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.14002f770
lea r8, [rbp - 0x40]
mov r9, qword [rbp - 0x40]
mov r10, qword [rbp - 0x28]
cmp r10, 0x10
cmovae r8, r9
vmovups xmm0, xmmword [0x140091950]
vmovups xmmword [rbp - 0x58], xmm0
lea rcx, [rbp - 0x58]
call fcn.14000bf80
mov ecx, eax
vmovss xmm0, dword [0x14009152c]
vmovss dword [rbp - 0x58], xmm0
vmovss xmm1, dword [0x140091528]
vmovss dword [rbp - 0x54], xmm1
test eax, 0xff000000
je 0x140067fe4
nop
inc rbx
cmp byte [r8 + rbx], r13b
jne 0x140067f80
add rbx, r8
cmp r8, rbx
je 0x140067fe4
mov rax, qword [r15 + 0x38]
vmovups xmm0, xmmword [r15 + 0x88]
vmovups xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x48], r13b
vmovss dword [rsp + 0x40], xmm8
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r8
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], ecx
lea r9, [rbp - 0x58]
vmovss xmm2, dword [rax + 0x10]
mov rdx, r15
mov rcx, qword [rax + 8]
call fcn.140036a30
mov r10, qword [rbp - 0x28]
mov r9, qword [rbp - 0x40]
cmp r10, 0x10
jb 0x14006801f
lea rdx, [r10 + 1]
mov rax, r9
cmp rdx, 0x1000
jb 0x140068016
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068016
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.14007eb1c
nop
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14007e870
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
vmovaps xmm6, xmmword [r11 - 0x10]
vmovaps xmm7, xmmword [r11 - 0x20]
vmovaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret