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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x100bc040]
xor eax, esp
mov dword [esp + 0xb4], eax
movss xmm0, dword [ebp + 0x18]
push esi
mov esi, dword [0x1019fdb0]
push edi
mov edi, ecx
movss dword [esp + 0x44], xmm0
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], esi
cmp byte [edi + 0xad], 0
movss xmm1, dword [edi + 0x4c]
movss xmm0, dword [edi + 0x50]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x20], eax
mov byte [edi + 0xaf], 0
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x30], xmm0
je 0x10054afd
cmp byte [ebp + 8], 0
movss xmm2, dword [esi + 0x37d0]
movss dword [esp + 0x28], xmm2
movss dword [esi + 0x37d0], xmm0
je 0x10054aa6
cmp byte [esi + 0x4802], 0
mov ecx, 0xb
je 0x10054aab
mov ecx, 0xc
sub esp, 8
movss dword [esp + 4], xmm1
movss xmm1, dword [0x100b2860]
call fcn.1004c410
add esp, 4
mov ecx, eax
push dword [edx + 0xc]
push dword [edx + 8]
push dword [edx + 4]
push dword [edx]
mov dl, 1
call fcn.1004ce40
movss xmm0, dword [esp + 0x3c]
add esp, 0x14
movss dword [esi + 0x37d0], xmm0
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret
test al, al
jns 0x10054f57
mov eax, dword [edi + 0x264]
lea ecx, [esp + 0xa4]
movss xmm0, dword [edi + 0x20]
sub esp, 8
addss xmm0, dword [edi + 0x18]
mov dword [esp + 0x30], eax
lea eax, [edi + 0x14]
mov dword [esp + 0x1c], eax
movss dword [esp + 4], xmm0
movss xmm0, dword [eax]
addss xmm0, dword [edi + 0x1c]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm1, dword [edi + 0x14]
movss xmm0, dword [edi + 0x18]
mov ecx, dword [esp + 0x28]
add ecx, 0x3c
movss dword [esp + 0x50], xmm1
maxss xmm1, dword [esp + 0xa4]
movss dword [esp + 0x54], xmm0
maxss xmm0, dword [esp + 0xa8]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
movss dword [esp + 0x58], xmm1
mov dword [esp + 0x18], ecx
movss dword [esp + 0x5c], xmm0
cmp edx, eax
jne 0x10054bb6
inc edx
mov dword [esp + 0x6c], edx
test eax, eax
je 0x10054ba2
cdq
sub eax, edx
mov edx, dword [esp + 0x6c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10054ba7
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1006d4c0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
movaps xmm0, xmmword [esp + 0x50]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
mov eax, dword [esp + 0x28]
inc dword [ecx]
mov ecx, eax
movups xmmword [eax + 0x60], xmm0
call fcn.10066230
mov ecx, dword [edi + 0x264]
call fcn.100884a0
mov edx, dword [edi + 0x264]
mov ecx, dword [edx + 0x3c]
sub ecx, 1
mov dword [edx + 0x3c], ecx
jne 0x10054bfb
mov eax, dword [edx + 0x2c]
add eax, 0x18
jmp 0x10054c06
mov eax, dword [edx + 0x44]
shl ecx, 4
add eax, 0xfffffff0
add eax, ecx
movups xmm0, xmmword [eax]
mov ecx, edx
movups xmmword [edx + 0x60], xmm0
call fcn.10066230
movss xmm0, dword [esi + 0x3798]
mov ecx, 2
movss xmm1, dword [0x100b284c]
mov edi, dword [edi + 0x264]
movss dword [esp + 0x18], xmm0
call fcn.1004c410
mov esi, eax
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0x1c]
sub esp, 8
movss xmm0, dword [eax + 0x20]
movss dword [esp + 4], xmm0
mov dword [esp], 0x432a0000
call fcn.100248c0
mov ecx, dword [esp + 0x14]
sub esp, 8
movss xmm0, dword [eax + 4]
addss xmm0, dword [ecx + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx]
lea ecx, [esp + 0x44]
addss xmm0, dword [eax]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0x18]
lea eax, [esp + 0x3c]
push 0x50
push ecx
movss dword [esp], xmm0
mov ecx, edi
push esi
push eax
push dword [esp + 0x24]
call fcn.10068d20
mov eax, dword [esp + 0x34]
mov ecx, 2
mov edx, dword [esp + 0x1c]
movss xmm1, dword [0x100b2850]
movss xmm0, dword [eax + 0x3798]
mov edi, dword [edx + 0x264]
movss dword [esp + 0x18], xmm0
call fcn.1004c410
movss xmm0, dword [edx + 0x1c]
lea ecx, [esp + 0x94]
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x42700000
movss dword [esp], xmm0
call fcn.100248c0
mov ecx, dword [esp + 0x14]
sub esp, 8
movss xmm0, dword [eax + 4]
addss xmm0, dword [ecx + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx]
lea ecx, [esp + 0x50]
addss xmm0, dword [eax]
movss dword [esp], xmm0
call fcn.100248c0
sub esp, 8
lea ecx, [esp + 0xa4]
mov dword [esp + 4], 0
mov dword [esp], 0x432a0000
call fcn.100248c0
mov ecx, dword [esp + 0x14]
sub esp, 8
movss xmm0, dword [eax + 4]
addss xmm0, dword [ecx + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx]
lea ecx, [esp + 0x8c]
addss xmm0, dword [eax]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0x18]
push 0x20
push ecx
movss dword [esp], xmm0
lea eax, [esp + 0x50]
push esi
push eax
lea eax, [esp + 0x94]
mov ecx, edi
push eax
call fcn.10068d20
mov edx, dword [esp + 0x1c]
mov ecx, 2
movss xmm1, dword [0x100b284c]
mov edi, dword [edx + 0x264]
call fcn.1004c410
movss xmm0, dword [edx + 0x1c]
lea ecx, [esp + 0xac]
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x42740000
movss dword [esp], xmm0
call fcn.100248c0
mov ecx, dword [esp + 0x14]
sub esp, 8
movss xmm0, dword [eax + 4]
addss xmm0, dword [ecx + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax]
addss xmm0, dword [ecx]
lea ecx, [esp + 0x84]
movss dword [esp], xmm0
call fcn.100248c0
sub esp, 8
lea ecx, [esp + 0x94]
mov dword [esp + 4], 0x42700000
mov dword [esp], 0x432a0000
call fcn.100248c0
mov ecx, dword [esp + 0x14]
sub esp, 8
movss xmm0, dword [eax + 4]
addss xmm0, dword [ecx + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx]
lea ecx, [esp + 0x7c]
addss xmm0, dword [eax]
movss dword [esp], xmm0
call fcn.100248c0
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0x84]
push esi
push eax
lea eax, [esp + 0x84]
mov ecx, edi
push eax
call fcn.10068d20
mov eax, dword [esp + 0x34]
mov ecx, 2
mov edx, dword [esp + 0x1c]
movss xmm1, dword [0x100b2860]
movss xmm0, dword [eax + 0x3798]
mov edi, dword [edx + 0x264]
movss dword [esp + 0x18], xmm0
call fcn.1004c410
movss xmm0, dword [edx + 0x18]
lea ecx, [esp + 0xa4]
addss xmm0, dword [edx + 0x20]
sub esp, 8
mov esi, eax
movss dword [esp + 4], xmm0
movss xmm0, dword [edx + 0x1c]
addss xmm0, dword [edx + 0x14]
movss dword [esp], xmm0
call fcn.100248c0
sub esp, 8
lea ecx, [esp + 0x58]
mov dword [esp + 4], 0x42740000
mov dword [esp], 0x432a0000
call fcn.100248c0
mov ecx, dword [esp + 0x14]
movss xmm0, dword [eax + 4]
addss xmm0, dword [ecx + 4]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx]
lea ecx, [esp + 0x74]
addss xmm0, dword [eax]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0x18]
lea eax, [esp + 0xa4]
push 0x80
push ecx
movss dword [esp], xmm0
mov ecx, edi
push esi
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.10068d20
mov esi, dword [esp + 0x20]
mov eax, esi
mov edi, dword [esp + 0x1c]
and eax, 1
mov dword [esp + 0x14], eax
jmp 0x100550c8
test eax, 0x6000000
je 0x10054f65
mov ecx, 4
jmp 0x10054f76
mov ecx, eax
and ecx, 0x1000000
or ecx, 0x2000000
shr ecx, 0x18
movss xmm7, dword [0x100b2860]
movaps xmm1, xmm7
call fcn.1004c410
test byte [esi + 0x46f8], 0x40
mov ecx, eax
mov dword [esp + 0x28], eax
je 0x10054fcf
movss xmm1, dword [esi + 0x474c]
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x10054fac
movaps xmm0, xmm7
minss xmm0, xmm1
mulss xmm0, dword [0x100b2a34]
and ecx, 0xffffff
addss xmm0, dword [0x100b2804]
cvttss2si eax, xmm0
shl eax, 0x18
or ecx, eax
mov dword [esp + 0x28], ecx
movss xmm0, dword [edi + 0x20]
lea ecx, [esp + 0x3c]
addss xmm0, dword [edi + 0x18]
mov eax, dword [edi + 0x264]
sub esp, 8
mov dword [esp + 0x20], eax
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x14]
movss dword [esp], xmm0
call fcn.100248c0
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x10055011
xorps xmm1, xmm1
jmp 0x10055043
movss xmm0, dword [ecx + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x10055033
mulss xmm0, dword [eax + 0x25c]
movss xmm1, dword [ecx + 0x37c8]
addss xmm1, xmm1
addss xmm1, xmm0
sub esp, 8
lea ecx, [esp + 0x58]
movss dword [esp + 4], xmm1
mov dword [esp], 0
call fcn.100248c0
sub esp, 8
lea ecx, [esp + 0x50]
movss xmm0, dword [eax + 4]
addss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax]
addss xmm0, dword [edi + 0x14]
movss dword [esp], xmm0
call fcn.100248c0
mov esi, dword [esp + 0x20]
mov ecx, 0
movss xmm0, dword [esp + 0x38]
mov eax, esi
and eax, 1
mov dword [esp + 0x14], eax
mov eax, 0xc0
cmovne eax, ecx
push eax
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x44]
movss dword [esp], xmm0
push dword [esp + 0x30]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.10068d20
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x10055103
movss xmm0, dword [esp + 0x38]
movss xmm1, dword [0x100b2860]
push 0x30
push ecx
movzx ecx, byte [ebp + 8]
add ecx, 0xa
movss dword [esp], xmm0
call fcn.1004c410
mov ecx, dword [esp + 0x2c]
push eax
lea eax, [ecx + 8]
push eax
push ecx
mov ecx, dword [edi + 0x264]
call fcn.10068d20
test esi, 0x400
je 0x10055463
mov edx, dword [edi + 0xc]
mov eax, dword [edi]
test dl, 1
je 0x1005511e
xorps xmm3, xmm3
jmp 0x10055150
movss xmm0, dword [eax + 0x3bbc]
mov ecx, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test ecx, ecx
je 0x10055140
mulss xmm0, dword [ecx + 0x25c]
movss xmm3, dword [eax + 0x37c8]
addss xmm3, xmm3
addss xmm3, xmm0
addss xmm3, dword [edi + 0x18]
test edx, 0x400
je 0x10055199
movss xmm2, dword [eax + 0x3bbc]
mov ecx, dword [edi + 0x2f8]
mulss xmm2, dword [edi + 0x25c]
test ecx, ecx
je 0x1005517f
mulss xmm2, dword [ecx + 0x25c]
movss xmm0, dword [eax + 0x37c8]
addss xmm2, dword [edi + 0x158]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x1005519c
xorps xmm2, xmm2
movss xmm1, dword [edi + 0x14]
addss xmm2, xmm3
sub esp, 0x10
lea ecx, [esp + 0xbc]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x24]
movss dword [esp + 0xc], xmm2
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm3
movss dword [esp], xmm1
call fcn.10024b70
movss xmm1, dword [edi + 0x18]
lea ecx, [esp + 0x50]
movss xmm2, dword [edi + 0x14]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x20]
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x1c]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.10024b70
movss xmm0, dword [esp + 0xb0]
lea ecx, [esp + 0xa4]
maxss xmm0, dword [esp + 0x54]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xb4]
maxss xmm0, dword [esp + 0x58]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0xb8]
sub esp, 8
minss xmm0, dword [esp + 0x64]
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
mov dword [esp + 0xb8], ecx
lea ecx, [esp + 0xac]
mov dword [esp + 0xb4], eax
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xbc]
minss xmm0, dword [esp + 0x60]
movss dword [esp], xmm0
call fcn.100248c0
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xb4], eax
mov eax, dword [edi + 0x264]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x24], eax
je 0x100552d1
movss xmm0, dword [esp + 0x38]
jmp 0x100552d4
xorps xmm0, xmm0
movss xmm1, dword [0x100b2860]
mov ecx, 0xd
movss dword [esp + 0x28], xmm0
call fcn.1004c410
movss xmm0, dword [esp + 0x30]
lea ecx, [esp + 0x50]
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0xb8]
lea ecx, [esp + 0x3c]
sub esp, 8
subss xmm0, dword [eax + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xbc]
subss xmm0, dword [eax]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0x30]
lea ecx, [esp + 0x8c]
sub esp, 8
mov dword [esp + 4], 0
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0xb0]
lea ecx, [esp + 0x48]
sub esp, 8
addss xmm0, dword [eax + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xb4]
addss xmm0, dword [eax]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0x28]
lea eax, [esp + 0x3c]
push 0x30
push ecx
mov ecx, dword [esp + 0x2c]
movss dword [esp], xmm0
push esi
push eax
lea eax, [esp + 0x58]
push eax
call fcn.10068d20
mov eax, dword [esp + 0x34]
movss xmm0, dword [eax + 0x37d0]
comiss xmm0, dword [0x100b274c]
movss dword [esp + 0x24], xmm0
jbe 0x10055463
movss xmm0, dword [edi + 0x20]
addss xmm0, dword [edi + 0x18]
movss xmm7, dword [esp + 0xb8]
comiss xmm0, xmm7
jbe 0x10055463
movss xmm1, dword [0x100b2860]
mov ecx, 5
mov edi, dword [edi + 0x264]
call fcn.1004c410
mov ecx, dword [esp + 0xb4]
sub esp, 8
movss xmm0, dword [esp + 0xb4]
mov esi, eax
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xac], ecx
lea ecx, [esp + 0x44]
movss dword [esp + 4], xmm7
mov dword [esp + 0xb0], edx
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0x24]
lea eax, [esp + 0xa4]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push esi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.10068a30
mov edi, dword [esp + 0x1c]
cmp byte [edi + 0xa8], 0
je 0x10055477
xor ecx, ecx
call fcn.10076130
cmp byte [edi + 0xa9], 0
je 0x1005548a
mov ecx, 1
call fcn.10076130
test byte [esp + 0x20], 2
jne 0x10055885
xor eax, eax
mov dword [esp + 0x34], eax
cmp dword [ebp + 0x10], eax
jle 0x10055885
mov esi, 0x100a9fbc
mov dword [esp + 0x1c], esi
nop dword [eax]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x14], ecx
test ecx, 0xff000000
je 0x10055870
movss xmm0, dword [edi + 0x20]
lea ecx, [esp + 0x74]
addss xmm0, dword [edi + 0x18]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x14]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0x78]
lea ecx, [esp + 0xa4]
subss xmm0, dword [edi + 0x18]
sub esp, 8
mulss xmm0, dword [esi - 8]
addss xmm0, dword [edi + 0x18]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x7c]
subss xmm0, dword [edi + 0x14]
mulss xmm0, dword [esi - 0xc]
addss xmm0, dword [edi + 0x14]
movss dword [esp], xmm0
call fcn.100248c0
mov eax, dword [edi + 0x264]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
and eax, 1
mov dword [esp + 0x18], eax
je 0x1005555a
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [esp + 0x44]
jmp 0x10055566
movss xmm0, dword [esp + 0x44]
movss xmm1, dword [esp + 0x30]
sub esp, 8
lea edx, [esp + 0x94]
test eax, eax
lea ecx, [esp + 0x58]
cmovne ecx, edx
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.100248c0
sub esp, 8
lea ecx, [esp + 0x84]
movss xmm0, dword [eax + 4]
mulss xmm0, dword [esi]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi - 4]
mulss xmm0, dword [eax]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0x80]
lea ecx, [esp + 0x84]
addss xmm0, dword [esp + 0xa8]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [esp + 0xac]
movss dword [esp], xmm0
call fcn.100248c0
mov eax, dword [esp + 0x24]
add eax, 0x54
mov dword [esp + 0x20], eax
mov ecx, dword [eax]
mov esi, dword [eax + 4]
cmp ecx, esi
jne 0x1005562f
inc ecx
test esi, esi
je 0x10055617
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1005561c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.10065120
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov esi, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [esp + 0x20]
inc dword [eax]
mov eax, dword [esp + 0x18]
mov esi, dword [edi + 0x264]
test eax, eax
je 0x1005566b
movss xmm0, dword [esp + 0x44]
movss xmm1, dword [esp + 0x30]
jmp 0x10055677
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [esp + 0x44]
sub esp, 8
lea edx, [esp + 0xa4]
test eax, eax
lea ecx, [esp + 0xb4]
cmovne ecx, edx
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.100248c0
mov ecx, dword [esp + 0x1c]
sub esp, 8
movss xmm0, dword [eax + 4]
mulss xmm0, dword [ecx]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax]
mulss xmm0, dword [ecx - 4]
lea ecx, [esp + 0x50]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0x4c]
lea ecx, [esp + 0x3c]
addss xmm0, dword [esp + 0xa8]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [esp + 0xac]
movss dword [esp], xmm0
call fcn.100248c0
mov ecx, dword [esi + 0x54]
lea eax, [esi + 0x54]
mov esi, dword [eax + 4]
mov dword [esp + 0x20], eax
cmp ecx, esi
jne 0x10055738
inc ecx
test esi, esi
je 0x10055720
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10055725
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.10065120
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
sub esp, 8
mov eax, dword [eax]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
movss xmm1, dword [esp + 0x38]
addss xmm1, dword [esp + 0x40]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [esp + 0x28]
movaps xmm0, xmm1
inc dword [eax]
mov eax, dword [esp + 0x24]
mov esi, dword [edi + 0x264]
mov dword [esp + 0x74], esi
mulss xmm0, dword [eax]
mov ecx, dword [eax + 8]
mulss xmm1, dword [eax - 4]
mov dword [esp + 0x2c], ecx
addss xmm0, dword [esp + 0xb0]
mov ecx, dword [eax + 4]
addss xmm1, dword [esp + 0xac]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x9c]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.100248c0
movss xmm0, dword [esp + 0x38]
mov ecx, eax
movss xmm1, dword [0x100b2804]
comiss xmm1, xmm0
mov dword [esp + 0x18], ecx
jbe 0x1005582e
mov edx, dword [esi + 0x54]
lea eax, [esi + 0x54]
mov esi, dword [eax + 4]
mov dword [esp + 0x28], eax
cmp edx, esi
jne 0x10055814
inc edx
mov dword [esp + 0x24], edx
test esi, esi
je 0x100557fa
mov eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x28]
sar ecx, 1
add ecx, esi
jmp 0x100557ff
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.10065120
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [esp + 0x6c]
inc dword [eax + 0x54]
jmp 0x1005584a
mov eax, dword [esp + 0x24]
movaps xmm2, xmm0
push ecx
shl eax, 2
push eax
mov eax, dword [esp + 0x30]
shl eax, 2
push eax
push ecx
mov ecx, esi
call fcn.10067c50
mov esi, dword [edi + 0x264]
mov ecx, esi
push dword [esp + 0x14]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10067840
mov eax, dword [esp + 0x34]
mov dword [esi + 0x54], 0
mov esi, dword [esp + 0x1c]
inc eax
add esi, 0x18
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], esi
cmp eax, dword [ebp + 0x10]
jl 0x100554b0
mov ecx, edi
call fcn.100545a0
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret