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

Disassembly:
push ebx
push esi
push edi
sub esp, 0x58
mov ebx, dword [esp + 0x68]
lea edi, [ebx + 0x34]
mov eax, dword [esp + 0x6c]
lea esi, [eax + 0x34]
mov edx, dword [esp + 0x78]
fldz
fldz
fldz
fldz
fld dword [edi]
fsub dword [esi]
mov ecx, dword [esp + 0x7c]
fstp dword [esp + 0x30]
fld dword [edi + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x34]
movsx eax, word [eax + 0x5c]
mov eax, dword [eax*4 + 0x83d408]
mov edi, dword [eax + 0x1c]
mov eax, edi
fld dword [eax + 0x24]
fstp dword [esp + 0x40]
fld dword [edi + 0x20]
fstp dword [esp + 0x28]
fld dword [edi + 0x18]
fchs
fstp dword [esp + 0x44]
movsx eax, word [ebx + 0x5c]
mov eax, dword [eax*4 + 0x83d408]
mov esi, dword [eax + 0x1c]
mov ebx, esi
fld dword [ebx + 0x24]
fstp dword [esp + 0x38]
fld dword [esi + 0x20]
fstp dword [esp + 0x24]
fld dword [esi + 0x18]
fchs
fstp dword [esp + 0x3c]
fld dword [0x5ec904]
fstp dword [esp + 0x2c]
fld dword [0x5ec910]
fmul dword [esp + 0x28]
xor ebx, ebx
fstp dword [esp + 0x48]
fld dword [esp + 0x28]
fchs
fstp dword [esp + 0x50]
fld dword [esp + 0x40]
fadd dword [esp + 0x44]
fstp dword [esp + 0x4c]
fld dword [esp + 0x44]
fchs
fstp dword [esp + 0x54]
mov eax, eax
movsx eax, bx
cmp eax, 3
ja case.default.0x41a0ec
jmp dword [eax*4 + 0x5ecb70]
fld dword [ecx + 4]
fstp st(3)
fld dword [esp + 0x24]
fmul st(3)
fld dword [ecx]
fstp st(5)
fld dword [esp + 0x38]
fmul st(5)
fadd dword [esp + 0x30]
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fmul st(4)
fld dword [esp + 0x38]
fmul st(4)
fadd dword [esp + 0x34]
fsubrp st(1)
fstp dword [esp + 0x18]
jmp case.default.0x41a0ec
fld dword [ecx + 4]
fstp st(3)
fld dword [esp + 0x24]
fmul st(3)
fld dword [ecx]
fstp st(5)
fld dword [esp + 0x38]
fmul st(5)
fadd dword [esp + 0x30]
fsubrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fmul st(4)
fld dword [esp + 0x38]
fmul st(4)
fadd dword [esp + 0x34]
jmp 0x41a1c0
fld dword [ecx + 4]
fstp st(3)
fld dword [esp + 0x24]
fmul st(3)
fld dword [ecx]
fstp st(5)
fld dword [esp + 0x3c]
fmul st(5)
fsubr dword [esp + 0x30]
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fmul st(4)
fld dword [esp + 0x3c]
fmul st(4)
fsubr dword [esp + 0x34]
fsubrp st(1)
jmp 0x41a1c2
fld dword [ecx + 4]
fstp st(3)
fld dword [esp + 0x24]
fmul st(3)
fld dword [ecx]
fstp st(5)
fld dword [esp + 0x3c]
fmul st(5)
fsubr dword [esp + 0x30]
fsubrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fmul st(4)
fld dword [esp + 0x3c]
fmul st(4)
fsubr dword [esp + 0x34]
faddp st(1)
fstp dword [esp + 0x18]
fld dword [0x5ec908]
fstp st(2)
fld dword [0x5ec904]
fstp st(1)
fld dword [edx]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x1c]
fld dword [edx + 4]
fstp dword [esp + 0x20]
fld dword [esp + 0x14]
fmul dword [esp + 0x20]
fsubrp st(1)
fstp st(4)
fld dword [esp + 0x74]
fmul dword [esp + 0x1c]
fld dword [esp + 0x70]
fmul dword [esp + 0x20]
fsubrp st(1)
fstp st(3)
fld st(3)
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x45
jne 0x41a290
fld st(2)
fcomp dword [0x5ec908]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a280
fld st(3)
fsub dword [esp + 0x28]
fchs
fdiv st(3)
fstp st(4)
fld st(3)
fcomp dword [0x5ec904]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a273
fld st(3)
fstp st(2)
fld dword [esp + 0x48]
fdiv st(3)
fsubp st(4)
fld st(3)
fcomp dword [0x5ec904]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a34e
fld st(3)
fstp st(1)
jmp 0x41a34e
fld dword [0x5ec904]
fstp st(2)
jmp 0x41a34e
fld dword [0x5ec904]
fst st(1)
fstp st(2)
jmp 0x41a34e
fld st(3)
fcomp dword [esp + 0x50]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a310
fld st(2)
fcomp dword [0x5ec908]
fnstsw ax
test ah, 0x45
jne 0x41a300
fld st(3)
fadd dword [esp + 0x28]
fchs
fdiv st(3)
fstp st(4)
fld st(3)
fcomp dword [0x5ec904]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a2f0
fld st(3)
fstp st(2)
fld dword [esp + 0x48]
fdiv st(3)
faddp st(4)
fld st(3)
fcomp dword [0x5ec904]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a34e
fld st(3)
jmp 0x41a34c
fld dword [0x5ec904]
fstp st(2)
jmp 0x41a34e
fld dword [0x5ec904]
fst st(1)
fstp st(2)
jmp 0x41a34e
fld st(2)
fcomp dword [0x5ec908]
fnstsw ax
test ah, 0x45
jne 0x41a330
fld dword [esp + 0x28]
fsub st(4)
fdiv st(3)
jmp 0x41a34c
fld st(2)
fcomp dword [0x5ec908]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a34e
fld dword [esp + 0x28]
fadd st(4)
fchs
fdiv st(3)
fstp st(1)
fld dword [0x5ec908]
fstp st(4)
fld dword [0x5ec904]
fstp st(3)
fld dword [esp + 0x18]
fmul dword [esp + 0x20]
fld dword [esp + 0x14]
fmul dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 8]
fld dword [esp + 0x74]
fmul dword [esp + 0x20]
fld dword [esp + 0x70]
fmul dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 4]
fld dword [esp + 8]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 0x45
jne 0x41a431
fld dword [esp + 4]
fcomp dword [0x5ec908]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a420
fld dword [esp + 8]
fsub dword [esp + 0x40]
fchs
fdiv dword [esp + 4]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp dword [0x5ec904]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a410
fld dword [esp + 0x10]
fstp st(4)
fld dword [esp + 0x4c]
fdiv dword [esp + 4]
fsubr dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp dword [0x5ec904]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a514
fld dword [esp + 0x10]
jmp 0x41a512
fld dword [0x5ec904]
fstp st(4)
jmp 0x41a514
fld dword [0x5ec904]
fstp st(3)
fld st(2)
fstp st(4)
jmp 0x41a514
fld dword [esp + 8]
fcomp dword [esp + 0x54]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a4d0
fld dword [esp + 4]
fcomp dword [0x5ec908]
fnstsw ax
test ah, 0x45
jne 0x41a4c0
fld dword [esp + 8]
fadd dword [esp + 0x44]
fchs
fdiv dword [esp + 4]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fcomp dword [0x5ec904]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a4b0
fld dword [esp + 0xc]
fstp st(4)
fld dword [esp + 0x4c]
fdiv dword [esp + 4]
fadd dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fcomp dword [0x5ec904]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a514
fld dword [esp + 0xc]
jmp 0x41a512
fld dword [0x5ec904]
fstp st(4)
jmp 0x41a514
fld dword [0x5ec904]
fstp st(3)
fld st(2)
fstp st(4)
jmp 0x41a514
fld dword [esp + 4]
fcomp dword [0x5ec908]
fnstsw ax
test ah, 0x45
jne 0x41a4f0
fld dword [esp + 0x40]
fsub dword [esp + 8]
fdiv dword [esp + 4]
jmp 0x41a512
fld dword [esp + 4]
fcomp dword [0x5ec908]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a514
fld dword [esp + 0x44]
fadd dword [esp + 8]
fchs
fdiv dword [esp + 4]
fstp st(3)
fld st(1)
fcomp st(4)
fnstsw ax
test ah, 0x45
jne 0x41a523
fld st(1)
jmp 0x41a525
fld st(3)
fstp st(4)
fld st(3)
fcomp st(1)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a56a
fld st(3)
fcomp st(3)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a56a
fld dword [esp + 0x2c]
fcomp st(4)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x41a560
fld dword [esp + 0x2c]
jmp 0x41a562
fld st(3)
fstp st(4)
fld st(3)
fstp dword [esp + 0x2c]
inc ebx
cmp bx, 4
jl 0x41a0e0
fcompp
fcompp
fld dword [esp + 0x2c]
add esp, 0x58
pop edi
pop esi
pop ebx
ret