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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xcc]
mov edi, dword [esi + 0x12c]
mov ecx, eax
imul ecx, edx
fld qword [0x468848]
lea edi, [edi + ecx*8]
lea ecx, [eax*8]
mov ebx, ecx
xor eax, eax
shr ecx, 2
mov dword [esp + 0xa4], edi
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [edx + edx*8]
mov edx, dword [esi + 0x140]
shl eax, 3
add edx, eax
mov ecx, dword [edx + 0x10]
mov edi, dword [edx]
dec ecx
mov dword [esp + 0xa0], ecx
lea ecx, [edi*8]
sub ecx, edi
mov edi, dword [esi + 0x13c]
shl ecx, 3
mov dword [esp + 0xbc], ecx
add ecx, edi
mov edi, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x24]
mov dword [esp + 0x20], edi
mov edi, dword [ecx + 0x28]
mov dword [esp + 0x24], ebx
mov ebx, dword [ecx + 0x2c]
mov dword [esp + 0x28], edi
mov edi, dword [ecx + 0x30]
mov dword [esp + 0x2c], ebx
mov ebx, dword [ecx + 0x34]
mov dword [esp + 0x60], edi
mov edi, dword [edx + 8]
mov dword [esp + 0x64], ebx
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
fsub qword [esp + 0x10]
fstp qword [esp + 0x58]
fld qword [esp + 0x10]
fmul qword [esp + 0x10]
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x68], edi
mov edi, dword [ecx + 0x1c]
mov dword [esp + 0x6c], ebx
mov ebx, dword [esi + 0x7c]
fstp qword [esp + 0x18]
fld qword [esp + 0x60]
fmul qword [esp + 0x60]
mov edi, dword [edi + 8]
lea edi, [edi + edi*4]
fstp qword [esp + 0x50]
fld qword [esp + 0x18]
fmul qword [esp + 0x10]
fstp qword [esp + 0x30]
fld qword [esp + 0x50]
fmul qword [esp + 0x60]
fstp qword [esp + 0x80]
fld qword [ebx + edi*8 + 0x10]
mov ebx, dword [esp + 0xa0]
xor edi, edi
fstp qword [esp + 0xb0]
cmp ebx, edi
jne 0x406aee
mov ebx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov edi, dword [esi + 0x78]
mov ebx, dword [ebx + 8]
mov ecx, dword [ecx + 8]
mov ebx, dword [edi + ebx*4]
mov ecx, dword [edi + ecx*4]
xor edi, edi
fld qword [ebx + 0x10]
fld qword [ecx + 0x10]
fld st(1)
fmul qword [esp + 0x68]
fld st(1)
fmul qword [esp + 0x10]
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
faddp st(1)
mov ebx, dword [esp + 0xa0]
fst qword [esp + 0x58]
fadd st(1)
fld qword [esp + 0x58]
fadd st(0), st(0)
fdivp st(1)
fstp qword [esp + 0x50]
fstp st(0)
fadd qword [esp + 0x58]
fld qword [esp + 0xb0]
fmul qword [0x4689c8]
fdiv qword [esp + 0x60]
fmulp st(1)
fmul qword [esp + 0x50]
fld qword [esp + 0x50]
fmul qword [esp + 0x10]
fchs
fstp qword [esp + 0x98]
fld st(0)
fmul qword [esp + 0x20]
fstp qword [esp + 0xc0]
fmul qword [esp + 0x28]
fstp qword [esp + 0xc8]
fld qword [esp + 0xc0]
fchs
fstp qword [esp + 0xd8]
fld qword [esp + 0xc8]
fchs
fstp qword [esp + 0xe0]
fld qword [esp + 0x98]
fmul qword [esp + 0x20]
fstp qword [edx + 0x18]
fld qword [esp + 0x98]
fmul qword [esp + 0x28]
mov edx, dword [esi + 0x140]
fstp qword [edx + eax + 0x20]
mov ecx, dword [esi + 0x140]
fld qword [esp + 0x20]
mov dword [ecx + eax + 0x28], edi
mov dword [ecx + eax + 0x2c], edi
mov edx, dword [esi + 0x140]
fadd qword [edx + eax + 0x18]
lea ecx, [edx + eax]
fstp qword [ecx + 0x30]
mov ecx, dword [esi + 0x140]
fld qword [esp + 0x28]
fadd qword [ecx + eax + 0x20]
add ecx, eax
fstp qword [ecx + 0x38]
mov edx, dword [esi + 0x140]
mov dword [edx + eax + 0x40], edi
mov dword [edx + eax + 0x44], edi
jmp 0x407599
cmp ebx, 1
jne 0x406ee9
mov ebx, dword [ecx + 0x14]
mov edi, dword [esi + 0x78]
fld qword [esp + 0x30]
mov ebx, dword [ebx + 8]
mov ecx, dword [ecx + 0x18]
fmul qword [esp + 0x10]
mov edi, dword [edi + ebx*4]
mov ebx, dword [edi + 0x20]
fstp qword [esp + 0x48]
mov edi, dword [edi + 0x24]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], edi
mov edi, dword [ecx + 8]
mov ecx, dword [esi + 0x78]
fld qword [esp + 0x88]
mov ecx, dword [ecx + edi*4]
fmul qword [esp + 0x88]
mov edi, dword [ecx + 0x20]
mov dword [esp + 0x90], edi
mov ecx, dword [ecx + 0x24]
fstp qword [esp + 0x70]
mov dword [esp + 0x94], ecx
fld qword [esp + 0x90]
fmul qword [esp + 0x90]
fstp qword [esp + 0x40]
fld qword [esp + 0x90]
fmul qword [esp + 0x88]
fstp qword [esp + 0x38]
fld qword [esp + 0x88]
fsub qword [esp + 0x90]
fld st(0)
fld qword [esp + 0x30]
fadd st(0), st(0)
fsubr qword [esp + 0x48]
fld qword [esp + 0x18]
fadd st(0), st(0)
fsubp st(1)
fmul st(1)
fld qword [esp + 0x88]
fmul qword [esp + 0x10]
fmul qword [0x4689c0]
faddp st(1)
fmul st(1)
fld qword [esp + 0x70]
fmul qword [0x4689b8]
fsubp st(1)
fstp qword [esp + 0x78]
fld qword [esp + 0x30]
fmul qword [0x4689b0]
fstp qword [esp + 0xa8]
fld qword [esp + 0x18]
fmul qword [0x4689a8]
fsubr qword [esp + 0xa8]
fld qword [esp + 0x10]
fmul qword [0x4689a0]
faddp st(1)
fsub qword [0x4689c0]
fmul qword [esp + 0x70]
fld qword [esp + 0x18]
fmul qword [0x468998]
fsubr qword [esp + 0xa8]
fld qword [esp + 0x10]
fadd st(0), st(0)
fsubp st(1)
fmul qword [esp + 0x40]
faddp st(1)
fld qword [esp + 0x30]
fmul qword [0x468990]
fld qword [esp + 0x18]
fmul qword [0x468988]
fsubp st(1)
fld qword [esp + 0x10]
fmul qword [0x468990]
faddp st(1)
fadd qword [0x4689b8]
fmul qword [esp + 0x38]
fsubp st(1)
fmul qword [esp + 0x18]
fdiv qword [esp + 0x78]
fstp qword [esp + 0x98]
fld qword [esp + 0x38]
fmul qword [0x4689c0]
fld qword [esp + 0x70]
fmul qword [0x468980]
fsubp st(1)
fadd qword [esp + 0x40]
fmul qword [esp + 0x10]
fld st(1)
fmul st(2)
fmul qword [esp + 0x18]
fmul qword [0x4689b8]
faddp st(1)
fld qword [esp + 0x38]
fadd st(0), st(0)
faddp st(1)
fld qword [esp + 0x70]
fmul qword [0x4689b0]
faddp st(1)
fld qword [esp + 0x10]
fsub qword [0x468848]
fmul qword [0x4689b8]
fdiv qword [esp + 0x60]
fmulp st(1)
fmul qword [esp + 0x10]
fdiv qword [esp + 0x78]
fstp st(1)
fld qword [esp + 0x38]
fmul qword [0x4689b0]
fld qword [esp + 0x70]
fadd st(0), st(0)
fsub st(1)
fld qword [esp + 0x40]
fadd st(0), st(0)
faddp st(1)
fmul qword [esp + 0x18]
fxch st(1)
fadd qword [esp + 0x40]
fld qword [esp + 0x70]
fmul qword [0x468998]
fsubp st(1)
fmul qword [esp + 0x10]
faddp st(1)
fld qword [esp + 0x38]
fadd qword [esp + 0x70]
fmul qword [0x4689b8]
faddp st(1)
fld qword [esp + 0x58]
fmul qword [esp + 0x88]
fld qword [esp + 0x90]
fmul qword [esp + 0x10]
faddp st(1)
fmulp st(1)
fmul qword [0x468978]
fld qword [esp + 0x78]
fmul qword [esp + 0x80]
fdivp st(1)
fmul qword [esp + 0xb0]
fstp qword [esp + 0x38]
fld qword [esp + 0x48]
fmul qword [0x4689b8]
fld qword [esp + 0x30]
fmul qword [0x468970]
faddp st(1)
fld qword [esp + 0x10]
fmul qword [0x468968]
fld qword [esp + 0x18]
fmul qword [0x468960]
fsubp st(1)
fadd qword [esp + 0xa8]
fadd qword [esp + 0x48]
fsub qword [0x468970]
fld qword [esp + 0x70]
fmul qword [esp + 0x88]
fmulp st(1)
fld qword [esp + 0x18]
fmul qword [0x468958]
fld st(2)
fadd qword [0x4689c0]
fsubp st(1)
fld qword [esp + 0x10]
fmul qword [0x468950]
fsubp st(1)
fmul qword [esp + 0x70]
fmul qword [esp + 0x90]
faddp st(1)
fld qword [esp + 0x18]
fmul qword [0x468948]
fsubr st(2)
fld qword [esp + 0x10]
fmul qword [0x4689c0]
fsubp st(1)
fmul qword [esp + 0x40]
fmul qword [esp + 0x88]
faddp st(1)
fld qword [esp + 0xa8]
fadd qword [esp + 0x48]
fadd qword [esp + 0x18]
fld qword [esp + 0x40]
fmul qword [esp + 0x90]
fmulp st(1)
fsubp st(1)
fld qword [esp + 0x78]
fmul qword [esp + 0x50]
fdivp st(1)
fmul qword [esp + 0xb0]
fstp qword [esp + 0x40]
fstp st(0)
fld qword [esp + 0x98]
fmul qword [esp + 0x28]
fchs
fstp qword [edx + 0x18]
fld qword [esp + 0x98]
fmul qword [esp + 0x20]
mov edx, dword [esi + 0x140]
fstp qword [edx + eax + 0x20]
mov ecx, dword [esi + 0x140]
fst qword [ecx + eax + 0x28]
fld qword [esp + 0x98]
fsub qword [0x468848]
mov edx, dword [esi + 0x140]
fld st(0)
fmul qword [esp + 0x28]
fchs
fstp qword [edx + eax + 0x30]
mov ecx, dword [esi + 0x140]
fmul qword [esp + 0x20]
fstp qword [ecx + eax + 0x38]
mov edx, dword [esi + 0x140]
fstp qword [edx + eax + 0x40]
fld qword [esp + 0x38]
fmul qword [esp + 0x28]
mov eax, dword [esp + 0x40]
fld st(0)
fchs
fstp qword [esp + 0xc0]
fld qword [esp + 0x38]
fmul qword [esp + 0x20]
fst qword [esp + 0x80]
fstp qword [esp + 0xc8]
fstp qword [esp + 0xd8]
fld qword [esp + 0x80]
fchs
fstp qword [esp + 0xe0]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0xa0]
fmul qword [esp + 0xb0]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
xor edi, edi
fadd st(0), st(0)
fdiv qword [esp + 0x50]
fsubr qword [esp + 0x40]
fstp qword [esp + 0xe8]
jmp 0x407599
cmp ebx, 2
jne 0x407382
mov ebx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov edi, dword [esi + 0x78]
mov ebx, dword [ebx + 8]
mov ecx, dword [ecx + 8]
mov ebx, dword [edi + ebx*4]
mov ecx, dword [edi + ecx*4]
fld qword [ebx + 0x20]
fld qword [ecx + 0x20]
fld qword [esp + 0x30]
fmul qword [esp + 0x10]
fld st(2)
fmul st(3)
fld st(2)
fmul st(3)
fld st(3)
fmul st(5)
fstp qword [esp + 0x48]
fld st(1)
fmul st(5)
fstp qword [esp + 0x90]
fld st(0)
fmul st(4)
fstp qword [esp + 0x70]
fld st(2)
fsub qword [esp + 0x30]
fsub qword [esp + 0x30]
fsub qword [esp + 0x18]
fsub qword [esp + 0x18]
fld qword [esp + 0x10]
fmul qword [0x4689c0]
fstp qword [esp + 0xa8]
fld qword [esp + 0x10]
fmul qword [0x4689b8]
fstp qword [esp + 0x40]
fld st(0)
fadd qword [esp + 0xa8]
fsub qword [0x4689b8]
fmul st(3)
fld st(1)
fmul st(3)
faddp st(1)
fld qword [esp + 0x40]
fadd st(2)
fmul qword [esp + 0x48]
fadd st(0), st(0)
fsubp st(1)
fstp qword [esp + 0x78]
fstp st(0)
fld qword [esp + 0x18]
fmul qword [0x468980]
fstp qword [esp + 0x38]
fld qword [esp + 0x18]
fmul qword [0x4689a8]
fsubr qword [0x4689b8]
fld qword [esp + 0x10]
fmul qword [0x4689a8]
faddp st(1)
fmul qword [esp + 0x48]
fld qword [esp + 0x38]
fadd qword [0x468940]
fld qword [esp + 0x10]
fmul qword [0x4689a0]
fsubp st(1)
fmul st(3)
faddp st(1)
fld qword [esp + 0x10]
fadd st(0), st(0)
fadd qword [esp + 0x38]
fmul st(2)
faddp st(1)
fmul qword [esp + 0x18]
fmul qword [esp + 0x68]
fmul qword [esp + 0x68]
fmul qword [esp + 0x60]
fdiv qword [esp + 0x78]
fmul qword [0x4689c8]
fstp qword [esp + 0x98]
fld st(2)
fmul qword [0x4689a0]
fstp qword [esp + 0x38]
fld qword [esp + 0x18]
fmul qword [0x468938]
fsubr qword [0x4689c0]
fld qword [esp + 0x30]
fmul qword [0x468930]
faddp st(1)
fld qword [esp + 0x10]
fmul qword [0x468970]
faddp st(1)
fld st(3)
fmul qword [0x468928]
fsubp st(1)
fmul qword [esp + 0x48]
fld qword [esp + 0x10]
fmul qword [0x468920]
fsubr qword [0x468918]
fld qword [esp + 0x18]
fmul qword [0x468910]
faddp st(1)
fld qword [esp + 0x30]
fmul qword [0x468908]
fsubp st(1)
fadd qword [esp + 0x38]
fmul st(3)
faddp st(1)
fld qword [esp + 0x30]
fmul qword [0x468900]
fsubr qword [esp + 0x40]
fld qword [esp + 0x18]
fmul qword [0x4689b0]
faddp st(1)
fadd qword [esp + 0x38]
fmul st(2)
faddp st(1)
fmul qword [esp + 0x10]
fdiv qword [esp + 0x78]
fmul qword [0x4689c8]
fstp qword [esp + 0x80]
fld st(2)
fmul qword [0x4688f8]
fstp qword [esp + 0x48]
fld st(2)
fmul qword [0x4688f0]
fstp qword [esp + 0x38]
fld qword [esp + 0x30]
fmul qword [0x4688e8]
fstp qword [esp + 0x40]
fld qword [esp + 0x30]
fadd st(0), st(0)
fstp qword [esp + 0x88]
fld qword [esp + 0x30]
fmul qword [0x4688e0]
fsub qword [esp + 0x48]
fld qword [esp + 0x18]
fmul qword [0x468920]
fsubp st(1)
fld qword [esp + 0x10]
fadd qword [0x468848]
fmul qword [0x4689c0]
faddp st(1)
fmul st(2)
fmul st(4)
fld qword [esp + 0x48]
fadd qword [esp + 0xa8]
fld qword [esp + 0x18]
fmul qword [0x4689b8]
fsubp st(1)
fld qword [esp + 0x30]
fmul qword [0x4688d8]
fsubp st(1)
fmul st(2)
fmul st(6)
faddp st(1)
fld qword [esp + 0x38]
fadd qword [0x468970]
fld qword [esp + 0x10]
fmul qword [0x4688d0]
fsubp st(1)
fld qword [esp + 0x18]
fmul qword [0x4688c8]
faddp st(1)
fsub qword [esp + 0x40]
fmul qword [esp + 0x90]
faddp st(1)
fld qword [esp + 0x18]
fsub qword [esp + 0x88]
fsub qword [esp + 0x38]
fmul qword [esp + 0x70]
faddp st(1)
fld qword [esp + 0x78]
fmul qword [esp + 0x50]
fdivp st(1)
fmul qword [esp + 0xb0]
fstp qword [esp + 0x38]
fld st(2)
fmul qword [esp + 0x10]
fst qword [esp + 0x48]
fmul qword [0x4689c0]
fstp qword [esp + 0x50]
fld qword [esp + 0x30]
fmul qword [0x4688c0]
fld st(3)
fmul qword [0x468900]
fsubp st(1)
fld qword [esp + 0x10]
fmul qword [0x468950]
faddp st(1)
fld qword [esp + 0x18]
fmul qword [0x4688b8]
fsubp st(1)
fadd qword [0x4689c0]
fsub qword [esp + 0x50]
fmul st(2)
fmul st(4)
fld st(3)
fadd st(0), st(0)
fsub qword [0x4688b0]
fmul qword [esp + 0x10]
fld qword [esp + 0x18]
fmul qword [0x4688a8]
faddp st(1)
fadd qword [0x468918]
fsub qword [esp + 0x40]
fld st(4)
fmul qword [0x468998]
faddp st(1)
fmul qword [esp + 0x90]
faddp st(1)
fld qword [esp + 0x18]
fmul qword [0x4688a0]
fadd qword [esp + 0x50]
fld qword [esp + 0x30]
fmul qword [0x468898]
fsubp st(1)
fld st(4)
fmul qword [0x468988]
faddp st(1)
fadd qword [esp + 0xa8]
fmul st(2)
fmul st(6)
faddp st(1)
fxch st(3)
fmul qword [0x468980]
mov ebx, dword [esp + 0xa0]
fsubr qword [esp + 0x18]
fld qword [esp + 0x48]
fadd st(0), st(0)
fsubp st(1)
fadd qword [esp + 0x88]
fmul qword [esp + 0x70]
faddp st(3)
fxch st(2)
fdiv qword [esp + 0x60]
fdiv qword [esp + 0x78]
fmul qword [0x468880]
fmul qword [esp + 0xb0]
fstp qword [esp + 0x40]
fxch st(1)
fstp st(0)
fstp st(0)
fld qword [esp + 0x98]
fmul qword [esp + 0x28]
fchs
fstp qword [edx + 0x18]
fld qword [esp + 0x98]
fmul qword [esp + 0x20]
mov edx, dword [esi + 0x140]
fstp qword [edx + eax + 0x20]
mov ecx, dword [esi + 0x140]
fld qword [esp + 0x80]
fstp qword [ecx + eax + 0x28]
mov edx, dword [esi + 0x140]
fld qword [esp + 0x80]
lea ecx, [edx + eax]
fsub qword [0x468848]
mov edx, dword [ecx + 0x18]
mov dword [ecx + 0x30], edx
mov edx, dword [ecx + 0x1c]
mov dword [ecx + 0x34], edx
mov ecx, dword [esi + 0x140]
add ecx, eax
xor edi, edi
mov edx, dword [ecx + 0x20]
mov dword [ecx + 0x38], edx
mov edx, dword [ecx + 0x24]
mov dword [ecx + 0x3c], edx
mov ecx, dword [esi + 0x140]
fstp qword [ecx + eax + 0x40]
fld qword [esp + 0x38]
fmul qword [esp + 0x28]
fst qword [esp + 0xc0]
fld qword [esp + 0x38]
fmul qword [esp + 0x20]
fld st(0)
fchs
fstp qword [esp + 0xc8]
fld qword [esp + 0x40]
fchs
fstp qword [esp + 0xd0]
fxch st(1)
fchs
fstp qword [esp + 0xd8]
fstp qword [esp + 0xe0]
fld qword [esp + 0x58]
fmul st(2)
fxch st(1)
fmul qword [esp + 0x10]
faddp st(1)
fld qword [esp + 0xb0]
fadd st(0), st(0)
fmulp st(1)
fdiv qword [esp + 0x60]
fadd qword [esp + 0x40]
fchs
fstp qword [esp + 0xe8]
fstp st(0)
jmp 0x407599
cmp ebx, 3
je 0x407395
cmp ebx, 4
je 0x407395
cmp ebx, 5
jne 0x407599
add eax, 0x18
mov ecx, 6
mov edx, dword [esi + 0x140]
add eax, 8
dec ecx
mov dword [edx + eax - 8], edi
mov dword [edx + eax - 4], edi
jne 0x40739d
mov eax, ebx
sub eax, 3
je 0x40742a
dec eax
je 0x4073f6
dec eax
jne 0x407455
fld qword [0x468848]
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
jmp 0x40745c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xf4], ecx
fld qword [0x468850]
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], eax
jmp 0x40745c
fld qword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
fchs
fstp qword [esp + 0xf8]
fld qword [0x468850]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], edx
jmp 0x40745c
fld qword [esp + 0x100]
fld qword [esp + 0x10]
fmul qword [esp + 0x60]
fld qword [esp + 0x18]
fmul qword [0x4689b8]
fsubr qword [0x468848]
fld qword [esp + 0x30]
fadd st(0), st(0)
faddp st(1)
fld qword [esp + 0x68]
fsub qword [esp + 0x10]
fld st(0)
fadd qword [esp + 0x18]
fmul st(3)
fstp qword [esp + 0x50]
fld qword [esp + 0x68]
fmul qword [esp + 0x10]
fmul qword [0x468978]
fdiv qword [esp + 0x60]
fstp qword [esp + 0x80]
fld qword [esp + 0xf0]
fmul qword [esp + 0x68]
fld qword [esp + 0x80]
fmul st(5)
fld st(3)
fmul qword [esp + 0xf8]
faddp st(1)
fld st(1)
fmul qword [esp + 0x20]
fld st(1)
fmul qword [esp + 0x28]
fsubp st(1)
fstp qword [esp + 0xc0]
fmul qword [esp + 0x20]
fxch st(1)
fmul qword [esp + 0x28]
faddp st(1)
fstp qword [esp + 0xc8]
fsub qword [esp + 0x10]
fmul qword [esp + 0x68]
fmul st(3)
fld qword [esp + 0x50]
fmul qword [esp + 0xf8]
faddp st(1)
fstp qword [esp + 0xd0]
fld qword [esp + 0x10]
fmul qword [esp + 0xf0]
fstp qword [esp + 0x58]
fld qword [esp + 0x80]
fchs
fmul st(3)
fld qword [0x468848]
fsub st(2)
fmul qword [esp + 0xf8]
faddp st(1)
fstp st(1)
fld qword [esp + 0x58]
fmul qword [esp + 0x20]
fld st(1)
fmul qword [esp + 0x28]
fsubp st(1)
fstp qword [esp + 0xd8]
fmul qword [esp + 0x20]
fld qword [esp + 0x58]
fmul qword [esp + 0x28]
faddp st(1)
fstp qword [esp + 0xe0]
fld qword [esp + 0x68]
fmul qword [0x4689b8]
fsubr qword [0x468848]
fmul qword [esp + 0x10]
fmul st(2)
fxch st(1)
fmul qword [esp + 0x68]
fsubr qword [esp + 0x50]
fmul qword [esp + 0xf8]
faddp st(1)
fstp qword [esp + 0xe8]
fstp st(0)
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xbc]
push edi
lea eax, [esp + 0xc4]
push esi
push eax
push edi
push ecx
mov ecx, dword [esi + 0x13c]
add ecx, edx
call fcn.0040fa60
mov ecx, dword [esi + 0xcc]
xor eax, eax
cmp ecx, edi
jle 0x4075ef
mov ecx, dword [esp + 0xa4]
mov edx, dword [esi + 0x60]
cmp dword [edx + eax*4], 1
jne 0x4075e1
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov edx, dword [esi + 0xcc]
inc eax
add ecx, 8
cmp eax, edx
jl 0x4075d3
mov eax, dword [esp + 0xa4]
push 1
push eax
mov ecx, esi
call fcn.00408db0
cmp ebx, 2
jg 0x407862
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xbc]
lea ecx, [esp + 0xf0]
push ecx
mov ecx, dword [esi + 0x13c]
push edx
add ecx, eax
call fcn.0040f9c0
fld qword [esp + 0x28]
fmul qword [esp + 0x28]
fld qword [esp + 0x20]
fmul qword [esp + 0x20]
fld qword [esp + 0x28]
fmul qword [esp + 0x20]
fld qword [0x468848]
fsub qword [esp + 0x18]
fsub qword [esp + 0x18]
fsub qword [esp + 0x18]
fld qword [esp + 0x30]
fadd st(0), st(0)
faddp st(1)
fstp qword [esp + 0x58]
fld qword [esp + 0x10]
fsub qword [esp + 0x18]
fsub qword [esp + 0x18]
fadd qword [esp + 0x30]
fmul qword [esp + 0x60]
fstp qword [esp + 0x80]
fld qword [0x468848]
fsub qword [esp + 0x58]
fstp qword [esp + 0x50]
fld qword [esp + 0x30]
fsub qword [esp + 0x18]
fmul qword [esp + 0x60]
fstp qword [esp + 0x78]
fld qword [esp + 0x18]
fsub qword [esp + 0x10]
fmul qword [0x4689c0]
fdiv qword [esp + 0x60]
fstp qword [esp + 0x48]
fld st(1)
fmul qword [esp + 0x68]
fld qword [esp + 0x58]
fmul st(4)
faddp st(1)
fstp qword [esp + 0x120]
fld qword [esp + 0x68]
fsub qword [esp + 0x58]
fmul st(1)
fstp qword [esp + 0x128]
fld qword [esp + 0x80]
fmul qword [esp + 0x28]
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x12c]
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], ecx
fchs
fstp qword [esp + 0x130]
fld st(1)
fmul qword [esp + 0x10]
fld qword [esp + 0x50]
fmul st(4)
faddp st(1)
fstp qword [esp + 0x138]
fld qword [esp + 0x10]
fsub qword [esp + 0x50]
fmulp st(1)
fst qword [esp + 0x140]
fld qword [esp + 0x78]
fmul qword [esp + 0x28]
fchs
fstp qword [esp + 0x148]
fld st(2)
fmul qword [esp + 0x68]
fld qword [esp + 0x58]
fmul st(3)
faddp st(1)
xor eax, eax
lea ecx, [esp + 0x120]
fstp qword [esp + 0x158]
fld qword [esp + 0x80]
fmul qword [esp + 0x20]
fstp qword [esp + 0x160]
fstp qword [esp + 0x168]
fxch st(1)
fmul qword [esp + 0x10]
fld qword [esp + 0x50]
fmul st(2)
faddp st(1)
fstp qword [esp + 0x170]
fstp st(0)
fld qword [esp + 0x78]
fmul qword [esp + 0x20]
fstp qword [esp + 0x178]
fld qword [esp + 0x48]
fmul qword [esp + 0x28]
fchs
fstp qword [esp + 0x180]
fld qword [esp + 0x48]
fmul qword [esp + 0x20]
fstp qword [esp + 0x188]
fld qword [esp + 0x18]
fmul qword [0x4689b8]
fld qword [esp + 0x10]
fmul qword [0x4689b0]
fsubr qword [0x468848]
fadd st(1)
fstp qword [esp + 0x190]
fld qword [esp + 0x180]
fchs
fstp qword [esp + 0x198]
fld qword [esp + 0x188]
fchs
fstp qword [esp + 0x1a0]
fsub qword [esp + 0x10]
fsub qword [esp + 0x10]
fstp qword [esp + 0x1a8]
mov edx, dword [ebp + 8]
lea edi, [esp + 0xf0]
fld qword [0x468850]
mov ebx, 6
fld qword [edi]
fmul qword [ecx]
add ecx, 8
add edi, 8
dec ebx
faddp st(1)
jne 0x407823
mov ebx, dword [esi + 0x140]
lea edx, [edx + edx*8]
fld st(0)
lea edi, [edx + eax]
add edx, eax
inc eax
fadd qword [ebx + edi*8 + 0x18]
lea edi, [ebx + edi*8 + 0x18]
cmp eax, 3
fstp qword [edi]
mov edi, dword [esi + 0x140]
fadd qword [edi + edx*8 + 0x30]
lea edx, [edi + edx*8 + 0x30]
fstp qword [edx]
jl 0x40780e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4