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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e4
xor eax, eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x98], eax
cmp dword [ecx + 0x20], eax
jle 0x51cff3
fldz
push ebx
push esi
push edi
mov dword [ebp - 0x48], eax
mov edx, dword [ecx + 0x1c]
add edx, dword [ebp - 0x48]
mov edi, dword [edx + 0x98]
mov ebx, dword [edx + 0x9c]
fld dword [edi + 0x50]
mov eax, dword [edi + 0x48]
fstp dword [ebp - 0xc]
fld dword [ebx + 0x50]
mov ecx, dword [edi + 0x4c]
fstp dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
fld dword [edi + 0x80]
mov eax, dword [ebx + 0x48]
fstp dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
fld dword [edi + 0x88]
mov eax, dword [edx + 0x70]
fstp dword [ebp - 0x38]
mov dword [ebp - 0xd0], eax
fld dword [ebx + 0x80]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx + 0x4c]
fstp dword [ebp - 8]
fld dword [ebx + 0x88]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 0x74]
fstp dword [ebp - 0x44]
fld dword [ebp - 0xd0]
mov dword [ebp - 0xcc], ecx
fld qword [0x5472b8]
xor ecx, ecx
fmul st(1)
fstp dword [ebp - 0x1e0]
fld dword [edx + 0xa8]
fstp dword [ebp - 0x1dc]
fld dword [ebp - 0x10]
fld dword [ebp - 8]
fld dword [ebp - 0xcc]
cmp dword [edx + 0xb0], ecx
jle 0x51c64a
fstp st(4)
lea esi, [edx + 0x14]
fld dword [ebp - 0x1e0]
fld dword [ebp - 0xc]
fld st(0)
fchs
fmul dword [esi - 8]
fstp dword [ebp - 0xf0]
fmul dword [esi - 0xc]
fstp dword [ebp - 0xec]
fld dword [ebp - 0x24]
fld st(0)
fchs
fmul dword [esi]
fstp dword [ebp - 0x160]
fmul dword [esi - 4]
fstp dword [ebp - 0x15c]
fld dword [ebp - 0x20]
fadd dword [ebp - 0x160]
fstp dword [ebp - 0xe0]
fld dword [ebp - 0x1c]
fadd dword [ebp - 0x15c]
fstp dword [ebp - 0xdc]
fld dword [ebp - 0xe0]
fsub dword [ebp - 0x18]
fstp dword [ebp - 0xc0]
fld dword [ebp - 0xdc]
fsub dword [ebp - 0x14]
fstp dword [ebp - 0xbc]
fld dword [ebp - 0xc0]
fsub dword [ebp - 0xf0]
fstp dword [ebp - 0x170]
fld dword [ebp - 0xbc]
fsub dword [ebp - 0xec]
fstp dword [ebp - 0x16c]
fld dword [esi + 4]
fmul dword [ebp - 0x1dc]
fstp dword [ebp - 4]
fld st(4)
fmul dword [ebp - 0x170]
fld dword [ebp - 0x16c]
fmul st(2)
faddp st(1)
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fchs
fmul dword [esi + 0x10]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fadd dword [esi + 8]
fstp dword [ebp - 8]
fld dword [ebp - 4]
fld st(0)
fchs
fstp dword [ebp - 4]
fld dword [ebp - 8]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x51c54a
fstp st(0)
fld dword [ebp - 8]
fstp dword [ebp - 8]
fld dword [ebp - 4]
fld dword [ebp - 8]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x51c561
fstp st(0)
fld dword [ebp - 8]
fstp dword [ebp - 8]
inc ecx
fld dword [ebp - 8]
add esi, 0x30
fsub dword [esi - 0x28]
fstp dword [ebp - 4]
fld st(4)
fld dword [ebp - 4]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [ebp - 0x88]
fmulp st(1)
fstp dword [ebp - 0x84]
fld dword [ebp - 0x88]
fld st(0)
fmul st(3)
fstp dword [ebp - 0x100]
fld dword [ebp - 0x84]
fld st(0)
fmul st(4)
fstp dword [ebp - 0xfc]
fld dword [ebp - 0x18]
fsub dword [ebp - 0x100]
fstp dword [ebp - 0x18]
fld dword [ebp - 0x14]
fsub dword [ebp - 0xfc]
fstp dword [ebp - 0x14]
fld dword [ebp - 0xc]
fld dword [esi - 0x3c]
fmulp st(2)
fld dword [esi - 0x38]
fmulp st(3)
fxch st(1)
fsubrp st(2)
fxch st(1)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fmul dword [ebp - 0x38]
fsubp st(1)
fstp dword [ebp - 0xc]
fld dword [ebp - 0x88]
fld st(0)
fmul st(2)
fstp dword [ebp - 0x1b0]
fld dword [ebp - 0x84]
fld st(0)
fmul st(3)
fstp dword [ebp - 0x1ac]
fld dword [ebp - 0x1b0]
fadd dword [ebp - 0x20]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x1ac]
fadd dword [ebp - 0x1c]
fstp dword [ebp - 0x1c]
fmul dword [esi - 0x34]
fld dword [esi - 0x30]
fmulp st(2)
fsubrp st(1)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fmul dword [ebp - 0x44]
fadd dword [ebp - 0x24]
fstp dword [ebp - 0x24]
fld dword [ebp - 8]
fstp dword [esi - 0x28]
cmp ecx, dword [edx + 0xb0]
jl 0x51c463
fldz
fxch st(4)
cmp dword [edx + 0xb0], 1
jne 0x51c807
fld dword [edx + 0xc]
fld dword [ebp - 0xc]
fld st(0)
fchs
fmulp st(2)
fxch st(1)
fstp dword [ebp - 0x1d0]
fmul dword [edx + 8]
fstp dword [ebp - 0x1cc]
fld dword [edx + 0x14]
fld dword [ebp - 0x24]
fld st(0)
fchs
fmulp st(2)
fxch st(1)
fstp dword [ebp - 0x110]
fmul dword [edx + 0x10]
fstp dword [ebp - 0x10c]
fld dword [ebp - 0x110]
fadd dword [ebp - 0x20]
fstp dword [ebp - 0x180]
fld dword [ebp - 0x10c]
fadd dword [ebp - 0x1c]
fstp dword [ebp - 0x17c]
fld dword [ebp - 0x180]
fsub dword [ebp - 0x18]
fstp dword [ebp - 0x120]
fld dword [ebp - 0x17c]
fsub dword [ebp - 0x14]
fstp dword [ebp - 0x11c]
fld dword [ebp - 0x120]
fsub dword [ebp - 0x1d0]
fstp dword [ebp - 0x130]
fld dword [ebp - 0x11c]
fsub dword [ebp - 0x1cc]
fstp dword [ebp - 0x12c]
fld dword [ebp - 0x12c]
fmul st(1)
fld dword [ebp - 0x130]
fmul st(5)
faddp st(1)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fsub dword [edx + 0x2c]
fld dword [edx + 0x20]
fchs
fmulp st(1)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fadd dword [edx + 0x18]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fcom st(5)
fnstsw ax
test ah, 0x41
jne 0x51c730
fstp dword [ebp - 8]
jmp 0x51c739
fstp st(0)
fxch st(4)
fst dword [ebp - 8]
fxch st(4)
fld dword [ebp - 8]
fsub dword [edx + 0x18]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fld st(0)
fmulp st(5)
fxch st(4)
fstp dword [ebp - 0x190]
fmulp st(3)
fxch st(2)
fstp dword [ebp - 0x18c]
fld dword [ebp - 0x190]
fld st(0)
fmul st(2)
fstp dword [ebp - 0x140]
fld dword [ebp - 0x18c]
fld st(0)
fmulp st(3)
fxch st(2)
fstp dword [ebp - 0x13c]
fld dword [ebp - 0x18]
fsub dword [ebp - 0x140]
fstp dword [ebp - 0x18]
fld dword [ebp - 0x14]
fsub dword [ebp - 0x13c]
fstp dword [ebp - 0x14]
fld dword [ebp - 0xc]
fld st(2)
fmul dword [edx + 8]
fld dword [edx + 0xc]
fmul st(3)
fsubp st(1)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fmul dword [ebp - 0x38]
fsubp st(1)
fstp dword [ebp - 0xc]
fld st(0)
fmul st(3)
fstp dword [ebp - 0x1c0]
fld st(1)
fmulp st(3)
fxch st(2)
fstp dword [ebp - 0x1bc]
fld dword [ebp - 0x1c0]
fadd dword [ebp - 0x20]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x1bc]
fadd dword [ebp - 0x1c]
fstp dword [ebp - 0x1c]
fmul dword [edx + 0x10]
fld dword [edx + 0x14]
fmulp st(2)
fsubrp st(1)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fmul dword [ebp - 0x44]
fadd dword [ebp - 0x24]
fstp dword [ebp - 0x24]
fld dword [ebp - 8]
fstp dword [edx + 0x18]
fld dword [ebp - 0xc]
jmp 0x51cfaa
fstp st(4)
fld dword [edx + 0x18]
fstp dword [ebp - 0x40]
fld dword [edx + 0x48]
fstp dword [ebp - 0x3c]
fld dword [ebp - 0xc]
fld st(0)
fchs
fstp dword [ebp - 8]
fld dword [edx + 0xc]
fmul dword [ebp - 8]
fstp dword [ebp - 0xd8]
fld dword [edx + 8]
fmul st(1)
fstp dword [ebp - 0xd4]
fld dword [ebp - 0x24]
fld st(0)
fchs
fstp dword [ebp - 0xc]
fld dword [edx + 0x14]
fmul dword [ebp - 0xc]
fstp dword [ebp - 0x150]
fld dword [edx + 0x10]
fmul st(1)
fstp dword [ebp - 0x14c]
fld dword [ebp - 0x150]
fadd dword [ebp - 0x20]
fstp dword [ebp - 0x1a0]
fld dword [ebp - 0x14c]
fadd dword [ebp - 0x1c]
fstp dword [ebp - 0x19c]
fld dword [ebp - 0x1a0]
fsub dword [ebp - 0x18]
fstp dword [ebp - 0xc8]
fld dword [ebp - 0x19c]
fsub dword [ebp - 0x14]
fstp dword [ebp - 0xc4]
fld dword [ebp - 0xc8]
fsub dword [ebp - 0xd8]
fstp dword [ebp - 0x128]
fld dword [ebp - 0xc4]
fsub dword [ebp - 0xd4]
fstp dword [ebp - 0x124]
fld dword [edx + 0x3c]
fmul dword [ebp - 8]
fstp dword [ebp - 0x118]
fld st(1)
fmul dword [edx + 0x38]
fstp dword [ebp - 0x114]
fld dword [edx + 0x44]
fmul dword [ebp - 0xc]
fstp dword [ebp - 0xe8]
fmul dword [edx + 0x40]
fstp dword [ebp - 0xe4]
fld dword [ebp - 0xe8]
fadd dword [ebp - 0x20]
fstp dword [ebp - 0xf8]
fld dword [ebp - 0xe4]
fadd dword [ebp - 0x1c]
fstp dword [ebp - 0xf4]
fld dword [ebp - 0xf8]
fsub dword [ebp - 0x18]
fstp dword [ebp - 0x108]
fld dword [ebp - 0xf4]
fsub dword [ebp - 0x14]
fstp dword [ebp - 0x104]
fld dword [ebp - 0x108]
fsub dword [ebp - 0x118]
fstp dword [ebp - 0x138]
fld dword [ebp - 0x104]
fsub dword [ebp - 0x114]
fstp dword [ebp - 0x134]
fld dword [ebp - 0x124]
fmul st(5)
fld dword [ebp - 0x128]
fmul st(5)
faddp st(1)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fsub dword [edx + 0x2c]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x134]
fmul st(5)
fld dword [ebp - 0x138]
fmul st(5)
faddp st(1)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fsub dword [edx + 0x5c]
fstp dword [ebp - 0x28]
fld dword [edx + 0x90]
fmul dword [ebp - 0x3c]
fld dword [edx + 0x88]
fmul dword [ebp - 0x40]
faddp st(1)
fstp dword [ebp - 0x148]
fld dword [edx + 0x8c]
fmul dword [ebp - 0x40]
fld dword [edx + 0x94]
fmul dword [ebp - 0x3c]
faddp st(1)
fstp dword [ebp - 0x144]
fld dword [ebp - 0x2c]
fsub dword [ebp - 0x148]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x28]
fsub dword [ebp - 0x144]
fstp dword [ebp - 0x28]
fld dword [edx + 0x80]
fmul dword [ebp - 0x28]
fld dword [ebp - 0x2c]
fmul dword [edx + 0x78]
faddp st(1)
fstp dword [ebp - 0x158]
fld dword [edx + 0x84]
fmul dword [ebp - 0x28]
fld dword [edx + 0x7c]
fmul dword [ebp - 0x2c]
faddp st(1)
fstp dword [ebp - 0x154]
fld dword [ebp - 0x158]
fchs
fstp dword [ebp - 0x34]
fld dword [ebp - 0x154]
fchs
fstp dword [ebp - 0x30]
fldz
fcom dword [ebp - 0x34]
fnstsw ax
test ah, 0x41
jp 0x51cb65
fcom dword [ebp - 0x30]
fnstsw ax
test ah, 0x41
jp 0x51cb65
fld dword [ebp - 0x34]
fsub dword [ebp - 0x40]
fstp dword [ebp - 0xa0]
fld dword [ebp - 0x30]
fsub dword [ebp - 0x3c]
fstp dword [ebp - 0x9c]
fld st(4)
fmul dword [ebp - 0xa0]
fstp dword [ebp - 0x58]
fld st(5)
fmul dword [ebp - 0xa0]
fstp dword [ebp - 0x54]
fld dword [ebp - 0x9c]
fld st(0)
fmulp st(6)
fxch st(5)
fstp dword [ebp - 0x70]
fxch st(5)
fmulp st(4)
fxch st(3)
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x70]
fld st(0)
fld dword [ebp - 0x58]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ebp - 8]
fld dword [ebp - 0x6c]
fadd dword [ebp - 0x54]
fstp dword [ebp - 0x10]
fld dword [ebp - 8]
fmul st(4)
fstp dword [ebp - 0x168]
fld dword [ebp - 0x10]
fmulp st(4)
fxch st(3)
fstp dword [ebp - 0x164]
fld dword [ebp - 0x18]
fsub dword [ebp - 0x168]
fstp dword [ebp - 0x18]
fld dword [ebp - 0x14]
fsub dword [ebp - 0x164]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x54]
fmul dword [edx + 8]
fld dword [edx + 0xc]
fmulp st(4)
fsubrp st(3)
fxch st(2)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fld dword [ebp - 0x6c]
fmul dword [edx + 0x38]
fld st(3)
fmul dword [edx + 0x3c]
fsubp st(1)
fstp dword [ebp - 4]
fadd dword [ebp - 4]
fmul dword [ebp - 0x38]
fsubp st(3)
fxch st(2)
fstp dword [ebp - 0xc]
fld dword [ebp - 8]
fmul st(2)
fstp dword [ebp - 0x178]
fld dword [ebp - 0x10]
fmulp st(2)
fxch st(1)
fstp dword [ebp - 0x174]
fld dword [ebp - 0x178]
fadd dword [ebp - 0x20]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x174]
fadd dword [ebp - 0x1c]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x54]
fmul dword [edx + 0x10]
fld dword [edx + 0x14]
fmul dword [ebp - 0x58]
fsubp st(1)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fld dword [ebp - 0x6c]
fmul dword [edx + 0x40]
fld dword [edx + 0x44]
fmulp st(3)
fsubrp st(2)
fxch st(1)
fstp dword [ebp - 4]
fadd dword [ebp - 4]
fmul dword [ebp - 0x44]
fadd dword [ebp - 0x24]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x34]
fstp dword [edx + 0x18]
fld dword [ebp - 0x30]
fstp dword [edx + 0x48]
fld dword [ebp - 0xc]
jmp 0x51cfaa
fld dword [edx + 0x20]
fchs
fmul dword [ebp - 0x2c]
fstp dword [ebp - 0x34]
fld dword [ebp - 0x34]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x51cce4
fmul dword [edx + 0x8c]
fadd dword [ebp - 0x28]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x51cce6
fld dword [ebp - 0x34]
fsub dword [ebp - 0x40]
fstp dword [ebp - 0xb0]
fld dword [ebp - 0x3c]
fldz
fsubrp st(1)
fstp dword [ebp - 0xac]
fld st(4)
fmul dword [ebp - 0xb0]
fstp dword [ebp - 0x68]
fld st(5)
fmul dword [ebp - 0xb0]
fstp dword [ebp - 0x64]
fld dword [ebp - 0xac]
fld st(0)
fmulp st(6)
fxch st(5)
fstp dword [ebp - 0x94]
fxch st(5)
fmulp st(4)
fxch st(3)
fstp dword [ebp - 0x90]
fld dword [ebp - 0x94]
fld st(0)
fld dword [ebp - 0x68]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ebp - 0x10]
fld dword [ebp - 0x90]
fadd dword [ebp - 0x64]
fstp dword [ebp - 8]
fld dword [ebp - 0x10]
fmul st(4)
fstp dword [ebp - 0x188]
fld dword [ebp - 8]
fmulp st(4)
fxch st(3)
fstp dword [ebp - 0x184]
fld dword [ebp - 0x18]
fsub dword [ebp - 0x188]
fstp dword [ebp - 0x18]
fld dword [ebp - 0x14]
fsub dword [ebp - 0x184]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x64]
fmul dword [edx + 8]
fld dword [edx + 0xc]
fmulp st(4)
fsubrp st(3)
fxch st(2)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fld dword [ebp - 0x90]
fmul dword [edx + 0x38]
fld st(3)
fmul dword [edx + 0x3c]
fsubp st(1)
fstp dword [ebp - 4]
fadd dword [ebp - 4]
fmul dword [ebp - 0x38]
fsubp st(3)
fxch st(2)
fstp dword [ebp - 0xc]
fld dword [ebp - 0x10]
fmul st(2)
fstp dword [ebp - 0x198]
fld dword [ebp - 8]
fmulp st(2)
fxch st(1)
fstp dword [ebp - 0x194]
fld dword [ebp - 0x198]
fadd dword [ebp - 0x20]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x194]
fadd dword [ebp - 0x1c]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x64]
fmul dword [edx + 0x10]
fld dword [edx + 0x14]
fmul dword [ebp - 0x68]
fsubp st(1)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fld dword [ebp - 0x90]
fmul dword [edx + 0x40]
fld dword [edx + 0x44]
fmulp st(3)
fsubrp st(2)
fxch st(1)
fstp dword [ebp - 4]
fadd dword [ebp - 4]
fmul dword [ebp - 0x44]
fadd dword [ebp - 0x24]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x34]
fstp dword [edx + 0x18]
fst dword [edx + 0x48]
fld dword [ebp - 0xc]
jmp 0x51cfaa
fstp st(0)
fld dword [edx + 0x50]
fchs
fmul dword [ebp - 0x28]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x30]
fcom st(1)
fnstsw ax
test ah, 1
jne 0x51ce53
fmul dword [edx + 0x90]
fadd dword [ebp - 0x2c]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x51ce55
fld dword [ebp - 0x40]
fldz
fsubrp st(1)
fstp dword [ebp - 0xa8]
fld dword [ebp - 0x30]
fsub dword [ebp - 0x3c]
fstp dword [ebp - 0xa4]
fld st(4)
fmul dword [ebp - 0xa8]
fstp dword [ebp - 0x50]
fld st(5)
fmul dword [ebp - 0xa8]
fstp dword [ebp - 0x4c]
fld dword [ebp - 0xa4]
fld st(0)
fmulp st(6)
fxch st(5)
fstp dword [ebp - 0x78]
fxch st(5)
fmulp st(4)
fxch st(3)
fstp dword [ebp - 0x74]
fld dword [ebp - 0x78]
fld st(0)
fld dword [ebp - 0x50]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ebp - 0x10]
fld dword [ebp - 0x74]
fadd dword [ebp - 0x4c]
fstp dword [ebp - 8]
fld dword [ebp - 0x10]
fmul st(4)
fstp dword [ebp - 0x1a8]
fld dword [ebp - 8]
fmulp st(4)
fxch st(3)
fstp dword [ebp - 0x1a4]
fld dword [ebp - 0x18]
fsub dword [ebp - 0x1a8]
fstp dword [ebp - 0x18]
fld dword [ebp - 0x14]
fsub dword [ebp - 0x1a4]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x4c]
fmul dword [edx + 8]
fld dword [edx + 0xc]
fmulp st(4)
fsubrp st(3)
fxch st(2)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fld dword [ebp - 0x74]
fmul dword [edx + 0x38]
fld st(3)
fmul dword [edx + 0x3c]
fsubp st(1)
fstp dword [ebp - 4]
fadd dword [ebp - 4]
fmul dword [ebp - 0x38]
fsubp st(3)
fxch st(2)
fstp dword [ebp - 0xc]
fld dword [ebp - 0x10]
fmul st(2)
fstp dword [ebp - 0x1b8]
fld dword [ebp - 8]
fmulp st(2)
fxch st(1)
fstp dword [ebp - 0x1b4]
fld dword [ebp - 0x1b8]
fadd dword [ebp - 0x20]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x1b4]
fadd dword [ebp - 0x1c]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x4c]
fmul dword [edx + 0x10]
fld dword [edx + 0x14]
fmul dword [ebp - 0x50]
fsubp st(1)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fld dword [ebp - 0x74]
fmul dword [edx + 0x40]
fld dword [edx + 0x44]
fmulp st(3)
fsubrp st(2)
fxch st(1)
fstp dword [ebp - 4]
fadd dword [ebp - 4]
fmul dword [ebp - 0x44]
fadd dword [ebp - 0x24]
fstp dword [ebp - 0x24]
fst dword [edx + 0x18]
fld dword [ebp - 0x30]
fstp dword [edx + 0x48]
fld dword [ebp - 0xc]
jmp 0x51cfaa
fstp st(0)
fcom dword [ebp - 0x2c]
fnstsw ax
test ah, 0x41
jp 0x51cfa2
fcom dword [ebp - 0x28]
fnstsw ax
test ah, 0x41
jp 0x51cfa2
fld dword [ebp - 0x40]
fldz
fsubrp st(1)
fstp dword [ebp - 0xb8]
fld dword [ebp - 0x3c]
fldz
fsubrp st(1)
fstp dword [ebp - 0xb4]
fld st(4)
fmul dword [ebp - 0xb8]
fstp dword [ebp - 0x60]
fld st(5)
fmul dword [ebp - 0xb8]
fstp dword [ebp - 0x5c]
fld dword [ebp - 0xb4]
fld st(0)
fmulp st(6)
fxch st(5)
fstp dword [ebp - 0x80]
fxch st(5)
fmulp st(4)
fxch st(3)
fstp dword [ebp - 0x7c]
fld dword [ebp - 0x80]
fld st(0)
fld dword [ebp - 0x60]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [ebp - 0x10]
fld dword [ebp - 0x7c]
fadd dword [ebp - 0x5c]
fstp dword [ebp - 8]
fld dword [ebp - 0x10]
fmul st(4)
fstp dword [ebp - 0x1c8]
fld dword [ebp - 8]
fmulp st(4)
fxch st(3)
fstp dword [ebp - 0x1c4]
fld dword [ebp - 0x18]
fsub dword [ebp - 0x1c8]
fstp dword [ebp - 0x18]
fld dword [ebp - 0x14]
fsub dword [ebp - 0x1c4]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x5c]
fmul dword [edx + 8]
fld dword [edx + 0xc]
fmulp st(4)
fsubrp st(3)
fxch st(2)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fld dword [ebp - 0x7c]
fmul dword [edx + 0x38]
fld st(3)
fmul dword [edx + 0x3c]
fsubp st(1)
fstp dword [ebp - 4]
fadd dword [ebp - 4]
fmul dword [ebp - 0x38]
fsubp st(3)
fxch st(2)
fstp dword [ebp - 0xc]
fld dword [ebp - 0x10]
fmul st(2)
fstp dword [ebp - 0x1d8]
fld dword [ebp - 8]
fmulp st(2)
fxch st(1)
fstp dword [ebp - 0x1d4]
fld dword [ebp - 0x1d8]
fadd dword [ebp - 0x20]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x1d4]
fadd dword [ebp - 0x1c]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x5c]
fmul dword [edx + 0x10]
fld dword [edx + 0x14]
fmul dword [ebp - 0x60]
fsubp st(1)
fstp dword [ebp - 4]
fld dword [ebp - 4]
fld dword [ebp - 0x7c]
fmul dword [edx + 0x40]
fld dword [edx + 0x44]
fmulp st(3)
fsubrp st(2)
fxch st(1)
fstp dword [ebp - 4]
fadd dword [ebp - 4]
fmul dword [ebp - 0x44]
fadd dword [ebp - 0x24]
fstp dword [ebp - 0x24]
fst dword [edx + 0x18]
fst dword [edx + 0x48]
fld dword [ebp - 0xc]
jmp 0x51cfaa
fstp st(5)
fstp st(2)
fstp st(0)
fstp st(1)
mov eax, dword [ebp - 0x14]
fstp dword [edi + 0x50]
mov edx, dword [ebp - 0x18]
fld dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
add dword [ebp - 0x48], 0xb8
mov dword [edi + 0x4c], eax
mov eax, dword [ebp - 0x98]
mov dword [edi + 0x48], edx
fstp dword [ebx + 0x50]
mov edx, dword [ebp - 0x1c]
mov dword [ebx + 0x48], ecx
mov ecx, dword [ebp - 0x8c]
inc eax
mov dword [ebx + 0x4c], edx
mov dword [ebp - 0x98], eax
cmp eax, dword [ecx + 0x20]
jl 0x51c3b8
pop edi
fstp st(0)
pop esi
pop ebx
mov esp, ebp
pop ebp
ret