Function at 0x1400048b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140071030]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rcx
xor r13d, r13d
mov r15, qword [rcx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 8
jb 0x140004d37
mov r12, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140004913
mov r12, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r13
mov qword [rbp + 0x1f], r13
lea r14, [r15 + 8]
mov ebx, 0xf
lea rdi, [rbp + 7]
lea eax, [rbx + 7]
lea rdx, [rbx - 0x10]
cmp r14, rbx
jbe 0x1400049a9
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x14000494c
mov rbx, rcx
jmp 0x140004953
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
cmovb rcx, rdx
cmp rcx, 0x1000
jb 0x140004993
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004d3d
mov rcx, rax
call fcn.140059fa0
test rax, rax
je 0x140004cb4
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400049a5
test rcx, rcx
je 0x1400049a2
call fcn.140059fa0
mov rdi, rax
jmp 0x1400049a5
mov rdi, r13
mov qword [rbp + 7], rdi
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], rbx
mov rax, qword [str.sc_stop]
mov qword [rdi], rax
lea rcx, [rdi + 8]
mov r8, r15
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], r13b
mov r15, qword [rsi + 0x10]
movabs r12, 0x7fffffffffffffff
mov rax, r12
sub rax, r15
cmp rax, 9
jb 0x140004d43
cmp qword [rsi + 0x18], 0x10
jb 0x1400049f6
mov rsi, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r13
mov qword [rbp - 1], r13
lea r14, [r15 + 9]
mov ebx, 0xf
lea rdi, [rbp - 0x19]
cmp r14, rbx
jbe 0x140004a92
mov rbx, r14
or rbx, 0xf
cmp rbx, r12
jbe 0x140004a28
mov rbx, r12
jmp 0x140004a35
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x140004a7c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004d31
mov rcx, rax
call fcn.140059fa0
test rax, rax
je 0x140004c66
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140004a8e
test rcx, rcx
je 0x140004a8b
call fcn.140059fa0
mov rdi, rax
jmp 0x140004a8e
mov rdi, r13
mov qword [rbp - 0x19], rdi
mov qword [rbp - 9], r14
mov qword [rbp - 1], rbx
movsd xmm0, qword [str.sc_start]
movsd qword [rdi], xmm0
movzx eax, byte [0x14005e1a8]
mov byte [rdi + 8], al
lea rcx, [rdi + 9]
mov r8, r15
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
mov ecx, 8
call fcn.140059fa0
lea rcx, [rbp + 7]
mov qword [rax], rcx
mov qword [rbp - 0x49], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140007140]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140004d21
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140004b26
imul rax, rax, 0x64
jmp 0x140004b41
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
movabs rcx, 0x7fffffff88ca6bff
cmp rax, rcx
jge 0x140004b5c
add rax, 0x77359400
mov qword [rbp - 0x49], rax
jmp 0x140004b60
mov qword [rbp - 0x49], r12
lea rcx, [rbp - 0x49]
call fcn.140006ff0
mov ecx, 8
call fcn.140059fa0
lea rcx, [rbp - 0x19]
mov qword [rax], rcx
mov qword [rbp - 0x49], rax
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140007140]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x29], rax
test rax, rax
je 0x140004d11
cmp dword [rbp - 0x31], 0
je 0x140004d05
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x31], eax
je 0x140004cf9
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x49], xmm0
xor edx, edx
lea rcx, [rbp - 0x49]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140004ced
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x39], xmm0
cmp dword [rbp - 0x21], eax
je 0x140004d05
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x21], eax
je 0x140004cf9
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x49], xmm0
xor edx, edx
lea rcx, [rbp - 0x49]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140004ced
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x29], xmm0
cmp dword [rbp - 0x31], eax
je 0x140004c34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140004c72
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059fe4
mov qword [rbp - 9], r13
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140004cc0
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004cbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004cbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059fe4
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140059f80
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
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
mov dword [rbp - 0x21], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x31], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140001190
nop
call fcn.140001230
int3
call fcn.140001190
nop
call fcn.140001230
int3