Function at 0x140003d50
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, [0x140008ad4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rbp - 0x19]
call fcn.140002af0
mov rbx, rax
lea rax, [0x14000ca10]
cmp rax, rbx
je 0x140003e36
mov r8, qword [0x14000ca10]
test r8, r8
je 0x140003e0b
mov rcx, qword [0x14000ca20]
sub rcx, r8
sar rcx, 3
lea rdx, [rcx*8]
cmp rdx, 0x1000
jb 0x140003df1
add rdx, 0x27
mov rcx, qword [r8 - 8]
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x140003e73
mov r8, rcx
mov rcx, r8
call fcn.140006cbc
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 0x140003e7f
mov rax, qword [rbp - 9]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006cbc
mov rdi, qword [0x14000ca10]
mov rsi, qword [0x14000ca18]
cmp rdi, rsi
jne 0x140003f5c
mov ecx, 8
call fcn.140006a40
lea rcx, [0x140003a40]
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, [0x1400068d0]
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 0x140003fe7
cmp dword [rbp - 0x11], 0
jne 0x140003eef
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 0x140003f06
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 0x140003f2b
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, edx
call qword [sym.imp.KERNEL32.dll_Beep]
nop
cmp dword [rbp - 0x11], 0
je 0x140003f4e
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 0x14000401c
lea r15, [0x140003ca0]
nop dword [rax + rax]
mov rbx, qword [rdi]
mov ecx, 0x10
call fcn.140006a40
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, [0x140006900]
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 0x1400040e9
mov rdx, qword [rbp + 0xf]
cmp rdx, qword [rbp + 0x17]
je 0x140003ff7
xorps xmm0, xmm0
movaps xmm1, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
movups xmmword [rdx], xmm1
add qword [rbp + 0xf], 0x10
jmp 0x140004005
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.140006470
nop
cmp dword [rbp - 0x11], 0
jne 0x1400040e2
add rdi, 8
cmp rdi, rsi
jne 0x140003f80
mov rbx, qword [rbp + 7]
mov rdi, qword [rbp + 0xf]
cmp rbx, rdi
je 0x140004073
nop dword [rax]
cmp dword [rbx + 8], 0
je 0x140004111
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x140004105
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 0x1400040f9
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x140004030
mov edx, 0x3e7
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140004129
mov rax, rcx
mov rdx, qword [rbp + 0xf]
cmp rcx, rdx
je 0x1400040af
nop word [rax + rax]
cmp dword [rax + 8], 0
jne 0x14000411d
add rax, 0x10
cmp rax, rdx
jne 0x1400040a0
mov rdx, qword [rbp + 0x17]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004124
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004124
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.140006cbc
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140006a20
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