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

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x54
cdq
push ebx
push ebp
mov ebp, dword [esp + 0x70]
push esi
push edi
idiv dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov ecx, edx
lea eax, [ebx - 1]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
test ecx, ecx
cmove ecx, dword [ebp + 0x14]
and ebx, 0x80000001
jns 0x1024ab15
dec ebx
or ebx, 0xfffffffe
inc ebx
lea eax, [ecx - 1]
mov ecx, dword [ebp + 0x10]
add eax, ebx
mov ebx, dword [ebp + 4]
mov ebp, dword [esp + 0x6c]
cdq
sub eax, edx
sar eax, 1
cmp eax, edi
cmovge eax, edi
mov dword [esp + 0x48], eax
mov eax, ebp
cdq
idiv ecx
lea eax, [ebx - 1]
mov esi, edx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
test esi, esi
cmove esi, ecx
mov ecx, ebx
and ecx, 0x80000001
jns 0x1024ab57
dec ecx
or ecx, 0xfffffffe
inc ecx
lea eax, [esi - 1]
mov esi, dword [esp + 0x84]
add eax, ecx
mov ecx, ebx
cdq
sub eax, edx
sar eax, 1
cmp eax, edi
cmovge eax, edi
imul ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x8c]
inc eax
mov dword [esp + 0x54], eax
sub eax, ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x50], eax
cmp esi, dword [edi + 0xc]
jge 0x1024ae9b
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x48]
mov ebx, eax
mov dword [esp + 0x44], ebx
cmp eax, edx
jge 0x1024ae84
mov dword [esp + 0x28], 0
nop dword [eax]
mov eax, dword [edi + 4]
mov edx, 0
imul eax, ebx
sub ecx, eax
mov eax, 0
cmovns eax, ecx
mov ecx, dword [esp + 0x88]
imul eax, ecx
add eax, esi
mov dword [esp + 0x58], eax
mov eax, ebx
sub eax, dword [esp + 0x94]
cmovns edx, eax
mov eax, dword [esp + 0x90]
inc eax
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x70]
add eax, ebx
mov ebx, dword [esp + 0x4c]
cmp edx, eax
mov dword [esp + 0x3c], ebx
cmovl eax, edx
mov dword [esp + 0x2c], eax
cmp ebx, ebp
jge 0x1024ae57
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + esi*4]
add eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
nop dword [eax + eax]
mov eax, dword [esp + 0x98]
mov esi, 0
mov ebp, dword [esp + 0x54]
sub eax, ebx
cmovns esi, eax
mov eax, dword [esp + 0x50]
xor edx, edx
imul esi, ecx
add eax, ebx
cmovns edx, eax
mov eax, ebx
imul edx, ecx
sub eax, dword [esp + 0x98]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x14], edx
mov edx, 0
cmovns edx, eax
mov eax, dword [edi + 0x20]
add ebp, ebx
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x6c], ebp
movss xmm1, dword [eax + esi*4]
mov eax, dword [edi]
cmovl ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x38], eax
test eax, eax
jle 0x1024ae2a
mov eax, dword [edi + 0xc]
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], eax
nop word [eax + eax]
mov ecx, eax
cmp edi, dword [esp + 0x2c]
jge 0x1024ae01
imul edi, dword [esp + 0x74]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x8c], edi
nop dword [eax + eax]
add ecx, esi
cmp edx, ebp
jge 0x1024addd
mov eax, dword [esp + 0x78]
mov ebx, dword [ebx]
mov esi, dword [eax + 0x1c]
mov eax, ebp
sub eax, dword [esp + 0x1c]
cmp eax, 4
jl 0x1024ad83
lea eax, [edi + 2]
add eax, edx
lea edi, [ebx + eax*4]
mov eax, ebp
sub eax, edx
sub eax, 4
shr eax, 2
inc eax
lea edx, [edx + eax*4]
movss xmm0, dword [esi + ecx*4]
mulss xmm0, dword [edi - 8]
add ecx, dword [esp + 0x88]
addss xmm0, xmm1
movss xmm1, dword [esi + ecx*4]
mulss xmm1, dword [edi - 4]
add ecx, dword [esp + 0x88]
addss xmm1, xmm0
movss xmm0, dword [esi + ecx*4]
mulss xmm0, dword [edi]
add ecx, dword [esp + 0x88]
addss xmm0, xmm1
movss xmm1, dword [esi + ecx*4]
mulss xmm1, dword [edi + 4]
add edi, 0x10
add ecx, dword [esp + 0x88]
addss xmm1, xmm0
sub eax, 1
jne 0x1024ad24
cmp edx, ebp
jge 0x1024adca
mov eax, dword [esp + 0x88]
lea edi, [esi + ecx*4]
shl eax, 2
mov esi, ebp
mov dword [esp + 0x5c], eax
sub esi, edx
mov eax, dword [esp + 0x8c]
add eax, edx
lea ebx, [ebx + eax*4]
mov eax, esi
imul eax, dword [esp + 0x88]
add ecx, eax
mov eax, dword [esp + 0x5c]
movss xmm0, dword [ebx]
add ebx, 4
mulss xmm0, dword [edi]
add edi, eax
addss xmm1, xmm0
sub esi, 1
jne 0x1024adb4
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x8c]
add edi, dword [esp + 0x74]
add ecx, eax
sub dword [esp + 0x30], 1
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x8c], edi
jne 0x1024acf0
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
add eax, dword [esp + 0x60]
add ebx, 4
sub dword [esp + 0x38], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ebx
jne 0x1024acc0
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x6c]
movss dword [eax], xmm1
add eax, 4
add ebx, dword [edi + 0x10]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
cmp ebx, ebp
jl 0x1024ac30
mov esi, dword [esp + 0x84]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x44]
add ebx, dword [edi + 0x14]
mov dword [esp + 0x44], ebx
lea eax, [ecx*4]
mov ecx, dword [esp + 0x10]
add dword [esp + 0x28], eax
cmp ebx, edx
jl 0x1024abc0
mov eax, dword [esp + 0x48]
add esi, dword [esp + 0x9c]
mov dword [esp + 0x84], esi
cmp esi, dword [edi + 0xc]
jl 0x1024aba6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret