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

Disassembly:
sub esp, 0x58
or dword [esp + 0x40], 0xffffffff
and dword [esp + 0x3c], 0
push esi
push edi
mov edi, dword [esp + 0x64]
xor esi, esi
inc esi
cmp dword [esp + 0x70], 0
mov dword [esp + 0x40], esi
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jle 0x100249ba
mov edx, dword [esp + 0x6c]
add edx, 0x10
mov dword [esp + 0x54], edx
movss xmm0, dword [edx - 0x10]
comiss xmm0, dword [0x1006d0d0]
push ecx
jbe 0x100245cc
movss dword [esp], xmm0
push dword [esp + 0x6c]
call fcn.10024aa0
jmp 0x100245e1
xorps xmm0, xmmword [0x1006d240]
movss dword [esp], xmm0
push dword [esp + 0x6c]
call fcn.10024a6b
mov eax, dword [esp + 0x5c]
movss xmm2, dword [0x1006d124]
pop ecx
pop ecx
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
fstp dword [esp + 0x5c]
addsd xmm0, qword [eax*8 + 0x1006d210]
mov eax, edx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, edx
cvtdq2pd xmm0, xmm0
movss dword [esp + 0x24], xmm2
addsd xmm0, qword [eax*8 + 0x1006d210]
movss xmm2, dword [0x1006d124]
cvtpd2ps xmm0, xmm0
divss xmm2, xmm0
movss dword [esp + 0x20], xmm2
call fcn.10022185
fstp dword [esp + 0x3c]
push edx
call fcn.10022185
mov edx, dword [esp + 0x5c]
pop ecx
pop ecx
xor ecx, ecx
fstp dword [esp + 0x30]
mov dword [esp + 0x50], ecx
cmp dword [edx - 4], ecx
jle 0x1002499c
imul eax, dword [esp + 0x48], 0x1c
and dword [esp + 0x5c], ecx
mov esi, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
imul eax, dword [esp + 0x44], 0x18
add eax, 0xc
add esi, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], esi
cmp dword [esi + 8], 0
je 0x10024935
cmp dword [esi - 8], 0
je 0x10024935
cmp dword [esi - 4], 0
je 0x10024935
mov eax, dword [edx]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
mov eax, dword [edx - 8]
test eax, eax
jne 0x100246d3
mov eax, dword [edx - 0xc]
add eax, ecx
jmp 0x100246d6
mov eax, dword [eax + ecx*4]
push eax
push dword [esp + 0x6c]
call fcn.10023e5e
mov ecx, eax
mov eax, dword [edi + 0x14]
add dword [esi], eax
add dword [esi + 4], eax
sub dword [esi - 8], eax
sub dword [esi - 4], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x58], ecx
push eax
push ecx
push dword [esp + 0x7c]
call fcn.1002431a
add esp, 0x18
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [edi + 0x20]
sub esp, 0x10
and dword [esp + 0xc], 0
and dword [esp + 8], 0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1006d210]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1006d210]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x78]
movss dword [esp], xmm0
push dword [esp + 0x6c]
push dword [esp + 0x8c]
call fcn.10024147
movd xmm0, dword [edi + 0x20]
add esp, 0x28
mov eax, dword [edi + 0x20]
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
push dword [esp + 0x4c]
sub esp, 0x10
and dword [esp + 0xc], 0
and dword [esp + 8], 0
addsd xmm0, qword [eax*8 + 0x1006d210]
mov eax, dword [edi + 0x1c]
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x6c]
movss dword [esp + 4], xmm0
movd xmm0, dword [edi + 0x1c]
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x1006d210]
mov eax, dword [esi - 4]
sub eax, dword [edi + 0x20]
inc eax
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x6c]
movss dword [esp], xmm0
push dword [edi + 0x10]
push eax
mov eax, dword [esi - 8]
sub eax, dword [edi + 0x1c]
inc eax
push eax
mov eax, dword [esi + 4]
imul eax, dword [edi + 0x10]
add eax, dword [edi + 0x24]
add eax, dword [esi]
push eax
push dword [esp + 0x8c]
call fcn.100243d9
add esp, 0x28
cmp dword [edi + 0x1c], 1
jbe 0x10024842
push dword [edi + 0x1c]
mov eax, dword [esi + 4]
push dword [edi + 0x10]
imul eax, dword [edi + 0x10]
push dword [esi - 4]
push dword [esi - 8]
add eax, dword [edi + 0x24]
add eax, dword [esi]
push eax
call fcn.10021aef
add esp, 0x14
cmp dword [edi + 0x20], 1
jbe 0x10024869
push dword [edi + 0x20]
mov eax, dword [esi + 4]
push dword [edi + 0x10]
imul eax, dword [edi + 0x10]
push dword [esi - 4]
push dword [esi - 8]
add eax, dword [edi + 0x24]
add eax, dword [esi]
push eax
call fcn.10023a4c
add esp, 0x14
mov ecx, dword [esp + 0x28]
mov ax, word [esi]
movd xmm0, dword [esp + 0x24]
cvtdq2ps xmm0, xmm0
mov word [ecx], ax
mov ax, word [esi + 4]
mov word [ecx + 2], ax
mov ax, word [esi - 8]
add ax, word [esi]
mulss xmm0, dword [esp + 0x58]
mov word [ecx + 4], ax
mov ax, word [esi + 4]
add ax, word [esi - 4]
movss dword [ecx + 0x10], xmm0
movd xmm0, dword [esp + 0x3c]
cvtdq2ps xmm0, xmm0
mov word [ecx + 6], ax
mov edx, dword [esp + 0x54]
mulss xmm0, dword [esp + 0x20]
addss xmm0, dword [esp + 0x38]
movss dword [ecx + 8], xmm0
movd xmm0, dword [esp + 0x34]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x30]
movss dword [ecx + 0xc], xmm0
mov eax, dword [esi - 8]
add eax, dword [esp + 0x3c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x20]
addss xmm0, dword [esp + 0x38]
movss dword [ecx + 0x14], xmm0
mov eax, dword [esi - 4]
add eax, dword [esp + 0x34]
cmp dword [esp + 0x4c], 0
movd xmm0, eax
mov eax, dword [esp + 0x5c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x30]
movss dword [ecx + 0x18], xmm0
mov ecx, dword [esp + 0x50]
jne 0x1002497c
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], eax
jmp 0x10024971
cmp dword [edi + 0x18], 0
jne 0x10024977
cmp dword [esi + 8], 0
je 0x10024977
cmp dword [esi - 8], 0
jne 0x10024977
cmp dword [esi - 4], 0
jne 0x10024977
cmp dword [esp + 0x48], 0
jl 0x10024977
mov esi, dword [esp + 0x2c]
add esi, dword [edx]
mov edi, dword [esp + 0x5c]
add edi, dword [edx]
push 7
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x5c]
jmp 0x1002497c
and dword [esp + 0x40], 0
inc dword [esp + 0x44]
add esi, 0x18
inc ecx
mov dword [esp + 0x4c], esi
add eax, 0x1c
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], eax
cmp ecx, dword [edx - 4]
jl 0x1002469d
add edx, 0x18
sub dword [esp + 0x70], 1
mov dword [esp + 0x54], edx
jne 0x100245ad
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov eax, esi
mov dword [edi + 0x20], ecx
pop edi
pop esi
add esp, 0x58
ret