Function at 0x140036b30
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 [0x140048040]
xor rax, rsp
mov qword [rbp - 0x41], rax
mov r13, qword [0x140048aa0]
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 0x140036cd0
mov r8d, r12d
nop dword [rax + rax]
mov rdx, qword [rbx + 8]
mov eax, dword [rbx + 0x28]
cmp dword [r8 + rdx + 8], eax
jl 0x140036c97
cmp byte [r8 + rdx + 0x24], r12b
jne 0x140036c97
cmp edi, r11d
je 0x140036c1a
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 0x140036c51
bt r9d, 7
setb cl
inc ecx
bt r9d, 7
setb dl
inc rdx
test edi, edi
jle 0x140036c8b
mov rax, qword [rbx + 8]
mov r9d, dword [rax + r10*8 - 0x24]
mov eax, r12d
test r9b, 0x40
jne 0x140036c70
test r9b, 0x80
setne al
inc eax
test ecx, ecx
jne 0x140036c7c
test eax, eax
je 0x140036c8b
movzx esi, r14b
cmp eax, 2
jne 0x140036c8b
cmp ecx, eax
movzx esi, sil
cmovne esi, r14d
lea rax, [rdx + rdx*2]
inc dword [rbp + rax*4 - 0x69]
inc edi
jmp 0x140036cbe
mov eax, dword [r8 + rdx]
cmp dword [rbx + 0x20], eax
jne 0x140036ca4
mov dword [rbx + 0x20], r12d
mov eax, dword [r8 + rdx]
cmp dword [rbx + 0x18], eax
jne 0x140036cb1
mov dword [rbx + 0x18], r12d
mov eax, dword [r8 + rdx]
cmp dword [rbx + 0x1c], eax
jne 0x140036cbe
mov dword [rbx + 0x1c], r12d
mov eax, dword [rbx]
inc r11d
add r8, 0x28
cmp r11d, eax
jl 0x140036bd0
mov r14d, 8
cmp eax, edi
je 0x140036d06
mov ecx, dword [rbx + 4]
cmp edi, ecx
jle 0x140036d02
test ecx, ecx
je 0x140036cf0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140036cf3
mov eax, r14d
cmp eax, edi
mov edx, edi
mov rcx, rbx
cmovg edx, eax
call fcn.140039850
mov dword [rbx], edi
mov eax, edi
test sil, sil
je 0x140036d25
mov rcx, qword [rbx + 8]
lea r9, [0x140036630]
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 0x140036d49
lea eax, [r15 + rsi]
test eax, eax
jle 0x140036d49
movss xmm12, dword [r13 + 0x15b4]
jmp 0x140036d4d
xorps xmm12, xmm12
movss dword [rbp - 0x61], xmm12
test r15d, r15d
jle 0x140036d67
test esi, esi
jle 0x140036d67
movss xmm10, dword [r13 + 0x15b4]
jmp 0x140036d6b
xorps xmm10, xmm10
mov eax, dword [rbx + 0x1c]
movss dword [rbp - 0x55], xmm10
mov dword [rsp + 0x20], r12d
test eax, eax
je 0x140036d8e
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 0x140036ebf
mov r8d, dword [rbx]
xor eax, eax
test r8d, r8d
jle 0x140036eb8
mov rcx, qword [rbx + 8]
nop dword [rax + rax]
cmp dword [rcx], edx
je 0x140036dc4
inc eax
add rcx, 0x28
cmp eax, r8d
jl 0x140036db0
jmp 0x140036eb8
mov r11, qword [rbx + 8]
cdqe
lea rcx, [rax + rax*4]
lea rcx, [rcx*8]
lea r9, [rcx + r11]
test r9, r9
je 0x140036eb8
mov r10d, dword [r9 + 4]
test r10b, 0x20
jne 0x140036eb8
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 0x140036eb8
cmp edx, dword [rbx]
jge 0x140036eb8
movsxd rax, edx
lea rcx, [rax + rax*4]
mov eax, dword [r11 + rcx*8 + 4]
lea rdi, [r11 + rcx*8]
test al, 0x20
jne 0x140036eb5
xor eax, r10d
test al, 0xc0
jne 0x140036eb5
movsd xmm9, qword [r9 + 0x20]
mov eax, r8d
movups xmm6, xmmword [r9]
movups xmm8, xmmword [r9 + 0x10]
test r8w, r8w
jle 0x140036e5b
lea rdx, [r9 + 0x28]
jmp 0x140036e64
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 0x140036ea6
mov rcx, qword [0x140048aa0]
comiss xmm7, dword [rcx + 0x3094]
jb 0x140036ea6
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 0x140036edf
mov rcx, rbx
call fcn.140037f20
test rax, rax
je 0x140036edf
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 0x140036f8a
test ecx, ecx
je 0x140036f10
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 0x140036f8a
mov rax, qword [0x140048aa0]
test rax, rax
je 0x140036f2f
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 0x140036f7c
movsxd r8, dword [r13 + 0x20c8]
mov rdx, r14
shl r8, 3
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x140048aa0]
test rdx, rdx
je 0x140036f73
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 0x1400370d1
xor esi, esi
lea r15d, [rcx + 1]
nop word [rax + rax]
mov rdi, qword [rbx + 8]
add rdi, rsi
test rcx, rcx
je 0x140036fd4
mov eax, dword [rdi + 0xc]
cmp dword [rcx + 0xc], eax
jge 0x140036fe4
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 0x14003700a
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.140038ca0
movss xmm1, dword [rax]
mov eax, dword [rdi + 4]
movss dword [rdi + 0x18], xmm1
test al, 0x40
je 0x140037040
xor eax, eax
jmp 0x14003704c
test al, 0x80
mov eax, 0
setne al
inc eax
mov edx, eax
lea rcx, [rax + rax*2]
cmp eax, r14d
jne 0x140037062
movss xmm0, dword [r13 + 0x15b4]
jmp 0x140037065
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 0x140036fc0
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 0x140037151
cmp eax, 1
jle 0x140037151
mov eax, dword [rbx + 0x10]
test al, 0x10
jne 0x140037151
test al, al
jns 0x140037151
mov rcx, rbx
call fcn.140037ba0
test rax, rax
je 0x140037151
test dword [rax + 4], 0x200000
mov ecx, dword [rax]
mov dword [rsp + 0x20], ecx
jne 0x140037151
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 0x140037195
addss xmm6, xmm10
subss xmm0, xmm2
subss xmm0, xmm3
subss xmm6, xmm0
maxss xmm6, xmm7
jmp 0x14003719c
movaps xmm6, xmm1
subss xmm6, xmm0
comiss xmm6, xmm7
jbe 0x140037455
test byte [rbx + 0x10], 0x40
jne 0x1400371c6
test al, al
jne 0x140037455
mov ecx, dword [rbp - 0x51]
mov edx, dword [rbp - 0x69]
lea r15d, [rcx + rdx]
test al, al
je 0x1400371d5
lea esi, [rcx + rdx]
jmp 0x1400371d7
test al, al
je 0x1400371b3
mov ecx, dword [rbp - 0x51]
mov edx, dword [rbp - 0x69]
lea esi, [rcx + rdx]
jmp 0x1400371d7
xor esi, esi
mov rax, qword [r13 + 0x20d0]
movaps xmm2, xmm6
movsxd rdi, esi
mov edx, r15d
lea rcx, [rax + rdi*8]
call fcn.14002f0f0
lea eax, [rsi + r15]
movsxd r9, eax
cmp rdi, r9
jge 0x140037455
mov rax, r9
sub rax, rdi
cmp rax, 4
jl 0x1400373d0
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 0x140037285
mov eax, dword [r8 + rdx*8 + 4]
test al, 0x40
je 0x140037252
xor eax, eax
jmp 0x14003725f
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 0x1400372eb
mov eax, dword [r8 + rdx*8 + 4]
test al, 0x40
je 0x1400372b8
xor eax, eax
jmp 0x1400372c5
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 0x140037351
mov eax, dword [r8 + rdx*8 + 4]
test al, 0x40
je 0x14003731e
xor eax, eax
jmp 0x14003732b
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 0x1400373b7
mov eax, dword [r8 + rdx*8 + 4]
test al, 0x40
je 0x140037384
xor eax, eax
jmp 0x140037391
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 0x140037220
jmp 0x140037438
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 0x140037435
mov eax, dword [r8 + rdx*8 + 4]
test al, 0x40
je 0x140037402
xor eax, eax
jmp 0x14003740f
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 0x1400373d0
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 0x140037499
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 0x1400375af
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 0x1400374fa
movss xmm0, dword [r13 + 0x15b4]
jmp 0x1400374fd
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 0x140037525
movss xmm0, dword [r13 + 0x15b4]
jmp 0x140037528
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 0x14003754c
movss xmm0, dword [r13 + 0x15b4]
jmp 0x14003754f
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 0x14003757a
movss xmm0, dword [r13 + 0x15b4]
jmp 0x14003757d
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 0x1400374e0
mov r9d, dword [rsp + 0x24]
cmp r14, r11
jl 0x1400375b3
jmp 0x1400375fb
test esi, esi
jle 0x1400375fb
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 0x1400375e1
movss xmm0, dword [r13 + 0x15b4]
jmp 0x1400375e4
movaps xmm0, xmm7
addss xmm0, dword [rax + rcx + 0x14]
inc r8d
add rax, 0x28
addss xmm2, xmm0
sub r11, 1
jne 0x1400375c7
movss xmm0, dword [rbp + r12*4 - 0x61]
inc r15
add r9d, dword [rbp + r12*4 - 0x69]
addss xmm2, xmm0
mov dword [rsp + 0x24], r9d
movaps xmm3, xmm0
addss xmm3, dword [rbp + r12*4 - 0x65]
maxss xmm3, xmm7
addss xmm3, dword [rbx + 0x44]
movss dword [rbx + 0x44], xmm3
cmp r15, 3
jl 0x140037470
cmp byte [rsp + 0x28], 0
jne 0x140037643
mov dword [rbx + 0x18], 0
mov ecx, dword [rbx + 0x18]
mov eax, ecx
test ecx, ecx
jne 0x140037667
cmp dword [rbx + 0x1c], ecx
jne 0x140037667
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140037667
mov r8d, dword [r8]
mov eax, r8d
mov dword [rbx + 0x18], r8d
jmp 0x14003766c
mov r8d, dword [rsp + 0x20]
mov dword [rbx + 0x20], eax
mov byte [rbx + 0x6c], 0
test r8d, r8d
je 0x1400377ab
mov edx, dword [rbx]
xor eax, eax
test edx, edx
jle 0x1400377ab
mov rcx, qword [rbx + 8]
nop dword [rax]
cmp dword [rcx], r8d
je 0x1400376a4
inc eax
add rcx, 0x28
cmp eax, edx
jl 0x140037690
jmp 0x1400377ab
mov r8, qword [rbx + 8]
cdqe
lea rcx, [rax + rax*4]
lea rdx, [rcx*8]
add r8, rdx
je 0x1400377ab
test byte [r8 + 4], 0xc0
jne 0x1400377ab
movss xmm4, dword [rbx + 0x34]
movabs rax, 0x6666666666666667
subss xmm4, dword [rbx + 0x2c]
mov rcx, qword [0x140048aa0]
imul rdx
movss xmm5, dword [rcx + 0x1980]
subss xmm4, xmm9
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
subss xmm4, xmm11
add rdx, rax
mov eax, dword [rbp - 0x69]
dec eax
subss xmm4, xmm10
cmp edx, eax
jle 0x140037722
movaps xmm0, xmm5
xorps xmm0, xmmword [0x140041190]
jmp 0x140037725
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 0x14003774b
movss xmm5, dword [0x140040fd8]
addss xmm1, dword [r8 + 0x14]
mov dword [rbx + 0x54], 0
addss xmm1, xmm5
movss xmm5, dword [rbx + 0x50]
comiss xmm5, xmm2
ja 0x140037794
movaps xmm0, xmm1
subss xmm0, xmm2
comiss xmm0, xmm4
jae 0x140037794
subss xmm1, xmm4
comiss xmm1, xmm5
jbe 0x1400377ab
subss xmm2, xmm4
movss dword [rbx + 0x50], xmm1
subss xmm2, dword [rbx + 0x4c]
maxss xmm2, xmm7
movss dword [rbx + 0x54], xmm2
jmp 0x1400377ab
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]
movaps xmm1, xmm3
movss xmm0, dword [rbx + 0x34]
movss xmm2, dword [rbx + 0x4c]
subss xmm0, xmm6
movss xmm4, dword [rbx + 0x50]
subss xmm1, xmm0
minss xmm2, xmm1
maxss xmm2, xmm7
movss dword [rbx + 0x4c], xmm2
movss xmm5, dword [rbx + 0x34]
movaps xmm0, xmm5
subss xmm0, xmm6
subss xmm3, xmm0
minss xmm4, xmm3
maxss xmm4, xmm7
ucomiss xmm2, xmm4
movss dword [rbx + 0x50], xmm4
jp 0x140037807
jne 0x140037807
mov dword [rbx + 0x58], 0
jmp 0x140037895
movss xmm0, dword [r13 + 0x1980]
movaps xmm1, xmm4
movss xmm3, dword [rbx + 0x58]
subss xmm1, xmm2
mulss xmm0, dword [0x140041060]
mov eax, dword [rbx + 0x28]
inc eax
andps xmm1, xmmword [0x140041180]
maxss xmm3, xmm0
divss xmm1, dword [0x140040f8c]
maxss xmm3, xmm1
movss dword [rbx + 0x58], xmm3
cmp eax, dword [r13 + 0x1b90]
jl 0x14003788d
movss xmm1, dword [r13 + 0x1980]
mulss xmm1, dword [0x14004102c]
movss xmm0, dword [rbx + 0x54]
comiss xmm0, xmm1
ja 0x14003788d
comiss xmm4, xmm2
mulss xmm3, dword [r13 + 0x18]
jbe 0x14003787e
addss xmm2, xmm3
minss xmm2, xmm4
jmp 0x140037890
comiss xmm2, xmm4
jbe 0x140037890
subss xmm2, xmm3
maxss xmm2, xmm4
jmp 0x140037890
movaps xmm2, xmm4
movss dword [rbx + 0x4c], xmm2
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 0x1400378ed
mov ecx, dword [rbx + 0x8c]
test ecx, ecx
jns 0x1400378e3
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.1400184f0
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.140010ca0
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.14003a8d0
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