Function at 0x14006c750
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 - 0x498]
sub rsp, 0x570
vmovaps xmmword [rax - 0x38], xmm6
vmovaps xmmword [rax - 0x48], xmm7
vmovaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1400a1028]
xor rax, rsp
mov qword [rbp + 0x430], rax
cmp byte [0x14016c628], 0
je 0x14006d020
mov rax, qword [0x14016d700]
mov rcx, qword [rax + 0x48d0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rcx]
call fcn.140010650
mov r15, rax
mov eax, 8
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov ecx, dword [rax + rdx]
cmp dword [0x14016e614], ecx
jle 0x14006c81c
lea rcx, [0x14016e614]
call fcn.140080d40
cmp dword [0x14016e614], 0xffffffff
jne 0x14006c81c
mov rdx, qword [0x14016d700]
vmovss xmm0, dword [rdx + 0xe0]
vmovss dword [0x14016e61c], xmm0
lea rcx, [0x14016e614]
call fcn.140080cd4
mov rax, qword [0x14016d700]
vmovss xmm0, dword [rax + 0xe0]
vmovss dword [0x14016e61c], xmm0
mov dword [rbp - 8], pe_nt_image_headers64
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x230]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x14006d020
xor r13d, r13d
mov qword [rbp], r13
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x230]
mov r8d, pe_nt_image_headers64
lea rdx, [rbp + 0x130]
lea rcx, [rbp]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
test eax, eax
jne 0x14006d020
cmp byte [0x14016c628], r13b
je 0x14006d020
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x28], xmm0
vmovdqu xmm1, xmmword [0x140093550]
vmovdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], r13b
lea esi, [rdi + 4]
lea r12, [0x140092448]
cmp byte [0x14016c619], r13b
je 0x14006c8fb
lea r8d, [r13 + 0xe]
lea rdx, str.Ferrarihook.cc
lea rcx, [rbp - 0x28]
call fcn.140009610
cmp byte [0x14016c619], r13b
je 0x14006c8fb
cmp byte [0x14016c604], r13b
je 0x14006c914
mov r8d, esi
mov rdx, r12
lea rcx, [rbp - 0x28]
call fcn.140009610
cmp byte [0x14016c604], r13b
je 0x14006c914
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x28]
call fcn.1400094d0
cmp byte [0x14016c68d], r13b
je 0x14006cb08
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 - 0x38], rdx
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x100]
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.14007bee0
lea rax, [rbp + 0x100]
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 0x14006c994
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.14007c5c0
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 + 0x88]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14006ca0e
mov rax, qword [rbp + 0x58]
mov rbx, qword [rax]
test rbx, rbx
je 0x14006ca0e
mov rax, qword [rbp + 0x38]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x80]
cmovb rbx, qword [rbp + 0x80]
sub rbx, r9
jmp 0x14006ca33
test cl, 4
jne 0x14006ca65
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax]
test rcx, rcx
je 0x14006ca65
mov rax, qword [rbp + 0x30]
mov r9, qword [rax]
mov rax, qword [rbp + 0x68]
movsxd rbx, dword [rax]
sub rbx, r9
add rbx, rcx
mov rax, r9
test rax, rax
je 0x14006ca65
lea rcx, [rsp + 0x68]
cmp rbx, 0xf
ja 0x14006ca5d
mov qword [rsp + 0x78], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x68], r13b
jmp 0x14006ca65
mov rdx, rbx
call fcn.140007a90
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
lea rcx, [rbp - 0x28]
call fcn.140009610
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14006cac2
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cabd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cabd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080c5c
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 + 0xc], edx
lea rcx, [rbp + 0x18]
call fcn.14007be20
lea rcx, [rbp + 0x20]
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 + 0x98]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea r14, [0x14009244b]
cmp byte [0x14016c68c], r13b
je 0x14006cc7f
vcvttss2si edx, dword [0x14016e61c]
lea rcx, [rbp - 0x58]
call fcn.14007c3e0
mov r8, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
sub rax, r8
cmp rax, rsi
jb 0x14006cbb9
lea rax, [r8 + 3]
mov qword [rbp - 0x48], rax
lea rbx, [rbp - 0x58]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 0x58]
cmp r14, rbx
jbe 0x14006cb75
lea rax, [rbx + r8]
cmp r12, rax
ja 0x14006cb75
cmp rbx, r12
ja 0x14006cb6d
mov r14, r13
jmp 0x14006cb78
mov r14, rbx
sub r14, r12
jmp 0x14006cb78
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, [0x14009244b]
jmp 0x14006cbcf
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.14007f0d0
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 - 0x28]
vzeroupper
call fcn.14007bfc0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14006cc31
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cc2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cc63
call fcn.140080c5c
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14006cc6f
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cc6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006cc6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080c5c
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], r13b
cmp byte [0x14016c63a], r13b
je 0x14006ce1e
lea rax, str.Admin
lea rdx, str.Beta
cmp byte [0x14016d6dc], r13b
cmovne rdx, rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x78], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rbp - 0x68], xmm1
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r13b
jne 0x14006ccc0
lea rcx, [rbp - 0x78]
call fcn.1400065f0
mov r8, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
sub rax, r8
cmp rax, rsi
jb 0x14006cd57
lea rax, [r8 + 3]
mov qword [rbp - 0x68], rax
lea rbx, [rbp - 0x78]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 0x78]
cmp r14, rbx
jbe 0x14006cd1a
lea rax, [rbx + r8]
cmp r12, rax
ja 0x14006cd1a
cmp rbx, r12
ja 0x14006cd12
mov r14, r13
jmp 0x14006cd1d
mov r14, rbx
sub r14, r12
jmp 0x14006cd1d
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 0x14006cd6d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.14007f0d0
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 - 0x28]
vzeroupper
call fcn.14007bfc0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14006cdcf
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cdca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ce01
call fcn.140080c5c
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14006ce0d
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ce08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006ce08
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140080c5c
vmovdqu xmm0, xmmword [0x140093550]
vmovdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], r13b
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov rcx, qword [0x14016d700]
vxorps xmm8, xmm8, xmm8
test rax, rax
jne 0x14006ce43
vxorps xmm0, xmm0, xmm0
jmp 0x14006ce9b
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
vmovss xmm0, dword [0x1400934b0]
vmovss dword [rsp + 0x20], xmm0
vmovss xmm3, dword [0x14009346c]
vmovss xmm2, dword [rcx + 0x3c20]
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx + 0x3c18]
call fcn.140037570
vmovss xmm0, dword [rsp + 0x50]
vaddss xmm1, xmm0, dword [0x140093208]
vcvttss2si eax, xmm1
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vaddss xmm6, xmm0, dword [0x140093340]
vmovss dword [rsp + 0x50], xmm6
vmovss xmm7, dword [0x140093314]
vmovss dword [rsp + 0x54], xmm7
vmovss dword [rbp - 0x38], xmm7
vmovss xmm0, dword [0x140093304]
vmovss dword [rbp - 0x34], xmm0
lea rcx, [0x14016c7c0]
call fcn.14000c3c0
mov r9d, eax
mov dword [rsp + 0x28], r13d
vmovss dword [rsp + 0x20], xmm8
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x38]
mov rcx, r15
call fcn.1400307f0
vmovss dword [rbp - 0x38], xmm6
vmovss xmm0, dword [0x140093360]
vmovss dword [rbp - 0x34], 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 - 0x38]
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.1400307f0
lea r8, [rbp - 0x28]
mov r9, qword [rbp - 0x28]
mov r10, qword [rbp - 0x10]
cmp r10, 0x10
cmovae r8, r9
vmovups xmm0, xmmword [0x1400937e0]
vmovups xmmword [rbp - 0x38], xmm0
lea rcx, [rbp - 0x38]
call fcn.14000c3c0
mov ecx, eax
vmovss xmm0, dword [0x140093330]
vmovss dword [rbp - 0x38], xmm0
vmovss xmm1, dword [0x140093328]
vmovss dword [rbp - 0x34], xmm1
test eax, 0xff000000
je 0x14006cfe5
inc rdi
cmp byte [r8 + rdi], r13b
jne 0x14006cf81
add rdi, r8
cmp r8, rdi
je 0x14006cfe5
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 - 0x38]
vmovss xmm2, dword [rax + 0x10]
mov rdx, r15
mov rcx, qword [rax + 8]
call fcn.140037970
mov r10, qword [rbp - 0x10]
mov r9, qword [rbp - 0x28]
cmp r10, 0x10
jb 0x14006d020
lea rdx, [r10 + 1]
mov rax, r9
cmp rdx, 0x1000
jb 0x14006d017
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d017
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r9
call fcn.140080c5c
nop
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.1400809b0
lea r11, [rsp + 0x570]
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