Function at 0x14005d170
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 [0x140081010]
xor rax, rsp
mov qword [rbp - 0x51], rax
mov r13, qword [0x140081b60]
xor eax, eax
xor r12d, r12d
mov qword [rbp - 0x79], rax
mov dword [rbp - 0x71], eax
xor sil, sil
mov qword [rbp - 0x6d], rax
mov rbx, rcx
mov dword [rbp - 0x65], eax
mov edi, r12d
mov qword [rbp - 0x61], rax
lea r14d, [r12 + 1]
mov dword [rbp - 0x59], eax
mov r11d, r12d
mov eax, dword [rcx]
mov byte [rcx + 0x73], 0
test eax, eax
jle 0x14005d314
mov edx, r12d
mov rcx, qword [rbx + 8]
mov eax, dword [rbx + 0x28]
cmp dword [rcx + rdx + 0x10], eax
jl 0x14005d2de
cmp byte [rcx + rdx + 0x30], r12b
jne 0x14005d2de
movsxd r8, edi
cmp edi, r11d
je 0x14005d263
movups xmm0, xmmword [rcx + rdx]
imul rax, r8, 0x38
movups xmmword [rax + rcx], xmm0
movups xmm1, xmmword [rcx + rdx + 0x10]
movups xmmword [rax + rcx + 0x10], xmm1
movups xmm0, xmmword [rcx + rdx + 0x20]
movups xmmword [rax + rcx + 0x20], xmm0
movsd xmm1, qword [rcx + rdx + 0x30]
movsd qword [rax + rcx + 0x30], xmm1
mov rax, qword [rbx + 8]
mov ecx, r12d
imul r10, r8, 0x38
mov r8, r12
mov r9d, dword [r10 + rax + 4]
mov word [r10 + rax + 0x2e], di
test r9b, 0x40
jne 0x14005d298
bt r9d, 7
setb cl
inc ecx
bt r9d, 7
setb r8b
inc r8
test edi, edi
jle 0x14005d2d2
mov rax, qword [rbx + 8]
mov r9d, dword [r10 + rax - 0x34]
mov eax, r12d
test r9b, 0x40
jne 0x14005d2b7
test r9b, 0x80
setne al
inc eax
test ecx, ecx
jne 0x14005d2c3
test eax, eax
je 0x14005d2d2
movzx esi, r14b
cmp eax, 2
jne 0x14005d2d2
cmp ecx, eax
movzx esi, sil
cmovne esi, r14d
lea rax, [r8 + r8*2]
inc dword [rbp + rax*4 - 0x79]
inc edi
jmp 0x14005d302
mov eax, dword [rcx + rdx]
cmp dword [rbx + 0x20], eax
jne 0x14005d2ea
mov dword [rbx + 0x20], r12d
mov eax, dword [rcx + rdx]
cmp dword [rbx + 0x18], eax
jne 0x14005d2f6
mov dword [rbx + 0x18], r12d
mov eax, dword [rcx + rdx]
cmp dword [rbx + 0x1c], eax
jne 0x14005d302
mov dword [rbx + 0x1c], r12d
mov eax, dword [rbx]
inc r11d
add rdx, 0x38
cmp r11d, eax
jl 0x14005d213
mov r14d, 8
cmp eax, edi
je 0x14005d34a
mov ecx, dword [rbx + 4]
cmp edi, ecx
jle 0x14005d346
test ecx, ecx
je 0x14005d334
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14005d337
mov eax, r14d
cmp eax, edi
mov edx, edi
mov rcx, rbx
cmovg edx, eax
call fcn.140034050
mov dword [rbx], edi
mov eax, edi
test sil, sil
je 0x14005d36f
movsxd rdx, eax
cmp rdx, 1
jbe 0x14005d36f
mov rcx, qword [rbx + 8]
lea r9, [0x14005cbf0]
mov r8d, 0x38
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov edi, dword [rbp - 0x79]
xorps xmm10, xmm10
mov r15d, dword [rbp - 0x6d]
mov ecx, dword [rbp - 0x61]
test edi, edi
jle 0x14005d394
lea eax, [r15 + rcx]
test eax, eax
jle 0x14005d394
movss xmm0, dword [r13 + 0x3a4c]
jmp 0x14005d397
xorps xmm0, xmm0
movss dword [rbp - 0x71], xmm0
test r15d, r15d
jle 0x14005d3b0
test ecx, ecx
jle 0x14005d3b0
movss xmm12, dword [r13 + 0x3a4c]
jmp 0x14005d3b4
xorps xmm12, xmm12
mov eax, dword [rbx + 0x1c]
movss dword [rbp - 0x65], xmm12
mov dword [rsp + 0x20], r12d
test eax, eax
je 0x14005d3d7
mov r12d, eax
mov dword [rsp + 0x20], eax
mov dword [rbx + 0x18], eax
mov dword [rbx + 0x1c], 0
mov edx, dword [rbx + 0x6c]
test edx, edx
je 0x14005d50e
mov r8d, dword [rbx]
xor eax, eax
test r8d, r8d
jle 0x14005d507
mov r10, qword [rbx + 8]
mov rcx, r10
cmp dword [rcx], edx
je 0x14005d40b
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x14005d3f7
jmp 0x14005d507
cdqe
imul r9, rax, 0x38
add r9, r10
je 0x14005d507
mov r11d, dword [r9 + 4]
test r11b, 0x20
jne 0x14005d507
movsx esi, word [rbx + 0x70]
mov rcx, r9
mov rdi, qword [rbx + 8]
movabs rax, 0x4924924924924925
sub rcx, rdi
mov r10d, esi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
add edx, esi
js 0x14005d504
cmp edx, r8d
jge 0x14005d504
movsxd rax, edx
imul rcx, rax, 0x38
add rdi, rcx
mov eax, dword [rdi + 4]
test al, 0x20
jne 0x14005d504
xor eax, r11d
test al, 0xc0
jne 0x14005d504
movups xmm6, xmmword [r9]
test si, si
lea rdx, [r9 + 0x38]
movups xmm7, xmmword [r9 + 0x10]
lea rax, [rdi + 0x38]
cmovle rdx, rdi
movups xmm8, xmmword [r9 + 0x20]
movsd xmm9, qword [r9 + 0x30]
cmovle r9, rax
jg 0x14005d4b1
neg r10d
movsxd rax, r10d
mov rcx, r9
imul r8, rax, 0x38
call sub.VCRUNTIME140.dll_memmove
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm7
movups xmmword [rdi + 0x20], xmm8
movsd qword [rdi + 0x30], xmm9
test dword [rbx + 0x10], 0x400000
je 0x14005d4f5
mov rcx, qword [0x140081b60]
comiss xmm10, dword [rcx + 0x619c]
jb 0x14005d4f5
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x619c], eax
mov eax, dword [rbx + 0x6c]
cmp eax, dword [rbx + 0x18]
cmove r12d, eax
mov dword [rsp + 0x20], r12d
mov edi, dword [rbp - 0x79]
mov dword [rbx + 0x6c], 0
mov eax, dword [rbx + 0x10]
shr eax, 2
test al, 1
je 0x14005d531
mov rcx, rbx
call fcn.14005e930
test rax, rax
je 0x14005d531
mov r12d, dword [rax]
mov dword [rsp + 0x20], r12d
mov dword [rbx + 0x18], r12d
mov eax, dword [rbp - 0x61]
xor r9d, r9d
mov esi, dword [rbx]
add eax, edi
mov ecx, dword [r13 + 0x50ac]
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x40], edi
cmp esi, ecx
jle 0x14005d646
test ecx, ecx
je 0x14005d566
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 0x14005d646
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 2
call fcn.1400102e0
mov rdx, qword [r13 + 0x50b0]
mov r14, rax
test rdx, rdx
je 0x14005d635
movsxd rcx, dword [r13 + 0x50a8]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov r9, qword [r13 + 0x50b0]
test r9, r9
je 0x14005d62c
mov r8, qword [0x140081b60]
test r8, r8
je 0x14005d62c
movsx rdx, word [r8 + 0x6338]
lea rcx, [r8 + 0x633c]
mov r10d, dword [r8 + 0x4098]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r10d
je 0x14005d621
movsx ecx, dx
mov eax, 0x2aaaaaab
inc ecx
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6338], cx
movsx rax, cx
lea rcx, [r8 + 0x633c]
lea rcx, [rcx + rax*8]
xor eax, eax
mov dword [rcx], r10d
mov dword [rcx + 4], eax
inc word [rcx + 6]
inc dword [r8 + 0x6334]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [r13 + 0x50b0], r14
xor r9d, r9d
mov dword [r13 + 0x50ac], edi
movss xmm13, dword [0x1400760f0]
xor dl, dl
mov dword [r13 + 0x50a8], esi
mov rcx, r9
mov eax, dword [rbx]
mov r14d, 0xffffffff
mov qword [rsp + 0x30], rcx
mov r12d, r9d
mov dword [rsp + 0x28], edx
test eax, eax
jle 0x14005d7ca
mov rsi, r9
lea r15d, [r14 + 2]
nop
mov rdi, qword [rbx + 8]
add rdi, rsi
test rcx, rcx
je 0x14005d694
mov eax, dword [rdi + 0x14]
cmp dword [rcx + 0x14], eax
jge 0x14005d6a4
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 0x14005d6ca
cmp dword [r13 + 0x4d38], eax
cmove ecx, eax
mov dword [rsp + 0x20], ecx
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x14005d6d9
mov rdx, qword [rdx + 8]
jmp 0x14005d6f5
movsxd rax, dword [rdi + 0x28]
cmp eax, 0xffffffff
jne 0x14005d6eb
lea rdx, [0x140073954]
jmp 0x14005d6f5
mov rdx, rax
add rdx, qword [rbx + 0x98]
mov eax, dword [rdi + 4]
movss xmm1, dword [rdi + 0x24]
and eax, 0x100001
cmp eax, 0x100000
setne r8b
comiss xmm1, xmm10
jae 0x14005d722
lea rcx, [rsp + 0x48]
call fcn.14005f9b0
xor r9d, r9d
movss xmm1, dword [rax]
mov eax, dword [rdi + 4]
movss dword [rdi + 0x20], xmm1
test al, 0x40
je 0x14005d733
mov eax, r9d
jmp 0x14005d73d
test al, 0x80
mov eax, r9d
setne al
inc eax
mov edx, eax
lea rcx, [rdx + rdx*2]
cmp eax, r14d
jne 0x14005d753
movss xmm0, dword [r13 + 0x3a4c]
jmp 0x14005d757
movaps xmm0, xmm10
addss xmm0, xmm1
mov r14d, eax
add rsi, 0x38
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 + 0x50b0]
mov edx, dword [rsp + 0x28]
mov dword [rax + rcx*4], r12d
inc r12d
movss xmm0, dword [rdi + 0x20]
movss dword [rax + rcx*4 + 8], xmm0
movss dword [rax + rcx*4 + 4], xmm0
movss xmm1, dword [rdi + 0x20]
mov rcx, qword [rsp + 0x30]
maxss xmm1, xmm13
movss dword [rdi + 0x1c], xmm1
mov eax, dword [rbx]
cmp r12d, eax
jl 0x14005d680
movss xmm12, dword [rbp - 0x65]
mov r15d, dword [rbp - 0x6d]
movss xmm9, dword [rbp - 0x75]
lea rdi, [rbx + 0x2c]
movss xmm6, dword [rbp - 0x69]
movaps xmm7, xmm9
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, xmm10
addss xmm1, xmm6
addss xmm1, xmm8
movss dword [rbx + 0x48], xmm1
movss xmm0, dword [rdi + 8]
subss xmm0, dword [rdi]
comiss xmm1, xmm0
jbe 0x14005d84d
cmp eax, 1
jle 0x14005d84d
mov eax, dword [rbx + 0x10]
test al, 0x10
jne 0x14005d84d
test al, al
jns 0x14005d84d
mov rcx, rbx
call fcn.14005e5d0
test rax, rax
je 0x14005d84d
test dword [rax + 4], 0x200000
mov r12d, dword [rax]
mov dword [rsp + 0x20], r12d
jne 0x14005d84d
mov dword [rbx + 0x18], r12d
movss xmm0, dword [rdi + 8]
movaps xmm1, xmm8
subss xmm0, dword [rdi]
addss xmm1, xmm7
comiss xmm0, xmm1
seta al
test al, al
je 0x14005d87c
subss xmm0, xmm7
subss xmm0, xmm8
subss xmm6, xmm0
maxss xmm6, xmm10
jmp 0x14005d883
movaps xmm6, xmm1
subss xmm6, xmm0
comiss xmm6, xmm13
jb 0x14005db75
test byte [rbx + 0x10], 0x40
jne 0x14005d8b3
test al, al
jne 0x14005db75
mov r15d, dword [rbp - 0x61]
mov edx, dword [rbp - 0x79]
add r15d, edx
test al, al
je 0x14005d8c4
mov esi, dword [rbp - 0x61]
add esi, edx
xor r12d, r12d
jmp 0x14005d8ca
test al, al
je 0x14005d89b
mov esi, dword [rbp - 0x61]
mov edx, dword [rbp - 0x79]
add esi, edx
xor r12d, r12d
jmp 0x14005d8ca
xor r12d, r12d
mov esi, r12d
mov rcx, qword [r13 + 0x50b0]
movaps xmm2, xmm6
movsxd r14, esi
mov edx, r15d
lea rax, [r14 + r14*2]
lea rdi, [rax*4]
add rcx, rdi
call fcn.140052710
lea eax, [rsi + r15]
movsxd r9, eax
cmp r14, r9
jge 0x14005db71
mov rax, r9
sub rax, r14
cmp rax, 4
jl 0x14005dae2
mov r8, r9
sub r8, r14
sub r8, 4
shr r8, 2
inc r8
lea r14, [r14 + r8*4]
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r13 + 0x50b0]
movsxd rax, dword [rcx + rdi]
imul rdx, rax, 0x38
cvttss2si eax, dword [rcx + rdi + 4]
add rdx, qword [rbx + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm10, xmm0
ja 0x14005d997
mov eax, dword [rdx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x14005d96a
mov rax, r12
jmp 0x14005d975
test al, 0x80
mov rax, r12
setne al
inc rax
movss xmm1, dword [rdx + 0x1c]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x75]
subss xmm1, xmm2
movss dword [rdx + 0x1c], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x75], xmm0
mov rcx, qword [r13 + 0x50b0]
movsxd rax, dword [rcx + rdi + 0xc]
imul rdx, rax, 0x38
cvttss2si eax, dword [rcx + rdi + 0x10]
add rdx, qword [rbx + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm10, xmm0
ja 0x14005d9ff
mov eax, dword [rdx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x14005d9d2
mov rax, r12
jmp 0x14005d9dd
test al, 0x80
mov rax, r12
setne al
inc rax
movss xmm1, dword [rdx + 0x1c]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x75]
subss xmm1, xmm2
movss dword [rdx + 0x1c], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x75], xmm0
mov rcx, qword [r13 + 0x50b0]
movsxd rax, dword [rdi + rcx + 0x18]
imul rdx, rax, 0x38
cvttss2si eax, dword [rdi + rcx + 0x1c]
add rdx, qword [rbx + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm10, xmm0
ja 0x14005da67
mov eax, dword [rdx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x14005da3a
mov rax, r12
jmp 0x14005da45
test al, 0x80
mov rax, r12
setne al
inc rax
movss xmm1, dword [rdx + 0x1c]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x75]
subss xmm1, xmm2
movss dword [rdx + 0x1c], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x75], xmm0
mov rcx, qword [r13 + 0x50b0]
movsxd rax, dword [rdi + rcx + 0x24]
imul rdx, rax, 0x38
cvttss2si eax, dword [rdi + rcx + 0x28]
add rdx, qword [rbx + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm10, xmm0
ja 0x14005dacf
mov eax, dword [rdx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x14005daa2
mov rax, r12
jmp 0x14005daad
test al, 0x80
mov rax, r12
setne al
inc rax
movss xmm1, dword [rdx + 0x1c]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x75]
subss xmm1, xmm2
movss dword [rdx + 0x1c], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x75], xmm0
add rdi, 0x30
sub r8, 1
jne 0x14005d930
cmp r14, r9
jge 0x14005db5f
lea r8, [r14 + r14*2]
shl r8, 2
sub r9, r14
mov rcx, qword [r13 + 0x50b0]
movsxd rax, dword [rcx + r8]
imul rdx, rax, 0x38
cvttss2si eax, dword [rcx + r8 + 4]
add rdx, qword [rbx + 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm10, xmm0
ja 0x14005db55
mov eax, dword [rdx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x14005db28
mov rax, r12
jmp 0x14005db33
test al, 0x80
mov rax, r12
setne al
inc rax
movss xmm1, dword [rdx + 0x1c]
lea rax, [rax + rax*2]
movss xmm0, dword [rbp + rax*4 - 0x75]
subss xmm1, xmm2
movss dword [rdx + 0x1c], xmm2
subss xmm0, xmm1
movss dword [rbp + rax*4 - 0x75], xmm0
add r8, 0xc
sub r9, 1
jne 0x14005daed
movss xmm9, dword [rbp - 0x75]
movss xmm12, dword [rbp - 0x65]
movss xmm11, dword [rbp - 0x5d]
lea rdi, [rbx + 0x2c]
xor r10d, r10d
movaps xmm2, xmm10
mov r11d, r10d
mov dword [rsp + 0x24], r10d
mov dword [rbx + 0x44], r10d
mov r12d, r10d
nop dword [rax + rax]
lea rdx, [r12 + r12*2]
lea rsi, [rbp - 0x75]
lea rsi, [rsi + rdx*4]
cmp r12, 2
jne 0x14005dbbe
movss xmm1, dword [rdi + 8]
movaps xmm0, xmm10
subss xmm1, dword [rdi]
subss xmm1, dword [rsi]
maxss xmm0, xmm1
minss xmm0, xmm2
movaps xmm2, xmm0
movsxd r9, dword [rbp + rdx*4 - 0x79]
mov r8d, r10d
movsxd r15, r11d
mov rdi, r9
mov r14, r10
cmp r9, 4
jl 0x14005dd03
lea r11, [rdi - 4]
shr r11, 2
lea r10d, [r9 - 1]
imul rcx, r15, 0x38
inc r11
mov r9d, 2
lea r14, [r11*4]
nop word [rax + rax]
mov rax, qword [rbx + 8]
movss dword [rcx + rax + 0x18], xmm2
mov dword [rcx + rax + 0x28], 0xffffffff
cmp r8d, r10d
jge 0x14005dc22
movss xmm0, dword [r13 + 0x3a4c]
jmp 0x14005dc26
movaps xmm0, xmm10
addss xmm0, dword [rcx + rax + 0x1c]
mov rdx, qword [rbx + 8]
lea eax, [r9 - 1]
addss xmm2, xmm0
movss dword [rcx + rdx + 0x50], xmm2
mov dword [rcx + rdx + 0x60], 0xffffffff
cmp eax, r10d
jge 0x14005dc56
movss xmm0, dword [r13 + 0x3a4c]
jmp 0x14005dc5a
movaps xmm0, xmm10
mov rax, qword [rbx + 8]
addss xmm0, dword [rcx + rdx + 0x54]
addss xmm2, xmm0
movss dword [rcx + rax + 0x88], xmm2
mov dword [rcx + rax + 0x98], 0xffffffff
cmp r9d, r10d
jge 0x14005dc8c
movss xmm0, dword [r13 + 0x3a4c]
jmp 0x14005dc90
movaps xmm0, xmm10
addss xmm0, dword [rcx + rax + 0x8c]
mov rdx, qword [rbx + 8]
lea eax, [r9 + 1]
addss xmm2, xmm0
movss dword [rcx + rdx + 0xc0], xmm2
mov dword [rcx + rdx + 0xd0], 0xffffffff
cmp eax, r10d
jge 0x14005dcc9
movss xmm0, dword [r13 + 0x3a4c]
jmp 0x14005dccd
movaps xmm0, xmm10
addss xmm0, dword [rcx + rdx + 0xc4]
add r8d, 4
add r9d, 4
add rcx, 0xe0
addss xmm2, xmm0
sub r11, 1
jne 0x14005dc00
mov r11d, dword [rsp + 0x24]
lea rdx, [r12 + r12*2]
cmp r14, rdi
jl 0x14005dd0c
jmp 0x14005dd5c
test r9d, r9d
jle 0x14005dd5f
lea r10d, [r9 - 1]
lea rax, [r15 + r14]
imul rcx, rax, 0x38
sub rdi, r14
mov rax, qword [rbx + 8]
movss dword [rcx + rax + 0x18], xmm2
mov dword [rcx + rax + 0x28], 0xffffffff
cmp r8d, r10d
jge 0x14005dd39
movss xmm0, dword [r13 + 0x3a4c]
jmp 0x14005dd3d
movaps xmm0, xmm10
addss xmm0, dword [rcx + rax + 0x1c]
inc r8d
add rcx, 0x38
addss xmm2, xmm0
sub rdi, 1
jne 0x14005dd17
lea rsi, [rbp - 0x75]
lea rsi, [rsi + rdx*4]
xor r10d, r10d
movss xmm1, dword [rbp + rdx*4 - 0x71]
lea rdi, [rbx + 0x2c]
add r11d, dword [rbp + rdx*4 - 0x79]
addss xmm2, xmm1
movaps xmm0, xmm1
mov dword [rsp + 0x24], r11d
addss xmm0, dword [rsi]
inc r12
maxss xmm0, xmm10
addss xmm0, dword [rbx + 0x44]
movss dword [rbx + 0x44], xmm0
cmp r12, 3
jl 0x14005db90
mov ecx, dword [rbx + 0x94]
test ecx, ecx
jns 0x14005ddc1
mov eax, ecx
cdq
sub eax, edx
mov edx, r10d
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x90]
test eax, eax
cmovg edx, eax
call fcn.140033d00
xor r14d, r14d
mov dword [rbx + 0x90], r14d
cmp byte [rsp + 0x28], r14b
jne 0x14005ddd6
mov dword [rbx + 0x18], r14d
mov ecx, dword [rbx + 0x18]
mov eax, ecx
test ecx, ecx
jne 0x14005ddf8
cmp dword [rbx + 0x1c], r14d
jne 0x14005ddf8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14005ddf8
mov edx, dword [rdx]
mov eax, edx
mov dword [rbx + 0x18], edx
jmp 0x14005ddfc
mov edx, dword [rsp + 0x20]
mov dword [rbx + 0x20], eax
mov byte [rbx + 0x74], r14b
mov rax, qword [r13 + 0x4ef8]
test rax, rax
je 0x14005de2a
mov rcx, qword [rax + 0x458]
test rcx, rcx
je 0x14005de2a
cmp qword [rcx + 0x40], rbx
jne 0x14005de2a
mov edx, dword [rax + 0xb8]
mov dword [rbx + 0x20], edx
test edx, edx
je 0x14005dfba
mov r8d, dword [rbx]
mov eax, r14d
test r8d, r8d
jle 0x14005de53
mov r9, qword [rbx + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14005debe
inc eax
add rcx, 0x38
cmp eax, r8d
jl 0x14005de44
lea rsi, [rbx + 0x2c]
movss xmm6, dword [rsi]
movss xmm0, dword [rsi + 8]
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, xmm10
movss dword [rbx + 0x4c], xmm3
movss xmm5, dword [rbx + 0x34]
movaps xmm0, xmm5
subss xmm0, xmm6
subss xmm2, xmm0
minss xmm4, xmm2
maxss xmm4, xmm10
ucomiss xmm3, xmm4
movss dword [rbx + 0x50], xmm4
jp 0x14005e13e
jne 0x14005e13e
mov dword [rbx + 0x58], r14d
jmp 0x14005e1cc
movsxd rcx, eax
imul rdx, rcx, 0x38
add r9, rdx
je 0x14005de53
test byte [r9 + 4], 0xc0
lea rsi, [rbx + 0x2c]
jne 0x14005de57
movss xmm3, dword [rsi + 8]
movabs rax, 0x4924924924924925
subss xmm3, dword [rsi]
mov rcx, qword [0x140081b60]
imul rdx
movss xmm0, dword [rcx + 0x3e78]
subss xmm3, xmm9
sar rdx, 4
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 0x14005df2c
movaps xmm1, xmm0
xorps xmm1, xmmword [0x140076380]
jmp 0x14005df30
movaps xmm1, xmm10
movss xmm2, dword [r9 + 0x18]
lea eax, [rdx + 1]
sub r8d, dword [rbp - 0x61]
subss xmm2, xmm9
addss xmm1, xmm2
cmp eax, r8d
jl 0x14005df4f
movaps xmm0, xmm13
addss xmm2, dword [r9 + 0x1c]
movss xmm4, dword [rbx + 0x50]
comiss xmm4, xmm1
mov dword [rbx + 0x54], r14d
addss xmm2, xmm0
ja 0x14005df9d
movaps xmm0, xmm2
subss xmm0, xmm1
comiss xmm0, xmm3
jae 0x14005df9d
subss xmm2, xmm3
comiss xmm2, xmm4
jbe 0x14005de57
subss xmm1, xmm3
movss dword [rbx + 0x50], xmm2
subss xmm1, dword [rbx + 0x4c]
maxss xmm1, xmm10
movss dword [rbx + 0x54], xmm1
jmp 0x14005de57
movss xmm0, dword [rbx + 0x4c]
subss xmm0, xmm2
movss dword [rbx + 0x50], xmm1
maxss xmm0, xmm10
movss dword [rbx + 0x54], xmm0
jmp 0x14005de57
test byte [rbx + 0x10], 0x80
je 0x14005de53
lea rsi, [rbx + 0x2c]
mov r8b, 1
mov rcx, rsi
lea rdx, [rbx + 0x34]
call fcn.14001ccb0
test al, al
je 0x14005de57
mov r8, qword [0x140081b60]
mov rdx, qword [r13 + 0x4140]
mov rcx, qword [r8 + 0x4d00]
test rcx, rcx
je 0x14005e04c
mov rcx, qword [rcx + 0x3d0]
test rcx, rcx
je 0x14005e04c
cmp byte [rcx + 0xf4], r14b
je 0x14005e04c
cmp rcx, qword [rdx + 0x3d0]
je 0x14005e04c
mov eax, dword [rcx + 0x14]
bt eax, 0x1b
jb 0x14005e026
bt eax, 0x1a
jae 0x14005e04c
mov rax, qword [rdx + 0x3c0]
cmp qword [rax + 0x3c0], rcx
je 0x14005e04c
cmp rax, rcx
je 0x14005e04c
mov rax, qword [rax + 0x3b8]
test rax, rax
jne 0x14005e036
jmp 0x14005de57
mov rax, qword [r8 + 0x4c98]
cmp qword [rdx + 0x40], rax
je 0x14005e07d
mov rax, qword [r8 + 0x4158]
test rax, rax
je 0x14005de57
mov rax, qword [rax + 0x3d0]
cmp qword [rdx + 0x3d0], rax
jne 0x14005de57
movzx eax, byte [r13 + 0x389d]
test al, al
je 0x14005e094
movss xmm2, dword [r13 + 0xe58]
jmp 0x14005e09d
movss xmm2, dword [r13 + 0xe5c]
mov r11d, dword [rbx + 0x14]
test al, al
mov r10d, r14d
mov edx, r11d
setne r10b
lea ecx, [r10 + 0x294]
call fcn.14001eb10
test al, al
je 0x14005e11a
ucomiss xmm2, xmm10
jp 0x14005e0c5
je 0x14005e11a
movss xmm1, dword [rsi]
movss xmm0, dword [rsi + 8]
subss xmm0, xmm1
mov dword [rbx + 0x54], r14d
subss xmm0, xmm9
subss xmm0, xmm11
subss xmm0, xmm12
mulss xmm0, xmm2
movss xmm2, dword [rbx + 0x50]
divss xmm0, dword [0x14007612c]
subss xmm2, xmm0
movss xmm0, dword [rbx + 0x34]
subss xmm0, xmm1
movss xmm1, dword [rbx + 0x44]
subss xmm1, xmm0
minss xmm2, xmm1
maxss xmm2, xmm10
movss dword [rbx + 0x50], xmm2
mov rcx, qword [0x140081b60]
lea edx, [r10 + 0x294]
call fcn.14000a150
mov dword [rax + 4], r11d
mov dword [rax], r11d
mov word [rax + 8], r14w
jmp 0x14005de57
movss xmm0, dword [r13 + 0x3e78]
movaps xmm1, xmm4
movss xmm2, dword [rbx + 0x58]
subss xmm1, xmm3
mulss xmm0, dword [0x1400761a0]
mov eax, dword [rbx + 0x28]
inc eax
andps xmm1, xmmword [0x140076370]
maxss xmm2, xmm0
divss xmm1, dword [0x140076094]
maxss xmm2, xmm1
movss dword [rbx + 0x58], xmm2
cmp eax, dword [r13 + 0x4098]
jl 0x14005e1c4
movss xmm1, dword [r13 + 0x3e78]
mulss xmm1, dword [0x140076154]
movss xmm0, dword [rbx + 0x54]
comiss xmm0, xmm1
ja 0x14005e1c4
comiss xmm4, xmm3
mulss xmm2, dword [r13 + 0x18]
jbe 0x14005e1b5
addss xmm3, xmm2
minss xmm3, xmm4
jmp 0x14005e1c7
comiss xmm3, xmm4
jbe 0x14005e1c7
subss xmm3, xmm2
maxss xmm3, xmm4
jmp 0x14005e1c7
movaps xmm3, xmm4
movss dword [rbx + 0x4c], xmm3
movsd xmm0, qword [rsi]
addss xmm9, xmm6
subss xmm5, xmm11
lea rcx, [rsp + 0x30]
addss xmm9, dword [rbp - 0x71]
subss xmm5, xmm12
movss dword [rbx + 0x5c], xmm9
movss dword [rbx + 0x60], xmm5
mov r9, qword [r13 + 0x4140]
movsd qword [r9 + 0x140], 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 + 0x84]
movss dword [rsp + 0x34], xmm0
call fcn.14001ef10
movss xmm1, dword [rsi]
addss xmm1, dword [rbx + 0x48]
movss xmm0, dword [r9 + 0x160]
maxss xmm0, xmm1
movss dword [r9 + 0x160], xmm0
mov rcx, qword [rbp - 0x51]
xor rcx, rsp
call fcn.14006af30
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