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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
fldz
sub esp, 0x74
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x10]
test eax, eax
push esi
mov esi, ecx
fst dword [esi + 0x88]
push edi
fst dword [esi + 0x84]
fst dword [esi + 0x80]
fst dword [esi + 0x7c]
fst dword [esi + 0x78]
fst dword [esi + 0x74]
fst dword [esi + 0x70]
fst dword [esi + 0x6c]
fst dword [esi + 0x68]
fst dword [esi + 0x64]
jle 0x420331
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
jmp 0x41ffe9
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
fld dword [edi]
add eax, dword [esp + 0x10]
mov ebx, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
shl ecx, 4
fadd dword [ecx + ebx]
add ecx, ebx
mov eax, dword [eax + 8]
shl edx, 4
fstp dword [esp + 0x50]
add edx, ebx
fld dword [ecx + 4]
shl eax, 4
fadd dword [edi + 4]
add eax, ebx
fstp dword [esp + 0x54]
fld dword [ecx + 8]
fadd dword [edi + 8]
fstp dword [esp + 0x58]
fld dword [ecx + 0xc]
fadd dword [edi + 0xc]
fstp dword [esp + 0x5c]
fld dword [edx]
fadd dword [edi]
fstp dword [esp + 0x60]
fld dword [edx + 4]
fadd dword [edi + 4]
fstp dword [esp + 0x64]
fld dword [edx + 8]
fadd dword [edi + 8]
fstp dword [esp + 0x68]
fld dword [edx + 0xc]
fadd dword [edi + 0xc]
fstp dword [esp + 0x6c]
fld dword [eax]
fadd dword [edi]
fstp dword [esp + 0x70]
fld dword [eax + 4]
fadd dword [edi + 4]
fstp dword [esp + 0x74]
fld dword [eax + 8]
fadd dword [edi + 8]
fstp dword [esp + 0x78]
fld dword [eax + 0xc]
fadd dword [edi + 0xc]
fstp dword [esp + 0x7c]
fld dword [esp + 0x60]
fld dword [esp + 0x50]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x64]
fld dword [esp + 0x54]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x68]
fld dword [esp + 0x58]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x70]
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0x30]
fsubr dword [esp + 0x74]
fstp dword [esp + 0x34]
fsubr dword [esp + 0x78]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fld st(0)
fld dword [esp + 0x44]
fld st(0)
fmulp st(2)
fld dword [esp + 0x34]
fld st(0)
fld dword [esp + 0x48]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x30]
fld st(0)
fmulp st(4)
fld dword [esp + 0x40]
fld st(0)
fmulp st(6)
fxch st(4)
fsubrp st(5)
fxch st(4)
fstp dword [esp + 0x24]
fmulp st(2)
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0x28]
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
fld dword [esp + 0x20]
fld dword [esp + 0x28]
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 + 0xc]
fld dword [esp + 0xc]
call fcn.0042eb10
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [esp + 0xc]
fldz
fld dword [esp + 0xc]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x42031f
fstp st(1)
fld1
fdivrp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0x20]
fld dword [esp + 0xc]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x28]
fmul qword [0x4bea18]
fstp dword [esp + 0x2c]
fld dword [esp + 0x20]
fabs
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [esp + 0x18]
fld dword [esp + 0x24]
fabs
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [esp + 0x1c]
fld dword [esp + 0x28]
fabs
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0x18]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fld dword [esp + 0xc]
test ah, 5
jp 0x4201ff
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 5
jp 0x420201
fstp st(0)
mov dword [esi + 8], 0
fstp st(0)
jmp 0x420217
fstp st(2)
fcompp
fnstsw ax
test ah, 0x41
mov eax, 1
je 0x420214
mov eax, 2
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
add eax, 1
cdq
mov ecx, 3
idiv ecx
lea eax, [edx + 1]
mov dword [esi], edx
cdq
idiv ecx
lea eax, [esp + 0x50]
mov ecx, esi
mov dword [esi + 4], edx
lea edx, [esp + 0x20]
push edx
push eax
call fcn.0041ee10
mov eax, dword [esi]
test eax, eax
jne 0x42024c
fld dword [esi + 0x34]
jmp 0x42025a
cmp dword [esi + 4], 0
jne 0x420257
fld dword [esi + 0x38]
jmp 0x42025a
fld dword [esi + 0x3c]
fstp dword [esp + 0xc]
fld dword [esp + 0x20]
fmul dword [esp + 0xc]
fadd dword [esi + 0x64]
fstp dword [esi + 0x64]
fld dword [esp + eax*4 + 0x20]
fmul dword [esi + 0x40]
fadd dword [esi + eax*4 + 0x68]
fstp dword [esi + eax*4 + 0x68]
mov eax, dword [esi + 4]
fld dword [esp + eax*4 + 0x20]
fmul dword [esi + 0x44]
fadd dword [esi + eax*4 + 0x68]
fstp dword [esi + eax*4 + 0x68]
mov eax, dword [esi + 8]
fld dword [esp + eax*4 + 0x20]
fmul dword [esi + 0x48]
fadd dword [esi + eax*4 + 0x68]
fstp dword [esi + eax*4 + 0x68]
mov eax, dword [esi]
fld dword [esp + eax*4 + 0x20]
fmul dword [esi + 0x4c]
fadd dword [esi + eax*4 + 0x74]
fstp dword [esi + eax*4 + 0x74]
mov eax, dword [esi + 4]
fld dword [esp + eax*4 + 0x20]
fmul dword [esi + 0x50]
fadd dword [esi + eax*4 + 0x74]
fstp dword [esi + eax*4 + 0x74]
mov eax, dword [esi + 8]
fld dword [esp + eax*4 + 0x20]
fmul dword [esi + 0x54]
fadd dword [esi + eax*4 + 0x74]
fstp dword [esi + eax*4 + 0x74]
mov eax, dword [esi]
fld dword [esp + eax*4 + 0x20]
fmul dword [esi + 0x58]
fadd dword [esi + eax*4 + 0x80]
fstp dword [esi + eax*4 + 0x80]
mov eax, dword [esi + 4]
fld dword [esp + eax*4 + 0x20]
fmul dword [esi + 0x5c]
fadd dword [esi + eax*4 + 0x80]
fstp dword [esi + eax*4 + 0x80]
mov eax, dword [esi + 8]
fld dword [esp + eax*4 + 0x20]
fmul dword [esi + 0x60]
fadd dword [esi + eax*4 + 0x80]
fstp dword [esi + eax*4 + 0x80]
fldz
jmp 0x420321
fstp st(0)
add dword [esp + 0x10], 0xc
sub dword [esp + 0x14], 1
jne 0x41ffe6
fstp st(0)
pop edi
fld dword [esi + 0x68]
fld qword [0x4b2f68]
fmul st(1), st(0)
fxch st(1)
fstp dword [esi + 0x68]
fld dword [esi + 0x6c]
fmul st(1)
fstp dword [esi + 0x6c]
fld dword [esi + 0x70]
fmul st(1)
fstp dword [esi + 0x70]
fld dword [esi + 0x74]
fld qword [0x4b3350]
fdiv st(1), st(0)
fxch st(1)
fstp dword [esi + 0x74]
fld dword [esi + 0x78]
fdiv st(1)
fstp dword [esi + 0x78]
fdivr dword [esi + 0x7c]
fstp dword [esi + 0x7c]
fld dword [esi + 0x80]
fmul st(1)
fstp dword [esi + 0x80]
fld dword [esi + 0x84]
fmul st(1)
fstp dword [esi + 0x84]
fmul dword [esi + 0x88]
fstp dword [esi + 0x88]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8