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

Disassembly:
sub esp, 0x40
fild dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
push ebx
mov ebx, dword [esp + 0x48]
push ebp
fdivr dword [0x618eb0]
mov ebp, dword [esp + 0x50]
mov edx, ebx
mov eax, ebx
push esi
push edi
fld st(0)
imul edx, ecx
fcos
mov dword [esp + 0x10], edx
lea edx, [ebx - 1]
sar edx, 1
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x64]
fstp dword [esp + 0x34]
imul eax, ebp
fsin
inc ebp
mov dword [esp + 0x1c], eax
sar ebp, 1
cmp ebx, ecx
mov dword [esp + 0x14], ebp
fstp dword [esp + 0x30]
jge 0x50aaf2
test ebx, ebx
jle 0x50ab42
mov esi, dword [esp + 0x70]
mov dword [esp + 0x20], ebx
mov eax, esi
sub eax, edx
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jle 0x50aae2
mov esi, dword [esp + 0x5c]
lea edi, [ebx*4]
add eax, edx
mov ecx, edx
mov ebp, dword [ecx]
mov dword [eax], ebp
mov ebp, dword [esp + 0x1c]
shl ebp, 2
add eax, edi
add ecx, ebp
dec esi
jne 0x50aac4
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x20]
add edx, 4
dec ecx
mov dword [esp + 0x20], ecx
jne 0x50aaad
jmp 0x50ab46
test ecx, ecx
jle 0x50ab42
mov esi, dword [esp + 0x70]
mov dword [esp + 0x18], ecx
shl eax, 2
mov dword [esp + 0x40], eax
mov eax, edx
mov dword [esp + 0x20], eax
test ebx, ebx
jle 0x50ab20
mov ecx, esi
mov edx, ebx
mov edi, dword [eax]
add eax, 4
mov dword [ecx], edi
add ecx, 4
dec edx
jne 0x50ab13
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
lea eax, [ebx*4]
add esi, eax
mov eax, dword [esp + 0x20]
add eax, edx
dec ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
jne 0x50ab0b
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
cmp ebp, 1
lea eax, [ebx + ebx]
jle 0x50abf8
mov ecx, dword [esp + 0x18]
lea edi, [eax*4]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x38], edi
add eax, edi
lea edx, [esi + ecx*4]
mov dword [esp + 0x20], eax
lea eax, [ebp - 1]
mov ecx, esi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
shl eax, 2
add ecx, eax
sub edx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], ecx
test eax, eax
mov dword [esp + 0x3c], edx
jle 0x50abe3
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x5c]
lea edi, [ebx*4]
lea esi, [eax*4]
mov eax, dword [esp + 0x20]
fld dword [eax - 4]
fadd st(0), st(0)
fstp dword [ecx]
fld dword [eax]
fadd st(0), st(0)
add ecx, edi
add eax, esi
fstp dword [edx]
add edx, edi
dec ebp
jne 0x50abb9
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x20]
add eax, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x28], eax
jne 0x50ab84
cmp ebx, 1
je 0x50adec
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jge 0x50ad00
cmp ebp, 1
jle 0x50adec
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x64]
dec ebp
mov edx, esi
lea esi, [esi + eax*4]
mov dword [esp + 0x28], ebp
mov ecx, dword [esp + 0x10]
lea eax, [ecx*4]
add edx, eax
sub esi, eax
lea eax, [ebx*8]
mov dword [esp + 0x48], edx
add edi, eax
cmp ebx, 2
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
jle 0x50ace8
lea ebp, [ebx - 1]
mov eax, edi
shr ebp, 1
mov ecx, edi
mov dword [esp + 0x64], ebp
mov ebp, dword [esp + 0x5c]
add ecx, 8
add edx, 8
add esi, 8
sub eax, 8
mov dword [esp + 0x3c], ecx
test ebp, ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], eax
jle 0x50acd5
mov edi, dword [esp + 0x1c]
shl edi, 2
shl ebx, 2
fld dword [eax - 4]
fadd dword [ecx - 4]
fstp dword [edx - 4]
fld dword [ecx - 4]
fsub dword [eax - 4]
fstp dword [esi - 4]
fld dword [ecx]
fsub dword [eax]
fstp dword [edx]
fld dword [eax]
fadd dword [ecx]
add edx, ebx
add eax, edi
add ecx, edi
fstp dword [esi]
add esi, ebx
dec ebp
jne 0x50ac94
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x64]
dec ebp
mov dword [esp + 0x64], ebp
jne 0x50ac66
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x28], eax
jne 0x50ac2c
mov ebp, dword [esp + 0x14]
jmp 0x50adec
cmp ebp, 1
jle 0x50adec
mov edx, dword [esp + 0x18]
lea eax, [ebp - 1]
mov dword [esp + 0x2c], eax
lea ecx, [esi + edx*4]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x10]
shl eax, 2
add esi, eax
sub ecx, eax
lea eax, [ebx*8]
mov dword [esp + 0x40], esi
add edx, eax
mov eax, dword [esp + 0x5c]
test eax, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
jle 0x50addd
mov dword [esp + 0x64], ecx
mov ecx, eax
mov dword [esp + 0x20], esi
mov ebp, edx
mov dword [esp + 0x28], ecx
cmp ebx, 2
jle 0x50ad9a
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x20]
lea edi, [ebx - 1]
mov eax, ebp
mov ecx, ebp
shr edi, 1
fld dword [ecx - 0xc]
fadd dword [eax + 4]
sub ecx, 8
add eax, 8
add edx, 8
add esi, 8
dec edi
fstp dword [edx - 4]
fld dword [eax - 4]
fsub dword [ecx - 4]
fstp dword [esi - 4]
fld dword [eax]
fsub dword [ecx]
fstp dword [edx]
fld dword [eax]
fadd dword [ecx]
fstp dword [esi]
jne 0x50ad6d
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x64]
lea eax, [ebx*4]
add edx, eax
add esi, eax
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x64], esi
lea eax, [edx*4]
add ebp, eax
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x28], eax
jne 0x50ad57
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x2c], eax
jne 0x50ad1b
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x60]
mov esi, eax
mov ecx, dword [esp + 0x74]
imul esi, edi
fld dword [0x5cda60]
dec eax
mov dword [esp + 0x64], 0x3f800000
imul eax, edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x6c]
cmp ebp, 1
mov dword [esp + 0x44], esi
jle 0x50af98
fld dword [esp + 0x64]
mov edx, eax
lea esi, [eax + esi*4]
lea eax, [ebp - 1]
mov dword [esp + 0x40], eax
jmp 0x50ae3e
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
fld st(0)
fmul dword [esp + 0x34]
fld st(2)
fmul dword [esp + 0x30]
lea eax, [edi*4]
add edx, eax
sub esi, eax
fsubp st(1)
test edi, edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], esi
fstp dword [esp + 0x64]
fmul dword [esp + 0x30]
fxch st(1)
fmul dword [esp + 0x34]
faddp st(1)
fld dword [esp + 0x64]
jle 0x50aec5
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x48]
add eax, ecx
mov dword [esp + 0x28], edi
lea ebp, [ecx + esi*4]
fld dword [esp + 0x64]
fmul dword [eax]
mov esi, dword [esp + 0x2c]
add eax, 4
add esi, 4
add edx, 4
fadd dword [ecx]
mov dword [esp + 0x2c], esi
add ecx, 4
add ebp, 4
fstp dword [edx - 4]
fld st(1)
fmul dword [ebp - 4]
fstp dword [esi - 4]
mov esi, dword [esp + 0x28]
dec esi
mov dword [esp + 0x28], esi
jne 0x50ae88
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x64]
sub eax, edi
cmp ebp, 2
mov dword [esp + 0x4c], edx
fld st(1)
jle 0x50af85
fld dword [esp + 0x4c]
lea edx, [ecx + edi*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x1c], edx
lea edx, [ebp - 2]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], edx
fld st(0)
fmul dword [esp + 0x64]
fld st(2)
fmul st(5)
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [edi*4]
fsubp st(1)
add esi, eax
sub edx, eax
test edi, edi
fstp dword [esp + 0x2c]
fxch st(1)
fmul dword [esp + 0x64]
fxch st(1)
fmul st(3)
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edx
faddp st(1)
fld dword [esp + 0x2c]
jle 0x50af74
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov esi, edx
mov edx, dword [esp + 0x1c]
mov ebp, edi
fld dword [esp + 0x2c]
fmul dword [edx]
add edx, 4
add eax, 4
add esi, 4
add ecx, 4
fadd dword [eax - 4]
dec ebp
fstp dword [eax - 4]
fld st(1)
fmul dword [esi - 4]
fadd dword [ecx - 4]
fstp dword [ecx - 4]
jne 0x50af46
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x28], eax
jne 0x50aef7
fstp st(0)
mov eax, dword [esp + 0x40]
dec eax
fstp st(0)
mov dword [esp + 0x40], eax
jne 0x50ae36
fstp st(0)
cmp ebp, 1
fstp st(0)
jle 0x50b05d
lea eax, [ebp - 1]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x64]
lea eax, [edi*4]
add edx, eax
test edi, edi
mov dword [esp + 0x64], edx
jle 0x50afd7
mov eax, ecx
mov esi, edi
fld dword [eax]
fadd dword [edx]
add edx, 4
add eax, 4
dec esi
fstp dword [eax - 4]
jne 0x50afc7
mov eax, dword [esp + 0x40]
dec eax
mov dword [esp + 0x40], eax
jne 0x50afae
cmp ebp, 1
jle 0x50b05d
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
lea esi, [ebp - 1]
lea edx, [ecx*4]
mov dword [esp + 0x64], esi
lea ecx, [edi + eax*4]
mov dword [esp + 0x44], edx
mov eax, edi
mov esi, dword [esp + 0x5c]
add eax, edx
sub ecx, edx
mov dword [esp + 0x4c], eax
test esi, esi
mov dword [esp + 0x48], ecx
jle 0x50b050
mov edx, dword [esp + 0x70]
lea ebp, [ebx*4]
sub edx, edi
fld dword [eax]
fsub dword [ecx]
fstp dword [edx + eax]
fld dword [ecx]
fadd dword [eax]
add eax, ebp
fstp dword [edx + ecx]
add ecx, ebp
dec esi
jne 0x50b02b
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x64]
dec esi
mov dword [esp + 0x64], esi
jne 0x50b00a
jmp 0x50b061
mov edi, dword [esp + 0x68]
cmp ebx, 1
je 0x50b4e6
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jge 0x50b184
cmp ebp, 1
jle 0x50b295
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x18]
lea edx, [edi - 4]
lea esi, [ecx + eax*4]
lea ebp, [edi + eax*4 - 4]
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
shl eax, 2
add ecx, eax
add edx, eax
sub esi, eax
sub ebp, eax
cmp ebx, 2
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], ebp
jle 0x50b170
mov eax, edx
lea edx, [ebx - 1]
shr edx, 1
mov edi, ecx
mov ecx, ebp
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x5c]
add edi, 8
add eax, 8
add esi, 8
add ecx, 8
mov dword [esp + 0x3c], edi
test edx, edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ecx
jle 0x50b14d
mov ebp, dword [esp + 0x68]
lea edx, [ebx*4]
mov ebx, esi
mov esi, dword [esp + 0x70]
sub esi, ebp
mov ebp, dword [esp + 0x5c]
fld dword [eax]
fsub dword [ecx + 4]
fstp dword [eax + esi]
fld dword [ecx + 4]
fadd dword [eax]
fstp dword [ecx + esi]
fld dword [eax + 4]
fadd dword [ecx]
fstp dword [edi]
fld dword [eax + 4]
fsub dword [ecx]
add edi, edx
add eax, edx
add ecx, edx
fstp dword [ebx]
add ebx, edx
dec ebp
jne 0x50b110
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x64]
dec edx
mov dword [esp + 0x64], edx
jne 0x50b0d5
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
dec eax
mov dword [esp + 0x40], eax
jne 0x50b09e
jmp 0x50b295
cmp ebp, 1
jle 0x50b295
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x18]
lea edx, [edi - 4]
lea ebp, [ecx + eax*4]
lea esi, [edi + eax*4 - 4]
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
shl eax, 2
add ecx, eax
add edx, eax
sub ebp, eax
sub esi, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x48], ecx
test eax, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x44], esi
jle 0x50b286
mov edi, ecx
mov dword [esp + 0x64], edx
mov ecx, esi
mov edx, eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
cmp ebx, 2
jle 0x50b234
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
sub edx, esi
lea esi, [ebx - 1]
shr esi, 1
fld dword [eax + 8]
fsub dword [ecx + 0xc]
add eax, 8
add ecx, 8
add edi, 8
add ebp, 8
dec esi
fstp dword [eax + edx]
fld dword [eax]
fadd dword [ecx + 4]
fstp dword [ecx + edx]
fld dword [eax + 4]
fadd dword [ecx]
fstp dword [edi]
fld dword [eax + 4]
fsub dword [ecx]
fstp dword [ebp]
jne 0x50b205
mov ebp, dword [esp + 0x64]
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x3c]
lea eax, [ebx*4]
add ebp, eax
add edi, eax
mov dword [esp + 0x64], ebp
mov ebp, dword [esp + 0x40]
add ebp, eax
add ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x54], edi
dec eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
jne 0x50b1ed
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0x34], eax
jne 0x50b1a8
mov edx, dword [esp + 0x60]
test edx, edx
jle 0x50b2b2
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
sub ecx, eax
mov esi, dword [ecx + eax]
mov dword [eax], esi
add eax, 4
dec edx
jne 0x50b2a7
mov esi, dword [esp + 0x58]
cmp esi, 1
jle 0x50b307
lea ecx, [esi - 1]
mov eax, edi
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x10]
lea ecx, [edx*4]
mov edx, dword [esp + 0x5c]
add eax, ecx
test edx, edx
mov dword [esp + 0x74], eax
jle 0x50b2fc
mov ecx, dword [esp + 0x70]
lea ebp, [ebx*4]
sub ecx, edi
mov esi, dword [eax + ecx]
mov dword [eax], esi
add eax, ebp
dec edx
jne 0x50b2ea
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
dec ecx
mov dword [esp + 0x64], ecx
jne 0x50b2c4
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jle 0x50b40e
or eax, 0xffffffff
sub eax, ebx
cmp esi, 1
jle 0x50b4e6
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], edi
lea edx, [ecx*4]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x4c], edx
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x70]
add eax, 0xfffffffc
dec esi
mov dword [esp + 0x74], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
lea eax, [ebx*4]
add esi, eax
mov eax, dword [esp + 0x4c]
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x74], esi
test eax, eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x64], ecx
jle 0x50b3f7
mov ebp, edx
mov edx, eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], edx
cmp ebx, 2
jle 0x50b3d9
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x54]
sub edi, edx
lea edx, [ebx - 1]
mov esi, ebp
shr edx, 1
fld dword [ecx + 4]
fmul dword [eax + 8]
fld dword [ecx + 8]
add ecx, 8
add eax, 8
add esi, 8
dec edx
fmul dword [eax + 4]
fsubp st(1)
fstp dword [edi + eax]
fld dword [eax]
fmul dword [ecx]
fld dword [ecx - 4]
fmul dword [eax + 4]
faddp st(1)
fstp dword [esi]
jne 0x50b3aa
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x54]
lea eax, [ebx*4]
add ebp, eax
add ecx, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x54], ecx
dec eax
mov dword [esp + 0x60], eax
jne 0x50b390
mov eax, dword [esp + 0x6c]
dec eax
mov dword [esp + 0x6c], eax
jne 0x50b353
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
or eax, 0xffffffff
sub eax, ebx
cmp esi, 1
jle 0x50b4e6
mov ecx, dword [esp + 0x10]
lea ebp, [ebx*4]
lea edx, [ecx*4]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x74], edx
mov edx, edi
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x70]
add eax, 0xfffffffc
dec esi
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x74]
add ecx, ebp
add edx, esi
add eax, esi
cmp ebx, 2
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x4c], eax
jle 0x50b4d7
lea esi, [ebx - 1]
shr esi, 1
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x5c]
add ecx, 8
add edx, 8
add eax, 8
test esi, esi
mov dword [esp + 0x60], edx
mov dword [esp + 0x54], eax
jle 0x50b4c0
mov esi, edi
mov edi, dword [esp + 0x70]
sub esi, edi
mov edi, dword [esp + 0x5c]
fld dword [ecx - 4]
fmul dword [eax]
fld dword [eax + 4]
fmul dword [ecx]
fsubp st(1)
fstp dword [esi + eax]
fld dword [eax]
fmul dword [ecx]
fld dword [ecx - 4]
fmul dword [eax + 4]
add eax, ebp
faddp st(1)
fstp dword [edx]
add edx, ebp
dec edi
jne 0x50b490
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
dec esi
mov dword [esp + 0x58], esi
jne 0x50b46b
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x64]
dec esi
mov dword [esp + 0x64], esi
jne 0x50b447
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret