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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x10162378]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [0x10167324]
xorps xmm0, xmm0
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], eax
xor esi, esi
mov dword [esp + 0x18], edi
mov byte [esp + 0xc], 0
movaps xmmword [esp + 0x70], xmm0
mov eax, dword [edi]
mov byte [edi + 0x6f], 0
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0x90], esi
mov dword [esp + 8], esi
mov dword [esp + 0x20], 1
test eax, eax
jle 0x1009efdf
mov dword [esp + 0x10], esi
xor edx, edx
nop dword [eax]
mov ecx, dword [edi + 8]
mov eax, dword [edx + ecx + 0xc]
cmp eax, dword [edi + 0x24]
jl 0x1009ef9c
cmp byte [edx + ecx + 0x2c], 0
jne 0x1009ef9c
cmp esi, dword [esp + 8]
je 0x1009ef21
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [edx + ecx]
movups xmm1, xmmword [edx + ecx + 0x10]
movups xmm2, xmmword [edx + ecx + 0x20]
movups xmmword [eax + ecx], xmm0
movups xmmword [eax + ecx + 0x10], xmm1
movups xmmword [eax + ecx + 0x20], xmm2
mov eax, dword [edi + 8]
add eax, dword [esp + 0x10]
mov word [eax + 0x2a], si
mov eax, dword [eax + 4]
test al, 0x40
je 0x1009ef37
xor ecx, ecx
jmp 0x1009ef42
test al, 0x80
mov ecx, 0
setne cl
inc ecx
test esi, esi
jle 0x1009ef8d
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x10]
mov eax, dword [edi + eax - 0x2c]
test al, 0x40
je 0x1009ef59
xor eax, eax
jmp 0x1009ef64
test al, 0x80
mov eax, 0
setne al
inc eax
mov edi, dword [esp + 0x18]
test ecx, ecx
jne 0x1009ef75
test eax, eax
je 0x1009ef8d
mov byte [esp + 0xc], 1
cmp eax, 2
jne 0x1009ef8d
mov eax, dword [esp + 0xc]
cmp ecx, 2
movzx eax, al
cmovne eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
lea eax, [ecx + ecx*2]
inc esi
inc dword [esp + eax*4 + 0x70]
add dword [esp + 0x10], 0x30
jmp 0x1009efc9
mov eax, dword [edi + 0x1c]
cmp eax, dword [edx + ecx]
jne 0x1009efab
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0x14]
cmp eax, dword [edx + ecx]
jne 0x1009efba
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x18]
cmp eax, dword [edx + ecx]
jne 0x1009efc9
mov dword [edi + 0x18], 0
mov ecx, dword [esp + 8]
add edx, 0x30
mov eax, dword [edi]
inc ecx
mov dword [esp + 8], ecx
cmp ecx, eax
jl 0x1009eee0
cmp eax, esi
je 0x1009f012
mov eax, dword [edi + 4]
cmp esi, eax
jle 0x1009f00e
test eax, eax
je 0x1009effa
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 4]
jmp 0x1009efff
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edi
push eax
call fcn.100a2010
mov dword [edi], esi
mov eax, esi
cmp byte [esp + 0xc], 0
je 0x1009f032
cmp eax, 1
jbe 0x1009f032
push 0x1009e490
push 0x30
push eax
push dword [edi + 8]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
add esp, 0x10
cmp dword [esp + 0x70], 0
xorps xmm0, xmm0
jle 0x1009f059
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0x88]
test eax, eax
jle 0x1009f059
mov eax, dword [esp + 0x1c]
movss xmm1, dword [eax + 0x39a8]
jmp 0x1009f060
mov eax, dword [esp + 0x1c]
xorps xmm1, xmm1
cmp dword [esp + 0x7c], 0
movss dword [esp + 0x78], xmm1
jle 0x1009f07f
cmp dword [esp + 0x88], 0
jle 0x1009f07f
movss xmm0, dword [eax + 0x39a8]
xor eax, eax
movss dword [esp + 0x84], xmm0
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1009f0a3
mov dword [esp + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov edx, dword [edi + 0x68]
test edx, edx
je 0x1009f1e7
mov ecx, dword [edi]
xor eax, eax
test ecx, ecx
jle 0x1009f1e0
mov esi, dword [edi + 8]
nop dword [eax]
cmp dword [esi], edx
je 0x1009f0d1
inc eax
add esi, 0x30
cmp eax, ecx
jl 0x1009f0c0
jmp 0x1009f1e0
test esi, esi
je 0x1009f1e0
test byte [esi + 4], 0x20
jne 0x1009f1e0
mov ecx, esi
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 8]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx edx, word [edi + 0x6c]
movsx ecx, dx
add eax, ecx
js 0x1009f1e0
cmp eax, dword [edi]
jge 0x1009f1e0
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [edi + 8]
mov dword [esp + 0x20], eax
mov edx, dword [eax + 4]
test dl, 0x20
jne 0x1009f1e0
xor edx, dword [esi + 4]
test dl, 0xc0
jne 0x1009f1e0
movups xmm0, xmmword [esi]
lea edx, [esi + 0x30]
mov dword [esp + 8], edx
movzx edx, word [edi + 0x6c]
mov edi, dword [esp + 8]
test dx, dx
movaps xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [esi + 0x10]
cmovle edi, eax
add eax, 0x30
test dx, dx
mov dword [esp + 8], edi
movaps xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [esi + 0x20]
cmovle esi, eax
movaps xmmword [esp + 0x40], xmm0
jg 0x1009f175
neg ecx
lea eax, [ecx + ecx*2]
shl eax, 4
push eax
push dword [esp + 0xc]
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x2c]
add esp, 0xc
movaps xmm0, xmmword [esp + 0x60]
mov edi, dword [esp + 0x18]
movups xmmword [eax], xmm0
movaps xmm0, xmmword [esp + 0x30]
movups xmmword [eax + 0x10], xmm0
movaps xmm0, xmmword [esp + 0x40]
movups xmmword [eax + 0x20], xmm0
test dword [edi + 0xc], 0x400000
je 0x1009f1cf
mov ecx, dword [0x10167324]
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5e98]
jb 0x1009f1cf
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5e98], eax
mov eax, dword [edi + 0x68]
mov ecx, dword [esp + 0x10]
cmp eax, dword [edi + 0x14]
cmove ecx, eax
mov dword [esp + 0x10], ecx
mov dword [edi + 0x68], 0
mov eax, dword [edi + 0xc]
shr eax, 2
test al, 1
je 0x1009f3f3
mov esi, dword [0x10167324]
mov dword [esp + 0x40], 0
mov eax, dword [esi + 0x4064]
lea ecx, [esi + 0x4a70]
movss xmm0, dword [esi + 0x3994]
movaps xmm2, xmm0
mov dword [esp + 0xc], eax
addss xmm2, dword [esi + 0x3dcc]
movss xmm1, dword [eax + 0x128]
movss dword [esp + 0x20], xmm1
movss xmm1, dword [eax + 0x12c]
movss dword [esp + 0x2c], xmm1
movss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x2c]
movss dword [eax + 0x12c], xmm0
movss dword [eax + 0x128], xmm1
lea eax, [esp + 0x40]
addss xmm2, dword [edi + 0x28]
push eax
movss dword [edi + 0x28], xmm2
movups xmm0, xmmword [esi + 0x3a3c]
movaps xmmword [esp + 0x64], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [0x1015c9e4]
movss dword [esp + 0x70], xmm0
movups xmm0, xmmword [esi + 0x3a3c]
movups xmmword [esp + 0x48], xmm0
call fcn.10035810
movups xmm0, xmmword [esp + 0x60]
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0x15
push eax
movups xmmword [esi + 0x3a3c], xmm0
mov esi, dword [0x10167324]
movups xmm0, xmmword [esi + 0x3b8c]
lea ecx, [esi + 0x4a70]
movups xmmword [esp + 0x48], xmm0
call fcn.10035810
mov dword [esi + 0x3b8c], 0
xor edx, edx
mov dword [esi + 0x3b90], 0
mov ecx, 0x10150458
mov dword [esi + 0x3b94], 0
push 0x50
mov dword [esi + 0x3b98], 0
call fcn.10088530
add esp, 4
mov byte [esp + 0x17], al
mov ecx, 2
call fcn.10005f20
xor ecx, ecx
mov dword [esp + 8], ecx
cmp byte [esp + 0x17], cl
je 0x1009f3c6
mov dword [esp + 0x28], ecx
cmp dword [edi], ecx
jle 0x1009f3bd
xor eax, eax
mov dword [esp + 0x24], eax
nop dword [eax]
mov esi, dword [edi + 8]
add esi, eax
test dword [esi + 4], 0x200000
jne 0x1009f3ad
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1009f35a
mov ecx, dword [ecx + 4]
jmp 0x1009f371
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
jne 0x1009f369
mov ecx, 0x101265fc
jmp 0x1009f371
mov ecx, dword [edi + 0x94]
add ecx, eax
mov eax, dword [edi + 0x14]
cmp eax, dword [esi]
lea eax, [esp + 0x30]
push eax
sete dl
mov dword [esp + 0x34], 0
push 0
mov dword [esp + 0x3c], 0
call fcn.1009aeb0
mov ecx, dword [esp + 0x10]
add esp, 8
test al, al
mov eax, dword [esp + 0x24]
cmovne ecx, esi
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x28]
inc ecx
add eax, 0x30
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
cmp ecx, dword [edi]
jl 0x1009f340
call fcn.10018ec0
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
movss xmm0, dword [esp + 0x20]
movss dword [eax + 0x128], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [eax + 0x12c], xmm0
test ecx, ecx
je 0x1009f3f3
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
mov dword [edi + 0x14], eax
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x88]
mov edx, dword [edi]
add eax, ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x4e34]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], edx
cmp edx, ecx
jle 0x1009f52c
test ecx, ecx
je 0x1009f43b
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, ecx
jmp 0x1009f440
mov eax, 8
cmp eax, edx
mov ecx, edx
cmovg ecx, eax
mov dword [esp + 0xc], ecx
cmp ecx, dword [esi + 0x4e34]
jle 0x1009f52c
lea ecx, [ecx + ecx*2]
shl ecx, 2
call fcn.10009920
mov edx, dword [esi + 0x4e38]
mov dword [esp + 8], eax
test edx, edx
je 0x1009f518
mov ecx, dword [esi + 0x4e30]
lea ecx, [ecx + ecx*2]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esi + 0x4e38]
add esp, 0xc
mov dword [esp + 0x20], edx
test edx, edx
je 0x1009f50a
mov ecx, dword [0x10167324]
test ecx, ecx
je 0x1009f50a
mov eax, dword [ecx + 0x3fe0]
mov dword [esp + 0x28], eax
movsx eax, word [ecx + 0x5fa4]
mov edi, dword [esp + 0x28]
add eax, 0xbf5
cmp dword [ecx + eax*8], edi
mov edi, dword [esp + 0x18]
lea eax, [ecx + eax*8]
je 0x1009f500
movsx eax, word [ecx + 0x5fa4]
inc eax
mov dword [esp + 0x2c], 6
cdq
idiv dword [esp + 0x2c]
movzx eax, dx
mov edx, dword [esp + 0x28]
mov word [ecx + 0x5fa4], ax
cwde
add eax, 0xbf5
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
inc word [eax + 6]
inc dword [ecx + 0x5fa0]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [esp + 0xc]
add esp, 4
mov edx, dword [esp + 0x24]
mov dword [esi + 0x4e38], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x4e34], eax
movss xmm5, dword [0x1015ca30]
xor ecx, ecx
mov dword [esi + 0x4e30], edx
mov eax, dword [edi]
mov dword [esp + 0x28], ecx
mov dword [esp + 8], 0xffffffff
mov byte [esp + 0x24], cl
mov dword [esp + 0x18], ecx
test eax, eax
jle 0x1009f6b2
xor edx, edx
mov dword [esp + 0xc], edx
mov esi, dword [edi + 8]
add esi, edx
test ecx, ecx
je 0x1009f571
mov eax, dword [ecx + 0x10]
cmp eax, dword [esi + 0x10]
jge 0x1009f57f
test dword [esi + 4], 0x200000
cmove ecx, esi
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x24]
mov ecx, 1
mov edx, dword [esi]
cmp edx, dword [edi + 0x14]
movzx eax, al
cmove eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1009f5b0
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x4b50], edx
cmove eax, edx
mov dword [esp + 0x10], eax
mov edx, dword [esi + 8]
test edx, edx
je 0x1009f5bc
mov edx, dword [edx + 4]
jmp 0x1009f5d3
mov eax, dword [esi + 0x24]
cmp eax, 0xffffffff
jne 0x1009f5cb
mov edx, 0x101265fc
jmp 0x1009f5d3
mov edx, dword [edi + 0x94]
add edx, eax
mov eax, dword [esi + 4]
xorps xmm0, xmm0
movss xmm1, dword [esi + 0x20]
and eax, 0x100001
cmp eax, 0x100000
setne al
comiss xmm1, xmm0
jae 0x1009f60c
push eax
lea ecx, [esp + 0x64]
call fcn.100a1680
movss xmm5, dword [0x1015ca30]
add esp, 4
xorps xmm0, xmm0
movss xmm1, dword [eax]
mov eax, dword [esi + 4]
movss dword [esi + 0x1c], xmm1
test al, 0x40
je 0x1009f61c
xor edx, edx
jmp 0x1009f627
test al, 0x80
mov edx, 0
setne dl
inc edx
lea ecx, [edx + edx*2]
cmp edx, dword [esp + 8]
jne 0x1009f63c
mov eax, dword [esp + 0x1c]
movss xmm0, dword [eax + 0x39a8]
addss xmm0, xmm1
mov dword [esp + 8], edx
addss xmm0, dword [esp + ecx*4 + 0x74]
movss dword [esp + ecx*4 + 0x74], xmm0
mov ecx, dword [esp + edx*4 + 0x30]
lea eax, [ecx + 1]
mov dword [esp + edx*4 + 0x30], eax
lea ecx, [ecx + ecx*2]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x4e38]
mov dword [eax + ecx*4], edx
movss xmm0, dword [esi + 0x1c]
movss dword [eax + ecx*4 + 8], xmm0
movss dword [eax + ecx*4 + 4], xmm0
mov ecx, edx
movss xmm0, dword [esi + 0x1c]
inc ecx
mov edx, dword [esp + 0xc]
maxss xmm0, xmm5
add edx, 0x30
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], edx
movss dword [esi + 0x18], xmm0
mov eax, dword [edi]
cmp ecx, eax
mov ecx, dword [esp + 0x28]
jl 0x1009f560
mov esi, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x74]
xorps xmm2, xmm2
addss xmm1, dword [esp + 0x78]
movss xmm0, dword [esp + 0x80]
addss xmm0, dword [esp + 0x84]
addss xmm1, xmm2
addss xmm1, xmm0
movss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x90]
addss xmm1, xmm0
movss dword [edi + 0x44], xmm1
movss xmm0, dword [edi + 0x30]
subss xmm0, dword [edi + 0x28]
comiss xmm1, xmm0
jbe 0x1009f73f
cmp eax, 1
jle 0x1009f73f
mov eax, dword [edi + 0xc]
test al, 0x10
jne 0x1009f73f
test al, al
jns 0x1009f73f
mov ecx, edi
call fcn.100a01f0
movss xmm5, dword [0x1015ca30]
mov ecx, eax
xorps xmm2, xmm2
test ecx, ecx
je 0x1009f73f
test dword [ecx + 4], 0x200000
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
jne 0x1009f73f
mov dword [edi + 0x14], eax
movss xmm4, dword [esp + 0x8c]
movss xmm3, dword [esp + 0x74]
addss xmm4, dword [esp + 0x90]
addss xmm3, dword [esp + 0x78]
movss xmm1, dword [edi + 0x30]
subss xmm1, dword [edi + 0x28]
movaps xmm0, xmm4
addss xmm0, xmm3
comiss xmm1, xmm0
seta al
mov byte [esp + 0x17], al
test al, al
je 0x1009f7a0
movss xmm0, dword [esp + 0x80]
subss xmm1, xmm3
addss xmm0, dword [esp + 0x84]
subss xmm1, xmm4
subss xmm0, xmm1
maxss xmm0, xmm2
jmp 0x1009f7a4
subss xmm0, xmm1
comiss xmm0, xmm5
jb 0x1009f8be
test byte [edi + 0xc], 0x40
jne 0x1009f7e2
test al, al
jne 0x1009f8be
mov edx, dword [esp + 0x88]
add edx, dword [esp + 0x70]
cmp byte [esp + 0x17], 0
mov dword [esp + 0x18], edx
mov dword [esp + 8], edx
je 0x1009f7ff
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x70]
jmp 0x1009f805
test al, al
je 0x1009f7bb
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x70]
mov dword [esp + 0x18], edx
mov dword [esp + 8], edx
jmp 0x1009f805
xor eax, eax
mov dword [esp + 0x18], edx
mov ecx, dword [esi + 0x4e38]
movaps xmm2, xmm0
mov dword [esp + 0x20], eax
lea eax, [eax + eax*2]
shl eax, 2
add ecx, eax
mov dword [esp + 0xc], eax
call fcn.10088330
mov eax, dword [esp + 0x18]
xorps xmm4, xmm4
add eax, dword [esp + 0x20]
cmp dword [esp + 0x20], eax
jge 0x1009f8c1
movss xmm3, dword [0x1015ca30]
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x4e38]
mov eax, dword [eax + ecx]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0xc]
shl edx, 4
add edx, dword [edi + 8]
cvttss2si eax, dword [eax + ecx + 4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm4, xmm0
ja 0x1009f8aa
mov eax, dword [edx + 4]
movaps xmm2, xmm3
maxss xmm2, xmm0
test al, 0x40
je 0x1009f87e
xor eax, eax
jmp 0x1009f889
test al, 0x80
mov eax, 0
setne al
inc eax
movss xmm1, dword [edx + 0x18]
lea eax, [eax + eax*2]
movss xmm0, dword [esp + eax*4 + 0x74]
subss xmm1, xmm2
subss xmm0, xmm1
movss dword [esp + eax*4 + 0x74], xmm0
movss dword [edx + 0x18], xmm2
mov eax, dword [esp + 0xc]
add eax, 0xc
sub dword [esp + 8], 1
mov dword [esp + 0xc], eax
jne 0x1009f844
jmp 0x1009f8c1
xorps xmm4, xmm4
xor esi, esi
movaps xmm2, xmm4
xor ecx, ecx
mov dword [esp + 8], esi
mov dword [edi + 0x40], esi
mov dword [esp + 0xc], ecx
lea eax, [ecx + ecx*2]
shl eax, 2
lea edx, [esp + 0x74]
add edx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
cmp ecx, 2
jne 0x1009f90a
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm4
subss xmm1, dword [edi + 0x28]
subss xmm1, dword [edx]
maxss xmm0, xmm1
minss xmm0, xmm2
movaps xmm2, xmm0
jmp 0x1009f90e
mov dword [esp + 0x20], edx
mov eax, dword [esp + eax + 0x70]
xor edx, edx
test eax, eax
jle 0x1009f96f
lea esi, [esi + esi*2]
shl esi, 4
nop
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x18]
movss dword [ecx + esi + 0x14], xmm2
mov dword [ecx + esi + 0x24], 0xffffffff
mov eax, dword [esp + eax + 0x70]
dec eax
cmp edx, eax
jge 0x1009f94c
mov eax, dword [esp + 0x1c]
movss xmm0, dword [eax + 0x39a8]
jmp 0x1009f94f
movaps xmm0, xmm4
addss xmm0, dword [ecx + esi + 0x18]
mov ecx, dword [esp + 0x18]
inc edx
add esi, 0x30
mov eax, dword [esp + ecx + 0x70]
addss xmm2, xmm0
cmp edx, eax
jl 0x1009f920
mov esi, dword [esp + 8]
jmp 0x1009f973
mov ecx, dword [esp + 0x18]
movss xmm1, dword [esp + ecx + 0x78]
add esi, eax
mov ecx, dword [esp + 0x20]
addss xmm2, xmm1
movaps xmm0, xmm1
mov dword [esp + 8], esi
addss xmm0, dword [ecx]
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
maxss xmm0, xmm4
addss xmm0, dword [edi + 0x40]
movss dword [edi + 0x40], xmm0
cmp ecx, 3
jl 0x1009f8d3
mov ecx, dword [edi + 0x90]
test ecx, ecx
jns 0x1009f9d7
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x8c]
call fcn.10035cd0
xorps xmm4, xmm4
cmp byte [esp + 0x24], 0
mov dword [edi + 0x8c], 0
jne 0x1009f9ef
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x14]
mov ecx, eax
test eax, eax
jne 0x1009fa0e
cmp dword [edi + 0x18], eax
jne 0x1009fa0e
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1009fa0e
mov eax, dword [eax]
mov ecx, eax
mov dword [edi + 0x14], eax
jmp 0x1009fa12
mov eax, dword [esp + 0x10]
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
mov byte [edi + 0x70], 0
mov edx, dword [ecx + 0x4ce8]
test edx, edx
je 0x1009fa3f
mov esi, dword [edx + 0x3b8]
test esi, esi
je 0x1009fa3f
cmp dword [esi + 0x30], edi
jne 0x1009fa3f
mov eax, dword [edx + 0xa4]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x1009fb71
xor edx, edx
cmp dword [edi], edx
jle 0x1009fdb5
mov esi, dword [edi + 8]
cmp dword [esi], eax
je 0x1009fa65
inc edx
add esi, 0x30
cmp edx, dword [edi]
jl 0x1009fa54
jmp 0x1009fdb5
test esi, esi
je 0x1009fdb5
test byte [esi + 4], 0xc0
jne 0x1009fdb5
mov ecx, dword [0x10167324]
mov eax, 0x2aaaaaab
movss xmm3, dword [edi + 0x30]
subss xmm3, dword [edi + 0x28]
movss xmm0, dword [ecx + 0x3dcc]
mov ecx, esi
sub ecx, dword [edi + 8]
imul ecx
subss xmm3, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
subss xmm3, dword [esp + 0x8c]
sar edx, 3
dec eax
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x2c], ecx
subss xmm3, dword [esp + 0x84]
cmp ecx, eax
jle 0x1009fad6
movaps xmm1, xmm0
xorps xmm1, xmmword [0x1015cf20]
jmp 0x1009fad9
movaps xmm1, xmm4
movss xmm2, dword [esi + 0x14]
subss xmm2, dword [esp + 0x74]
mov ecx, dword [edi]
mov eax, dword [esp + 0x2c]
sub ecx, dword [esp + 0x88]
inc eax
addss xmm1, xmm2
cmp eax, ecx
jl 0x1009fb02
movss xmm0, dword [0x1015ca30]
addss xmm2, dword [esi + 0x18]
movss xmm5, dword [edi + 0x4c]
comiss xmm5, xmm1
mov dword [edi + 0x50], 0
addss xmm2, xmm0
ja 0x1009fb55
movaps xmm0, xmm2
subss xmm0, xmm1
comiss xmm0, xmm3
jae 0x1009fb55
mov ecx, dword [esp + 0x1c]
subss xmm2, xmm3
comiss xmm2, xmm5
jbe 0x1009fdb5
subss xmm1, xmm3
movss dword [edi + 0x4c], xmm2
subss xmm1, dword [edi + 0x48]
maxss xmm1, xmm4
movss dword [edi + 0x50], xmm1
jmp 0x1009fdb5
movss xmm0, dword [edi + 0x48]
subss xmm0, xmm2
movss dword [edi + 0x4c], xmm1
maxss xmm0, xmm4
movss dword [edi + 0x50], xmm0
jmp 0x1009fdb1
test byte [edi + 0xc], 0x80
je 0x1009fdb5
mov esi, dword [0x10167324]
movss xmm0, dword [edi + 0x28]
movss xmm5, dword [edi + 0x2c]
movss xmm2, dword [edi + 0x34]
mov eax, dword [esi + 0x4064]
movss xmm7, dword [esi + 0x39b8]
movss xmm1, dword [esi + 0xe08]
movss xmm3, dword [edi + 0x30]
maxss xmm0, dword [eax + 0x248]
maxss xmm5, dword [eax + 0x24c]
minss xmm3, dword [eax + 0x250]
minss xmm2, dword [eax + 0x254]
movss dword [esp + 0x2c], xmm0
subss xmm0, xmm7
comiss xmm1, xmm0
jb 0x1009fdb5
movss xmm1, dword [esi + 0x39bc]
movaps xmm0, xmm5
movss xmm6, dword [esi + 0xe0c]
subss xmm0, xmm1
comiss xmm6, xmm0
jb 0x1009fdb5
movaps xmm0, xmm3
addss xmm0, xmm7
comiss xmm0, dword [esi + 0xe08]
jbe 0x1009fdb5
movaps xmm0, xmm2
addss xmm0, xmm1
comiss xmm0, xmm6
jbe 0x1009fdb5
mov eax, dword [esi + 0x4af4]
movss xmm6, dword [eax + 0xc]
movss xmm7, dword [eax + 8]
movaps xmm0, xmm6
addss xmm0, dword [eax + 0x14]
movaps xmm1, xmm7
addss xmm1, dword [eax + 0x10]
comiss xmm0, xmm5
jbe 0x1009fdb5
comiss xmm2, xmm6
jbe 0x1009fdb5
comiss xmm1, dword [esp + 0x2c]
jbe 0x1009fdb5
comiss xmm3, xmm7
jbe 0x1009fdb5
mov edx, dword [esi + 0x4b34]
mov eax, dword [ecx + 0x4064]
test edx, edx
je 0x1009fcc9
mov edx, dword [edx + 0x348]
test edx, edx
je 0x1009fcc9
cmp byte [edx + 0xe0], 0
je 0x1009fcc9
cmp edx, dword [eax + 0x348]
je 0x1009fcc9
test dword [edx + 0xc], 0xc000000
je 0x1009fcc9
mov eax, dword [eax + 0x340]
cmp dword [eax + 0x340], edx
je 0x1009fcc3
nop word [eax + eax]
cmp eax, edx
je 0x1009fcc3
mov eax, dword [eax + 0x33c]
test eax, eax
jne 0x1009fcb0
jmp 0x1009fdb5
mov eax, dword [ecx + 0x4064]
mov edx, dword [esi + 0x4af4]
cmp dword [eax + 0x30], edx
je 0x1009fcf4
mov edx, dword [esi + 0x4070]
test edx, edx
je 0x1009fdb5
mov eax, dword [eax + 0x348]
cmp eax, dword [edx + 0x348]
jne 0x1009fdb5
mov dl, byte [ecx + 0x385d]
test dl, dl
je 0x1009fd08
movss xmm1, dword [ecx + 0xe18]
jmp 0x1009fd10
movss xmm1, dword [ecx + 0xe1c]
mov esi, dword [edi + 0x10]
xor eax, eax
test dl, dl
mov edx, esi
setne al
add eax, 0x294
mov ecx, eax
mov dword [esp + 0x2c], eax
call fcn.10016e20
test al, al
je 0x1009fd97
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x1009fd97
movss xmm0, dword [edi + 0x30]
subss xmm0, dword [edi + 0x28]
movss xmm3, dword [edi + 0x30]
mov dword [edi + 0x50], 0
subss xmm3, dword [edi + 0x28]
subss xmm0, dword [esp + 0x74]
subss xmm0, dword [esp + 0x8c]
subss xmm0, dword [esp + 0x84]
mulss xmm0, xmm1
movss xmm1, dword [edi + 0x4c]
divss xmm0, dword [0x1015cad0]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x40]
subss xmm0, xmm3
minss xmm1, xmm0
maxss xmm1, xmm4
movss dword [edi + 0x4c], xmm1
mov edx, dword [esp + 0x2c]
mov ecx, dword [0x10167324]
call fcn.10002ff0
mov dword [eax + 4], esi
mov dword [eax], esi
mov word [eax + 8], 0
mov ecx, dword [esp + 0x1c]
movss xmm7, dword [edi + 0x28]
movss xmm0, dword [edi + 0x30]
movss xmm2, dword [edi + 0x40]
subss xmm0, xmm7
movss xmm3, dword [edi + 0x48]
movaps xmm1, xmm2
movss xmm5, dword [edi + 0x4c]
subss xmm1, xmm0
minss xmm3, xmm1
maxss xmm3, xmm4
movss dword [edi + 0x48], xmm3
movss xmm6, dword [edi + 0x30]
movaps xmm0, xmm6
subss xmm0, xmm7
subss xmm2, xmm0
minss xmm5, xmm2
maxss xmm5, xmm4
ucomiss xmm3, xmm5
movss dword [edi + 0x4c], xmm5
lahf
test ah, 0x44
jnp 0x1009fea5
movss xmm0, dword [ecx + 0x3dcc]
mulss xmm0, dword [0x1015cb74]
mov eax, dword [edi + 0x24]
movss xmm2, dword [edi + 0x54]
inc eax
maxss xmm2, xmm0
movaps xmm0, xmm5
subss xmm0, xmm3
andps xmm0, xmmword [0x1015cef0]
divss xmm0, dword [0x1015c9c8]
maxss xmm2, xmm0
movss dword [edi + 0x54], xmm2
cmp eax, dword [ecx + 0x3fe0]
jl 0x1009fe9b
movss xmm1, dword [ecx + 0x3dcc]
mulss xmm1, dword [0x1015cb18]
movss xmm0, dword [edi + 0x50]
comiss xmm0, xmm1
ja 0x1009fe9b
comiss xmm5, xmm3
mulss xmm2, dword [ecx + 0x18]
jbe 0x1009fe87
addss xmm3, xmm2
minss xmm3, xmm5
movss dword [edi + 0x48], xmm3
jmp 0x1009feac
comiss xmm3, xmm5
jbe 0x1009fe9e
subss xmm3, xmm2
maxss xmm3, xmm5
movss dword [edi + 0x48], xmm3
jmp 0x1009feac
movaps xmm3, xmm5
movss dword [edi + 0x48], xmm3
jmp 0x1009feac
mov dword [edi + 0x54], 0
movss xmm0, dword [esp + 0x74]
subss xmm6, dword [esp + 0x8c]
mov eax, dword [edi + 0x28]
addss xmm0, xmm7
subss xmm6, dword [esp + 0x84]
addss xmm0, dword [esp + 0x78]
movss dword [edi + 0x5c], xmm6
movss dword [edi + 0x58], xmm0
mov esi, dword [ecx + 0x4064]
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x12c], ecx
lea ecx, [esp + 0x30]
mov dword [esi + 0x128], eax
movss xmm0, dword [edi + 0x40]
movss xmm1, dword [edi + 0x80]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [edi + 0x34]
subss xmm0, dword [edi + 0x2c]
movss dword [esp + 0x34], xmm0
call fcn.10016fc0
movss xmm1, dword [edi + 0x44]
addss xmm1, dword [edi + 0x28]
movss xmm0, dword [esi + 0x148]
mov ecx, dword [esp + 0xac]
pop edi
maxss xmm0, xmm1
movss dword [esi + 0x148], xmm0
pop esi
xor ecx, esp
call fcn.10110a52
mov esp, ebp
pop ebp
ret