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

Disassembly:
sub esp, 0x54
cmp dword [esp + 0x64], 0
mov eax, 1
push edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
jle 0x10055a62
mov ecx, dword [esp + 0x64]
xorps xmm1, xmm1
mov eax, dword [esp + 0x60]
add ecx, 0x10
movss xmm2, dword [0x100d5914]
mov dword [esp + 0x50], ecx
push esi
movss xmm0, dword [ecx - 0x10]
comiss xmm0, xmm1
push ecx
jbe 0x1005563d
movss dword [esp], xmm0
push eax
call fcn.10055b70
jmp 0x1005564f
xorps xmm0, xmmword [0x100d9460]
movss dword [esp], xmm0
push eax
call fcn.10055b30
mov eax, dword [esp + 0x5c]
movaps xmm1, xmm2
add esp, 8
fstp dword [esp + 0x58]
movzx ecx, byte [eax + 4]
mov dword [edi + 0x1c], ecx
movzx edx, byte [eax + 5]
mov eax, ecx
shr eax, 0x1f
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
push ecx
mov dword [edi + 0x20], edx
addsd xmm0, qword [eax*8 + 0x100d9440]
mov eax, edx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
movss dword [esp + 0x28], xmm1
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100d9440]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp + 0x1c], xmm1
call fcn.100529e0
fstp dword [esp + 0x24]
push edx
call fcn.100529e0
mov ecx, dword [esp + 0x5c]
xor esi, esi
add esp, 8
mov dword [esp + 0x3c], esi
fstp dword [esp + 0x14]
cmp dword [ecx - 4], esi
jle 0x10055a3c
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x70]
movss xmm1, dword [esp + 0x58]
add edi, 0xc
lea eax, [eax + eax*2]
lea edi, [edi + eax*8]
nop word [eax + eax]
mov edx, dword [edi + 8]
test edx, edx
je 0x100559bd
cmp dword [edi - 8], 0
je 0x100559bd
cmp dword [edi - 4], 0
je 0x100559bd
lea eax, [esi*8]
sub eax, esi
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10055740
mov eax, dword [ecx - 0xc]
add eax, esi
jmp 0x10055743
mov eax, dword [eax + esi*4]
push eax
push dword [esp + 0x68]
call fcn.10054af0
mov esi, dword [esp + 0x68]
mov edx, eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x50], edx
push eax
lea eax, [esp + 0x38]
mov ecx, dword [esi + 0x14]
add dword [edi], ecx
add dword [edi + 4], ecx
sub dword [edi - 8], ecx
sub dword [edi - 4], ecx
push eax
push edx
push dword [esp + 0x78]
call fcn.10055140
add esp, 0x18
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esi + 0x20]
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100d9440]
mov eax, dword [esi + 0x1c]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100d9440]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp], xmm0
push dword [esp + 0x60]
push dword [esp + 0x80]
call fcn.10054e80
mov ecx, dword [esi + 0x20]
add esp, 0x20
mov edx, dword [esi + 0x1c]
mov eax, ecx
shr eax, 0x1f
mov esi, dword [esi + 0x10]
push dword [esp + 0x48]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
addsd xmm0, qword [eax*8 + 0x100d9440]
mov eax, edx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x6c]
movss dword [esp + 4], xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x100d9440]
mov eax, dword [edi - 4]
sub eax, ecx
inc eax
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x6c]
movss dword [esp], xmm0
push esi
push eax
mov eax, dword [edi - 8]
sub eax, edx
inc eax
push eax
mov eax, dword [edi + 4]
imul eax, esi
mov esi, dword [esp + 0x80]
add eax, dword [edi]
add eax, dword [esi + 0x24]
push eax
push dword [esp + 0x88]
call fcn.100553d0
mov eax, dword [esi + 0x1c]
add esp, 0x28
cmp eax, 1
jbe 0x100558b2
mov ecx, dword [esi + 0x10]
push eax
mov eax, dword [edi + 4]
imul eax, ecx
push ecx
push dword [edi - 4]
push dword [edi - 8]
add eax, dword [edi]
add eax, dword [esi + 0x24]
push eax
call fcn.10052460
add esp, 0x14
mov eax, dword [esi + 0x20]
cmp eax, 1
jbe 0x100558d9
mov ecx, dword [esi + 0x10]
push eax
mov eax, dword [edi + 4]
imul eax, ecx
push ecx
push dword [edi - 4]
push dword [edi - 8]
add eax, dword [edi]
add eax, dword [esi + 0x24]
push eax
call fcn.10054560
add esp, 0x14
mov esi, dword [esp + 0x30]
movzx eax, word [edi]
mov edx, dword [esp + 0x4c]
movd xmm0, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cvtdq2ps xmm0, xmm0
mov word [edx + esi*4], ax
movzx eax, word [edi + 4]
mov word [edx + esi*4 + 2], ax
movzx eax, word [edi]
add ax, word [edi - 8]
mulss xmm0, dword [esp + 0x58]
mov word [edx + esi*4 + 4], ax
movzx eax, word [edi - 4]
add ax, word [edi + 4]
movss dword [edx + esi*4 + 0x10], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov word [edx + esi*4 + 6], ax
mov eax, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x58]
mulss xmm0, dword [esp + 0x24]
addss xmm0, dword [esp + 0x20]
movss dword [edx + esi*4 + 8], xmm0
mov edx, dword [esp + 0x1c]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x18]
addss xmm0, dword [esp + 0x14]
movss dword [eax + esi*4 + 0xc], xmm0
mov eax, dword [edi - 8]
add eax, ecx
mov ecx, dword [esp + 0x4c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x24]
addss xmm0, dword [esp + 0x20]
movss dword [ecx + esi*4 + 0x14], xmm0
mov eax, dword [edi - 4]
add eax, edx
cmp dword [esp + 0x48], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x18]
addss xmm0, dword [esp + 0x14]
movss dword [ecx + esi*4 + 0x18], xmm0
mov esi, dword [esp + 0x3c]
mov eax, esi
cmovne eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x50], eax
jmp 0x10055a1b
mov eax, dword [esp + 0x60]
cmp dword [eax + 0x18], 0
jne 0x10055a13
test edx, edx
je 0x10055a13
cmp dword [edi - 8], 0
jne 0x10055a13
cmp dword [edi - 4], 0
jne 0x10055a13
mov eax, dword [esp + 0x50]
test eax, eax
js 0x10055a13
mov edx, dword [ecx]
lea ecx, [esi*8]
shl eax, 3
sub eax, dword [esp + 0x50]
sub ecx, esi
movups xmm0, xmmword [edx + eax*4]
movups xmmword [edx + ecx*4], xmm0
movq xmm0, qword [edx + eax*4 + 0x10]
movq qword [edx + ecx*4 + 0x10], xmm0
mov eax, dword [edx + eax*4 + 0x18]
mov dword [edx + ecx*4 + 0x18], eax
mov ecx, dword [esp + 0x54]
jmp 0x10055a1b
mov dword [esp + 0x40], 0
inc dword [esp + 0x44]
inc esi
add edi, 0x18
mov dword [esp + 0x3c], esi
cmp esi, dword [ecx - 4]
jl 0x10055700
movss xmm2, dword [0x100d5914]
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
add ecx, 0x18
sub dword [esp + 0x6c], 1
xorps xmm1, xmm1
mov dword [esp + 0x54], ecx
jne 0x10055625
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
pop esi
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], edx
pop edi
add esp, 0x54
ret