Function at 0x140006160
Capabilities:
Create thread
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x14008b080]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor ebx, ebx
lea ecx, [rbx + 8]
call fcn.14006be90
lea rcx, [0x1400057f0]
mov qword [rax], rcx
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14000ade0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 9], rax
test rax, rax
je 0x140006445
cmp dword [rbp - 1], ebx
je 0x140006439
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x19]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140006439
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
lea ecx, [rbx + 8]
call fcn.14006be90
lea rcx, [0x140006010]
mov qword [rax], rcx
mov qword [rbp - 0x19], rax
lea rcx, [rbp + 0x2f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14000ade0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x27], rax
test rax, rax
je 0x14000642a
lea rdx, [0x1400037a0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp rax, 0xffffffffffffffff
jne 0x14000629b
lea rdx, str.Failed_to_get_console_handle_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400035d0
lea rdx, [0x1400037a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea ecx, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
mov ecx, 0x40
call fcn.14006be90
mov rcx, rax
mov qword [rbp + 7], rax
mov qword [rbp + 0x17], gethostname
mov qword [rbp + 0x1f], 0x3f
movups xmm0, xmmword [str._n_n__You_have_been_banned_from_Beatware.xyzs_Loader_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14007fdb0]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x14007fdc0]
movups xmmword [rax + 0x20], xmm0
mov eax, dword [0x14007fdd0]
mov dword [rcx + 0x30], eax
mov byte [rcx + 0x34], 0
mov r14, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x49]
call fcn.140003100
mov dword [rbp - 0x29], 5
lea rcx, [rbp - 0x49]
mov r15, qword [rbp - 0x31]
cmp r15, 0x10
setae r12b
mov rdi, qword [rbp - 0x49]
jb 0x140006342
mov rdx, rdi
mov rcx, rdi
mov rbx, rdi
jmp 0x140006349
mov rbx, rcx
lea rdx, [rbp - 0x49]
mov rsi, qword [rbp - 0x39]
add rsi, rdx
cmp rcx, rsi
je 0x14000638c
mov qword [rbp - 0x19], 5
nop dword [rax]
movzx edx, byte [rbx]
mov rcx, r14
call fcn.140009730
lea rdx, [0x140009900]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp - 0x19]
call fcn.140009920
inc rbx
cmp rbx, rsi
jne 0x140006360
test r12b, r12b
je 0x1400063c5
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400063bd
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400063bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14006becc
mov ecx, 0xfa0
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140006410
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000640a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000640a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006becc
nop
cmp dword [rbp + 0x2f], 0
je 0x14000641d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp - 1], 0
je 0x140006454
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp + 0x2f], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 1], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14006be70
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret