Function at 0x140022030
Capabilities:
Manipulate console buffer

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1e8
movaps xmmword [rsp + 0x1d0], xmm6
mov rax, qword [0x14013aa80]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
lea rbx, [rsp + 0x68]
mov rcx, rbx
call fcn.14006f1e0
mov byte [rsp + 0x3f], 0
mov ecx, 0x120
call fcn.1400d1e28
mov rdi, rax
mov rsi, rax
lea rax, vtable.std::_Associated_state_int_.0
mov qword [rdi], rax
mov dword [rdi + 8], 1
lea rcx, [rdi + 0x10]
xorps xmm6, xmm6
movups xmmword [rdi + 0xc], xmm6
mov dword [rdi + 0x1c], 0
call sub.MSVCP140.dll_void___cdecl___ExceptionPtrCreate_void____ptr64_
lea rcx, [rdi + 0x20]
mov dword [rdi + 0x20], 0
movups xmmword [rdi + 0x28], xmm6
movups xmmword [rdi + 0x38], xmm6
movups xmmword [rdi + 0x48], xmm6
movups xmmword [rdi + 0x58], xmm6
mov qword [rdi + 0x68], 0
mov edx, 2
call sub.MSVCP140.dll__Mtx_init_in_situ
lea rcx, [rdi + 0x70]
call sub.MSVCP140.dll__Cnd_init_in_situ
mov byte [rdi + 0xb8], 0
mov dword [rdi + 0xbc], 0
mov dword [rdi + 0xbf], 0
mov qword [rdi + 0xc8], 0
lea rax, [rdi + 0xd0]
lea rcx, vtable.std::_Func_impl_no_alloc_class_std::_Fake_no_copy_callable_adapter_class__void___cdecl_ui::run_void_::_1::_lambda_10____void___.0
mov qword [rdi + 0xd0], rcx
mov qword [rdi + 0xd8], rbx
lea rcx, [rsp + 0x3f]
mov qword [rdi + 0xe0], rcx
mov qword [rdi + 0x108], rax
lea rax, vtable.std::_Task_async_state_void_.0
mov qword [rdi], rax
movups xmmword [rdi + 0x110], xmm6
lea rcx, [0x14013b878]
lea rdx, [rsp + 0x168]
call fcn.1400066c0
mov rax, qword [0x14013b880]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140022171
lock inc dword [rcx + 8]
mov rcx, qword [rax + 8]
jmp 0x140022173
xor ecx, ecx
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], rcx
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], 0
lea rcx, [rsp + 0x188]
call sub.MSVCP140.dll_private:_void___cdecl_Concurrency::task_continuation_context::constructor_void____ptr64
mov byte [rsp + 0x198], 0
movups xmmword [rsp + 0x1a0], xmm6
movups xmmword [rsp + 0x1b0], xmm6
mov word [rsp + 0x1c0], 0
lea r14, [rsp + 0x50]
lea r8, [rsp + 0x168]
mov rcx, r14
mov rdx, rsi
call fcn.1400298c0
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x50], xmm6
mov r12, qword [rsi + 0x118]
movups xmmword [rsi + 0x110], xmm0
test r12, r12
je 0x140022221
lock dec dword [r12 + 8]
jne 0x140022221
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
lock dec dword [r12 + 0xc]
jne 0x140022221
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WS2_32.dll_htonl]
add rdi, 8
mov r12, qword [rsp + 0x58]
test r12, r12
je 0x140022252
lock dec dword [r12 + 8]
jne 0x140022252
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
lock dec dword [r12 + 0xc]
jne 0x140022252
mov rax, qword [r12]
mov rcx, r12
call qword [rax + reloc.WS2_32.dll_htonl]
mov byte [rsi + 0xc2], 1
lock inc dword [rsi + 8]
lock dec dword [rdi]
jne 0x140022285
mov rcx, qword [rsi + 0xc8]
test rcx, rcx
je 0x140022278
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax]
jmp 0x140022285
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 1
call qword [rax]
mov qword [rsp + 0x30], rsi
cmp byte [rsp + 0x3f], 0
je 0x1400222d7
mov byte [rsp + 0x3f], 1
mov rsi, qword [rsp + 0x30]
cmp byte [rsi + 0xb8], 0
jne 0x1400224bc
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
lock dec dword [rdi]
jne 0x140022486
mov rcx, qword [rsi + 0xc8]
test rcx, rcx
je 0x140022479
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax]
jmp 0x140022486
mov r12, qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov rbx, qword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
mov r15, qword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
mov rsi, qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rbp, [0x1400224c8]
xorps xmm6, xmm6
jmp 0x14002231b
lea rcx, [rsp + 0x68]
call fcn.140021600
nop dword [rax]
cmp byte [rsp + 0x3f], 0
jne case.0x1400223a0.7
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r13, rax
mov rcx, rax
lea rdx, [rsp + 0x168]
call r12
movsx eax, word [rsp + 0x168]
movsx r8d, word [rsp + 0x16a]
imul r8d, eax
mov qword [rsp + 0x20], r14
mov rcx, r13
mov dl, 0x20
xor r9d, r9d
call rbx
movsx eax, word [rsp + 0x168]
movsx r8d, word [rsp + 0x16a]
imul r8d, eax
mov qword [rsp + 0x20], r14
mov rcx, r13
mov dx, 7
xor r9d, r9d
call r15
mov rcx, r13
xor edx, edx
call rsi
mov eax, dword [0x14013b8a8]
cmp eax, 7
ja case.0x1400223a0.1
movsxd rax, dword [rbp + rax*4]
add rax, rbp
jmp rax
lea rax, vtable.std::_Func_impl_no_alloc_class__void___cdecl_ui::connecting_class_ftxui::ScreenInteractive____ptr64_::_1::_lambda_0___class_std::shared_ptr_class_ftxui::Node____.0
mov qword [rsp + 0x168], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x170], rax
lea rdx, [rsp + 0x168]
mov qword [rsp + 0x1a0], rdx
mov rcx, r14
call fcn.14006e610
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14002241d
lock inc dword [rax + 8]
mov rax, qword [rsp + 0x58]
jmp 0x14002241f
lea rcx, [rsp + 0x68]
call fcn.14001f5f0
jmp case.0x1400223a0.1
lea rcx, [rsp + 0x68]
call fcn.14001ff20
jmp case.0x1400223a0.1
lea rcx, [rsp + 0x68]
call fcn.1400201f0
jmp case.0x1400223a0.1
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x40]
call fcn.14006f5c0
mov r13, qword [rsp + 0x58]
test r13, r13
je case.0x1400223a0.1
lock dec dword [r13 + 8]
jne case.0x1400223a0.1
mov rax, qword [r13]
mov rcx, r13
call qword [rax]
lock dec dword [r13 + 0xc]
jne case.0x1400223a0.1
mov rax, qword [r13]
mov rcx, r13
call qword [rax + reloc.WS2_32.dll_htonl]
jmp case.0x1400223a0.1
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 1
call qword [rax]
lea rcx, [rsp + 0x68]
call fcn.1400224f0
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.1400d2000
movaps xmm6, xmmword [rsp + 0x1d0]
add rsp, 0x1e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
call fcn.140004e30
int3