Function at 0x1400683e0
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 - 0x4d8]
sub rsp, 0x5b0
vmovaps xmmword [rax - 0x38], xmm6
vmovaps xmmword [rax - 0x48], xmm7
vmovaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14009f040]
xor rax, rsp
mov qword [rbp + 0x470], rax
cmp byte [0x14016a518], 0
je 0x140068d84
mov rax, qword [0x14016b5b0]
mov rcx, qword [rax + 0x48d0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rcx]
call fcn.14000ffe0
mov r15, rax
mov eax, 8
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x14016c3d8], ecx
jle 0x1400684ac
lea rcx, [0x14016c3d8]
call fcn.14007f620
cmp dword [0x14016c3d8], 0xffffffff
jne 0x1400684ac
mov rdx, qword [0x14016b5b0]
vmovss xmm0, dword [rdx + 0xe0]
vmovss dword [0x14016c3e0], xmm0
lea rcx, [0x14016c3d8]
call fcn.14007f5b4
mov rax, qword [0x14016b5b0]
vmovss xmm0, dword [rax + 0xe0]
vmovss dword [0x14016c3e0], xmm0
mov dword [rbp + 0x18], 0x100
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x270]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x140068d84
xor r13d, r13d
mov qword [rbp + 0x40], r13
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x270]
mov r8d, 0x100
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
test eax, eax
jne 0x140068d84
cmp byte [0x14016a518], r13b
je 0x140068d84
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x20], xmm0
vmovdqu xmm1, xmmword [0x140091190]
vmovdqu xmmword [rbp + 0x30], xmm1
mov byte [rbp + 0x20], r13b
mov eax, dword [0x14016a500]
test al, 1
je 0x140068567
lea r8d, [r13 + 0xc]
lea rdx, str.Zlp_External
lea rcx, [rbp + 0x20]
call fcn.140008e40
mov eax, dword [0x14016a500]
lea r12, [0x140090180]
test al, 2
je 0x140068673
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x38], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x28], xmm1
lea rax, [rbp + 0x170]
mov r8, rdi
inc r8
cmp byte [rax + r8], r13b
jne 0x140068592
lea rdx, [rbp + 0x170]
lea rcx, [rbp - 0x38]
call fcn.140006420
lea rdx, [0x140087fa6]
cmp byte [rbp + 0x170], r13b
cmovne rdx, r12
lea r8, [rbp - 0x38]
lea rcx, [rbp - 0x18]
call fcn.14007af20
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.14007ab00
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x14006860d
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068608
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140068650
call fcn.14007f53c
vmovdqu xmm0, xmmword [0x140091190]
vmovdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], r13b
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14006865c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068657
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068657
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f53c
vmovdqu xmm0, xmmword [0x140091190]
vmovdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], r13b
mov eax, dword [0x14016a500]
test al, 4
je 0x140068873
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 + 8], rdx
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x140]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x50]
call fcn.14007aa50
lea rax, [rbp + 0x140]
mov qword [rsp + 0x50], rax
lea rax, str.___H:_M:_S
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
nop
inc rax
cmp byte [rax], r13b
jne 0x1400686f0
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x50]
call fcn.14007b230
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 + 0xc8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14006876d
mov rax, qword [rbp + 0x98]
mov rbx, qword [rax]
test rbx, rbx
je 0x14006876d
mov rax, qword [rbp + 0x78]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0xc0]
cmovb rbx, qword [rbp + 0xc0]
sub rbx, r9
jmp 0x140068798
test cl, 4
jne 0x1400687ca
mov rax, qword [rbp + 0x90]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400687ca
mov rax, qword [rbp + 0x70]
mov r9, qword [rax]
mov rax, qword [rbp + 0xa8]
movsxd rbx, dword [rax]
sub rbx, r9
add rbx, rcx
mov rax, r9
test rax, rax
je 0x1400687ca
lea rcx, [rsp + 0x68]
cmp rbx, 0xf
ja 0x1400687c2
mov qword [rsp + 0x78], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x68], r13b
jmp 0x1400687ca
mov rdx, rbx
call fcn.1400078f0
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
lea rcx, [rbp + 0x20]
call fcn.140008e40
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140068827
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068822
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068822
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f53c
mov rax, qword [rbp + 0x50]
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 + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x4c], edx
lea rcx, [rbp + 0x58]
call fcn.14007a990
lea rcx, [rbp + 0x60]
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 + 0xd8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov eax, dword [0x14016a500]
lea r14, [0x140090183]
mov esi, 3
test al, 8
je 0x1400689f0
vcvttss2si edx, dword [0x14016c3e0]
lea rcx, [rbp - 0x58]
call fcn.14007b050
mov r8, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
sub rax, r8
cmp rax, rsi
jb 0x140068924
lea rax, [r8 + 3]
mov qword [rbp - 0x48], rax
lea rbx, [rbp - 0x58]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x58]
cmp r14, rbx
jbe 0x1400688e0
lea rax, [rbx + r8]
cmp r12, rax
ja 0x1400688e0
cmp rbx, r12
ja 0x1400688d8
mov r14, r13
jmp 0x1400688e3
mov r14, rbx
sub r14, r12
jmp 0x1400688e3
mov r14, rsi
inc r8
lea rcx, [rbx + 3]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8, rsi
sub r8, r14
lea rdx, [r12 + 3]
add rdx, r14
lea rcx, [rbx + r14]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x58]
lea r14, [0x140090183]
jmp 0x14006893a
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.14007dd10
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 + 0x20]
vzeroupper
call fcn.14007ab00
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14006899c
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068997
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400689ce
call fcn.14007f53c
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x1400689da
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400689d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400689d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f53c
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], r13b
mov eax, dword [0x14016a500]
test al, 0x10
je 0x140068b82
lea rax, str.Admin
lea rdx, str.Beta
cmp byte [0x14016b58c], r13b
cmovne rdx, rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
mov r8, rdi
inc r8
cmp byte [rdx + r8], r13b
jne 0x140068a25
lea rcx, [rbp - 0x78]
call fcn.140006420
mov r8, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
sub rax, r8
cmp rax, rsi
jb 0x140068abc
lea rax, [r8 + 3]
mov qword [rbp - 0x68], rax
lea rbx, [rbp - 0x78]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x78]
cmp r14, rbx
jbe 0x140068a7f
lea rax, [rbx + r8]
cmp r12, rax
ja 0x140068a7f
cmp rbx, r12
ja 0x140068a77
mov r14, r13
jmp 0x140068a82
mov r14, rbx
sub r14, r12
jmp 0x140068a82
mov r14, rsi
inc r8
lea rcx, [rbx + 3]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub rsi, r14
lea rdx, [r12 + 3]
add rdx, r14
lea rcx, [rbx + r14]
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x78]
jmp 0x140068ad2
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.14007dd10
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 + 0x20]
vzeroupper
call fcn.14007ab00
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140068b34
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068b2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140068b66
call fcn.14007f53c
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140068b72
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068b6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068b6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f53c
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], r13b
lea rax, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rax, qword [rbp + 0x20]
mov rcx, qword [0x14016b5b0]
vxorps xmm8, xmm8, xmm8
test rax, rax
jne 0x140068ba7
vxorps xmm0, xmm0, xmm0
jmp 0x140068bff
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
vmovss xmm0, dword [0x1400910e0]
vmovss dword [rsp + 0x20], xmm0
vmovss xmm3, dword [0x14009109c]
vmovss xmm2, dword [rcx + 0x3c20]
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx + 0x3c18]
call fcn.140036b80
vmovss xmm0, dword [rsp + 0x50]
vaddss xmm1, xmm0, dword [0x140090dc4]
vcvttss2si eax, xmm1
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vaddss xmm6, xmm0, dword [0x140090f00]
vmovss dword [rsp + 0x50], xmm6
vmovss xmm7, dword [0x140090ed4]
vmovss dword [rsp + 0x54], xmm7
vmovss dword [rbp + 8], xmm7
vmovss xmm0, dword [0x140090ec4]
vmovss dword [rbp + 0xc], xmm0
lea rcx, [0x14016a6b0]
call fcn.14000be60
mov r9d, eax
mov dword [rsp + 0x28], r13d
vmovss dword [rsp + 0x20], xmm8
lea r8, [rsp + 0x50]
lea rdx, [rbp + 8]
mov rcx, r15
call fcn.14002fde0
vmovss dword [rbp + 8], xmm6
vmovss xmm0, dword [0x140090f28]
vmovss dword [rbp + 0xc], 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 + 8]
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.14002fde0
lea r8, [rbp + 0x20]
mov r9, qword [rbp + 0x20]
mov r10, qword [rbp + 0x38]
cmp r10, 0xf
cmova r8, r9
vmovups xmm0, xmmword [0x140091430]
vmovups xmmword [rbp + 8], xmm0
lea rcx, [rbp + 8]
call fcn.14000be60
mov ecx, eax
vmovss xmm0, dword [0x140090ef4]
vmovss dword [rbp + 8], xmm0
vmovss xmm1, dword [0x140090eec]
vmovss dword [rbp + 0xc], xmm1
test eax, 0xff000000
je 0x140068d49
inc rdi
cmp byte [r8 + rdi], r13b
jne 0x140068ce5
add rdi, r8
cmp r8, rdi
je 0x140068d49
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], rdi
mov qword [rsp + 0x30], r8
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], ecx
lea r9, [rbp + 8]
vmovss xmm2, dword [rax + 0x10]
mov rdx, r15
mov rcx, qword [rax + 8]
call fcn.140036f70
mov r10, qword [rbp + 0x38]
mov r9, qword [rbp + 0x20]
cmp r10, 0xf
jbe 0x140068d84
lea rdx, [r10 + 1]
mov rax, r9
cmp rdx, 0x1000
jb 0x140068d7b
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068d7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.14007f53c
nop
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.14007f2a0
lea r11, [rsp + 0x5b0]
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