Function at 0x18013e720
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x1d8
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
xor edi, edi
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov r13d, edi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
movdqu xmmword [rbp - 0x80], xmm0
mov r12d, edi
mov qword [rbp - 0x70], rdi
movdqu xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rdi
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rdi
lea rcx, [rbp + 0x38]
call fcn.18009f820
mov r8d, 1
movzx edx, r8b
lea rcx, [rbp - 0x50]
call fcn.180136ef0
nop
mov r10, qword [rbp + 0x120]
mov rcx, qword [r10]
mov rax, qword [r10 + 8]
cmp rcx, rax
je 0x18013f436
mov rdx, qword [rbp + 0x140]
mov r11d, dword [rdx]
mov dword [rsp + 0x40], r11d
movabs rsi, 0xd37a6f4de9bd37a7
test r11d, r11d
jle 0x18013ea57
mov r10d, dword [rdx + 4]
mov dword [rsp + 0x38], r10d
test r10d, r10d
jle 0x18013ea50
mov r9d, dword [rbp + 0x148]
test r9d, r9d
jle 0x18013ea50
mov r8d, edi
mov dword [rsp + 0x50], edi
sub rax, rcx
sar rax, 2
test rax, rax
je 0x18013ec77
mov r15d, edi
movss xmm8, dword [rbp + 0x3c]
movss xmm9, dword [rbp + 0x38]
movss xmm10, dword [0x18031f5a8]
movss xmm7, dword [0x18031f858]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x50]
nop
xor r14d, r14d
mov rax, qword [rbp - 0x48]
sub rax, rdx
sar rax, 3
imul rax, rsi
test rax, rax
je 0x18013ea21
xor esi, esi
nop dword [rax]
cmp dword [rdx + rsi + 0x78], 1
jne 0x18013e9cd
mov ecx, dword [rdx + rsi + 0x1c]
test ecx, ecx
jle 0x18013e9cd
mov rax, qword [rbp + 0x120]
mov rax, qword [rax]
mov r8d, dword [r15 + rax]
test r8d, r8d
jle 0x18013e9cd
cmp ecx, r8d
jne 0x18013e9cd
mov eax, dword [rbp + 0x138]
cmp dword [rdx + rsi + 0x20], eax
jl 0x18013e9cd
movss xmm3, dword [rdx + rsi + 0x14]
movaps xmm1, xmm3
subss xmm1, xmm8
mulss xmm1, xmm1
movss xmm2, dword [rdx + rsi + 0x10]
movaps xmm0, xmm2
subss xmm0, xmm9
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm4, xmm4
cvtsi2ss xmm4, r14d
mulss xmm4, xmm10
xorps xmm6, xmm6
sqrtss xmm6, xmm0
addss xmm6, xmm4
movss dword [rsp + 0x78], xmm6
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x128]
mulss xmm0, xmm7
comiss xmm6, xmm0
jae 0x18013e9cd
xorps xmm0, xmm0
cvtsi2ss xmm0, r10d
mulss xmm0, xmm7
subss xmm3, xmm0
mulss xmm3, xmm3
xorps xmm0, xmm0
cvtsi2ss xmm0, r11d
mulss xmm0, xmm7
subss xmm2, xmm0
mulss xmm2, xmm2
addss xmm2, xmm3
xorps xmm1, xmm1
sqrtss xmm1, xmm2
addss xmm1, xmm4
xorps xmm0, xmm0
cvtsi2ss xmm0, r9d
mulss xmm0, xmm7
comiss xmm1, xmm0
jae 0x18013e9cd
cmp rdi, r13
je 0x18013e981
movss dword [rdi], xmm6
add rdi, 4
mov qword [rsp + 0x68], rdi
jmp 0x18013e99d
lea r8, [rsp + 0x78]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.18000c750
mov r13, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
cmp rbx, r12
je 0x18013e9b0
movss dword [rbx], xmm6
add rbx, 4
mov qword [rbp - 0x78], rbx
jmp 0x18013e9c9
lea r8, [rsp + 0x78]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.18000c750
mov r12, qword [rbp - 0x70]
mov rbx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x50]
inc r14d
add rsi, 0xb8
mov rcx, qword [rbp - 0x48]
sub rcx, rdx
sar rcx, 3
movabs rax, 0xd37a6f4de9bd37a7
imul rcx, rax
movsxd rax, r14d
cmp rax, rcx
mov r9d, dword [rbp + 0x148]
mov r10d, dword [rsp + 0x38]
mov r11d, dword [rsp + 0x40]
jb 0x18013e880
mov qword [rsp + 0x78], r13
mov r8d, dword [rsp + 0x50]
movabs rsi, 0xd37a6f4de9bd37a7
inc r8d
mov dword [rsp + 0x50], r8d
add r15, 4
mov rax, qword [rbp + 0x120]
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
sar rcx, 2
movsxd rax, r8d
cmp rax, rcx
jb 0x18013e860
jmp 0x18013ec80
mov r10, qword [rbp + 0x120]
mov r9d, edi
mov dword [rsp + 0x40], edi
sub rax, rcx
sar rax, 2
test rax, rax
je 0x18013ec77
mov r8, rdi
mov qword [rsp + 0x38], rdi
movss xmm7, dword [rbp + 0x3c]
movss xmm8, dword [rbp + 0x38]
movss xmm9, dword [0x18031f5a8]
movss xmm10, dword [0x18031f858]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x50]
xor r14d, r14d
mov rax, qword [rbp - 0x48]
sub rax, rdx
sar rax, 3
imul rax, rsi
test rax, rax
je 0x18013ec4d
xor r15d, r15d
xor esi, esi
movabs rcx, 0xd37a6f4de9bd37a7
nop word [rax + rax]
cmp dword [rdx + rsi + 0x78], 1
jne 0x18013ec0d
mov ecx, dword [rdx + rsi + 0x1c]
test ecx, ecx
jle 0x18013ec03
mov rax, qword [r10]
mov r8d, dword [r8 + rax]
test r8d, r8d
jle 0x18013ebfe
cmp ecx, r8d
jne 0x18013ebfe
mov eax, dword [rbp + 0x138]
cmp dword [rdx + rsi + 0x20], eax
jl 0x18013ebfe
movss xmm1, dword [rdx + rsi + 0x14]
subss xmm1, xmm7
mulss xmm1, xmm1
movss xmm0, dword [rdx + rsi + 0x10]
subss xmm0, xmm8
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm6, xmm6
sqrtss xmm6, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, r14d
mulss xmm0, xmm9
addss xmm6, xmm0
movss dword [rsp + 0x50], xmm6
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x128]
mulss xmm0, xmm10
comiss xmm6, xmm0
jae 0x18013ebfe
cmp rdi, r13
je 0x18013eb7c
movss dword [rdi], xmm6
add rdi, 4
mov qword [rsp + 0x68], rdi
jmp 0x18013eb98
lea r8, [rsp + 0x50]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.18000c750
mov r13, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
cmp rbx, r12
je 0x18013ebab
movss dword [rbx], xmm6
add rbx, 4
mov qword [rbp - 0x78], rbx
jmp 0x18013ebc4
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.18000c750
mov r12, qword [rbp - 0x70]
mov rbx, qword [rbp - 0x78]
imul r8, r15, 0xb8
add r8, qword [rbp - 0x50]
mov rax, qword [rbp + 0x28]
cmp rax, qword [rbp + 0x30]
je 0x18013ebee
mov rdx, r8
mov rcx, rax
call fcn.18004f800
add qword [rbp + 0x28], 0xb8
jmp 0x18013ebfa
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.18005e2c0
mov rdx, qword [rbp - 0x50]
mov r8, qword [rsp + 0x38]
movabs rcx, 0xd37a6f4de9bd37a7
inc r14d
add rsi, 0xb8
movsxd r15, r14d
mov rax, qword [rbp - 0x48]
sub rax, rdx
sar rax, 3
imul rax, rcx
cmp r15, rax
mov r10, qword [rbp + 0x120]
jb 0x18013ead0
mov qword [rsp + 0x78], r13
mov r9d, dword [rsp + 0x40]
movabs rsi, 0xd37a6f4de9bd37a7
inc r9d
mov dword [rsp + 0x40], r9d
add r8, 4
mov qword [rsp + 0x38], r8
mov rcx, qword [r10 + 8]
sub rcx, qword [r10]
sar rcx, 2
movsxd rax, r9d
cmp rax, rcx
jb 0x18013eaa0
jmp 0x18013ec80
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rbp - 0x78]
mov r15, qword [rbp - 0x80]
mov rsi, qword [rsp + 0x60]
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x20], rax
je 0x18013ed59
mov r14, rdi
sub r14, rsi
sar r14, 2
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.1801443f0
xor edi, edi
test r14, r14
je 0x18013ed5b
sub rbx, r15
sar rbx, 2
mov r14, rsi
mov rcx, qword [rbp - 0x60]
mov r13d, edi
mov rdx, qword [rsp + 0x40]
mov esi, edi
test rbx, rbx
je 0x18013ed3e
mov rax, rdi
mov rdi, r15
movss xmm0, dword [rdi]
ucomiss xmm0, dword [r14]
jne 0x18013ed29
imul r8, rax, 0xb8
add r8, qword [rbp + 0x20]
cmp rcx, qword [rbp - 0x58]
je 0x18013ed19
mov rdx, r8
call fcn.18004f800
mov rcx, qword [rbp - 0x60]
add rcx, 0xb8
mov qword [rbp - 0x60], rcx
jmp 0x18013ed29
mov rdx, rcx
lea rcx, [rbp - 0x68]
call fcn.18005e2c0
mov rcx, qword [rbp - 0x60]
inc esi
add rdi, 4
movsxd rax, esi
cmp rax, rbx
jb 0x18013ece5
mov rdx, qword [rsp + 0x40]
xor edi, edi
inc r13d
add r14, 4
movsxd rax, r13d
cmp rax, rdx
jb 0x18013ecd8
mov r13, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x60]
jmp 0x18013ed5f
xor edi, edi
mov rcx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x68]
cmp rax, rcx
je 0x18013f43a
cmp dword [rbp + 0x150], 3
jne 0x18013ee53
lea rcx, [rbp - 0x50]
call fcn.18005b090
nop
lea rcx, [rbp - 0x68]
call fcn.18005b090
nop
lea rcx, [rbp + 0x20]
call fcn.18005b090
nop
test r15, r15
je 0x18013ede4
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
mov rax, r15
cmp rdx, 0x1000
jb 0x18013edd0
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18013f49e
mov rcx, r15
call fcn.1802990b4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
test rsi, rsi
je 0x18013ee33
sub r13, rsi
sar r13, 2
lea rdx, [r13*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18013ee1d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18013f68e
mov rcx, rsi
call fcn.1802990b4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov rcx, qword [rbp + 0x120]
call fcn.18000b810
nop
mov rcx, qword [rbp + 0x158]
call fcn.18005c200
mov al, 1
jmp 0x18013f6c6
mov ebx, edi
mov dword [rsp + 0x40], ebx
sub rcx, rax
sar rcx, 3
movabs rax, 0xd37a6f4de9bd37a7
imul rcx, rax
test rcx, rcx
je 0x18013f43a
mov rsi, rdi
lea r14, [0x18036b440]
movabs r12, 0x431bde82d7b634db
mov r13, qword [rbp + 0x158]
mov ecx, 0x64
call fcn.1800da920
cmp eax, 0x60
mov ecx, 0x12c
jg 0x18013eeab
mov ecx, 0x32
call fcn.1800da920
lea ecx, [rax + 0x5a]
call qword [sym.imp.KERNEL32.dll_Sleep]
movsxd rdx, dword [0x18035f1e8]
mov rax, qword [rbp - 0x68]
add rdx, qword [rsi + rax + 8]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rsp + 0x50]
mov rcx, qword [0x18036b180]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x18013ef02
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0
mov ecx, edi
jne 0x18013ef06
mov ecx, dword [rsp + 0x50]
mov rax, qword [rbp - 0x68]
cmp dword [rsi + rax + 0x84], ecx
je 0x18013f3fb
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x50]
call fcn.1800dbdc0
mov ecx, eax
imul rax, rcx, 0xfa0
cmp eax, 0xcdf
ja 0x18013ef50
lea rcx, [rsp + 0x50]
call fcn.1800dbdc0
mov ecx, eax
imul rax, rcx, 0xfa0
cmp eax, 0xce0
jb 0x18013ef36
shr rax, 0x20
lea r15d, [rax + 1]
lea rcx, [rbp + 0x68]
call fcn.1800098f0
mov rcx, rax
mov rax, r12
imul qword [rcx]
mov r14, rdx
sar r14, 0x12
mov rax, r14
shr rax, 0x3f
add r14, rax
mov byte [0x18036b1db], 0
mov rbx, qword [rbp - 0x68]
mov ecx, 0x30
call fcn.180298d00
mov rdi, rax
mov qword [rbp + 0x70], rax
mov rcx, qword [rsi + rbx]
mov qword [rax], rcx
mov eax, dword [rbp + 0x150]
mov dword [rdi + 8], eax
lea rcx, [rdi + 0x10]
mov qword [rbp + 0x38], rcx
mov rdx, r13
call fcn.18005b800
nop
mov qword [rsp + 0x78], rdi
mov r12d, dword [rsp + 0x30]
or r12d, 0x10
mov dword [rsp + 0x30], r12d
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov r9, rdi
lea r8, [0x1801448b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x10], rax
test rax, rax
je 0x18013f636
xor edi, edi
mov qword [rsp + 0x78], rdi
and r12d, 0xffffffef
mov dword [rsp + 0x30], r12d
mov rbx, qword [rbp - 0x68]
lea ecx, [rdi + 0x20]
call fcn.180298d00
mov rcx, qword [rsi + rbx + 8]
mov qword [rax], rcx
mov rcx, qword [rsi + rbx]
mov qword [rax + 8], rcx
mov ecx, dword [rsi + rbx + 0x84]
mov dword [rax + 0x10], ecx
mov qword [rbp + 0x48], rax
or r12d, 8
mov dword [rsp + 0x30], r12d
lea rcx, [rbp + 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1801447b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp], rax
test rax, rax
je 0x18013f627
mov qword [rbp + 0x48], rdi
and r12d, 0xfffffff7
mov dword [rsp + 0x30], r12d
mov rbx, qword [rbp - 0x68]
lea ecx, [rdi + 0x20]
call fcn.180298d00
mov rcx, qword [rsi + rbx + 8]
mov qword [rax], rcx
mov ecx, dword [rbp + 0x130]
mov dword [rax + 8], ecx
mov rcx, qword [rsi + rbx]
mov qword [rax + 0x10], rcx
mov qword [rbp + 0x50], rax
or r12d, 4
mov dword [rsp + 0x30], r12d
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1801447f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x10], rax
test rax, rax
je 0x18013f618
mov qword [rbp + 0x50], rdi
and r12d, 0xfffffffb
mov dword [rsp + 0x30], r12d
mov rbx, qword [rbp - 0x68]
lea ecx, [rdi + 0x10]
call fcn.180298d00
mov rcx, qword [rsi + rbx + 8]
mov qword [rax], rcx
mov qword [rbp + 0x58], rax
or r12d, 2
mov dword [rsp + 0x30], r12d
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x180144830]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x18013f609
mov qword [rbp + 0x58], rdi
and r12d, 0xfffffffd
mov dword [rsp + 0x30], r12d
lea ecx, [rdi + 0x18]
call fcn.180298d00
mov qword [rax], r15
mov qword [rax + 8], r14
mov qword [rbp + 0x60], rax
or r12d, 1
mov dword [rsp + 0x30], r12d
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x180144870]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x18013f5fa
mov qword [rbp + 0x60], rdi
and r12d, 0xfffffffe
mov dword [rsp + 0x30], r12d
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x38]
mov dword [0x18036b2d8], eax
mov eax, dword [rsp + 0x3c]
mov dword [0x18036b2dc], eax
cmp dword [rbp + 0x18], edi
je 0x18013f1f5
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x18], eax
je 0x18013f4b1
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x18013f4a5
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
jmp 0x18013f218
lea rdx, str.thread_error1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.18000b990
lea rdx, [0x18000bb70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp dword [rbp + 8], 0
je 0x18013f256
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 8], eax
je 0x18013f4b1
movaps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x18013f4a5
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
jmp 0x18013f279
lea rdx, str.thread_error2
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.18000b990
lea rdx, [0x18000bb70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp dword [rbp - 8], 0
je 0x18013f2b7
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 8], eax
je 0x18013f4b1
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x18013f4a5
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
jmp 0x18013f2da
lea rdx, str.thread_error3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.18000b990
lea rdx, [0x18000bb70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp dword [rbp - 0x18], 0
je 0x18013f318
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x18], eax
je 0x18013f4b1
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x18013f4a5
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
jmp 0x18013f33b
lea rdx, str.thread_error4
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.18000b990
lea rdx, [0x18000bb70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp dword [rbp - 0x28], 0
je 0x18013f379
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x28], eax
je 0x18013f4b1
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x18013f4a5
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
jmp 0x18013f39c
lea rdx, str.thread_error5
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.18000b990
lea rdx, [0x18000bb70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
cmp byte [0x18036b1e0], 0
jne 0x18013f4bd
mov byte [0x18036b1db], 0
cmp dword [rbp - 0x28], 0
jne 0x18013f5f3
cmp dword [rbp - 0x18], 0
jne 0x18013f5ec
cmp dword [rbp - 8], 0
jne 0x18013f5e5
cmp dword [rbp + 8], 0
jne 0x18013f5de
cmp dword [rbp + 0x18], 0
jne 0x18013f5d7
mov rax, qword [rbp - 0x68]
mov ebx, dword [rsp + 0x40]
lea r14, [0x18036b440]
movabs r12, 0x431bde82d7b634db
inc ebx
mov dword [rsp + 0x40], ebx
add rsi, 0xb8
mov rcx, qword [rbp - 0x60]
sub rcx, rax
sar rcx, 3
movabs rax, 0xd37a6f4de9bd37a7
imul rcx, rax
movsxd rax, ebx
cmp rax, rcx
jb 0x18013ee92
mov r13, qword [rsp + 0x70]
mov r12, qword [rbp - 0x70]
mov r15, qword [rbp - 0x80]
mov rbx, qword [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.18005b090
nop
lea rcx, [rbp - 0x68]
call fcn.18005b090
nop
lea rcx, [rbp + 0x20]
call fcn.18005b090
nop
test r15, r15
je 0x18013f659
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
mov rax, r15
cmp rdx, 0x1000
jb 0x18013f645
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18013f645
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
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_]
nop
cmp dword [rbp - 0x28], 0
jne 0x18013f5f3
cmp dword [rbp - 0x18], 0
jne 0x18013f5ec
cmp dword [rbp - 8], 0
jne 0x18013f5e5
cmp dword [rbp + 8], 0
jne 0x18013f5de
cmp dword [rbp + 0x18], 0
jne 0x18013f5d7
lea rcx, [rbp - 0x50]
call fcn.18005b090
nop
lea rcx, [rbp - 0x68]
call fcn.18005b090
nop
lea rcx, [rbp + 0x20]
call fcn.18005b090
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x18013f562
mov rax, qword [rbp - 0x70]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013f551
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18013f551
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1802990b4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18013f5bb
mov rax, qword [rsp + 0x70]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013f5a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18013f5a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1802990b4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov rcx, qword [rbp + 0x120]
call fcn.18000b810
nop
mov rcx, r13
call fcn.18005c200
mov al, 1
jmp 0x18013f6c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp - 0x28], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x18], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 8], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 8], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x18], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, r15
call fcn.1802990b4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
test rbx, rbx
je 0x18013f6ab
sub r13, rbx
sar r13, 2
lea rdx, [r13*4]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18013f695
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18013f695
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1802990b4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov rcx, qword [rbp + 0x120]
call fcn.18000b810
nop
mov rcx, qword [rbp + 0x158]
call fcn.18005c200
xor al, al
lea r11, [rsp + 0x1d8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret