Function at 0x140003770
Capabilities:
Create thread
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r14d, r14d
lea rcx, [0x1400088d4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp - 0x19]
call fcn.140002a10
mov rbx, rax
lea rax, [0x14000ca10]
cmp rax, rbx
je 0x140003856
mov r8, qword [0x14000ca10]
test r8, r8
je 0x14000382b
mov rcx, qword [0x14000ca20]
sub rcx, r8
sar rcx, 3
lea rdx, [rcx*8]
cmp rdx, 0x1000
jb 0x140003811
add rdx, 0x27
mov rcx, qword [r8 - 8]
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x140003893
mov r8, rcx
mov rcx, r8
call fcn.14000642c
xorps xmm0, xmm0
movdqu xmmword [0x14000ca10], xmm0
mov qword [0x14000ca20], r14
mov rax, qword [rbx]
mov qword [0x14000ca10], rax
mov rax, qword [rbx + 8]
mov qword [0x14000ca18], rax
mov rax, qword [rbx + 0x10]
mov qword [0x14000ca20], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x14000389f
mov rax, qword [rbp - 9]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000389a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000389a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000642c
mov rdi, qword [0x14000ca10]
mov rsi, qword [0x14000ca18]
cmp rdi, rsi
jne 0x14000397f
mov ecx, 8
call fcn.1400061b0
lea rcx, [0x140003460]
mov qword [rax], rcx
mov qword [rbp + 0x27], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1400060c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x19], rax
test rax, rax
je 0x140003a07
cmp dword [rbp - 0x11], 0
jne 0x14000390f
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x11], eax
jne 0x140003926
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp + 0x27], xmm0
xor edx, edx
lea rcx, [rbp + 0x27]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14000394b
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x19], xmm0
mov edx, 0x3e7
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Beep]
nop
cmp dword [rbp - 0x11], 0
je 0x140003971
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rsi, qword [0x14000ca18]
mov rdi, qword [0x14000ca10]
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
mov qword [rbp + 0x17], r14
cmp rdi, rsi
je 0x140003a3c
lea r15, [0x1400036c0]
nop dword [rax + rax]
mov rbx, qword [rdi]
mov ecx, 0x10
call fcn.1400061b0
mov qword [rax], rbx
mov qword [rax + 8], r15
mov qword [rbp + 0x27], rax
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x1400060f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x19], rax
test rax, rax
je 0x140003b09
mov rdx, qword [rbp + 0xf]
cmp rdx, qword [rbp + 0x17]
je 0x140003a17
xorps xmm0, xmm0
movaps xmm1, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
movups xmmword [rdx], xmm1
add qword [rbp + 0xf], 0x10
jmp 0x140003a25
mov dword [rbp - 0x11], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea r8, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.140005ce0
nop
cmp dword [rbp - 0x11], 0
jne 0x140003b02
add rdi, 8
cmp rdi, rsi
jne 0x1400039a0
mov rbx, qword [rbp + 7]
mov rdi, qword [rbp + 0xf]
cmp rbx, rdi
je 0x140003a93
nop dword [rax]
cmp dword [rbx + 8], 0
je 0x140003b31
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x140003b25
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x19], xmm0
xor edx, edx
lea rcx, [rbp - 0x19]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140003b19
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x140003a50
mov edx, 0x3e7
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Beep]
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140003b49
mov rax, rcx
mov rdx, qword [rbp + 0xf]
cmp rcx, rdx
je 0x140003acf
nop dword [rax]
cmp dword [rax + 8], 0
jne 0x140003b3d
add rax, 0x10
cmp rax, rdx
jne 0x140003ac0
mov rdx, qword [rbp + 0x17]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp - 0x11], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
call fcn.14000642c
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140006190
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret