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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x10162378]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
movss dword [ebp - 0x44], xmm1
movaps xmm2, xmm0
movss dword [ebp - 0x3c], xmm2
mov esi, dword [0x10167324]
xorps xmm3, xmm3
ucomiss xmm1, xmm3
mov dword [ebp - 0x4c], esi
mov eax, dword [esi + 0x4064]
mov edi, dword [esi + 0x4db4]
mov dword [ebp - 0x8c], eax
mov eax, dword [eax + 0x2a4]
movss xmm0, dword [0x1015cc20]
mov dword [ebp - 0x48], eax
lahf
test ah, 0x44
jp 0x1007f0b4
mov ecx, dword [edi + 0x40]
xor eax, eax
mov dword [ebp - 0x40], eax
xorps xmm1, xmm1
movss dword [ebp - 0x58], xmm1
mov dword [ebp - 0x54], ecx
test ecx, ecx
jle 0x1007f09f
mov dword [ebp - 0x44], eax
nop
mov esi, ecx
mov edx, 1
mov ecx, eax
and ecx, 0x1f
shl edx, cl
mov ecx, eax
mov eax, dword [edi + 0x2c]
sar ecx, 5
test dword [eax + ecx*4], edx
je 0x1007f07f
mov ecx, dword [edi + 0x10]
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x54]
test dword [ecx + edx], 0x40000
je 0x1007f07f
cmp byte [edi + 0x1ea], 0
jne 0x1007efd1
movsx eax, word [edi + 0x1ba]
cmp dword [ebp - 0x40], eax
jl 0x1007efd1
mov esi, 0x1012589a
jmp 0x1007efec
movzx eax, word [ecx + edx + 0x50]
cmp ax, 0xffff
jne 0x1007efe3
mov esi, 0x1012589a
jmp 0x1007efec
movsx esi, ax
add esi, dword [edi + 0x164]
mov ecx, esi
cmp esi, 0xffffffff
jae 0x1007f066
mov dl, byte [ecx]
test dl, dl
je 0x1007f009
cmp dl, 0x23
jne 0x1007f003
cmp byte [ecx + 1], dl
je 0x1007f009
inc ecx
cmp ecx, 0xffffffff
jb 0x1007eff3
cmp esi, ecx
je 0x1007f066
push 0
push ecx
push esi
push ecx
lea eax, [ebp - 0x88]
mov dword [esp], 0xbf800000
push eax
mov eax, dword [ebp - 0x4c]
movaps xmm3, xmm0
movss xmm2, dword [eax + 0x3dcc]
mov ecx, dword [eax + 0x3dc8]
call fcn.10071f40
movss xmm0, dword [ebp - 0x88]
xorps xmm3, xmm3
addss xmm0, dword [0x1015ca28]
movss xmm1, dword [ebp - 0x58]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x88], xmm0
jmp 0x1007f069
movaps xmm0, xmm3
maxss xmm1, xmm0
movss xmm0, dword [0x1015cc20]
lea esi, [edi + 0x40]
mov esi, dword [esi]
movss dword [ebp - 0x58], xmm1
mov eax, dword [ebp - 0x40]
mov ecx, esi
add dword [ebp - 0x44], 0x70
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], ecx
cmp eax, esi
jl 0x1007ef80
movss xmm2, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x4c]
movss xmm0, dword [esi + 0x39b0]
addss xmm0, xmm0
addss xmm0, xmm1
movss dword [ebp - 0x44], xmm0
comiss xmm3, xmm2
subss xmm2, dword [0x1015ca7c]
seta byte [ebp - 0x35]
movaps xmm0, xmm2
movss dword [ebp - 0x3c], xmm2
call fcn.10036da0
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0x3c]
call fcn.10036dc0
cmp byte [ebp - 0x35], 0
movaps xmm3, xmm0
movss dword [ebp - 0x74], xmm3
je 0x1007f135
movss xmm0, dword [ebp - 0x3c]
addss xmm0, dword [0x1015cad4]
movss dword [ebp - 0x3c], xmm0
call fcn.10036da0
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ebp - 0x3c]
call fcn.10036dc0
movss xmm1, dword [edi + 0x5c]
movss xmm3, dword [ebp - 0x74]
addss xmm1, xmm1
movss dword [ebp - 0x58], xmm0
addss xmm1, dword [esi + 0x3dcc]
movss dword [ebp - 0x7c], xmm1
jmp 0x1007f164
movss xmm2, dword [edi + 0x5c]
movss xmm0, dword [ebp - 0x78]
addss xmm2, xmm2
movss dword [ebp - 0x54], xmm0
movss dword [ebp - 0x58], xmm3
addss xmm2, dword [esi + 0x3dcc]
movaps xmm1, xmm2
movss dword [ebp - 0x7c], xmm2
xorps xmm1, xmmword [0x1015cf20]
movss xmm2, dword [ebp - 0x78]
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x44]
mulss xmm1, xmm2
addss xmm1, xmm0
movaps xmm0, xmm3
xorps xmm0, xmmword [0x1015cf20]
andps xmm1, xmmword [0x1015cef0]
movaps xmm4, xmm1
movss dword [ebp - 0x50], xmm1
divss xmm4, xmm0
movss dword [edi + 0xbc], xmm1
movaps xmm0, xmm4
mulss xmm4, xmm3
mulss xmm0, xmm2
movss dword [ebp - 0xac], xmm4
movss dword [ebp - 0xa8], xmm0
xorps xmm0, xmm0
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x1007f1cc
movaps xmm0, xmm2
divss xmm0, xmm3
mov ecx, 1
movss dword [edi + 0xc0], xmm0
call fcn.1007bc30
mov eax, dword [0x10167324]
mov esi, dword [eax + 0x4db4]
test esi, esi
je 0x1007f226
cmp byte [esi + 0x1eb], 0
je 0x1007f213
mov ecx, dword [esi + 0x48]
lea eax, [ecx + 1]
cmp eax, dword [esi + 0x40]
jge 0x1007f213
cmp ecx, 0xffffffff
je 0x1007f20d
mov ecx, esi
call fcn.1007c6e0
mov edx, dword [esi + 0x48]
inc edx
jmp 0x1007f21f
xorps xmm1, xmm1
xor ecx, ecx
call fcn.1007bc30
xor edx, edx
mov ecx, esi
call fcn.1007c540
mov ecx, dword [edi + 0x168]
push 0
push dword [ebp - 0x48]
call fcn.1006e8f0
movzx eax, word [edi + 0x1e0]
movss xmm0, dword [edi + 0x104]
movss dword [ebp - 0x3c], xmm0
test ax, ax
jle 0x1007f261
cwde
imul ecx, eax, 0x70
mov eax, dword [edi + 0x10]
maxss xmm0, dword [ecx + eax - 0x64]
movss dword [ebp - 0x3c], xmm0
mov ecx, dword [0x10167324]
mov eax, dword [ecx + 0x4db4]
movss xmm0, dword [eax + 0x50]
comiss xmm0, dword [eax + 0x100]
ja 0x1007f282
mov dword [eax + 0x70], 0
mov eax, dword [ecx + 0x4064]
mov byte [eax + 0xe1], 1
mov eax, dword [ecx + 0x4064]
movss xmm2, dword [edi + 0x104]
movss xmm0, dword [edi + 0x10c]
comiss xmm2, xmm0
mov dword [ebp - 0x5c], eax
mov eax, dword [eax + 0x2a4]
mov dword [ebp - 0x40], eax
movss xmm1, dword [edi + 0x108]
movss xmm3, dword [edi + 0x110]
movss dword [ebp - 0x6c], xmm2
movss dword [ebp - 0x68], xmm1
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x60], xmm3
jb 0x1007f2df
movss dword [ebp - 0x64], xmm2
comiss xmm1, xmm3
jb 0x1007f2e9
movss dword [ebp - 0x60], xmm1
mov ecx, dword [eax + 0x40]
lea esi, [eax + 0x3c]
mov eax, dword [esi]
cmp eax, ecx
jne 0x1007f31f
lea esi, [eax + 1]
test ecx, ecx
je 0x1007f307
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1007f30c
mov eax, 8
cmp eax, esi
cmovg esi, eax
push esi
mov esi, dword [ebp - 0x40]
add esi, 0x3c
mov ecx, esi
call fcn.10035f70
mov eax, dword [esi]
mov edx, dword [esi + 8]
add eax, eax
movups xmm0, xmmword [ebp - 0x6c]
movups xmmword [edx + eax*8], xmm0
mov eax, dword [ebp - 0x40]
mov ecx, eax
inc dword [esi]
movups xmmword [eax + 0x60], xmm0
call fcn.1006ab30
mov edx, dword [ebp - 0x5c]
push 0
mov eax, dword [edx + 0x2a4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
push ecx
movss xmm1, dword [eax + ecx - 8]
movss xmm0, dword [eax + ecx - 0xc]
movss xmm2, dword [eax + ecx - 4]
mov eax, dword [eax + ecx - 0x10]
mov ecx, 0x2c
mov dword [edx + 0x248], eax
movss dword [edx + 0x24c], xmm0
movss dword [edx + 0x250], xmm1
movss dword [edx + 0x254], xmm2
movss xmm1, dword [0x1015c9c4]
mov dword [esp], 0
call fcn.10005cf0
mov ecx, dword [ebp - 0x48]
lea esi, [edi + 0x10c]
push eax
push esi
lea eax, [edi + 0x104]
push eax
call fcn.1006d780
mov ecx, dword [0x10167324]
movss xmm1, dword [edi + 0x108]
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x6c], xmm0
mov eax, dword [ecx + 0x4064]
movss dword [ebp - 0x68], xmm1
mov byte [eax + 0xe1], 1
mov eax, dword [ecx + 0x4064]
movss xmm2, dword [esi]
movss xmm3, dword [esi + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [eax + 0x2a4]
mov dword [ebp - 0x70], eax
movss dword [ebp - 0x64], xmm2
movss dword [ebp - 0x60], xmm3
movups xmm4, xmmword [eax + 0x60]
comiss xmm4, xmm0
movups xmmword [ebp - 0xa4], xmm4
jbe 0x1007f41e
movaps xmm0, xmm4
movss dword [ebp - 0x6c], xmm0
movss xmm4, dword [ebp - 0xa0]
comiss xmm4, xmm1
jbe 0x1007f433
movaps xmm1, xmm4
movss dword [ebp - 0x68], xmm1
movss xmm4, dword [ebp - 0x9c]
comiss xmm2, xmm4
jbe 0x1007f448
movaps xmm2, xmm4
movss dword [ebp - 0x64], xmm2
movss xmm4, dword [ebp - 0x98]
comiss xmm3, xmm4
jbe 0x1007f45d
movaps xmm3, xmm4
movss dword [ebp - 0x60], xmm3
comiss xmm0, xmm2
jb 0x1007f467
movss dword [ebp - 0x64], xmm0
comiss xmm1, xmm3
jb 0x1007f471
movss dword [ebp - 0x60], xmm1
mov ecx, dword [eax + 0x40]
lea esi, [eax + 0x3c]
mov edx, dword [esi]
cmp edx, ecx
jne 0x1007f4a5
inc edx
mov dword [ebp - 0x5c], edx
test ecx, ecx
je 0x1007f493
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x5c]
sar eax, 1
add eax, ecx
jmp 0x1007f498
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10035f70
mov eax, dword [esi]
mov edx, dword [esi + 8]
add eax, eax
movups xmm0, xmmword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
movups xmmword [edx + eax*8], xmm0
inc dword [esi]
movups xmmword [ecx + 0x60], xmm0
call fcn.1006ab30
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x2a4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edx + 0x248], eax
mov eax, dword [ebp - 0x8c]
movss dword [edx + 0x24c], xmm0
movss dword [edx + 0x250], xmm1
movss dword [edx + 0x254], xmm2
xor edx, edx
movss xmm0, dword [edi + 0xe4]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [edi + 0x108]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [edi + 0xec]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x50]
addss xmm0, dword [eax + 0x12c]
mov eax, dword [0x10167324]
mov esi, dword [eax + 0x4064]
movss dword [ebp - 0x28], xmm0
mov ecx, dword [esi + 0x11c]
mov eax, dword [esi + 0x124]
push dword [eax + ecx*4 - 4]
mov ecx, str.AngledHeaders
call fcn.10003fd0
mov ecx, dword [esi]
add esp, 4
mov esi, eax
mov dword [ebp - 0x50], eax
cmp dword [ecx + 0x4098], esi
jne 0x1007f594
push ecx
push str.AngledHeaders
mov edx, 0xb
mov ecx, esi
call fcn.10034370
add esp, 8
push 0
push 0
push 0
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.100842d0
mov eax, dword [0x10167324]
add esp, 0xc
cmp dword [eax + 0x40b0], esi
jne 0x1007f5ba
mov dword [eax + 0x40b4], esi
cmp dword [eax + 0x40d8], esi
jne 0x1007f5c9
mov byte [eax + 0x40dc], 1
movsx eax, word [edi + 0x4c]
test eax, eax
jne 0x1007f5d9
lea eax, [edi + 0x17c]
jmp 0x1007f5e8
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x18c]
lea eax, [eax + ecx*8]
add eax, 0xfffffff8
movsx edx, word [edi + 0x1c2]
mov dword [ebp - 0x70], edx
cmp edx, 0xffffffff
jne 0x1007f63c
movzx edx, word [edi + 0x1be]
cmp dx, 0xffff
je 0x1007f63c
cmp dword [eax], 0
jne 0x1007f63c
cmp word [edi + 0x1c0], 0xffff
jne 0x1007f63c
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x40b0]
test ecx, ecx
je 0x1007f636
cmp ecx, esi
je 0x1007f636
cmp byte [edi + 0x1f8], 0
jne 0x1007f636
cmp byte [eax + 0x4d14], 0
je 0x1007f63c
movsx eax, dx
mov dword [ebp - 0x70], eax
movss xmm3, dword [0x1015ca30]
xorps xmm1, xmm1
xor ecx, ecx
movss dword [ebp - 0x4c], xmm1
mov dword [ebp - 0x3c], ecx
xor eax, eax
mov dword [ebp - 0x40], eax
cmp dword [edi + 0x40], eax
jle 0x1007fa88
nop
mov ecx, eax
mov edx, 1
and ecx, 0x1f
shl edx, cl
mov ecx, eax
mov eax, dword [edi + 0x28]
sar ecx, 5
test dword [eax + ecx*4], edx
je 0x1007fa75
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x40]
mov edx, dword [edi + 0x10]
movsx esi, word [eax + ecx*2]
imul eax, esi, 0x70
add edx, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0xb4], edx
test dword [edx], 0x40000
je 0x1007fa75
lea eax, [ebp - 0x24]
mov ecx, 4
nop dword [eax]
mov dword [eax], 0
lea eax, [eax + 8]
mov dword [eax - 4], 0
sub ecx, 1
jne 0x1007f6b0
movss xmm2, dword [edx + 0xc]
movss xmm1, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
movss dword [ebp - 0x24], xmm2
movss dword [ebp - 0x20], xmm1
movss xmm0, dword [edx + 8]
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm1
addss xmm1, dword [ebp - 0xac]
addss xmm0, dword [ebp - 0xa8]
addss xmm2, dword [ebp - 0xa8]
movss dword [ebp - 0x10], xmm1
movss dword [ebp - 0x14], xmm0
movss dword [ebp - 0xc], xmm2
movss dword [ebp - 8], xmm1
test ecx, ecx
jne 0x1007fa20
movaps xmm1, xmm3
mov ecx, 0x2c
call fcn.10005cf0
mov ecx, dword [ebp - 0x48]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1006da60
cmp esi, dword [ebp - 0x70]
jne 0x1007f775
movss xmm1, dword [0x1015ca30]
mov ecx, 0x18
call fcn.10005cf0
mov ecx, dword [ebp - 0x48]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1006da60
cmp byte [edi + 0x1ea], 0
movss xmm0, dword [ebp - 0x4c]
maxss xmm0, dword [ebp - 0xc]
movss dword [ebp - 0x4c], xmm0
jne 0x1007f79f
movsx eax, word [edi + 0x1ba]
cmp esi, eax
jl 0x1007f79f
mov esi, 0x1012589a
jmp 0x1007f7c0
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp - 0x50]
movzx eax, word [ecx + eax + 0x50]
cmp ax, 0xffff
jne 0x1007f7b7
mov esi, 0x1012589a
jmp 0x1007f7c0
movsx esi, ax
add esi, dword [edi + 0x164]
cmp byte [ebp - 0x35], 0
xorps xmm6, xmm6
movss xmm2, dword [edi + 0x5c]
movss xmm7, dword [ebp - 0x44]
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x74]
movaps xmm1, xmm7
addss xmm2, dword [ebp - 0x7c]
subss xmm1, xmm0
movss dword [ebp - 0xb0], xmm1
je 0x1007f7f4
xorps xmm3, xmm3
jmp 0x1007f7fc
movss xmm3, dword [edi + 0x94]
mov eax, dword [ebp - 0x8c]
addss xmm3, xmm1
mov ecx, esi
movss xmm4, dword [eax + 0x248]
movss xmm5, dword [eax + 0x24c]
addss xmm3, xmm4
movss dword [ebp - 0x5c], xmm4
addss xmm2, xmm5
movss dword [ebp - 0x80], xmm5
movss dword [ebp - 0xa4], xmm4
movss dword [ebp - 0xa0], xmm5
movss dword [ebp - 0x50], xmm3
movss dword [ebp - 0xb8], xmm2
movss dword [ebp - 0x9c], xmm3
movss dword [ebp - 0x98], xmm2
cmp esi, 0xffffffff
jae 0x1007f876
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x1007f876
cmp dl, 0x23
jne 0x1007f870
cmp byte [ecx + 1], dl
je 0x1007f876
inc ecx
cmp ecx, 0xffffffff
jb 0x1007f860
mov eax, dword [0x10167324]
movss xmm0, dword [eax + 0x3dcc]
cmp esi, ecx
jne 0x1007f88c
movaps xmm2, xmm6
jmp 0x1007f8f7
movss xmm3, dword [0x1015cc20]
movaps xmm2, xmm0
push 0
push ecx
push esi
push ecx
lea ecx, [ebp - 0x88]
mov dword [esp], 0xbf800000
push ecx
mov ecx, dword [eax + 0x3dc8]
call fcn.10071f40
movss xmm0, dword [ebp - 0x88]
xorps xmm6, xmm6
addss xmm0, dword [0x1015ca28]
movss xmm3, dword [ebp - 0x50]
movss xmm4, dword [ebp - 0x5c]
movss xmm5, dword [ebp - 0x80]
movss xmm7, dword [ebp - 0x44]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x84]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [ebp - 0x88], xmm2
cmp byte [ebp - 0x35], 0
movss xmm1, dword [edi + 0x94]
movss dword [ebp - 0x90], xmm0
movss dword [ebp - 0x94], xmm2
je 0x1007f927
movaps xmm0, xmm7
subss xmm0, xmm2
subss xmm0, xmm1
movaps xmm1, xmm6
maxss xmm1, xmm0
mov eax, dword [ebp - 0x48]
addss xmm4, xmm1
addss xmm5, dword [edi + 0x5c]
lea edx, [ebp - 0x64]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x94]
push eax
push 0
push esi
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0x9c]
push ecx
movss dword [esp], xmm3
mov ecx, esi
push eax
movss dword [ebp - 0x64], xmm4
movss dword [ebp - 0x60], xmm5
call fcn.10006600
mov eax, dword [esi + 0x28]
add esp, 0x14
cmp byte [ebp - 0x35], 0
je 0x1007f98a
movss xmm4, dword [ebp - 0xb0]
movaps xmm5, xmm4
mulss xmm4, dword [ebp - 0x78]
mulss xmm5, dword [ebp - 0x74]
jmp 0x1007f992
movss xmm4, dword [ebp - 0x7c]
xorps xmm5, xmm5
mov ecx, dword [ebp - 0xb4]
lea eax, [eax + eax*4]
addss xmm5, dword [ebp - 0x28]
addss xmm4, dword [ecx + 0x34]
mov ecx, dword [esi + 0x20]
lea edx, [ecx + eax*4]
mov eax, dword [ebp - 0x80]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
cmp eax, edx
jae 0x1007fa6d
movss xmm6, dword [ebp - 0xb8]
movss xmm7, dword [ebp - 0x5c]
movss xmm0, dword [ebp - 0x54]
nop
movss xmm2, dword [eax]
movss xmm3, dword [eax + 4]
subss xmm2, xmm7
subss xmm3, xmm6
movaps xmm1, xmm2
mulss xmm2, dword [ebp - 0x58]
mulss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x58]
subss xmm1, xmm0
movss xmm0, dword [ebp - 0x54]
mulss xmm3, xmm0
addss xmm3, xmm2
addss xmm1, xmm4
addss xmm3, xmm5
movss dword [eax], xmm1
movss dword [eax + 4], xmm3
add eax, 0x14
cmp eax, edx
jb 0x1007f9d0
jmp 0x1007fa6d
cmp ecx, 1
jne 0x1007fa78
movsx eax, word [edi + 0x1c6]
movsx edx, word [edi + 0x1c0]
cmp eax, esi
jne 0x1007fac7
mov ax, word [edi + 0x4e]
cmp ax, word [edi + 0x4c]
jne 0x1007fac7
add ecx, 0x1c
movaps xmm1, xmm3
call fcn.10005cf0
push ecx
mov ecx, dword [ebp - 0x48]
mov dword [esp], 0x3f800000
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1006d580
movss xmm3, dword [0x1015ca30]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, dword [edi + 0x40]
jl 0x1007f660
inc ecx
mov dword [ebp - 0x3c], ecx
cmp ecx, 2
jl 0x1007f651
mov ecx, dword [0x10167324]
mov eax, dword [ecx + 0x4064]
mov byte [eax + 0xe1], 1
mov esi, dword [ecx + 0x4064]
mov ecx, dword [esi + 0x2a4]
mov edx, dword [ecx + 0x3c]
sub edx, 1
mov dword [ecx + 0x3c], edx
jne 0x1007faf9
mov eax, dword [ecx + 0x2c]
add eax, 0x18
jmp 0x1007fb04
xor ecx, ecx
cmp edx, esi
je 0x1007fa49
mov ecx, dword [ebp - 0x40]
movsx eax, word [edi + 0x1e0]
inc ecx
cmp eax, ecx
je 0x1007faf1
test dword [edi + 4], 0x1800
jne 0x1007faf1
mov eax, dword [edi + 0x7c]
jmp 0x1007fa54
mov eax, dword [edi + 0x78]
jmp 0x1007fa54
mov eax, dword [ecx + 0x44]
shl edx, 4
add eax, 0xfffffff0
add eax, edx
movups xmm0, xmmword [eax]
movups xmmword [ecx + 0x60], xmm0
call fcn.1006ab30
mov eax, dword [esi + 0x2a4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esi + 0x248], eax
movss dword [esi + 0x24c], xmm0
movss dword [esi + 0x250], xmm1
movss dword [esi + 0x254], xmm2
mov ecx, dword [0x10167324]
mov eax, dword [ecx + 0x4064]
mov byte [eax + 0xe1], 1
mov esi, dword [ecx + 0x4064]
mov ecx, dword [esi + 0x2a4]
mov edx, dword [ecx + 0x3c]
sub edx, 1
mov dword [ecx + 0x3c], edx
jne 0x1007fb84
mov eax, dword [ecx + 0x2c]
add eax, 0x18
jmp 0x1007fb8f
mov eax, dword [ecx + 0x44]
shl edx, 4
add eax, 0xfffffff0
add eax, edx
movups xmm0, xmmword [eax]
movups xmmword [ecx + 0x60], xmm0
call fcn.1006ab30
mov eax, dword [esi + 0x2a4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esi + 0x248], eax
movss dword [esi + 0x24c], xmm0
xorps xmm0, xmm0
movss dword [esi + 0x250], xmm1
movss xmm1, dword [ebp - 0x4c]
movss dword [esi + 0x254], xmm2
movsx eax, word [edi + 0x1d2]
imul ecx, eax, 0x70
mov eax, dword [edi + 0x10]
subss xmm1, dword [ecx + eax + 0xc]
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
maxss xmm0, xmm1
pop esi
movss dword [eax + 8], xmm0
call fcn.10110a52
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret