Function at 0x180136fb0
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 - 0x1c8]
sub rsp, 0x288
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
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov rdi, qword [0x18033c640]
mov rcx, rdi
mov rdx, qword [0x18033c638]
sub rcx, rdx
sar rcx, 5
lea r8, [0x18033c638]
cmp rcx, 0xa
jbe 0x180137052
lea rsi, [rdx + 0x140]
mov rbx, rsi
cmp rsi, rdi
je 0x180137049
mov rcx, rbx
call fcn.180055930
add rbx, 0x20
cmp rbx, rdi
jne 0x180137038
mov qword [0x18033c640], rsi
jmp 0x180137086
jae 0x180137086
mov rax, qword [0x18033c648]
sub rax, rdx
sar rax, 5
cmp rax, 0xa
jae 0x18013706f
call fcn.18013bf40
jmp 0x180137086
mov edx, 0xa
sub rdx, rcx
mov rcx, rdi
call fcn.18013c0a0
mov qword [0x18033c640], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov r12, r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x20], r15
movdqu xmmword [rbp - 0x18], xmm0
mov r13, r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 8], r15
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r15
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
lea rcx, [rbp + 0xa0]
call fcn.1800985b0
mov ecx, 3
call fcn.1800d38c0
lea esi, [rax - 1]
mov edi, r15d
test esi, esi
jle 0x1801372a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x58], 0xf
mov edx, 0x20
call fcn.180055430
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0x14
mov qword [rsp + 0x58], 0x1f
movups xmm0, xmmword [str.pppppppppppppppppppp]
movups xmmword [rax], xmm0
mov ecx, dword [0x1802e3018]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
mov rbx, qword [0x18033c638]
mov r8, qword [0x18033c640]
cmp r8, qword [0x18033c648]
je 0x180137231
xorps xmm0, xmm0
cmp rbx, r8
jne 0x180137195
movups xmmword [r8], xmm0
mov qword [r8 + 0x10], r15
mov qword [r8 + 0x18], r15
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r8], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [r8 + 0x10], xmm1
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
add qword [0x18033c640], 0x20
jmp 0x180137246
lea rax, [0x18033c638]
mov qword [rbp + 0x78], rax
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], r15
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp + 0x90], xmm1
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
lea rdx, [r8 - 0x20]
movups xmm0, xmmword [rdx]
movups xmmword [r8], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [r8 + 0x10], xmm1
mov qword [rdx + 0x10], r15
mov qword [rdx + 0x18], 0xf
mov byte [rdx], 0
add qword [0x18033c640], 0x20
mov rcx, rbx
call fcn.18013c0f0
lea rdx, [rbp + 0x80]
mov rcx, rbx
call fcn.1800551d0
nop
lea rcx, [rbp + 0x80]
call fcn.180055930
jmp 0x180137246
lea r8, [rsp + 0x40]
mov rdx, rbx
lea rcx, [0x18033c638]
call fcn.18006edf0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180137283
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18013727e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801375cb
call fcn.180277944
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
inc edi
cmp edi, esi
jl 0x1801370e0
mov r8d, 0xffffffff
mov dl, 1
lea rcx, [rbp]
call fcn.18012e670
nop
cmp qword [r14 + 0x10], 2
jbe 0x180138846
mov rax, qword [rbp + 0x1f0]
mov ecx, dword [rax]
mov dword [rbp - 0x58], ecx
test ecx, ecx
jle 0x18013766c
mov eax, dword [rax + 4]
mov dword [rbp - 0x60], eax
test eax, eax
jle 0x18013766c
cmp dword [rbp + 0x1f8], 0
jle 0x18013766c
mov rdi, qword [rbp + 8]
mov rax, rdi
mov rbx, qword [rbp]
sub rax, rbx
sar rax, 4
movabs rcx, 0x2e8ba2e8ba2e8ba3
imul rax, rcx
test rax, rax
je 0x180137ad3
xor esi, esi
movss xmm8, dword [rbp + 0xa4]
movss xmm9, dword [rbp + 0xa0]
movss xmm10, dword [0x1802f7d58]
movss xmm7, dword [0x1802f7fd8]
mov r12, qword [rbp - 0x10]
mov r13, qword [rbp - 0x28]
cmp dword [rsi + rbx + 0x78], 1
jne 0x180137639
cmp dword [rsi + rbx + 0x1c], 0
jle 0x180137639
cmp qword [rsi + rbx + 0x38], 2
jbe 0x180137639
lea rcx, [rbx + 0x28]
add rcx, rsi
mov rax, qword [r14 + 0x10]
mov r9, r14
cmp qword [r14 + 0x18], 0x10
jb 0x18013737c
mov r9, qword [r14]
mov rdx, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x18013738a
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
call fcn.180056af0
cmp rax, 0xffffffffffffffff
je 0x180137639
xor dil, dil
mov rdx, qword [rsi + rbx + 8]
lea rcx, [rsp + 0x60]
call fcn.1800d5290
nop
mov rdx, qword [rbp]
mov edx, dword [rsi + rdx + 0x1c]
lea rcx, [rbp + 0xf0]
call fcn.1800409e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1801373d4
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18006e120
nop
lea rcx, [rbp + 0xf0]
call fcn.180055930
mov rdx, qword [rbp]
mov rdx, qword [rsi + rdx]
lea rcx, [rbp + 0xd0]
call fcn.1800d5290
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x180137411
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18006e120
nop
lea rcx, [rbp + 0xd0]
call fcn.180055930
mov rdx, qword [rbp]
mov edx, dword [rsi + rdx + 0x90]
lea rcx, [rbp + 0xb0]
call fcn.1800409e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x180137451
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18006e120
nop
lea rcx, [rbp + 0xb0]
call fcn.180055930
mov rbx, qword [0x18033c638]
mov r14, qword [0x18033c640]
cmp rbx, r14
je 0x1801374f9
mov r13d, 1
nop dword [rax]
nop dword [rax + rax]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.180055370
nop
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae r8, qword [rsp + 0x60]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x50]
call fcn.180056a90
movzx edi, dil
test eax, eax
cmove edi, r13d
lea rcx, [rsp + 0x40]
call fcn.180055930
add rbx, 0x20
cmp rbx, r14
jne 0x180137490
test dil, dil
mov r13, qword [rbp - 0x28]
jne 0x180137620
mov rax, qword [rbp]
mov ecx, dword [rbp + 0x1e8]
cmp dword [rsi + rax + 0x20], ecx
jl 0x180137620
movss xmm2, dword [rsi + rax + 0x10]
movaps xmm1, xmm2
subss xmm1, xmm9
mulss xmm1, xmm1
movss xmm3, dword [rsi + rax + 0x14]
movaps xmm0, xmm3
subss xmm0, xmm8
mulss xmm0, xmm0
xorps xmm4, xmm4
cvtsi2ss xmm4, r15d
mulss xmm4, xmm10
addss xmm0, xmm1
xorps xmm6, xmm6
sqrtss xmm6, xmm0
addss xmm6, xmm4
movss dword [rbp - 0x50], xmm6
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x1d8]
mulss xmm0, xmm7
comiss xmm6, xmm0
jae 0x180137620
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rbp - 0x60]
mulss xmm0, xmm7
subss xmm3, xmm0
mulss xmm3, xmm3
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rbp - 0x58]
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, dword [rbp + 0x1f8]
mulss xmm0, xmm7
comiss xmm1, xmm0
jae 0x180137620
cmp r13, qword [rbp - 0x80]
je 0x1801375d2
movss dword [r13], xmm6
add r13, 4
mov qword [rbp - 0x28], r13
jmp 0x1801375ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rbp - 0x50]
mov rdx, r13
lea rcx, [rbp - 0x30]
call fcn.180094f90
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x80], rax
mov r13, qword [rbp - 0x28]
cmp r12, qword [rbp - 0x70]
je 0x180137604
movss dword [r12], xmm6
add r12, 4
mov qword [rbp - 0x10], r12
jmp 0x180137620
lea r8, [rbp - 0x50]
mov rdx, r12
lea rcx, [rbp - 0x18]
call fcn.180094f90
mov rax, qword [rbp - 8]
mov qword [rbp - 0x70], rax
mov r12, qword [rbp - 0x10]
lea rcx, [rsp + 0x60]
call fcn.180055930
mov rdi, qword [rbp + 8]
mov rbx, qword [rbp]
mov r14, qword [rbp + 0x1d0]
inc r15d
add rsi, 0xb0
mov rcx, rdi
sub rcx, rbx
sar rcx, 4
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx, rax
movsxd rax, r15d
cmp rax, rcx
jb 0x180137342
jmp 0x180137adb
mov dword [rbp - 0x50], r15d
mov rsi, qword [rbp + 8]
mov rax, rsi
mov rbx, qword [rbp]
sub rax, rbx
sar rax, 4
movabs rcx, 0x2e8ba2e8ba2e8ba3
imul rax, rcx
test rax, rax
je 0x180137ad3
xor edi, edi
mov qword [rbp - 0x58], rdi
movss xmm7, dword [rbp + 0xa4]
movss xmm8, dword [rbp + 0xa0]
movss xmm9, dword [0x1802f7d58]
movss xmm10, dword [0x1802f7fd8]
mov r12, qword [rbp - 0x10]
nop word [rax + rax]
cmp dword [rbx + rdi + 0x78], 1
jne 0x180137a95
cmp dword [rbx + rdi + 0x1c], 0
jle 0x180137a95
cmp qword [rbx + rdi + 0x38], 2
jbe 0x180137a95
lea rcx, [rdi + 0x28]
add rcx, rbx
mov rax, qword [r14 + 0x10]
mov r9, r14
cmp qword [r14 + 0x18], 0x10
jb 0x18013770a
mov r9, qword [r14]
mov rdx, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x180137718
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
call fcn.180056af0
cmp rax, 0xffffffffffffffff
je 0x180137a95
xor r13b, r13b
mov rdx, qword [rbx + rdi + 8]
lea rcx, [rsp + 0x40]
call fcn.1800d5290
nop
mov rdx, qword [rbp]
mov edx, dword [rdx + rdi + 0x1c]
lea rcx, [rbp + 0xf0]
call fcn.1800409e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x180137762
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18006e120
nop
lea rcx, [rbp + 0xf0]
call fcn.180055930
mov rdx, qword [rbp]
mov rdx, qword [rdx + rdi]
lea rcx, [rbp + 0xd0]
call fcn.1800d5290
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x18013779f
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18006e120
nop
lea rcx, [rbp + 0xd0]
call fcn.180055930
mov rdx, qword [rbp]
mov edx, dword [rdx + rdi + 0x90]
lea rcx, [rbp + 0xb0]
call fcn.1800409e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1801377df
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18006e120
nop
lea rcx, [rbp + 0xb0]
call fcn.180055930
mov r14, qword [0x18033c638]
mov rax, qword [0x18033c640]
mov qword [rbp - 0x60], rax
cmp r14, rax
je 0x180137971
xor eax, eax
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov rdi, qword [r14 + 0x10]
mov r15, r14
cmp qword [r14 + 0x18], 0x10
jb 0x180137843
mov r15, qword [r14]
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x180138970
cmp rdi, 0x10
jae 0x18013787b
mov qword [rsp + 0x70], rdi
mov ebx, 0xf
mov qword [rsp + 0x78], rbx
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x60], xmm0
movq rsi, xmm0
jmp 0x1801378cd
mov qword [rsp + 0x78], 0xf
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
jbe 0x180137895
mov rbx, rax
jmp 0x1801378a2
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rdx, [rbx + 1]
call fcn.180055430
mov rsi, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rbx
lea r8, [rdi + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x60]
cmp rbx, 0x10
cmovae rcx, rsi
mov r9, qword [rsp + 0x50]
mov rdx, rdi
call fcn.180056a90
movzx r13d, r13b
test eax, eax
mov eax, 1
cmove r13d, eax
cmp rbx, 0x10
jb 0x18013793e
lea rdx, [rbx + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180137936
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180137acc
mov rcx, rsi
call fcn.180277944
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], al
add r14, 0x20
cmp r14, qword [rbp - 0x60]
jne 0x180137820
mov rdi, qword [rbp - 0x58]
test r13b, r13b
jne 0x180137a78
mov r15d, dword [rbp - 0x50]
mov rax, qword [rbp]
mov ecx, dword [rbp + 0x1e8]
cmp dword [rax + rdi + 0x20], ecx
jl 0x180137a78
movss xmm1, dword [rax + rdi + 0x14]
subss xmm1, xmm7
mulss xmm1, xmm1
movss xmm0, dword [rax + rdi + 0x10]
subss xmm0, xmm8
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm6, xmm6
sqrtss xmm6, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, r15d
mulss xmm0, xmm9
addss xmm6, xmm0
movss dword [rbp - 0x60], xmm6
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0x1d8]
mulss xmm0, xmm10
comiss xmm6, xmm0
jae 0x180137a78
mov rax, qword [rbp - 0x28]
cmp rax, qword [rbp - 0x80]
je 0x1801379f4
movss dword [rax], xmm6
add rax, 4
mov qword [rbp - 0x28], rax
jmp 0x180137a0c
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.180094f90
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x80], rax
cmp r12, qword [rbp - 0x70]
je 0x180137a22
movss dword [r12], xmm6
add r12, 4
mov qword [rbp - 0x10], r12
jmp 0x180137a3e
lea r8, [rbp - 0x60]
mov rdx, r12
lea rcx, [rbp - 0x18]
call fcn.180094f90
mov rax, qword [rbp - 8]
mov qword [rbp - 0x70], rax
mov r12, qword [rbp - 0x10]
movsxd rax, r15d
imul r8, rax, 0xb0
add r8, qword [rbp]
mov rax, qword [rbp + 0x68]
cmp rax, qword [rbp + 0x70]
je 0x180137a6b
mov rdx, r8
mov rcx, rax
call fcn.180048ca0
add qword [rbp + 0x68], 0xb0
jmp 0x180137a78
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.180058330
nop
lea rcx, [rsp + 0x40]
call fcn.180055930
mov rsi, qword [rbp + 8]
mov rbx, qword [rbp]
mov r15d, dword [rbp - 0x50]
mov r14, qword [rbp + 0x1d0]
inc r15d
mov dword [rbp - 0x50], r15d
add rdi, 0xb0
mov qword [rbp - 0x58], rdi
mov rcx, rsi
sub rcx, rbx
sar rcx, 4
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx, rax
movsxd rax, r15d
cmp rax, rcx
jae 0x180137ad7
jmp 0x1801376d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r12, qword [rbp - 0x10]
mov r13, qword [rbp - 0x28]
mov r15, qword [rbp - 0x30]
mov r14, qword [rbp - 0x18]
mov rax, qword [rbp + 0x68]
cmp qword [rbp + 0x60], rax
je 0x180137ba6
mov rbx, r13
sub rbx, r15
sar rbx, 2
mov qword [rbp - 0x58], rbx
xor r9d, r9d
mov r8, rbx
mov rdx, r13
mov rcx, r15
call fcn.18013c320
xor r13d, r13d
test rbx, rbx
je 0x180137bff
sub r12, r14
sar r12, 2
mov rsi, r15
mov rcx, qword [rbp - 0x40]
nop word [rax + rax]
xor edi, edi
test r12, r12
je 0x180137b95
xor eax, eax
mov rbx, r14
nop dword [rax]
movss xmm0, dword [rbx]
ucomiss xmm0, dword [rsi]
jne 0x180137b83
imul r8, rax, 0xb0
add r8, qword [rbp + 0x60]
cmp rcx, qword [rbp - 0x38]
je 0x180137b73
mov rdx, r8
call fcn.180048ca0
mov rcx, qword [rbp - 0x40]
add rcx, 0xb0
mov qword [rbp - 0x40], rcx
jmp 0x180137b83
mov rdx, rcx
lea rcx, [rbp - 0x48]
call fcn.180058330
mov rcx, qword [rbp - 0x40]
inc edi
add rbx, 4
movsxd rax, edi
cmp rax, r12
jb 0x180137b40
mov rbx, qword [rbp - 0x58]
inc r13d
add rsi, 4
movsxd rax, r13d
cmp rax, rbx
jb 0x180137b30
jmp 0x180137c03
lea rdx, str.Clear_NPCs_marks
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]
mov rbx, qword [0x18033c638]
mov rdi, qword [0x18033c640]
cmp rbx, rdi
je 0x180137bff
nop dword [rax]
mov rcx, rbx
call fcn.180055930
add rbx, 0x20
cmp rbx, rdi
jne 0x180137be0
mov rbx, qword [0x18033c638]
mov qword [0x18033c640], rbx
mov rcx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x48]
cmp rax, rcx
je 0x180138850
mov r13d, dword [rbp + 0x200]
cmp r13d, 3
jne 0x180137caf
lea rcx, [rbp]
call fcn.180054320
nop
lea rcx, [rbp - 0x48]
call fcn.180054320
nop
lea rcx, [rbp + 0x60]
call fcn.180054320
nop
test r14, r14
je 0x180137c67
mov r8, qword [rbp - 0x70]
sub r8, r14
sar r8, 2
mov rdx, r14
call fcn.180055560
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], 0
test r15, r15
je 0x180137c8f
mov r8, qword [rbp - 0x80]
sub r8, r15
sar r8, 2
mov rdx, r15
call fcn.180055560
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov rcx, qword [rbp + 0x1d0]
call fcn.180055930
nop
mov rcx, qword [rbp + 0x208]
call fcn.180055930
mov al, 1
jmp 0x180138939
xor ebx, ebx
mov r12d, ebx
sub rcx, rax
sar rcx, 4
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx, rax
test rcx, rcx
je 0x180138850
mov r15d, ebx
lea rdi, [0x18033cb90]
movabs rsi, 0x431bde82d7b634db
mov ecx, 0x64
call fcn.1800d38c0
cmp eax, 0x60
mov ecx, 0x12c
jg 0x180137cff
mov ecx, 0x32
call fcn.1800d38c0
lea ecx, [rax + 0x5a]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rbp - 0x48]
movsxd rdx, dword [0x180335138]
add rdx, qword [rax + r15 + 8]
mov dword [rbp - 0x60], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 4
lea r8, [rbp - 0x60]
mov rcx, qword [0x18033c8e0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x180137d54
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0
mov ecx, ebx
jne 0x180137d57
mov ecx, dword [rbp - 0x60]
mov rax, qword [rbp - 0x48]
cmp dword [rax + r15 + 0x84], ecx
je 0x18013826e
mov qword [rbp - 0x70], rdi
lea rcx, [rbp - 0x70]
call fcn.1800d4cf0
mov ecx, eax
imul rax, rcx, 0xfa0
cmp eax, 0xcdf
ja 0x180137d9f
lea rcx, [rbp - 0x70]
call fcn.1800d4cf0
mov ecx, eax
imul rax, rcx, 0xfa0
cmp eax, 0xce0
jb 0x180137d86
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 0x180137dc5
imul rcx, rax, 0x64
jmp 0x180137de0
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rcx, rax
mov rax, rsi
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 - 0x48]
mov ecx, 0x38
call fcn.1802779bc
mov rdi, rax
mov qword [rbp + 0x128], rax
mov rcx, qword [rbx + r15]
mov qword [rax], rcx
mov dword [rax + 8], r13d
lea rcx, [rax + 0x10]
mov qword [rbp + 0xa0], rcx
mov rdx, qword [rbp + 0x208]
call fcn.180055370
nop
mov qword [rbp - 0x58], rdi
or dword [rsp + 0x30], 0x10
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov r9, rdi
lea r8, [0x18013c620]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180138836
mov qword [rbp - 0x58], rbx
mov edi, dword [rsp + 0x30]
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
mov rbx, qword [rbp - 0x48]
mov ecx, 0x20
call fcn.1802779bc
mov rcx, qword [rbx + r15 + 8]
mov qword [rax], rcx
mov rcx, qword [rbx + r15]
mov qword [rax + 8], rcx
mov ecx, dword [rbx + r15 + 0x84]
mov dword [rax + 0x10], ecx
mov qword [rbp - 0x50], rax
or edi, 8
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
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 + 0x50], rax
test rax, rax
je 0x180138827
mov qword [rbp - 0x50], rbx
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov rbx, qword [rbp - 0x48]
mov ecx, 0x20
call fcn.1802779bc
mov rcx, qword [rbx + r15 + 8]
mov qword [rax], rcx
mov ecx, dword [rbp + 0x1e0]
mov dword [rax + 8], ecx
mov rcx, qword [rbx + r15]
mov qword [rax + 0x10], rcx
mov qword [rbp + 0x110], rax
or edi, 4
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
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 + 0x40], rax
test rax, rax
je 0x180138818
mov qword [rbp + 0x110], rbx
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
mov rbx, qword [rbp - 0x48]
mov ecx, 0x10
call fcn.1802779bc
mov rcx, qword [rbx + r15 + 8]
mov qword [rax], rcx
mov qword [rbp + 0x118], rax
or edi, 2
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
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 + 0x30], rax
test rax, rax
je 0x180138809
mov qword [rbp + 0x118], rbx
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
lea ecx, [rbx + 0x18]
call fcn.1802779bc
mov qword [rax], r14
mov qword [rax + 8], rsi
mov qword [rbp + 0x120], rax
or edi, 1
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
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 + 0x20], rax
test rax, rax
je 0x1801387fa
mov qword [rbp + 0x120], rbx
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp - 0x80]
mov dword [0x18033ca30], eax
mov eax, dword [rbp - 0x7c]
mov dword [0x18033ca34], eax
cmp dword [rsp + 0x48], ebx
je 0x18013807b
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rsp + 0x48], eax
je 0x1801382be
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x70], xmm0
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1801382b2
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
jmp 0x18013809e
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 + 0x58], 0
je 0x1801380da
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x58], eax
je 0x1801382be
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp - 0x70], xmm0
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1801382b2
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
jmp 0x1801380fd
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 + 0x48], 0
je 0x180138139
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x48], eax
je 0x1801382be
movaps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp - 0x70], xmm0
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1801382b2
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
jmp 0x18013815c
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 + 0x38], 0
je 0x180138198
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x38], eax
je 0x1801382be
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp - 0x70], xmm0
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1801382b2
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
jmp 0x1801381bb
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 0x1801381f7
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x28], eax
je 0x1801382be
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp - 0x70], xmm0
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x1801382b2
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
jmp 0x18013821a
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 0x1801382ed
mov byte [0x18033c940], 0
cmp dword [rbp + 0x28], 0
jne 0x1801382e6
cmp dword [rbp + 0x38], 0
jne 0x1801382df
cmp dword [rbp + 0x48], 0
jne 0x1801382d8
cmp dword [rbp + 0x58], 0
jne 0x1801382d1
cmp dword [rsp + 0x48], 0
jne 0x1801382ca
mov rax, qword [rbp - 0x48]
lea rdi, [0x18033cb90]
movabs rsi, 0x431bde82d7b634db
inc r12d
add r15, 0xb0
mov rcx, qword [rbp - 0x40]
sub rcx, rax
sar rcx, 4
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx, rax
movsxd rax, r12d
cmp rax, rcx
jb 0x180137ce6
mov r12, qword [rbp - 0x20]
mov r15, qword [rbp - 0x30]
mov r13, qword [rbp - 8]
mov r14, qword [rbp - 0x18]
jmp 0x180138858
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
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
movsxd rax, r12d
imul rsi, rax, 0xb0
mov rdx, qword [rbp - 0x48]
mov rdx, qword [rdx + rsi + 8]
lea rcx, [rsp + 0x60]
call fcn.1800d5290
nop
mov rdx, qword [rbp - 0x48]
mov edx, dword [rdx + rsi + 0x1c]
lea rcx, [rbp + 0xb0]
call fcn.1800409e0
mov r9, rax
mov rdi, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x180138330
mov r9, qword [rax]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x180138376
lea rax, [rdi + rcx]
mov qword [rsp + 0x70], rax
lea rbx, [rsp + 0x60]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x60]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
xor ebx, ebx
jmp 0x180138389
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.18006e8a0
nop
mov r8, qword [rbp + 0xc8]
cmp r8, 0x10
jb 0x1801383a5
inc r8
mov rdx, qword [rbp + 0xb0]
call fcn.1800559c0
mov qword [rbp + 0xc0], rbx
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], 0
mov rdx, qword [rbp - 0x48]
mov rdx, qword [rdx + rsi]
lea rcx, [rbp + 0xd0]
call fcn.1800d5290
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1801383e1
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18006e120
nop
mov r8, qword [rbp + 0xe8]
cmp r8, 0x10
jb 0x18013840b
inc r8
mov rdx, qword [rbp + 0xd0]
call fcn.1800559c0
mov qword [rbp + 0xe0], rbx
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
mov rdx, qword [rbp - 0x48]
mov edx, dword [rdx + rsi + 0x90]
lea rcx, [rbp + 0xf0]
call fcn.1800409e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x18013844a
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18006e120
nop
mov r8, qword [rbp + 0x108]
cmp r8, 0x10
jb 0x180138474
inc r8
mov rdx, qword [rbp + 0xf0]
call fcn.1800559c0
mov qword [rbp + 0x100], rbx
mov qword [rbp + 0x108], 0xf
mov byte [rbp + 0xf0], 0
mov rsi, qword [0x18033c638]
mov rbx, qword [0x18033c640]
cmp rbx, qword [0x18033c648]
je 0x180138666
xorps xmm0, xmm0
xor r12d, r12d
cmp rsi, rbx
jne 0x18013855c
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
mov rdi, qword [rsp + 0x70]
lea rsi, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rsi, qword [rsp + 0x60]
movabs r14, 0x7fffffffffffffff
cmp rdi, r14
ja 0x180138976
mov qword [rbx + 0x18], 0xf
cmp rdi, 0x10
jae 0x180138510
mov qword [rbx + 0x10], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
add qword [0x18033c640], 0x20
jmp 0x18013867d
mov rax, rdi
or rax, 0xf
cmp rax, r14
ja 0x18013852c
mov r14, rax
cmp rax, 0x16
mov eax, 0x16
cmovb r14, rax
lea rdx, [r14 + 1]
call fcn.180055430
mov qword [rbx], rax
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], r14
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x18033c640], 0x20
jmp 0x18013867d
lea rax, [0x18033c638]
mov qword [rbp + 0x78], rax
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r12
mov qword [rbp + 0x98], r12
mov rdi, qword [rsp + 0x70]
lea r14, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae r14, qword [rsp + 0x60]
movabs r15, 0x7fffffffffffffff
cmp rdi, r15
ja 0x18013896a
mov qword [rbp + 0x98], 0xf
cmp rdi, 0x10
jae 0x1801385ca
mov qword [rbp + 0x90], rdi
movups xmm0, xmmword [r14]
movups xmmword [rbp + 0x80], xmm0
jmp 0x180138614
mov rax, rdi
or rax, 0xf
cmp rax, r15
ja 0x1801385e6
mov r15, rax
cmp rax, 0x16
mov eax, 0x16
cmovb r15, rax
lea rdx, [r15 + 1]
call fcn.180055430
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0x98], r15
lea r8, [rdi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea rdx, [rbx - 0x20]
movups xmm0, xmmword [rdx]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], 0xf
mov byte [rdx], 0
add qword [0x18033c640], 0x20
mov r8, rbx
mov rcx, rsi
call fcn.18013c0f0
lea rdx, [rbp + 0x80]
mov rcx, rsi
call fcn.1800551d0
nop
lea rcx, [rbp + 0x80]
call fcn.180055930
jmp 0x18013867d
lea r8, [rsp + 0x60]
mov rdx, rsi
lea rcx, [0x18033c638]
call fcn.18005edb0
xor r12d, r12d
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1801386bd
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801386b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801386b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180277944
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
cmp dword [rbp + 0x28], 0
je 0x1801386dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp + 0x38], 0
je 0x1801386ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp + 0x48], 0
je 0x1801386f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp + 0x58], 0
je 0x180138704
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rsp + 0x48], 0
je 0x180138712
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
lea rcx, [rbp]
call fcn.180054320
nop
lea rcx, [rbp - 0x48]
call fcn.180054320
nop
lea rcx, [rbp + 0x60]
call fcn.180054320
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x180138785
mov rax, qword [rbp - 8]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180138774
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180138774
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 - 0x18], xmm0
mov qword [rbp - 8], r12
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1801387da
mov rax, qword [rbp - 0x20]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801387c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801387c9
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 - 0x30], xmm0
mov qword [rbp - 0x20], r12
mov rcx, qword [rbp + 0x1d0]
call fcn.180055930
nop
mov rcx, qword [rbp + 0x208]
call fcn.180055930
mov al, 1
jmp 0x180138939
mov dword [rbp + 0x28], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x48], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x58], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov r15, qword [rbp - 0x30]
mov r14, qword [rbp - 0x18]
jmp 0x180138858
mov r13, qword [rbp - 0x70]
mov r12, qword [rbp - 0x80]
lea rcx, [rbp]
call fcn.180054320
nop
lea rcx, [rbp - 0x48]
call fcn.180054320
nop
lea rcx, [rbp + 0x60]
call fcn.180054320
nop
test r14, r14
je 0x1801388ca
sub r13, r14
sar r13, 2
lea rdx, [r13*4]
mov rax, r14
cmp rdx, 0x1000
jb 0x1801388b2
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801388b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.180277944
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], 0
test r15, r15
je 0x18013891e
sub r12, r15
sar r12, 2
lea rdx, [r12*4]
mov rax, r15
cmp rdx, 0x1000
jb 0x180138906
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180138906
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.180277944
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov rcx, qword [rbp + 0x1d0]
call fcn.180055930
nop
mov rcx, qword [rbp + 0x208]
call fcn.180055930
xor al, al
lea r11, [rsp + 0x288]
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
call fcn.1800409c0
nop
call fcn.1800409c0
nop
call fcn.1800409c0
int3