Function at 0x1400036d0
Capabilities:
Execute command
Hide graphical window
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14000a010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
mov r14, rdx
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x44], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rdi]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetForegroundWindow]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov edx, 3
mov rbx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.setting_window
call fcn.140002e60
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x1400065f4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x38]
sub eax, dword [rsp + 0x30]
mov ebx, dword [rsp + 0x3c]
sub ebx, dword [rsp + 0x34]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [str.333333__]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_round]
cvttsd2si eax, xmm0
mov dword [rdi + 0x40], eax
mov eax, 0x2e8ba2e9
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movd xmm0, edx
cvtdq2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_round
cvttsd2si eax, xmm0
movsxd rcx, eax
mov dword [rdi + 0x44], eax
mov eax, 8
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400042e0
mov qword [rdi + 0x48], rax
xor esi, esi
mov eax, dword [rdi + 0x44]
test eax, eax
jle 0x14000383f
xor ebx, ebx
nop dword [rax + rax]
movsxd rcx, dword [rdi + 0x40]
call fcn.1400042e0
mov rcx, qword [rdi + 0x48]
lea rbx, [rbx + 8]
inc esi
mov qword [rbx + rcx - 8], rax
mov eax, dword [rdi + 0x44]
cmp esi, eax
jl 0x140003820
xor r10d, r10d
test eax, eax
jle 0x140003886
xor r9d, r9d
nop dword [rax]
xor edx, edx
xor r8d, r8d
cmp dword [rdi + 0x40], edx
jle 0x140003879
nop word [rax + rax]
mov rax, qword [rdi + 0x48]
lea r8, [r8 + 1]
inc edx
mov rcx, qword [rax + r9]
mov byte [r8 + rcx - 1], 0x20
cmp edx, dword [rdi + 0x40]
jl 0x140003860
inc r10d
add r9, 8
cmp r10d, dword [rdi + 0x44]
jl 0x140003850
lea rcx, [0x1400065f4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov qword [rdi + 8], r14
mov rcx, qword [r14]
mov qword [rdi + 0x50], rcx
mov rax, qword [r14 + 0x20]
mov qword [rdi + 0x58], rax
mov eax, dword [rcx]
mov rdx, qword [rdi + 0x18]
mov dword [rsp + 0x20], eax
mov eax, dword [rcx + 4]
lea rcx, [rdi + 0x10]
mov dword [rsp + 0x24], eax
movsd xmm0, qword [rsp + 0x20]
mov byte [rsp + 0x28], 0x50
mov eax, dword [rsp + 0x28]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
cmp rdx, qword [rcx + 0x10]
je 0x1400038e8
movsd qword [rdx], xmm0
mov dword [rdx + 8], eax
add qword [rcx + 8], 0xc
jmp 0x1400038f2
lea r8, [rsp + 0x30]
call fcn.140003fa0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140004250
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret