Function at 0x140036420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rbp - 0x41], rax
mov r13, qword [0x140047aa0]
xor eax, eax
xor r12d, r12d
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x61], eax
xor sil, sil
mov qword [rbp - 0x5d], rax
mov rbx, rcx
mov dword [rbp - 0x55], eax
mov edi, r12d
mov qword [rbp - 0x51], rax
lea r14d, [r12 + 1]
mov dword [rbp - 0x49], eax
mov r11d, r12d
mov eax, dword [rcx]
mov byte [rcx + 0x6b], 0
test eax, eax
jle 0x1400365c0
mov r8d, r12d
nop dword [rax + rax]
mov rdx, qword [rbx + 8]
mov eax, dword [rbx + 0x28]
cmp dword [r8 + rdx + 8], eax
jl 0x140036587
cmp byte [r8 + rdx + 0x24], r12b
jne 0x140036587
cmp edi, r11d
je 0x14003650a
movups xmm0, xmmword [r8 + rdx]
movsxd rax, edi
lea rcx, [rax + rax*4]
movups xmmword [rdx + rcx*8], xmm0
movups xmm1, xmmword [r8 + rdx + 0x10]
movups xmmword [rdx + rcx*8 + 0x10], xmm1
movsd xmm0, qword [r8 + rdx + 0x20]
movsd qword [rdx + rcx*8 + 0x20], xmm0
movsxd rax, edi
mov ecx, r12d
mov rdx, r12
lea r10, [rax + rax*4]
mov rax, qword [rbx + 8]
mov r9d, dword [rax + r10*8 + 4]
mov word [rax + r10*8 + 0x22], di
test r9b, 0x40
jne 0x140036541
bt r9d, 7
setb cl
inc ecx
bt r9d, 7
setb dl
inc rdx
test edi, edi
jle 0x14003657b
mov rax, qword [rbx + 8]
mov r9d, dword [rax + r10*8 - 0x24]
mov eax, r12d
test r9b, 0x40
jne 0x140036560
test r9b, 0x80
setne al
inc eax
test ecx, ecx
jne 0x14003656c
test eax, eax
je 0x14003657b
movzx esi, r14b
cmp eax, 2
jne 0x14003657b
cmp ecx, eax
movzx esi, sil
cmovne esi, r14d
lea rax, [rdx + rdx*2]
inc dword [rbp + rax*4 - 0x69]
inc edi
jmp 0x1400365ae
mov eax, dword [r8 + rdx]
cmp dword [rbx + 0x20], eax
jne 0x140036594
mov dword [rbx + 0x20], r12d
mov eax, dword [r8 + rdx]
cmp dword [rbx + 0x18], eax
jne 0x1400365a1
mov dword [rbx + 0x18], r12d
mov eax, dword [r8 + rdx]
cmp dword [rbx + 0x1c], eax
jne 0x1400365ae
mov dword [rbx + 0x1c], r12d
mov eax, dword [rbx]
inc r11d
add r8, 0x28
cmp r11d, eax
jl 0x1400364c0
mov r14d, 8
cmp eax, edi
je 0x1400365f6
mov ecx, dword [rbx + 4]
cmp edi, ecx
jle 0x1400365f2
test ecx, ecx
je 0x1400365e0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400365e3
mov eax, r14d
cmp eax, edi
mov edx, edi
mov rcx, rbx
cmovg edx, eax
call fcn.140039150
mov dword [rbx], edi
mov eax, edi
test sil, sil
je 0x140036615
mov rcx, qword [rbx + 8]
lea r9, [0x140035f20]
movsxd rdx, eax
mov r8d, 0x28
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov edi, dword [rbp - 0x69]
xorps xmm7, xmm7
mov r15d, dword [rbp - 0x5d]
mov esi, dword [rbp - 0x51]
test edi, edi
jle 0x140036639
lea eax, [r15 + rsi]
test eax, eax
jle 0x140036639
movss xmm12, dword [r13 + 0x15b4]
jmp 0x14003663d
xorps xmm12, xmm12
movss dword [rbp - 0x61], xmm12
test r15d, r15d
jle 0x140036657
test esi, esi
jle 0x140036657
movss xmm10, dword [r13 + 0x15b4]
jmp 0x14003665b
xorps xmm10, xmm10
mov eax, dword [rbx + 0x1c]
movss dword [rbp - 0x55], xmm10
mov dword [rsp + 0x20], r12d
test eax, eax
je 0x14003667e
mov r12d, eax
mov dword [rsp + 0x20], eax
mov dword [rbx + 0x18], eax
mov dword [rbx + 0x1c], 0
mov edx, dword [rbx + 0x64]
test edx, edx
je 0x1400367af
mov r8d, dword [rbx]
xor eax, eax
test r8d, r8d
jle 0x1400367a8
mov rcx, qword [rbx + 8]
nop dword [rax + rax]
cmp dword [rcx], edx
je 0x1400366b4
inc eax
add rcx, 0x28
cmp eax, r8d
jl 0x1400366a0
jmp 0x1400367a8
mov r11, qword [rbx + 8]
cdqe
lea rcx, [rax + rax*4]
lea rcx, [rcx*8]
lea r9, [rcx + r11]
test r9, r9
je 0x1400367a8
mov r10d, dword [r9 + 4]
test r10b, 0x20
jne 0x1400367a8
movsx r8d, word [rbx + 0x68]
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
add edx, r8d
js 0x1400367a8
cmp edx, dword [rbx]
jge 0x1400367a8
movsxd rax, edx
lea rcx, [rax + rax*4]
mov eax, dword [r11 + rcx*8 + 4]
lea rdi, [r11 + rcx*8]
test al, 0x20
jne 0x1400367a5
xor eax, r10d
test al, 0xc0
jne 0x1400367a5
movsd xmm9, qword [r9 + 0x20]
mov eax, r8d
movups xmm6, xmmword [r9]
movups xmm8, xmmword [r9 + 0x10]
test r8w, r8w
jle 0x14003674b
lea rdx, [r9 + 0x28]
jmp 0x140036754
mov rdx, rdi
lea r9, [rdi + 0x28]
neg eax
cdqe
mov rcx, r9
lea r8, [rax + rax*4]
shl r8, 3
call sub.VCRUNTIME140.dll_memmove
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm8
movsd qword [rdi + 0x20], xmm9
test dword [rbx + 0x10], 0x400000
je 0x140036796
mov rcx, qword [0x140047aa0]
comiss xmm7, dword [rcx + 0x3094]
jb 0x140036796
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x3094], eax
mov eax, dword [rbx + 0x64]
cmp eax, dword [rbx + 0x18]
cmove r12d, eax
mov dword [rsp + 0x20], r12d
mov edi, dword [rbp - 0x69]
mov dword [rbx + 0x64], 0
mov eax, dword [rbx + 0x10]
shr eax, 2
test al, 1
je 0x1400367cf
mov rcx, rbx
call fcn.140037820
test rax, rax
je 0x1400367cf
mov ecx, dword [rax]
mov dword [rsp + 0x20], ecx
mov dword [rbx + 0x18], ecx
mov ecx, dword [r13 + 0x20cc]
lea eax, [rsi + rdi]
mov esi, dword [rbx]
mov dword [rsp + 0x38], 0
mov dword [rbp - 0x7d], eax
mov dword [rbp - 0x79], edi
cmp esi, ecx
jle 0x14003687a
test ecx, ecx
je 0x140036800
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r14d, [rcx + rax]
cmp r14d, esi
mov edi, esi
cmovg edi, r14d
cmp edi, ecx
jle 0x14003687a
mov rax, qword [0x140047aa0]
test rax, rax
je 0x14003681f
inc dword [rax + 0x3b0]
movsxd rcx, edi
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, qword [r13 + 0x20d0]
mov r12, rax
test r14, r14
je 0x14003686c
movsxd r8, dword [r13 + 0x20c8]
mov rdx, r14
shl r8, 3
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x140047aa0]
test rdx, rdx
je 0x140036863
dec dword [rdx + 0x3b0]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r13 + 0x20d0], r12
mov dword [r13 + 0x20cc], edi
xor ecx, ecx
mov dword [r13 + 0x20c8], esi
mov eax, dword [rbx]
xor dl, dl
xor r12d, r12d
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
lea r14d, [rcx - 1]
test eax, eax
jle 0x1400369c1
xor esi, esi
lea r15d, [rcx + 1]
nop word [rax + rax]
mov rdi, qword [rbx + 8]
add rdi, rsi
test rcx, rcx
je 0x1400368c4
mov eax, dword [rdi + 0xc]
cmp dword [rcx + 0xc], eax
jge 0x1400368d4
test dword [rdi + 4], 0x200000
cmove rcx, rdi
mov qword [rsp + 0x30], rcx
mov eax, dword [rdi]
cmp eax, dword [rbx + 0x18]
mov ecx, dword [rsp + 0x20]
movzx edx, dl
cmove edx, r15d
mov dword [rsp + 0x28], edx
test ecx, ecx
jne 0x1400368fa
cmp dword [r13 + 0x1e30], eax
cmove ecx, eax
mov dword [rsp + 0x20], ecx
mov r8d, dword [rdi + 4]
lea rcx, [rbp - 0x71]
movsxd rdx, dword [rdi + 0x1c]
add rdx, qword [rbx + 0x90]
shr r8d, 0x14
not r8b
and r8b, r15b
call fcn.1400385b0
movss xmm1, dword [rax]
mov eax, dword [rdi + 4]
movss dword [rdi + 0x18], xmm1
test al, 0x40
je 0x140036930
xor eax, eax
jmp 0x14003693c
test al, 0x80
mov eax, 0
setne al
inc eax
mov edx, eax
lea rcx, [rax + rax*2]
cmp eax, r14d
jne 0x140036952
movss xmm0, dword [r13 + 0x15b4]
jmp 0x140036955
movaps xmm0, xmm7
mov r14d, eax
addss xmm0, xmm1
add rsi, 0x28
addss xmm0, dword [rbp + rcx*4 - 0x65]
movss dword [rbp + rcx*4 - 0x65], xmm0
movsxd rcx, dword [rsp + rax*4 + 0x38]
lea eax, [rcx + 1]
mov dword [rsp + rdx*4 + 0x38], eax
mov rdx, rcx
mov rax, qword [r13 + 0x20d0]
mov dword [rax + rcx*8], r12d
inc r12d
mov rcx, qword [r13 + 0x20d0]
mov eax, dword [rdi + 0x18]
mov dword [rcx + rdx*8 + 4], eax
mov eax, dword [rdi + 0x18]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rsp + 0x28]
mov dword [rdi + 0x14], eax
mov eax, dword [rbx]
cmp r12d, eax
jl 0x1400368b0
movss xmm10, dword [rbp - 0x55]
mov r15d, dword [rbp - 0x5d]
movss xmm12, dword [rbp - 0x61]
movss xmm9, dword [rbp - 0x65]
movss xmm6, dword [rbp - 0x59]
movaps xmm2, xmm9
movss xmm11, dword [rbp - 0x4d]
addss xmm2, xmm12
movss xmm8, dword [rbp - 0x49]
movaps xmm0, xmm6
addss xmm0, xmm10
movaps xmm1, xmm11
addss xmm1, xmm8
addss xmm2, xmm7
addss xmm2, xmm0
addss xmm2, xmm1
movss dword [rbx + 0x48], xmm2
movss xmm0, dword [rbx + 0x34]
subss xmm0, dword [rbx + 0x2c]
comiss xmm2, xmm0
jbe 0x140036a41
cmp eax, 1
jle 0x140036a41
mov eax, dword [rbx + 0x10]
test al, 0x10
jne 0x140036a41
test al, al
jns 0x140036a41
mov rcx, rbx
call fcn.1400374a0
test rax, rax
je 0x140036a41
test dword [rax + 4], 0x200000
mov ecx, dword [rax]
mov dword [rsp + 0x20], ecx
jne 0x140036a41
mov dword [rbx + 0x18], ecx
movss xmm0, dword [rbx + 0x34]
movaps xmm3, xmm11
subss xmm0, dword [rbx + 0x2c]
addss xmm3, xmm8
movaps xmm2, xmm9
addss xmm2, xmm12
movaps xmm1, xmm3
addss xmm1, xmm2
comiss xmm0, xmm1
seta al
test al, al
je 0x140036a85
addss xmm6, xmm10
subss xmm0, xmm2
subss xmm0, xmm3
subss xmm6, xmm0
maxss xmm6, xmm7
jmp 0x140036a8c
movaps xmm6, xmm1
subss xmm6, xmm0
comiss xmm6, xmm7
jbe 0x140036d45
test byte [rbx + 0x10], 0x40
jne 0x140036ab6
test al, al
jne 0x140036d45
mov ecx, dword [rbp - 0x51]
mov edx, dword [rbp - 0x69]
lea r15d, [rcx + rdx]
test al, al
je 0x140036ac5
lea esi, [rcx + rdx]
jmp 0x140036ac7
test al, al
je 0x140036aa3
mov ecx, dword [rbp - 0x51]
mov edx, dword [rbp - 0x69]
lea esi, [rcx + rdx]
jmp 0x140036ac7
xor esi, esi
mov rax, qword [r13 + 0x20d0]
movaps xmm2, xmm6
movsxd rdi, esi
mov edx, r15d
lea rcx, [rax + rdi*8]
call fcn.14002e9b0
lea eax, [rsi + r15]
movsxd r9, eax
cmp rdi, r9
jge 0x140036d45
mov rax, r9
sub rax, rdi
cmp rax, 4
jl 0x140036cc0
lea r10, [r9 - 3]
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [r13 + 0x20d0]
mov r8, qword [rbx + 8]
movsxd rax, dword [rcx + rdi*8]
lea rdx, [rax + rax*4]
cvttss2si eax, dword [rcx + rdi*8 + 4]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm7, xmm2
ja 0x140036b75
mov eax, dword [r8 + rdx*8 + 4]
test al, 0x40
je 0x140036b42
xor eax, eax
jmp 0x140036b4f
test al, 0x80
mov eax, 0
setne al
inc rax
movss xmm1, dword [r8 + rdx*8 + 0x14]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x65]
subss xmm1, xmm2
movss dword [r8 + rdx*8 + 0x14], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x65], xmm0
mov rcx, qword [r13 + 0x20d0]
mov r8, qword [rbx + 8]
movsxd rax, dword [rcx + rdi*8 + 8]
lea rdx, [rax + rax*4]
cvttss2si eax, dword [rcx + rdi*8 + 0xc]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm7, xmm2
ja 0x140036bdb
mov eax, dword [r8 + rdx*8 + 4]
test al, 0x40
je 0x140036ba8
xor eax, eax
jmp 0x140036bb5
test al, 0x80
mov eax, 0
setne al
inc rax
movss xmm1, dword [r8 + rdx*8 + 0x14]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x65]
subss xmm1, xmm2
movss dword [r8 + rdx*8 + 0x14], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x65], xmm0
mov rcx, qword [r13 + 0x20d0]
mov r8, qword [rbx + 8]
movsxd rax, dword [rcx + rdi*8 + 0x10]
lea rdx, [rax + rax*4]
cvttss2si eax, dword [rcx + rdi*8 + 0x14]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm7, xmm2
ja 0x140036c41
mov eax, dword [r8 + rdx*8 + 4]
test al, 0x40
je 0x140036c0e
xor eax, eax
jmp 0x140036c1b
test al, 0x80
mov eax, 0
setne al
inc rax
movss xmm1, dword [r8 + rdx*8 + 0x14]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x65]
subss xmm1, xmm2
movss dword [r8 + rdx*8 + 0x14], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x65], xmm0
mov rcx, qword [r13 + 0x20d0]
mov r8, qword [rbx + 8]
movsxd rax, dword [rcx + rdi*8 + 0x18]
lea rdx, [rax + rax*4]
cvttss2si eax, dword [rcx + rdi*8 + 0x1c]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm7, xmm2
ja 0x140036ca7
mov eax, dword [r8 + rdx*8 + 4]
test al, 0x40
je 0x140036c74
xor eax, eax
jmp 0x140036c81
test al, 0x80
mov eax, 0
setne al
inc rax
movss xmm1, dword [r8 + rdx*8 + 0x14]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x65]
subss xmm1, xmm2
movss dword [r8 + rdx*8 + 0x14], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x65], xmm0
add rdi, 4
cmp rdi, r10
jl 0x140036b10
jmp 0x140036d28
mov rcx, qword [r13 + 0x20d0]
mov r8, qword [rbx + 8]
movsxd rax, dword [rcx + rdi*8]
lea rdx, [rax + rax*4]
cvttss2si eax, dword [rcx + rdi*8 + 4]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm7, xmm2
ja 0x140036d25
mov eax, dword [r8 + rdx*8 + 4]
test al, 0x40
je 0x140036cf2
xor eax, eax
jmp 0x140036cff
test al, 0x80
mov eax, 0
setne al
inc rax
movss xmm1, dword [r8 + rdx*8 + 0x14]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x65]
subss xmm1, xmm2
movss dword [r8 + rdx*8 + 0x14], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x65], xmm0
inc rdi
cmp rdi, r9
jl 0x140036cc0
movss xmm9, dword [rbp - 0x65]
movss xmm12, dword [rbp - 0x61]
movss xmm10, dword [rbp - 0x55]
movss xmm11, dword [rbp - 0x4d]
xor r9d, r9d
movaps xmm2, xmm7
mov dword [rsp + 0x24], r9d
xor r15d, r15d
mov dword [rbx + 0x44], r9d
nop word [rax + rax]
lea r12, [r15 + r15*2]
cmp r15, 2
jne 0x140036d89
movss xmm1, dword [rbx + 0x34]
movaps xmm0, xmm7
subss xmm1, dword [rbx + 0x2c]
subss xmm1, dword [rbp + r12*4 - 0x65]
maxss xmm0, xmm1
minss xmm0, xmm2
movaps xmm2, xmm0
movsxd rsi, dword [rbp + r12*4 - 0x69]
xor r8d, r8d
xor r14d, r14d
mov r11, rsi
cmp rsi, 4
jl 0x140036e9f
movsxd rax, r9d
lea rdi, [rsi - 4]
shr rdi, 2
lea r10d, [rsi - 1]
lea r9d, [r8 + 2]
lea rcx, [rax + rax*4]
shl rcx, 3
inc rdi
lea r14, [rdi*4]
nop word [rax + rax]
mov rax, qword [rbx + 8]
movss dword [rcx + rax + 0x10], xmm2
cmp r8d, r10d
jge 0x140036dea
movss xmm0, dword [r13 + 0x15b4]
jmp 0x140036ded
movaps xmm0, xmm7
addss xmm0, dword [rcx + rax + 0x14]
mov rdx, qword [rbx + 8]
lea eax, [r9 - 1]
addss xmm2, xmm0
movss dword [rcx + rdx + 0x38], xmm2
cmp eax, r10d
jge 0x140036e15
movss xmm0, dword [r13 + 0x15b4]
jmp 0x140036e18
movaps xmm0, xmm7
mov rax, qword [rbx + 8]
addss xmm0, dword [rcx + rdx + 0x3c]
addss xmm2, xmm0
movss dword [rcx + rax + 0x60], xmm2
cmp r9d, r10d
jge 0x140036e3c
movss xmm0, dword [r13 + 0x15b4]
jmp 0x140036e3f
movaps xmm0, xmm7
addss xmm0, dword [rcx + rax + 0x64]
mov rdx, qword [rbx + 8]
lea eax, [r9 + 1]
addss xmm2, xmm0
movss dword [rcx + rdx + 0x88], xmm2
cmp eax, r10d
jge 0x140036e6a
movss xmm0, dword [r13 + 0x15b4]
jmp 0x140036e6d
movaps xmm0, xmm7
addss xmm0, dword [rcx + rdx + 0x8c]
add r8d, 4
add r9d, 4
add rcx, 0xa0
addss xmm2, xmm0
sub rdi, 1
jne 0x140036dd0
mov r9d, dword [rsp + 0x24]
cmp r14, r11
jl 0x140036ea3
jmp 0x140036eeb
test esi, esi
jle 0x140036eeb
movsxd rcx, r9d
lea edx, [rsi - 1]
add rcx, r14
lea rax, [rcx + rcx*4]
shl rax, 3
sub r11, r14
mov rcx, qword [rbx + 8]
movss dword [rax + rcx + 0x10], xmm2
cmp r8d, edx
jge 0x140036ed1
movss xmm0, dword [r13 + 0x15b4]
jmp 0x140036ed4
movaps xmm0, xmm7
addss xmm0, dword [rax + rcx + 0x14]
inc r8d
add rax, 0x28
addss xmm2, xmm0
sub r11, 1
jne 0x140036eb7
movss xmm1, dword [rbp + r12*4 - 0x61]
inc r15
add r9d, dword [rbp + r12*4 - 0x69]
addss xmm2, xmm1
mov dword [rsp + 0x24], r9d
movaps xmm0, xmm1
addss xmm0, dword [rbp + r12*4 - 0x65]
maxss xmm0, xmm7
addss xmm0, dword [rbx + 0x44]
movss dword [rbx + 0x44], xmm0
cmp r15, 3
jl 0x140036d60
cmp byte [rsp + 0x28], 0
jne 0x140036f33
mov dword [rbx + 0x18], 0
mov ecx, dword [rbx + 0x18]
mov eax, ecx
test ecx, ecx
jne 0x140036f57
cmp dword [rbx + 0x1c], ecx
jne 0x140036f57
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140036f57
mov r8d, dword [r8]
mov eax, r8d
mov dword [rbx + 0x18], r8d
jmp 0x140036f5c
mov r8d, dword [rsp + 0x20]
mov dword [rbx + 0x20], eax
mov byte [rbx + 0x6c], 0
test r8d, r8d
je 0x14003709b
mov edx, dword [rbx]
xor eax, eax
test edx, edx
jle 0x14003709b
mov rcx, qword [rbx + 8]
nop dword [rax]
cmp dword [rcx], r8d
je 0x140036f94
inc eax
add rcx, 0x28
cmp eax, edx
jl 0x140036f80
jmp 0x14003709b
mov r8, qword [rbx + 8]
cdqe
lea rcx, [rax + rax*4]
lea rdx, [rcx*8]
add r8, rdx
je 0x14003709b
test byte [r8 + 4], 0xc0
jne 0x14003709b
movss xmm3, dword [rbx + 0x34]
movabs rax, 0x6666666666666667
subss xmm3, dword [rbx + 0x2c]
mov rcx, qword [0x140047aa0]
imul rdx
movss xmm4, dword [rcx + 0x1980]
subss xmm3, xmm9
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
subss xmm3, xmm11
add rdx, rax
mov eax, dword [rbp - 0x69]
dec eax
subss xmm3, xmm10
cmp edx, eax
jle 0x140037012
movaps xmm0, xmm4
xorps xmm0, xmmword [0x1400401b0]
jmp 0x140037015
movaps xmm0, xmm7
movss xmm1, dword [r8 + 0x10]
lea eax, [rdx + 1]
mov ecx, dword [rbx]
subss xmm1, xmm9
sub ecx, dword [rbp - 0x51]
movaps xmm2, xmm1
addss xmm2, xmm0
cmp eax, ecx
jl 0x14003703b
movss xmm4, dword [0x14003fffc]
addss xmm1, dword [r8 + 0x14]
mov dword [rbx + 0x54], 0
addss xmm1, xmm4
movss xmm4, dword [rbx + 0x50]
comiss xmm4, xmm2
ja 0x140037084
movaps xmm0, xmm1
subss xmm0, xmm2
comiss xmm0, xmm3
jae 0x140037084
subss xmm1, xmm3
comiss xmm1, xmm4
jbe 0x14003709b
subss xmm2, xmm3
movss dword [rbx + 0x50], xmm1
subss xmm2, dword [rbx + 0x4c]
maxss xmm2, xmm7
movss dword [rbx + 0x54], xmm2
jmp 0x14003709b
movss xmm0, dword [rbx + 0x4c]
subss xmm0, xmm1
movss dword [rbx + 0x50], xmm2
maxss xmm0, xmm7
movss dword [rbx + 0x54], xmm0
movss xmm6, dword [rbx + 0x2c]
movss xmm0, dword [rbx + 0x34]
movss xmm2, dword [rbx + 0x44]
subss xmm0, xmm6
movss xmm3, dword [rbx + 0x4c]
movaps xmm1, xmm2
movss xmm4, dword [rbx + 0x50]
subss xmm1, xmm0
minss xmm3, xmm1
maxss xmm3, xmm7
movss dword [rbx + 0x4c], xmm3
movss xmm5, dword [rbx + 0x34]
movaps xmm0, xmm5
subss xmm0, xmm6
subss xmm2, xmm0
minss xmm4, xmm2
maxss xmm4, xmm7
ucomiss xmm3, xmm4
movss dword [rbx + 0x50], xmm4
jp 0x1400370fc
jne 0x1400370fc
mov dword [rbx + 0x58], 0
jmp 0x14003718a
movss xmm0, dword [r13 + 0x1980]
movaps xmm1, xmm4
movss xmm2, dword [rbx + 0x58]
subss xmm1, xmm3
mulss xmm0, dword [0x140040080]
mov eax, dword [rbx + 0x28]
inc eax
andps xmm1, xmmword [0x1400401a0]
maxss xmm2, xmm0
divss xmm1, dword [0x14003ffb4]
maxss xmm2, xmm1
movss dword [rbx + 0x58], xmm2
cmp eax, dword [r13 + 0x1b90]
jl 0x140037182
movss xmm1, dword [r13 + 0x1980]
mulss xmm1, dword [0x14004004c]
movss xmm0, dword [rbx + 0x54]
comiss xmm0, xmm1
ja 0x140037182
comiss xmm4, xmm3
mulss xmm2, dword [r13 + 0x18]
jbe 0x140037173
addss xmm3, xmm2
minss xmm3, xmm4
jmp 0x140037185
comiss xmm3, xmm4
jbe 0x140037185
subss xmm3, xmm2
maxss xmm3, xmm4
jmp 0x140037185
movaps xmm3, xmm4
movss dword [rbx + 0x4c], xmm3
test dword [rbx + 0x10], 0x100000
addss xmm9, xmm6
subss xmm5, xmm11
addss xmm9, xmm12
subss xmm5, xmm10
movss dword [rbx + 0x5c], xmm9
movss dword [rbx + 0x60], xmm5
jne 0x1400371e2
mov ecx, dword [rbx + 0x8c]
test ecx, ecx
jns 0x1400371d8
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x88]
test eax, eax
cmovg edx, eax
call fcn.1400187a0
mov dword [rbx + 0x88], 0
movsd xmm0, qword [rbx + 0x2c]
lea rcx, [rsp + 0x30]
mov r9, qword [r13 + 0x1c10]
movsd qword [r9 + 0xd8], xmm0
movss xmm1, dword [rbx + 0x44]
movss xmm0, dword [rbx + 0x38]
subss xmm0, dword [rbx + 0x30]
movss dword [rsp + 0x30], xmm1
movss xmm1, dword [rbx + 0x7c]
movss dword [rsp + 0x34], xmm0
call fcn.140010f50
movss xmm1, dword [rbx + 0x48]
addss xmm1, dword [rbx + 0x2c]
movss xmm0, dword [r9 + 0xf8]
maxss xmm0, xmm1
movss dword [r9 + 0xf8], xmm0
mov rcx, qword [rbp - 0x41]
xor rcx, rsp
call fcn.140039c20
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret