Function at 0x140049c10
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, 0x100
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
movaps xmmword [rax - 0xa8], xmm13
mov rax, qword [0x1400ad010]
xor rax, rsp
mov qword [rbp - 0x51], rax
mov r13, qword [0x1400b80b8]
xor r15d, r15d
xor eax, eax
mov byte [rcx + 0x6b], 0
xorps xmm0, xmm0
mov dword [rbp - 0x59], eax
mov eax, dword [rcx]
xor sil, sil
lea r14d, [r15 + 1]
mov rbx, rcx
mov edi, r15d
mov r10d, r15d
movups xmmword [rbp - 0x79], xmm0
movups xmmword [rbp - 0x69], xmm0
test eax, eax
jle 0x140049db6
mov r8d, r15d
nop dword [rax + rax]
mov rdx, qword [rbx + 8]
mov eax, dword [rbx + 0x28]
cmp dword [rdx + r8 + 8], eax
jl 0x140049d7d
cmp byte [rdx + r8 + 0x28], r15b
jne 0x140049d7d
cmp edi, r10d
je 0x140049d07
movups xmm0, xmmword [rdx + r8]
movsxd rax, edi
imul rcx, rax, 0x2c
movups xmmword [rcx + rdx], xmm0
movups xmm1, xmmword [rdx + r8 + 0x10]
movups xmmword [rcx + rdx + 0x10], xmm1
movsd xmm0, qword [rdx + r8 + 0x20]
movsd qword [rcx + rdx + 0x20], xmm0
mov eax, dword [rdx + r8 + 0x28]
mov dword [rcx + rdx + 0x28], eax
mov rdx, qword [rbx + 8]
movsxd rax, edi
mov ecx, r15d
imul r9, rax, 0x2c
mov eax, dword [r9 + rdx + 4]
mov word [r9 + rdx + 0x26], di
mov rdx, r15
test al, 0x40
jne 0x140049d37
and eax, 0x80
setne cl
inc ecx
bt eax, 7
setb dl
inc rdx
test edi, edi
jle 0x140049d71
mov rax, qword [rbx + 8]
mov r11d, dword [r9 + rax - 0x28]
mov eax, r15d
test r11b, 0x40
jne 0x140049d56
test r11b, 0x80
setne al
inc eax
test ecx, ecx
jne 0x140049d62
test eax, eax
je 0x140049d71
movzx esi, r14b
cmp eax, 2
jne 0x140049d71
cmp ecx, eax
movzx esi, sil
cmovne esi, r14d
lea rax, [rdx + rdx*2]
inc dword [rbp + rax*4 - 0x79]
inc edi
jmp 0x140049da4
mov eax, dword [rdx + r8]
cmp dword [rbx + 0x20], eax
jne 0x140049d8a
mov dword [rbx + 0x20], r15d
mov eax, dword [rdx + r8]
cmp dword [rbx + 0x18], eax
jne 0x140049d97
mov dword [rbx + 0x18], r15d
mov eax, dword [rdx + r8]
cmp dword [rbx + 0x1c], eax
jne 0x140049da4
mov dword [rbx + 0x1c], r15d
mov eax, dword [rbx]
inc r10d
add r8, 0x2c
cmp r10d, eax
jl 0x140049cb0
mov r14d, 8
cmp eax, edi
je 0x140049dec
mov ecx, dword [rbx + 4]
cmp edi, ecx
jle 0x140049de8
test ecx, ecx
je 0x140049dd6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140049dd9
mov eax, r14d
cmp eax, edi
mov edx, edi
mov rcx, rbx
cmovg edx, eax
call fcn.14004c990
mov dword [rbx], edi
mov eax, edi
test sil, sil
je 0x140049e11
movsxd rdx, eax
cmp rdx, 1
jbe 0x140049e11
mov rcx, qword [rbx + 8]
lea r9, [0x1400495b0]
mov r8d, 0x2c
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov edi, dword [rbp - 0x79]
xorps xmm9, xmm9
mov r12d, dword [rbp - 0x6d]
mov ecx, dword [rbp - 0x61]
test edi, edi
jle 0x140049e36
lea eax, [r12 + rcx]
test eax, eax
jle 0x140049e36
movss xmm0, dword [r13 + 0x381c]
jmp 0x140049e39
xorps xmm0, xmm0
movss dword [rbp - 0x71], xmm0
test r12d, r12d
jle 0x140049e52
test ecx, ecx
jle 0x140049e52
movss xmm12, dword [r13 + 0x381c]
jmp 0x140049e56
xorps xmm12, xmm12
mov eax, dword [rbx + 0x1c]
movss dword [rbp - 0x65], xmm12
mov dword [rsp + 0x20], r15d
test eax, eax
je 0x140049e73
mov dword [rsp + 0x20], eax
mov dword [rbx + 0x18], eax
mov dword [rbx + 0x1c], r15d
mov edx, dword [rbx + 0x64]
test edx, edx
je 0x140049fae
mov r8d, dword [rbx]
mov eax, r15d
test r8d, r8d
jle 0x140049faa
mov r10, qword [rbx + 8]
mov rcx, r10
cmp dword [rcx], edx
je 0x140049ea8
inc eax
add rcx, 0x2c
cmp eax, r8d
jl 0x140049e94
jmp 0x140049faa
cdqe
imul r9, rax, 0x2c
add r9, r10
je 0x140049faa
mov r11d, dword [r9 + 4]
test r11b, 0x20
jne 0x140049faa
movsx esi, word [rbx + 0x68]
mov rcx, r9
mov rdi, qword [rbx + 8]
movabs rax, 0x2e8ba2e8ba2e8ba3
sub rcx, rdi
mov r10d, esi
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
add edx, esi
js 0x140049fa7
cmp edx, r8d
jge 0x140049fa7
movsxd rax, edx
imul rcx, rax, 0x2c
add rdi, rcx
mov eax, dword [rdi + 4]
test al, 0x20
jne 0x140049fa7
xor eax, r11d
test al, 0xc0
jne 0x140049fa7
movups xmm6, xmmword [r9]
mov r15d, dword [r9 + 0x28]
test si, si
movups xmm7, xmmword [r9 + 0x10]
lea rdx, [r9 + 0x2c]
movsd xmm8, qword [r9 + 0x20]
lea rax, [rdi + 0x2c]
cmovle rdx, rdi
cmovle r9, rax
jg 0x140049f4d
neg r10d
movsxd rax, r10d
mov rcx, r9
imul r8, rax, 0x2c
call sub.VCRUNTIME140.dll_memmove
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm7
movsd qword [rdi + 0x20], xmm8
mov dword [rdi + 0x28], r15d
test dword [rbx + 0x10], 0x400000
je 0x140049f90
mov rcx, qword [0x1400b80b8]
comiss xmm9, dword [rcx + 0x5c0c]
jb 0x140049f90
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x5c0c], eax
mov r15d, dword [rsp + 0x20]
mov eax, dword [rbx + 0x64]
cmp eax, dword [rbx + 0x18]
cmove r15d, eax
mov dword [rsp + 0x20], r15d
xor r15d, r15d
mov edi, dword [rbp - 0x79]
mov dword [rbx + 0x64], r15d
mov eax, dword [rbx + 0x10]
shr eax, 2
test al, 1
je 0x140049fce
mov rcx, rbx
call fcn.14004b270
test rax, rax
je 0x140049fce
mov ecx, dword [rax]
mov dword [rsp + 0x20], ecx
mov dword [rbx + 0x18], ecx
mov eax, dword [rbp - 0x61]
mov esi, dword [rbx]
add eax, edi
mov ecx, dword [r13 + 0x4bf4]
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x40], edi
cmp esi, ecx
jle 0x14004a085
test ecx, ecx
je 0x14004a000
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 0x14004a085
mov rax, qword [0x1400b80b8]
test rax, rax
je 0x14004a01f
inc dword [rax + 0xf0]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, qword [r13 + 0x4bf8]
mov r15, rax
test r14, r14
je 0x14004a074
movsxd rcx, dword [r13 + 0x4bf0]
mov rdx, r14
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [0x1400b80b8]
test rdx, rdx
je 0x14004a06b
dec dword [rdx + 0xf0]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r13 + 0x4bf8], r15
xor r15d, r15d
mov dword [r13 + 0x4bf4], edi
movss xmm13, dword [0x140097dfc]
xor dl, dl
mov dword [r13 + 0x4bf0], esi
mov rcx, r15
mov eax, dword [rbx]
mov esi, 0xffffffff
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
test eax, eax
jle 0x14004a1fa
xor r12d, r12d
mov r14d, r12d
nop dword [rax + rax]
mov rdi, qword [rbx + 8]
add rdi, r14
test rcx, rcx
je 0x14004a0d4
mov eax, dword [rdi + 0xc]
cmp dword [rcx + 0xc], eax
jge 0x14004a0e4
test dword [rdi + 4], 0x200000
cmove rcx, rdi
mov qword [rsp + 0x30], rcx
mov eax, dword [rdi]
mov ecx, 1
cmp eax, dword [rbx + 0x18]
movzx edx, dl
cmove edx, ecx
mov ecx, dword [rsp + 0x20]
mov dword [rsp + 0x28], edx
test ecx, ecx
jne 0x14004a10e
cmp dword [r13 + 0x48f0], eax
cmove ecx, eax
mov dword [rsp + 0x20], ecx
movsxd rax, dword [rdi + 0x20]
cmp eax, 0xffffffff
jne 0x14004a120
lea rdx, [0x140094c14]
jmp 0x14004a12a
mov rdx, rax
add rdx, qword [rbx + 0x90]
movss xmm1, dword [rdi + 0x1c]
comiss xmm1, xmm9
mov eax, dword [rdi + 4]
jae 0x14004a157
and eax, 0x100001
lea rcx, [rsp + 0x48]
cmp eax, 0x100000
setne r8b
call fcn.14004be80
movss xmm1, dword [rax]
mov eax, dword [rdi + 4]
movss dword [rdi + 0x18], xmm1
test al, 0x40
je 0x14004a165
mov eax, r12d
jmp 0x14004a16f
test al, 0x80
mov eax, r12d
setne al
inc eax
mov edx, eax
lea rcx, [rdx + rdx*2]
cmp eax, esi
jne 0x14004a184
movss xmm0, dword [r13 + 0x381c]
jmp 0x14004a188
movaps xmm0, xmm9
addss xmm0, xmm1
mov esi, eax
add r14, 0x2c
addss xmm0, dword [rbp + rcx*4 - 0x75]
movss dword [rbp + rcx*4 - 0x75], xmm0
movsxd rcx, dword [rsp + rdx*4 + 0x38]
lea eax, [rcx + 1]
lea rcx, [rcx + rcx*2]
mov dword [rsp + rdx*4 + 0x38], eax
mov rax, qword [r13 + 0x4bf8]
mov edx, dword [rsp + 0x28]
mov dword [rax + rcx*4], r15d
inc r15d
movss xmm0, dword [rdi + 0x18]
movss dword [rax + rcx*4 + 8], xmm0
movss dword [rax + rcx*4 + 4], xmm0
movss xmm1, dword [rdi + 0x18]
mov rcx, qword [rsp + 0x30]
maxss xmm1, xmm13
movss dword [rdi + 0x14], xmm1
mov eax, dword [rbx]
cmp r15d, eax
jl 0x14004a0c0
movss xmm12, dword [rbp - 0x65]
mov r12d, dword [rbp - 0x6d]
movss xmm10, dword [rbp - 0x75]
movss xmm6, dword [rbp - 0x69]
movaps xmm7, xmm10
addss xmm7, dword [rbp - 0x71]
movss xmm11, dword [rbp - 0x5d]
addss xmm6, xmm12
movaps xmm8, xmm11
addss xmm8, dword [rbp - 0x59]
movaps xmm1, xmm7
addss xmm1, xmm9
addss xmm1, xmm6
addss xmm1, xmm8
movss dword [rbx + 0x48], xmm1
movss xmm0, dword [rbx + 0x34]
subss xmm0, dword [rbx + 0x2c]
comiss xmm1, xmm0
jbe 0x14004a277
cmp eax, 1
jle 0x14004a277
mov eax, dword [rbx + 0x10]
test al, 0x10
jne 0x14004a277
test al, al
jns 0x14004a277
mov rcx, rbx
call fcn.14004af20
test rax, rax
je 0x14004a277
test dword [rax + 4], 0x200000
mov ecx, dword [rax]
mov dword [rsp + 0x20], ecx
jne 0x14004a277
mov dword [rbx + 0x18], ecx
movss xmm0, dword [rbx + 0x34]
movaps xmm1, xmm8
subss xmm0, dword [rbx + 0x2c]
addss xmm1, xmm7
comiss xmm0, xmm1
seta al
test al, al
je 0x14004a2a7
subss xmm0, xmm7
subss xmm0, xmm8
subss xmm6, xmm0
maxss xmm6, xmm9
jmp 0x14004a2ae
movaps xmm6, xmm1
subss xmm6, xmm0
comiss xmm6, xmm13
jb 0x14004a5ae
test byte [rbx + 0x10], 0x40
jne 0x14004a2db
test al, al
jne 0x14004a5ae
mov r12d, dword [rbp - 0x61]
mov edx, dword [rbp - 0x79]
add r12d, edx
test al, al
je 0x14004a2e9
mov esi, dword [rbp - 0x61]
add esi, edx
jmp 0x14004a2eb
test al, al
je 0x14004a2c6
mov esi, dword [rbp - 0x61]
mov edx, dword [rbp - 0x79]
add esi, edx
jmp 0x14004a2eb
xor esi, esi
mov rcx, qword [r13 + 0x4bf8]
movaps xmm2, xmm6
movsxd r14, esi
mov edx, r12d
lea rax, [r14 + r14*2]
lea rdi, [rax*4]
add rcx, rdi
call fcn.1400401c0
lea eax, [rsi + r12]
movsxd r10, eax
cmp r14, r10
jge 0x14004a5ae
mov rax, r10
sub rax, r14
cmp rax, 4
jl 0x14004a51e
mov r9, r10
sub r9, r14
sub r9, 4
shr r9, 2
inc r9
lea r14, [r14 + r9*4]
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [r13 + 0x4bf8]
mov rdx, qword [rbx + 8]
movsxd rax, dword [rdi + rcx]
imul r8, rax, 0x2c
cvttss2si eax, dword [rdi + rcx + 4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm9, xmm0
ja 0x14004a3c9
mov eax, dword [r8 + rdx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x14004a38b
xor eax, eax
jmp 0x14004a398
test al, 0x80
mov eax, 0
setne al
inc rax
movss xmm1, dword [r8 + rdx + 0x14]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x75]
subss xmm1, xmm2
movss dword [r8 + rdx + 0x14], xmm2
mov rcx, qword [r13 + 0x4bf8]
mov rdx, qword [rbx + 8]
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x75], xmm0
movsxd rax, dword [rdi + rcx + 0xc]
imul r8, rax, 0x2c
cvttss2si eax, dword [rdi + rcx + 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm9, xmm0
ja 0x14004a438
mov eax, dword [r8 + rdx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x14004a3fa
xor eax, eax
jmp 0x14004a407
test al, 0x80
mov eax, 0
setne al
inc rax
movss xmm1, dword [r8 + rdx + 0x14]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x75]
subss xmm1, xmm2
movss dword [r8 + rdx + 0x14], xmm2
mov rcx, qword [r13 + 0x4bf8]
mov rdx, qword [rbx + 8]
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x75], xmm0
movsxd rax, dword [rdi + rcx + 0x18]
imul r8, rax, 0x2c
cvttss2si eax, dword [rdi + rcx + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm9, xmm0
ja 0x14004a4a7
mov eax, dword [r8 + rdx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x14004a469
xor eax, eax
jmp 0x14004a476
test al, 0x80
mov eax, 0
setne al
inc rax
movss xmm1, dword [r8 + rdx + 0x14]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x75]
subss xmm1, xmm2
movss dword [r8 + rdx + 0x14], xmm2
mov rcx, qword [r13 + 0x4bf8]
mov rdx, qword [rbx + 8]
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x75], xmm0
movsxd rax, dword [rdi + rcx + 0x24]
imul r8, rax, 0x2c
cvttss2si eax, dword [rdi + rcx + 0x28]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm9, xmm0
ja 0x14004a50b
mov eax, dword [r8 + rdx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x14004a4d8
xor eax, eax
jmp 0x14004a4e5
test al, 0x80
mov eax, 0
setne al
inc rax
movss xmm1, dword [r8 + rdx + 0x14]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x75]
subss xmm1, xmm2
movss dword [r8 + rdx + 0x14], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x75], xmm0
add rdi, 0x30
sub r9, 1
jne 0x14004a350
cmp r14, r10
jge 0x14004a59c
lea r8, [r14 + r14*2]
shl r8, 2
sub r10, r14
mov rcx, qword [r13 + 0x4bf8]
movsxd rax, dword [r8 + rcx]
imul rdx, rax, 0x2c
cvttss2si eax, dword [r8 + rcx + 4]
add rdx, qword [rbx + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm9, xmm0
ja 0x14004a592
mov eax, dword [rdx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x14004a563
xor eax, eax
jmp 0x14004a570
test al, 0x80
mov eax, 0
setne al
inc rax
movss xmm1, dword [rdx + 0x14]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x75]
subss xmm1, xmm2
movss dword [rdx + 0x14], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x75], xmm0
add r8, 0xc
sub r10, 1
jne 0x14004a529
movss xmm10, dword [rbp - 0x75]
movss xmm12, dword [rbp - 0x65]
movss xmm11, dword [rbp - 0x5d]
xor r9d, r9d
movaps xmm2, xmm9
mov dword [rsp + 0x24], r9d
xor r14d, r14d
mov dword [rbx + 0x44], r9d
lea r15, [r14 + r14*2]
cmp r14, 2
jne 0x14004a5eb
movss xmm1, dword [rbx + 0x34]
movaps xmm0, xmm9
subss xmm1, dword [rbx + 0x2c]
subss xmm1, dword [rbp + r15*4 - 0x75]
maxss xmm0, xmm1
minss xmm0, xmm2
movaps xmm2, xmm0
movsxd r12, dword [rbp + r15*4 - 0x79]
xor r8d, r8d
xor esi, esi
mov rdi, r12
cmp r12, 4
jl 0x14004a71c
movsxd rax, r9d
lea r11, [r12 - 4]
imul rcx, rax, 0x2c
shr r11, 2
lea r10d, [r12 - 1]
inc r11
lea r9d, [r8 + 2]
lea rsi, [r11*4]
mov rax, qword [rbx + 8]
movss dword [rcx + rax + 0x10], xmm2
mov dword [rcx + rax + 0x20], 0xffffffff
cmp r8d, r10d
jge 0x14004a648
movss xmm0, dword [r13 + 0x381c]
jmp 0x14004a64c
movaps xmm0, xmm9
addss xmm0, dword [rcx + rax + 0x14]
mov rdx, qword [rbx + 8]
lea eax, [r9 - 1]
addss xmm2, xmm0
movss dword [rcx + rdx + 0x3c], xmm2
mov dword [rcx + rdx + 0x4c], 0xffffffff
cmp eax, r10d
jge 0x14004a67c
movss xmm0, dword [r13 + 0x381c]
jmp 0x14004a680
movaps xmm0, xmm9
mov rax, qword [rbx + 8]
addss xmm0, dword [rcx + rdx + 0x40]
addss xmm2, xmm0
movss dword [rcx + rax + 0x68], xmm2
mov dword [rcx + rax + 0x78], 0xffffffff
cmp r9d, r10d
jge 0x14004a6ac
movss xmm0, dword [r13 + 0x381c]
jmp 0x14004a6b0
movaps xmm0, xmm9
addss xmm0, dword [rcx + rax + 0x6c]
mov rdx, qword [rbx + 8]
lea eax, [r9 + 1]
addss xmm2, xmm0
movss dword [rcx + rdx + 0x94], xmm2
mov dword [rcx + rdx + 0xa4], 0xffffffff
cmp eax, r10d
jge 0x14004a6e6
movss xmm0, dword [r13 + 0x381c]
jmp 0x14004a6ea
movaps xmm0, xmm9
addss xmm0, dword [rcx + rdx + 0x98]
add r8d, 4
add r9d, 4
add rcx, 0xb0
addss xmm2, xmm0
sub r11, 1
jne 0x14004a626
mov r9d, dword [rsp + 0x24]
cmp rsi, rdi
jl 0x14004a721
jmp 0x14004a770
test r12d, r12d
jle 0x14004a770
movsxd rcx, r9d
lea edx, [r12 - 1]
add rcx, rsi
imul rax, rcx, 0x2c
sub rdi, rsi
mov rcx, qword [rbx + 8]
movss dword [rax + rcx + 0x10], xmm2
mov dword [rax + rcx + 0x20], 0xffffffff
cmp r8d, edx
jge 0x14004a755
movss xmm0, dword [r13 + 0x381c]
jmp 0x14004a759
movaps xmm0, xmm9
addss xmm0, dword [rax + rcx + 0x14]
inc r8d
add rax, 0x2c
addss xmm2, xmm0
sub rdi, 1
jne 0x14004a733
movss xmm1, dword [rbp + r15*4 - 0x71]
add r9d, r12d
movaps xmm0, xmm1
mov dword [rsp + 0x24], r9d
addss xmm0, dword [rbp + r15*4 - 0x75]
inc r14
addss xmm2, xmm1
maxss xmm0, xmm9
addss xmm0, dword [rbx + 0x44]
movss dword [rbx + 0x44], xmm0
cmp r14, 3
jl 0x14004a5c1
mov ecx, dword [rbx + 0x8c]
xor r12d, r12d
test ecx, ecx
jns 0x14004a7d3
mov eax, ecx
cdq
sub eax, edx
mov edx, r12d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x88]
test eax, eax
cmovg edx, eax
call fcn.140026f50
cmp byte [rsp + 0x28], 0
mov dword [rbx + 0x88], r12d
jne 0x14004a7e7
mov dword [rbx + 0x18], r12d
jmp 0x14004a7ee
mov eax, dword [rbx + 0x18]
test eax, eax
jne 0x14004a80a
cmp dword [rbx + 0x1c], 0
mov eax, r12d
jne 0x14004a80a
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14004a80a
mov edx, dword [rcx]
mov eax, edx
mov dword [rbx + 0x18], edx
jmp 0x14004a80e
mov edx, dword [rsp + 0x20]
mov dword [rbx + 0x20], eax
mov byte [rbx + 0x6c], 0
test edx, edx
je 0x14004a94b
mov r8d, dword [rbx]
mov eax, r12d
test r8d, r8d
jle 0x14004ab11
mov r9, qword [rbx + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14004a847
inc eax
add rcx, 0x2c
cmp eax, r8d
jl 0x14004a833
jmp 0x14004ab11
movsxd rcx, eax
imul rdx, rcx, 0x2c
add r9, rdx
je 0x14004ab11
test byte [r9 + 4], 0xc0
jne 0x14004ab11
movss xmm3, dword [rbx + 0x34]
movabs rax, 0x2e8ba2e8ba2e8ba3
subss xmm3, dword [rbx + 0x2c]
mov rcx, qword [0x1400b80b8]
imul rdx
movss xmm4, dword [rcx + 0x3c10]
subss xmm3, xmm10
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
subss xmm3, xmm11
add rdx, rax
mov eax, dword [rbp - 0x79]
dec eax
subss xmm3, xmm12
cmp edx, eax
jle 0x14004a8ba
movaps xmm0, xmm4
xorps xmm0, xmmword [0x1400984d0]
jmp 0x14004a8be
movaps xmm0, xmm9
movss xmm1, dword [r9 + 0x10]
lea eax, [rdx + 1]
sub r8d, dword [rbp - 0x61]
subss xmm1, xmm10
movaps xmm2, xmm1
addss xmm2, xmm0
cmp eax, r8d
jl 0x14004a8e0
movaps xmm4, xmm13
addss xmm1, dword [r9 + 0x14]
mov dword [rbx + 0x54], r12d
addss xmm1, xmm4
movss xmm4, dword [rbx + 0x50]
comiss xmm4, xmm2
ja 0x14004a92e
movaps xmm0, xmm1
subss xmm0, xmm2
comiss xmm0, xmm3
jae 0x14004a92e
subss xmm1, xmm3
comiss xmm1, xmm4
jbe 0x14004ab11
subss xmm2, xmm3
movss dword [rbx + 0x50], xmm1
subss xmm2, dword [rbx + 0x4c]
maxss xmm2, xmm9
movss dword [rbx + 0x54], xmm2
jmp 0x14004ab11
movss xmm0, dword [rbx + 0x4c]
subss xmm0, xmm1
movss dword [rbx + 0x50], xmm2
maxss xmm0, xmm9
movss dword [rbx + 0x54], xmm0
jmp 0x14004ab11
test byte [rbx + 0x10], 0x80
je 0x14004ab11
mov rcx, qword [0x1400b80b8]
movss xmm0, dword [rbx + 0x34]
movss xmm2, dword [rbx + 0x38]
movss xmm3, dword [rbx + 0x2c]
mov rax, qword [rcx + 0x3ed8]
movss xmm1, dword [rcx + 0x382c]
movss xmm4, dword [rbx + 0x30]
movaps xmm5, xmm1
minss xmm0, dword [rax + 0x240]
minss xmm2, dword [rax + 0x244]
maxss xmm3, dword [rax + 0x238]
maxss xmm4, dword [rax + 0x23c]
addss xmm5, xmm0
movss xmm0, dword [rcx + 0x3830]
movaps xmm6, xmm0
subss xmm3, xmm1
addss xmm6, xmm2
movss xmm2, dword [rcx + 0xe00]
subss xmm4, xmm0
comiss xmm2, xmm3
jb 0x14004ab11
movss xmm0, dword [rcx + 0xe04]
comiss xmm0, xmm4
jb 0x14004ab11
comiss xmm5, xmm2
jbe 0x14004ab11
comiss xmm6, xmm0
jbe 0x14004ab11
mov rdx, qword [rcx + 0x48d0]
test rdx, rdx
je 0x14004aa56
mov rdx, qword [rdx + 0x378]
test rdx, rdx
je 0x14004aa56
cmp byte [rdx + 0xb7], 0
je 0x14004aa56
mov rax, qword [r13 + 0x3ed8]
mov rcx, qword [rax + 0x378]
cmp rdx, rcx
je 0x14004aa56
mov eax, dword [rdx + 0x14]
bt eax, 0x1b
jb 0x14004aa34
bt eax, 0x1a
jae 0x14004aa56
cmp qword [rcx + 0x378], rdx
je 0x14004aa56
nop dword [rax]
cmp rcx, rdx
je 0x14004aa56
mov rcx, qword [rcx + 0x370]
test rcx, rcx
jne 0x14004aa40
jmp 0x14004ab11
movzx eax, byte [r13 + 0x376d]
test al, al
je 0x14004aa6d
movss xmm2, dword [r13 + 0xe10]
jmp 0x14004aa76
movss xmm2, dword [r13 + 0xe14]
mov edx, dword [rbx + 0x14]
test al, al
mov r10d, r12d
setne r10b
lea ecx, [r10 + 0x286]
call fcn.14001e1d0
test al, al
je 0x14004aaed
ucomiss xmm2, xmm9
jp 0x14004aa9a
je 0x14004aaed
movss xmm0, dword [rbx + 0x34]
subss xmm0, dword [rbx + 0x2c]
movss xmm1, dword [rbx + 0x44]
mov dword [rbx + 0x54], r12d
subss xmm0, xmm10
subss xmm0, xmm11
subss xmm0, xmm12
mulss xmm0, xmm2
movss xmm2, dword [rbx + 0x50]
divss xmm0, dword [0x140097e60]
subss xmm2, xmm0
movss xmm0, dword [rbx + 0x34]
subss xmm0, dword [rbx + 0x2c]
subss xmm1, xmm0
minss xmm2, xmm1
maxss xmm2, xmm9
movss dword [rbx + 0x50], xmm2
mov rcx, qword [0x1400b80b8]
lea edx, [r10 + 0x286]
mov r9d, dword [rbx + 0x14]
call fcn.14000dcd0
mov dword [rax + 4], r9d
mov dword [rax], r9d
mov word [rax + 8], 0
movss xmm5, dword [rbx + 0x2c]
movss xmm0, dword [rbx + 0x34]
movss xmm2, dword [rbx + 0x44]
subss xmm0, xmm5
movss xmm3, dword [rbx + 0x4c]
movaps xmm1, xmm2
movss xmm4, dword [rbx + 0x50]
subss xmm1, xmm0
minss xmm3, xmm1
maxss xmm3, xmm9
movss dword [rbx + 0x4c], xmm3
movss xmm0, dword [rbx + 0x34]
subss xmm0, xmm5
subss xmm2, xmm0
minss xmm4, xmm2
maxss xmm4, xmm9
ucomiss xmm3, xmm4
movss dword [rbx + 0x50], xmm4
jp 0x14004ab6e
jne 0x14004ab6e
mov dword [rbx + 0x58], r12d
jmp 0x14004abfc
movss xmm0, dword [r13 + 0x3c10]
movaps xmm1, xmm4
movss xmm2, dword [rbx + 0x58]
subss xmm1, xmm3
mulss xmm0, dword [0x140097f00]
mov eax, dword [rbx + 0x28]
inc eax
andps xmm1, xmmword [0x1400984c0]
maxss xmm2, xmm0
divss xmm1, dword [0x140097d98]
maxss xmm2, xmm1
movss dword [rbx + 0x58], xmm2
cmp eax, dword [r13 + 0x3e30]
jl 0x14004abf4
movss xmm1, dword [r13 + 0x3c10]
mulss xmm1, dword [0x140097eb4]
movss xmm0, dword [rbx + 0x54]
comiss xmm0, xmm1
ja 0x14004abf4
comiss xmm4, xmm3
mulss xmm2, dword [r13 + 0x18]
jbe 0x14004abe5
addss xmm3, xmm2
minss xmm3, xmm4
jmp 0x14004abf7
comiss xmm3, xmm4
jbe 0x14004abf7
subss xmm3, xmm2
maxss xmm3, xmm4
jmp 0x14004abf7
movaps xmm3, xmm4
movss dword [rbx + 0x4c], xmm3
movss xmm0, dword [rbx + 0x34]
addss xmm10, xmm5
subss xmm0, xmm11
lea rcx, [rsp + 0x30]
addss xmm10, dword [rbp - 0x71]
subss xmm0, xmm12
movss dword [rbx + 0x5c], xmm10
movss dword [rbx + 0x60], xmm0
movsd xmm0, qword [rbx + 0x2c]
mov r9, qword [r13 + 0x3ed8]
movsd qword [r9 + 0x100], 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.14001e380
movss xmm1, dword [rbx + 0x2c]
addss xmm1, dword [rbx + 0x48]
movss xmm0, dword [r9 + 0x120]
maxss xmm0, xmm1
movss dword [r9 + 0x120], xmm0
mov rcx, qword [rbp - 0x51]
xor rcx, rsp
call fcn.1400888c0
lea r11, [rsp + 0x100]
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]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret