Function at 0x180135f60
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 - 0x108]
sub rsp, 0x1c8
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
xorps xmm9, xmm9
xorps xmm10, xmm10
call fcn.180098630
test al, al
je 0x18013603c
movsxd rcx, dword [0x180335058]
add rcx, qword [0x18033c788]
call fcn.18012c0b0
movaps xmm9, xmm0
movsxd rcx, dword [0x18033505c]
add rcx, qword [0x18033c788]
call fcn.18012c0b0
movaps xmm10, xmm0
movsxd rcx, dword [0x180335058]
mov rax, qword [0x18033c788]
add rax, 4
add rcx, rax
call fcn.18012c0b0
mov r8d, 0xffffffff
mov dl, 1
lea rcx, [rbp - 0x50]
call fcn.18012e670
nop
mov r10, qword [rbp + 0x110]
mov rcx, qword [r10]
mov rax, qword [r10 + 8]
cmp rcx, rax
je 0x180136cee
mov rdx, qword [rbp + 0x130]
mov r11d, dword [rdx]
mov dword [rsp + 0x40], r11d
movabs rsi, 0x2e8ba2e8ba2e8ba3
test r11d, r11d
jle 0x1801362d7
mov r10d, dword [rdx + 4]
mov dword [rsp + 0x38], r10d
test r10d, r10d
jle 0x1801362d0
mov r9d, dword [rbp + 0x138]
test r9d, r9d
jle 0x1801362d0
mov r8d, edi
mov dword [rsp + 0x50], edi
sub rax, rcx
sar rax, 2
test rax, rax
je 0x1801364f7
mov r15, rdi
movss xmm8, dword [0x1802f7d58]
movss xmm7, dword [0x1802f7fd8]
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, 4
imul rax, rsi
test rax, rax
je 0x1801362a1
xor esi, esi
nop
cmp dword [rdx + rsi + 0x78], 1
jne 0x18013624d
mov ecx, dword [rdx + rsi + 0x1c]
test ecx, ecx
jle 0x18013624d
mov rax, qword [rbp + 0x110]
mov rax, qword [rax]
mov r8d, dword [r15 + rax]
test r8d, r8d
jle 0x18013624d
cmp ecx, r8d
jne 0x18013624d
mov eax, dword [rbp + 0x128]
cmp dword [rdx + rsi + 0x20], eax
jl 0x18013624d
movss xmm3, dword [rdx + rsi + 0x14]
movaps xmm1, xmm3
subss xmm1, xmm10
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, xmm8
xorps xmm6, xmm6
sqrtss xmm6, xmm0
addss xmm6, xmm4
movss dword [rsp + 0x78], xmm6
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x118]
mulss xmm0, xmm7
comiss xmm6, xmm0
jae 0x18013624d
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 0x18013624d
cmp rdi, r13
je 0x180136201
movss dword [rdi], xmm6
add rdi, 4
mov qword [rsp + 0x68], rdi
jmp 0x18013621d
lea r8, [rsp + 0x78]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.180094f90
mov r13, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
cmp rbx, r12
je 0x180136230
movss dword [rbx], xmm6
add rbx, 4
mov qword [rbp - 0x78], rbx
jmp 0x180136249
lea r8, [rsp + 0x78]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180094f90
mov r12, qword [rbp - 0x70]
mov rbx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x50]
inc r14d
add rsi, 0xb0
mov rcx, qword [rbp - 0x48]
sub rcx, rdx
sar rcx, 4
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx, rax
movsxd rax, r14d
cmp rax, rcx
mov r9d, dword [rbp + 0x138]
mov r10d, dword [rsp + 0x38]
mov r11d, dword [rsp + 0x40]
jb 0x180136100
mov qword [rsp + 0x78], r13
mov r8d, dword [rsp + 0x50]
movabs rsi, 0x2e8ba2e8ba2e8ba3
inc r8d
mov dword [rsp + 0x50], r8d
add r15, 4
mov rax, qword [rbp + 0x110]
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
sar rcx, 2
movsxd rax, r8d
cmp rax, rcx
jb 0x1801360e1
jmp 0x180136500
mov r10, qword [rbp + 0x110]
mov r9d, edi
mov dword [rsp + 0x40], edi
sub rax, rcx
sar rax, 2
test rax, rax
je 0x1801364f7
mov r8, rdi
mov qword [rsp + 0x38], rdi
movss xmm7, dword [0x1802f7d58]
movss xmm8, dword [0x1802f7fd8]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x50]
nop dword [rax]
nop dword [rax + rax]
xor r14d, r14d
mov rax, qword [rbp - 0x48]
sub rax, rdx
sar rax, 4
imul rax, rsi
test rax, rax
je 0x1801364cd
xor r15d, r15d
xor esi, esi
movabs rcx, 0x2e8ba2e8ba2e8ba3
nop word [rax + rax]
cmp dword [rdx + rsi + 0x78], 1
jne 0x18013648d
mov ecx, dword [rdx + rsi + 0x1c]
test ecx, ecx
jle 0x180136483
mov rax, qword [r10]
mov r8d, dword [r8 + rax]
test r8d, r8d
jle 0x18013647e
cmp ecx, r8d
jne 0x18013647e
mov eax, dword [rbp + 0x128]
cmp dword [rdx + rsi + 0x20], eax
jl 0x18013647e
movss xmm1, dword [rdx + rsi + 0x14]
subss xmm1, xmm10
mulss xmm1, xmm1
movss xmm0, dword [rdx + rsi + 0x10]
subss xmm0, xmm9
mulss xmm0, xmm0
addss xmm1, xmm0
xorps xmm6, xmm6
sqrtss xmm6, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm0, r14d
mulss xmm0, xmm7
addss xmm6, xmm0
movss dword [rsp + 0x50], xmm6
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x118]
mulss xmm0, xmm8
comiss xmm6, xmm0
jae 0x18013647e
cmp rdi, r13
je 0x1801363fc
movss dword [rdi], xmm6
add rdi, 4
mov qword [rsp + 0x68], rdi
jmp 0x180136418
lea r8, [rsp + 0x50]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.180094f90
mov r13, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
cmp rbx, r12
je 0x18013642b
movss dword [rbx], xmm6
add rbx, 4
mov qword [rbp - 0x78], rbx
jmp 0x180136444
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.180094f90
mov r12, qword [rbp - 0x70]
mov rbx, qword [rbp - 0x78]
imul r8, r15, 0xb0
add r8, qword [rbp - 0x50]
mov rax, qword [rbp + 0x28]
cmp rax, qword [rbp + 0x30]
je 0x18013646e
mov rdx, r8
mov rcx, rax
call fcn.180048ca0
add qword [rbp + 0x28], 0xb0
jmp 0x18013647a
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.180058330
mov rdx, qword [rbp - 0x50]
mov r8, qword [rsp + 0x38]
movabs rcx, 0x2e8ba2e8ba2e8ba3
inc r14d
add rsi, 0xb0
movsxd r15, r14d
mov rax, qword [rbp - 0x48]
sub rax, rdx
sar rax, 4
imul rax, rcx
cmp r15, rax
mov r10, qword [rbp + 0x110]
jb 0x180136350
mov qword [rsp + 0x78], r13
mov r9d, dword [rsp + 0x40]
movabs rsi, 0x2e8ba2e8ba2e8ba3
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 0x180136320
jmp 0x180136500
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 0x1801365d9
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.18013c320
xor edi, edi
test r14, r14
je 0x1801365db
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 0x1801365be
mov rax, rdi
mov rdi, r15
movss xmm0, dword [rdi]
ucomiss xmm0, dword [r14]
jne 0x1801365a9
imul r8, rax, 0xb0
add r8, qword [rbp + 0x20]
cmp rcx, qword [rbp - 0x58]
je 0x180136599
mov rdx, r8
call fcn.180048ca0
mov rcx, qword [rbp - 0x60]
add rcx, 0xb0
mov qword [rbp - 0x60], rcx
jmp 0x1801365a9
mov rdx, rcx
lea rcx, [rbp - 0x68]
call fcn.180058330
mov rcx, qword [rbp - 0x60]
inc esi
add rdi, 4
movsxd rax, esi
cmp rax, rbx
jb 0x180136565
mov rdx, qword [rsp + 0x40]
xor edi, edi
inc r13d
add r14, 4
movsxd rax, r13d
cmp rax, rdx
jb 0x180136558
mov r13, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x60]
jmp 0x1801365df
xor edi, edi
mov rcx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x68]
cmp rax, rcx
je 0x180136cf2
cmp dword [rbp + 0x140], 3
jne 0x1801366d3
lea rcx, [rbp - 0x50]
call fcn.180054320
nop
lea rcx, [rbp - 0x68]
call fcn.180054320
nop
lea rcx, [rbp + 0x20]
call fcn.180054320
nop
test r15, r15
je 0x180136664
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
mov rax, r15
cmp rdx, 0x1000
jb 0x180136650
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180136d56
mov rcx, r15
call fcn.180277944
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
test rsi, rsi
je 0x1801366b3
sub r13, rsi
sar r13, 2
lea rdx, [r13*4]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18013669d
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180136f46
mov rcx, rsi
call fcn.180277944
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov rcx, qword [rbp + 0x110]
call fcn.180054240
nop
mov rcx, qword [rbp + 0x148]
call fcn.180055800
mov al, 1
jmp 0x180136f7e
mov ebx, edi
mov dword [rsp + 0x40], ebx
sub rcx, rax
sar rcx, 4
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx, rax
test rcx, rcx
je 0x180136cf2
mov r15, rdi
lea rsi, [0x18033cb90]
movabs r12, 0x431bde82d7b634db
mov r13, qword [rbp + 0x148]
mov ecx, 0x64
call fcn.1800d38c0
cmp eax, 0x60
mov ecx, 0x12c
jg 0x18013672b
mov ecx, 0x32
call fcn.1800d38c0
lea ecx, [rax + 0x5a]
call qword [sym.imp.KERNEL32.dll_Sleep]
movsxd rdx, dword [0x180335138]
mov rax, qword [rbp - 0x68]
add rdx, qword [r15 + rax + 8]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rdi
mov r9d, 4
lea r8, [rsp + 0x50]
mov rcx, qword [0x18033c8e0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x180136782
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0
mov ecx, edi
jne 0x180136786
mov ecx, dword [rsp + 0x50]
mov rax, qword [rbp - 0x68]
cmp dword [r15 + rax + 0x84], ecx
je 0x180136cb3
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x50]
call fcn.1800d4cf0
mov ecx, eax
imul rax, rcx, 0xfa0
cmp eax, 0xcdf
ja 0x1801367da
nop word [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.1800d4cf0
mov ecx, eax
imul rax, rcx, 0xfa0
cmp eax, 0xce0
jb 0x1801367c0
shr rax, 0x20
lea r14d, [rax + 1]
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 0x180136800
imul rcx, rax, 0x64
jmp 0x18013681b
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rcx, rax
mov rax, r12
imul rcx
mov rsi, rdx
sar rsi, 0x12
mov rax, rsi
shr rax, 0x3f
add rsi, rax
mov byte [0x18033c940], 0
mov rbx, qword [rbp - 0x68]
mov ecx, 0x30
call fcn.1802779bc
mov rdi, rax
mov qword [rbp + 0x58], rax
mov rcx, qword [r15 + rbx]
mov qword [rax], rcx
mov eax, dword [rbp + 0x140]
mov dword [rdi + 8], eax
lea rcx, [rdi + 0x10]
mov qword [rbp + 0x60], rcx
mov rdx, r13
call fcn.180054b80
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, [0x18013c7e0]
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 0x180136eee
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.1802779bc
mov rcx, qword [r15 + rbx + 8]
mov qword [rax], rcx
mov rcx, qword [r15 + rbx]
mov qword [rax + 8], rcx
mov ecx, dword [r15 + rbx + 0x84]
mov dword [rax + 0x10], ecx
mov qword [rbp + 0x38], 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, [0x18013c6e0]
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 0x180136edf
mov qword [rbp + 0x38], rdi
and r12d, 0xfffffff7
mov dword [rsp + 0x30], r12d
mov rbx, qword [rbp - 0x68]
lea ecx, [rdi + 0x20]
call fcn.1802779bc
mov rcx, qword [r15 + rbx + 8]
mov qword [rax], rcx
mov ecx, dword [rbp + 0x120]
mov dword [rax + 8], ecx
mov rcx, qword [r15 + rbx]
mov qword [rax + 0x10], rcx
mov qword [rbp + 0x40], 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, [0x18013c720]
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 0x180136ed0
mov qword [rbp + 0x40], rdi
and r12d, 0xfffffffb
mov dword [rsp + 0x30], r12d
mov rbx, qword [rbp - 0x68]
lea ecx, [rdi + 0x10]
call fcn.1802779bc
mov rcx, qword [r15 + rbx + 8]
mov qword [rax], rcx
mov qword [rbp + 0x48], 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, [0x18013c760]
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 0x180136ec1
mov qword [rbp + 0x48], rdi
and r12d, 0xfffffffd
mov dword [rsp + 0x30], r12d
lea ecx, [rdi + 0x18]
call fcn.1802779bc
mov qword [rax], r14
mov qword [rax + 8], rsi
mov qword [rbp + 0x50], 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, [0x18013c7a0]
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 0x180136eb2
mov qword [rbp + 0x50], 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 [0x18033ca30], eax
mov eax, dword [rsp + 0x3c]
mov dword [0x18033ca34], eax
cmp dword [rbp + 0x18], edi
je 0x180136aad
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x18], eax
je 0x180136d69
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 0x180136d5d
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
jmp 0x180136ad0
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.180055e00
lea rdx, [0x180055fe0]
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 0x180136b0e
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 8], eax
je 0x180136d69
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 0x180136d5d
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
jmp 0x180136b31
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.180055e00
lea rdx, [0x180055fe0]
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 0x180136b6f
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 8], eax
je 0x180136d69
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 0x180136d5d
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
jmp 0x180136b92
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.180055e00
lea rdx, [0x180055fe0]
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 0x180136bd0
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x18], eax
je 0x180136d69
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 0x180136d5d
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
jmp 0x180136bf3
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.180055e00
lea rdx, [0x180055fe0]
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 0x180136c31
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x28], eax
je 0x180136d69
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 0x180136d5d
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x30], xmm0
jmp 0x180136c54
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.180055e00
lea rdx, [0x180055fe0]
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 [0x18033c948], 0
jne 0x180136d75
mov byte [0x18033c940], 0
cmp dword [rbp - 0x28], 0
jne 0x180136eab
cmp dword [rbp - 0x18], 0
jne 0x180136ea4
cmp dword [rbp - 8], 0
jne 0x180136e9d
cmp dword [rbp + 8], 0
jne 0x180136e96
cmp dword [rbp + 0x18], 0
jne 0x180136e8f
mov rax, qword [rbp - 0x68]
mov ebx, dword [rsp + 0x40]
lea rsi, [0x18033cb90]
movabs r12, 0x431bde82d7b634db
inc ebx
mov dword [rsp + 0x40], ebx
add r15, 0xb0
mov rcx, qword [rbp - 0x60]
sub rcx, rax
sar rcx, 4
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx, rax
movsxd rax, ebx
cmp rax, rcx
jb 0x180136712
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.180054320
nop
lea rcx, [rbp - 0x68]
call fcn.180054320
nop
lea rcx, [rbp + 0x20]
call fcn.180054320
nop
test r15, r15
je 0x180136f11
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
mov rax, r15
cmp rdx, 0x1000
jb 0x180136efd
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180136efd
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 0x180136eab
cmp dword [rbp - 0x18], 0
jne 0x180136ea4
cmp dword [rbp - 8], 0
jne 0x180136e9d
cmp dword [rbp + 8], 0
jne 0x180136e96
cmp dword [rbp + 0x18], 0
jne 0x180136e8f
lea rcx, [rbp - 0x50]
call fcn.180054320
nop
lea rcx, [rbp - 0x68]
call fcn.180054320
nop
lea rcx, [rbp + 0x20]
call fcn.180054320
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x180136e1a
mov rax, qword [rbp - 0x70]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180136e09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180136e09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180277944
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x180136e73
mov rax, qword [rsp + 0x70]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180136e60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180136e60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180277944
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov rcx, qword [rbp + 0x110]
call fcn.180054240
nop
mov rcx, r13
call fcn.180055800
mov al, 1
jmp 0x180136f7e
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.180277944
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
test rbx, rbx
je 0x180136f63
sub r13, rbx
sar r13, 2
lea rdx, [r13*4]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180136f4d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180136f4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180277944
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov rcx, qword [rbp + 0x110]
call fcn.180054240
nop
mov rcx, qword [rbp + 0x148]
call fcn.180055800
xor al, al
lea r11, [rsp + 0x1c8]
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