Function at 0x140039470
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 [0x140085140]
xor rax, rsp
mov qword [rbp - 0x41], rax
mov r13, qword [0x1400883e8]
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 0x140039610
mov r8d, r12d
nop dword [rax + rax]
mov rdx, qword [rbx + 8]
mov eax, dword [rbx + 0x28]
cmp dword [r8 + rdx + 8], eax
jl 0x1400395d7
cmp byte [r8 + rdx + 0x24], r12b
jne 0x1400395d7
cmp edi, r11d
je 0x14003955a
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 0x140039591
bt r9d, 7
setb cl
inc ecx
bt r9d, 7
setb dl
inc rdx
test edi, edi
jle 0x1400395cb
mov rax, qword [rbx + 8]
mov r9d, dword [rax + r10*8 - 0x24]
mov eax, r12d
test r9b, 0x40
jne 0x1400395b0
test r9b, 0x80
setne al
inc eax
test ecx, ecx
jne 0x1400395bc
test eax, eax
je 0x1400395cb
movzx esi, r14b
cmp eax, 2
jne 0x1400395cb
cmp ecx, eax
movzx esi, sil
cmovne esi, r14d
lea rax, [rdx + rdx*2]
inc dword [rbp + rax*4 - 0x69]
inc edi
jmp 0x1400395fe
mov eax, dword [r8 + rdx]
cmp dword [rbx + 0x20], eax
jne 0x1400395e4
mov dword [rbx + 0x20], r12d
mov eax, dword [r8 + rdx]
cmp dword [rbx + 0x18], eax
jne 0x1400395f1
mov dword [rbx + 0x18], r12d
mov eax, dword [r8 + rdx]
cmp dword [rbx + 0x1c], eax
jne 0x1400395fe
mov dword [rbx + 0x1c], r12d
mov eax, dword [rbx]
inc r11d
add r8, 0x28
cmp r11d, eax
jl 0x140039510
mov r14d, 8
cmp eax, edi
je 0x140039646
mov ecx, dword [rbx + 4]
cmp edi, ecx
jle 0x140039642
test ecx, ecx
je 0x140039630
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140039633
mov eax, r14d
cmp eax, edi
mov edx, edi
mov rcx, rbx
cmovg edx, eax
call fcn.14003c260
mov dword [rbx], edi
mov eax, edi
test sil, sil
je 0x140039665
mov rcx, qword [rbx + 8]
lea r9, [0x140038e20]
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 0x140039689
lea eax, [r15 + rsi]
test eax, eax
jle 0x140039689
movss xmm12, dword [r13 + 0x15b4]
jmp 0x14003968d
xorps xmm12, xmm12
movss dword [rbp - 0x61], xmm12
test r15d, r15d
jle 0x1400396a7
test esi, esi
jle 0x1400396a7
movss xmm10, dword [r13 + 0x15b4]
jmp 0x1400396ab
xorps xmm10, xmm10
mov eax, dword [rbx + 0x1c]
movss dword [rbp - 0x55], xmm10
mov dword [rsp + 0x20], r12d
test eax, eax
je 0x1400396ce
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 0x1400397ff
mov r8d, dword [rbx]
xor eax, eax
test r8d, r8d
jle 0x1400397f8
mov rcx, qword [rbx + 8]
nop dword [rax + rax]
cmp dword [rcx], edx
je 0x140039704
inc eax
add rcx, 0x28
cmp eax, r8d
jl 0x1400396f0
jmp 0x1400397f8
mov r11, qword [rbx + 8]
cdqe
lea rcx, [rax + rax*4]
lea rcx, [rcx*8]
lea r9, [rcx + r11]
test r9, r9
je 0x1400397f8
mov r10d, dword [r9 + 4]
test r10b, 0x20
jne 0x1400397f8
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 0x1400397f8
cmp edx, dword [rbx]
jge 0x1400397f8
movsxd rax, edx
lea rcx, [rax + rax*4]
mov eax, dword [r11 + rcx*8 + 4]
lea rdi, [r11 + rcx*8]
test al, 0x20
jne 0x1400397f5
xor eax, r10d
test al, 0xc0
jne 0x1400397f5
movsd xmm9, qword [r9 + 0x20]
mov eax, r8d
movups xmm6, xmmword [r9]
movups xmm8, xmmword [r9 + 0x10]
test r8w, r8w
jle 0x14003979b
lea rdx, [r9 + 0x28]
jmp 0x1400397a4
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 0x1400397e6
mov rcx, qword [0x1400883e8]
comiss xmm7, dword [rcx + 0x309c]
jb 0x1400397e6
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x309c], 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 0x14003981f
mov rcx, rbx
call fcn.14003a8b0
test rax, rax
je 0x14003981f
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 0x1400398ca
test ecx, ecx
je 0x140039850
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 0x1400398ca
mov rax, qword [0x1400883e8]
test rax, rax
je 0x14003986f
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 0x1400398bc
movsxd r8, dword [r13 + 0x20c8]
mov rdx, r14
shl r8, 3
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x1400883e8]
test rdx, rdx
je 0x1400398b3
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 0x140039a11
xor esi, esi
lea r15d, [rcx + 1]
nop word [rax + rax]
mov rdi, qword [rbx + 8]
add rdi, rsi
test rcx, rcx
je 0x140039914
mov eax, dword [rdi + 0xc]
cmp dword [rcx + 0xc], eax
jge 0x140039924
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 0x14003994a
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.14003b6b0
movss xmm1, dword [rax]
mov eax, dword [rdi + 4]
movss dword [rdi + 0x18], xmm1
test al, 0x40
je 0x140039980
xor eax, eax
jmp 0x14003998c
test al, 0x80
mov eax, 0
setne al
inc eax
mov edx, eax
lea rcx, [rax + rax*2]
cmp eax, r14d
jne 0x1400399a2
movss xmm0, dword [r13 + 0x15b4]
jmp 0x1400399a5
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 0x140039900
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 0x140039a91
cmp eax, 1
jle 0x140039a91
mov eax, dword [rbx + 0x10]
test al, 0x10
jne 0x140039a91
test al, al
jns 0x140039a91
mov rcx, rbx
call fcn.14003a530
test rax, rax
je 0x140039a91
test dword [rax + 4], 0x200000
mov ecx, dword [rax]
mov dword [rsp + 0x20], ecx
jne 0x140039a91
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 0x140039ad5
addss xmm6, xmm10
subss xmm0, xmm2
subss xmm0, xmm3
subss xmm6, xmm0
maxss xmm6, xmm7
jmp 0x140039adc
movaps xmm6, xmm1
subss xmm6, xmm0
comiss xmm6, xmm7
jbe 0x140039d95
test byte [rbx + 0x10], 0x40
jne 0x140039b06
test al, al
jne 0x140039d95
mov ecx, dword [rbp - 0x51]
mov edx, dword [rbp - 0x69]
lea r15d, [rcx + rdx]
test al, al
je 0x140039b15
lea esi, [rcx + rdx]
jmp 0x140039b17
test al, al
je 0x140039af3
mov ecx, dword [rbp - 0x51]
mov edx, dword [rbp - 0x69]
lea esi, [rcx + rdx]
jmp 0x140039b17
xor esi, esi
mov rax, qword [r13 + 0x20d0]
movaps xmm2, xmm6
movsxd rdi, esi
mov edx, r15d
lea rcx, [rax + rdi*8]
call fcn.140033120
lea eax, [rsi + r15]
movsxd r9, eax
cmp rdi, r9
jge 0x140039d95
mov rax, r9
sub rax, rdi
cmp rax, 4
jl 0x140039d10
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 0x140039bc5
mov eax, dword [r8 + rdx*8 + 4]
test al, 0x40
je 0x140039b92
xor eax, eax
jmp 0x140039b9f
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 0x140039c2b
mov eax, dword [r8 + rdx*8 + 4]
test al, 0x40
je 0x140039bf8
xor eax, eax
jmp 0x140039c05
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 0x140039c91
mov eax, dword [r8 + rdx*8 + 4]
test al, 0x40
je 0x140039c5e
xor eax, eax
jmp 0x140039c6b
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 0x140039cf7
mov eax, dword [r8 + rdx*8 + 4]
test al, 0x40
je 0x140039cc4
xor eax, eax
jmp 0x140039cd1
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 0x140039b60
jmp 0x140039d78
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 0x140039d75
mov eax, dword [r8 + rdx*8 + 4]
test al, 0x40
je 0x140039d42
xor eax, eax
jmp 0x140039d4f
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 0x140039d10
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 0x140039dd9
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 0x140039eef
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 0x140039e3a
movss xmm0, dword [r13 + 0x15b4]
jmp 0x140039e3d
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 0x140039e65
movss xmm0, dword [r13 + 0x15b4]
jmp 0x140039e68
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 0x140039e8c
movss xmm0, dword [r13 + 0x15b4]
jmp 0x140039e8f
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 0x140039eba
movss xmm0, dword [r13 + 0x15b4]
jmp 0x140039ebd
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 0x140039e20
mov r9d, dword [rsp + 0x24]
cmp r14, r11
jl 0x140039ef3
jmp 0x140039f3b
test esi, esi
jle 0x140039f3b
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 0x140039f21
movss xmm0, dword [r13 + 0x15b4]
jmp 0x140039f24
movaps xmm0, xmm7
addss xmm0, dword [rax + rcx + 0x14]
inc r8d
add rax, 0x28
addss xmm2, xmm0
sub r11, 1
jne 0x140039f07
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 0x140039db0
cmp byte [rsp + 0x28], 0
jne 0x140039f83
mov dword [rbx + 0x18], 0
mov ecx, dword [rbx + 0x18]
mov eax, ecx
test ecx, ecx
jne 0x140039fa7
cmp dword [rbx + 0x1c], ecx
jne 0x140039fa7
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140039fa7
mov r8d, dword [r8]
mov eax, r8d
mov dword [rbx + 0x18], r8d
jmp 0x140039fac
mov r8d, dword [rsp + 0x20]
mov dword [rbx + 0x20], eax
mov byte [rbx + 0x6c], 0
test r8d, r8d
je 0x14003a0eb
mov edx, dword [rbx]
xor eax, eax
test edx, edx
jle 0x14003a0eb
mov rcx, qword [rbx + 8]
nop dword [rax]
cmp dword [rcx], r8d
je 0x140039fe4
inc eax
add rcx, 0x28
cmp eax, edx
jl 0x140039fd0
jmp 0x14003a0eb
mov r8, qword [rbx + 8]
cdqe
lea rcx, [rax + rax*4]
lea rdx, [rcx*8]
add r8, rdx
je 0x14003a0eb
test byte [r8 + 4], 0xc0
jne 0x14003a0eb
movss xmm4, dword [rbx + 0x34]
movabs rax, 0x6666666666666667
subss xmm4, dword [rbx + 0x2c]
mov rcx, qword [0x1400883e8]
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 0x14003a062
movaps xmm0, xmm5
xorps xmm0, xmmword [0x140079c00]
jmp 0x14003a065
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 0x14003a08b
movss xmm5, dword [0x140079aa4]
addss xmm1, dword [r8 + 0x14]
mov dword [rbx + 0x54], 0
addss xmm1, xmm5
movss xmm5, dword [rbx + 0x50]
comiss xmm5, xmm2
ja 0x14003a0d4
movaps xmm0, xmm1
subss xmm0, xmm2
comiss xmm0, xmm4
jae 0x14003a0d4
subss xmm1, xmm4
comiss xmm1, xmm5
jbe 0x14003a0eb
subss xmm2, xmm4
movss dword [rbx + 0x50], xmm1
subss xmm2, dword [rbx + 0x4c]
maxss xmm2, xmm7
movss dword [rbx + 0x54], xmm2
jmp 0x14003a0eb
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 0x14003a147
jne 0x14003a147
mov dword [rbx + 0x58], 0
jmp 0x14003a1d5
movss xmm0, dword [r13 + 0x1980]
movaps xmm1, xmm4
movss xmm3, dword [rbx + 0x58]
subss xmm1, xmm2
mulss xmm0, dword [0x140079b08]
mov eax, dword [rbx + 0x28]
inc eax
andps xmm1, xmmword [0x140079bf0]
maxss xmm3, xmm0
divss xmm1, dword [0x140079a50]
maxss xmm3, xmm1
movss dword [rbx + 0x58], xmm3
cmp eax, dword [r13 + 0x1b90]
jl 0x14003a1cd
movss xmm1, dword [r13 + 0x1980]
mulss xmm1, dword [0x140079ae8]
movss xmm0, dword [rbx + 0x54]
comiss xmm0, xmm1
ja 0x14003a1cd
comiss xmm4, xmm2
mulss xmm3, dword [r13 + 0x18]
jbe 0x14003a1be
addss xmm2, xmm3
minss xmm2, xmm4
jmp 0x14003a1d0
comiss xmm2, xmm4
jbe 0x14003a1d0
subss xmm2, xmm3
maxss xmm2, xmm4
jmp 0x14003a1d0
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 0x14003a22d
mov ecx, dword [rbx + 0x8c]
test ecx, ecx
jns 0x14003a223
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.140002e90
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.140010fd0
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.1400529c0
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