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

Disassembly:
sub esp, 0x17c
fldz
push ebx
fst dword [esp + 0xdc]
push ebp
fst dword [esp + 0xe4]
push esi
fst dword [esp + 0xec]
push edi
fst dword [esp + 0xf4]
lea eax, [esp + 0x164]
fst dword [esp + 0xf8]
mov ebx, edx
fst dword [esp + 0xfc]
push eax
fst dword [esp + 0x104]
mov dword [esp + 0xa0], ebx
fst dword [esp + 0x108]
mov ebp, ecx
fst dword [esp + 0x10c]
fst dword [esp + 0x110]
fst dword [esp + 0x114]
fst dword [esp + 0x118]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fst dword [esp + 0x78]
fst dword [esp + 0x7c]
fst dword [esp + 0x80]
fst dword [esp + 0x84]
fst dword [esp + 0x88]
fst dword [esp + 0x8c]
fst dword [esp + 0x90]
fst dword [esp + 0x94]
fst dword [esp + 0x98]
fst dword [esp + 0x9c]
fst dword [esp + 0x34]
fst dword [esp + 0x38]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x64]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
fld1
fst dword [esp + 0xa4]
fst dword [esp + 0xb4]
fst dword [esp + 0xc4]
fst dword [esp + 0xc8]
fst dword [esp + 0xd8]
fstp dword [esp + 0xe8]
fst dword [esp + 0xa8]
fst dword [esp + 0xac]
fst dword [esp + 0xb0]
fst dword [esp + 0xb8]
fst dword [esp + 0xbc]
fst dword [esp + 0xc0]
fst dword [esp + 0xcc]
fst dword [esp + 0xd0]
fst dword [esp + 0xd4]
fst dword [esp + 0xdc]
fst dword [esp + 0xe0]
fstp dword [esp + 0xe4]
call fcn.00495780
mov esi, eax
mov ecx, 0xa
lea edi, [esp + 0x13c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xe8]
push ecx
mov edx, ebp
mov ecx, 4
call fcn.0047a570
fld dword [ebx]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
fld dword [ebx + 4]
mov dword [esp + 0x48], eax
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
fldz
mov dword [esp + 0x4c], ecx
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x50], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
xor ebp, ebp
mov dword [esp + 0x10], 4
lea esi, [esp + ebp + 0x6c]
lea edi, [esp + ebp + 0xe8]
lea ecx, [esp + 0x13c]
call fcn.00479a10
fld dword [esi]
fld qword [0x79e648]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x24]
fmul dword [esp + ebp + 0x70]
fstp dword [esp + 0x28]
fld dword [esp + 0x24]
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x3c]
fld dword [ebx]
fcompp
fnstsw ax
test ah, 0x41
je 0x47b081
fld dword [ebx]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fld dword [ebx + 4]
fcompp
fnstsw ax
test ah, 0x41
je 0x47b098
fld dword [ebx + 4]
fstp dword [esp + 0x40]
fld dword [esp + 0x48]
fld dword [ebx]
fcompp
fnstsw ax
test ah, 5
jnp 0x47b0ad
fld dword [ebx]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fld dword [ebx + 4]
fcompp
fnstsw ax
test ah, 5
jnp 0x47b0c4
fld dword [ebx + 4]
fstp dword [esp + 0x4c]
add ebp, 0xc
add ebx, 8
sub dword [esp + 0x10], 1
jne 0x47b025
fld dword [esp + 0x4c]
mov edi, dword [esp + 0x190]
fsub dword [esp + 0x40]
mov edx, edi
test edx, edx
fld dword [esp + 0x48]
fsub dword [esp + 0x3c]
mov dword [esp + 0x18], edx
fmulp st(1)
fild dword [esp + 0x18]
jge 0x47b102
fadd dword [0x799d08]
mov ebx, dword [esp + 0x194]
fmulp st(1)
mov eax, ebx
test eax, eax
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
jge 0x47b11f
fadd dword [0x799d08]
fmulp st(1)
lea ecx, [esp + 0x70]
mov edx, 4
fstp dword [esp + 0x10]
fld dword [esp + 0x34]
fld dword [esp + 0x30]
fld1
fld dword [ecx - 4]
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x47b14c
fld dword [ecx - 4]
fsub st(1)
fstp dword [ecx - 4]
fld dword [ecx]
fcomp st(3)
fnstsw ax
test ah, 0x41
jne 0x47b15d
fld dword [ecx]
fsub st(1)
fstp dword [ecx]
add ecx, 0xc
sub edx, 1
jne 0x47b138
fstp st(0)
fstp st(1)
fstp st(0)
fld dword [esp + 0x84]
fld dword [esp + 0x78]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x88]
fld dword [esp + 0x7c]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x8c]
fld dword [esp + 0x80]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x6c]
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0x18]
fsubr dword [esp + 0x70]
fstp dword [esp + 0x1c]
fsubr dword [esp + 0x74]
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x38]
fld st(0)
fmulp st(2)
fld dword [esp + 0x20]
fld st(0)
fld dword [esp + 0x34]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x30]
fld st(0)
fmulp st(2)
fld dword [esp + 0x18]
fld st(0)
fmulp st(4)
fxch st(2)
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0x28]
fmulp st(2)
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
fld dword [esp + 0x28]
fld dword [esp + 0x2c]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x14]
fld1
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x47b4ac
xor esi, esi
call sub.MSVCR80.dll__CIsqrt
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fadd st(0), st(0)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul qword [0x79e640]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
fld qword [0x7988a0]
test ah, 5
jp 0x47b27e
fstp st(1)
jmp 0x47b298
fxch st(1)
fmul st(1), st(0)
add esi, 1
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom st(2)
fnstsw ax
test ah, 5
jp 0x47b27c
fstp st(0)
mov ecx, esi
fstp st(1)
shr edi, cl
shr ebx, cl
test edi, edi
je 0x47b4ac
test ebx, ebx
je 0x47b4ac
test edi, edi
mov dword [esp + 0x18], edi
fild dword [esp + 0x18]
jge 0x47b2c2
fadd dword [0x799d08]
test ebx, ebx
fstp dword [esp + 0x10]
fld dword [esp + 0x48]
mov dword [esp + 0x18], ebx
fadd dword [esp + 0x3c]
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fxch st(1)
fmul st(2)
fstp dword [esp + 0x24]
fild dword [esp + 0x18]
jge 0x47b2f0
fadd dword [0x799d08]
fstp dword [esp + 0x14]
xor edx, edx
fld dword [esp + 0x4c]
lea ecx, [esp + 0x40]
fadd dword [esp + 0x40]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(1)
fmul st(3)
fstp dword [esp + 0x28]
fld dword [esp + 0x24]
mov esi, dword [esp + 0x9c]
fld dword [esi + edx*8]
fmul st(3)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [ecx - 4]
fld dword [esi + edx*8 + 4]
fmul st(3)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [ecx]
fxch st(1)
fcom st(2)
fnstsw ax
test ah, 5
jp 0x47b34c
fadd st(5)
jmp 0x47b34e
fsub st(5)
fstp dword [ecx - 4]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x47b362
fadd st(4)
jmp 0x47b364
fsub st(4)
fstp dword [ecx]
add edx, 1
add ecx, 0xc
cmp edx, 4
jne 0x47b316
fstp st(3)
xor eax, eax
fstp st(1)
lea ecx, [edx - 1]
fstp st(0)
fstp st(0)
fld1
fld dword [esp + eax + 0x6c]
add eax, 0xc
sub ecx, 1
fstp dword [esp + eax + 0x94]
fld dword [esp + eax + 0x64]
fstp dword [esp + eax + 0x98]
fst dword [esp + eax + 0x9c]
fld dword [esp + eax + 0x30]
fstp dword [esp + eax + 0xb8]
fld dword [esp + eax + 0x34]
fstp dword [esp + eax + 0xbc]
fst dword [esp + eax + 0xc0]
jne 0x47b380
lea ecx, [esp + 0xa0]
fstp st(0)
call fcn.006d43e0
push ecx
lea ecx, [esp + 0x140]
fstp dword [esp]
push ecx
lea ecx, [esp + 0xa8]
call fcn.006d4870
lea edx, [esp + 0xc4]
push edx
lea edx, [esp + 0x140]
lea ecx, [esp + 0x11c]
call fcn.006d45e0
fld dword [esp + 0x134]
fld dword [esp + 0x130]
mov ecx, esi
fld dword [esp + 0x128]
lea eax, [esp + 0xf0]
fld dword [esp + 0x124]
mov edx, 4
fld dword [esp + 0x11c]
fld st(1)
add eax, 0xc
fmul dword [eax - 0x10]
add ecx, 8
sub edx, 1
fld dword [esp + 0x118]
fmul dword [eax - 0x14]
faddp st(1)
fld dword [eax - 0xc]
fmul st(5)
faddp st(1)
fstp dword [esp + 0x24]
fld st(0)
fmul dword [eax - 0x14]
fld st(3)
fmul dword [eax - 0x10]
faddp st(1)
fld dword [eax - 0xc]
fmul st(6)
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x24]
fstp dword [esp + 0x18]
mov esi, dword [esp + 0x18]
fld dword [esp + 0x28]
mov dword [ecx - 8], esi
fstp dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
fld dword [ecx - 8]
mov dword [ecx - 4], esi
fdiv dword [esp + 0x10]
fstp dword [ecx - 8]
fld dword [ecx - 4]
fdiv dword [esp + 0x14]
fstp dword [ecx - 4]
jne 0x47b434
fstp st(4)
fstp st(2)
fstp st(0)
fstp st(0)
pop edi
fstp st(0)
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret 8