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

Disassembly:
sub esp, 0x64
fld dword [esp + 0x6c]
mov dword [esp + 4], ecx
push ebx
mov ecx, dword [esp + 0x6c]
push ebp
push esi
push edi
fcomp dword [ecx + 8]
lea esi, [ecx + 8]
fnstsw ax
test ah, 0x40
je 0x41c305
fld dword [esp + 0x80]
fcomp dword [ecx + 0xc]
fnstsw ax
test ah, 0x40
jne 0x41c746
mov eax, esi
push 0x3f800000
sub esp, 0xc
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov ecx, esp
fld dword [esp + 0x78]
fsub dword [esp + 0x8c]
mov edx, dword [eax + 4]
mov dword [esp + 0x7c], edx
mov eax, dword [eax + 8]
fstp dword [esp + 0x6c]
fld dword [esp + 0x7c]
fsub dword [esp + 0x90]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x80], eax
mov dword [ecx], edx
fstp dword [esp + 0x70]
fld dword [esp + 0x80]
fsub dword [esp + 0x94]
mov eax, dword [esp + 0x70]
mov dword [ecx + 4], eax
lea eax, [esp + 0x78]
push eax
fstp dword [esp + 0x78]
mov edx, dword [esp + 0x78]
mov dword [ecx + 8], edx
call fcn.0044f1c0
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x60]
push ecx
call fcn.0044ebc0
mov edx, dword [eax]
push 0x41700000
mov dword [esp + 0x60], edx
sub esp, 0xc
mov ecx, dword [eax + 4]
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 8]
mov eax, esi
mov dword [esp + 0x74], edx
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov ecx, dword [esi]
fld dword [esp + 0x78]
fsub dword [esp + 0x6c]
mov edx, dword [eax + 4]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov edx, dword [esi + 4]
mov eax, dword [eax + 8]
mov ecx, esp
fstp dword [esp + 0x48]
fld dword [esp + 0x7c]
fsub dword [esp + 0x70]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x7c], edx
fstp dword [esp + 0x4c]
fld dword [esp + 0x80]
fsub dword [esp + 0x74]
mov dword [esp + 0x80], eax
fstp dword [esp + 0x50]
fld dword [esp + 0x8c]
fsub dword [esp + 0x78]
fstp dword [esp + 0x6c]
fld dword [esp + 0x90]
fsub dword [esp + 0x7c]
mov edx, dword [esp + 0x6c]
mov dword [ecx], edx
fstp dword [esp + 0x70]
fld dword [esp + 0x94]
fsub dword [esp + 0x80]
fstp dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [ecx + 4], eax
lea eax, [esp + 0x78]
push eax
mov dword [ecx + 8], edx
call fcn.0044f1c0
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x60]
push ecx
call fcn.0044ebc0
mov edx, dword [eax]
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x5c], edx
xor ebx, ebx
fld dword [esp + 0x5c]
fadd dword [esp + 0x38]
mov ecx, dword [eax + 4]
xor ebp, ebp
mov dword [esp + 0x60], ecx
and esi, 0xffff
mov edx, dword [eax + 8]
mov dword [esp + 0x10], 0x3f800000
fstp dword [esp + 0x68]
fld dword [esp + 0x60]
fadd dword [esp + 0x3c]
mov dword [esp + 0x64], edx
mov dword [esp + 0x8c], esi
fstp dword [esp + 0x6c]
fld dword [esp + 0x64]
fadd dword [esp + 0x40]
fstp dword [esp + 0x70]
jmp 0x41c4da
mov esi, dword [esp + 0x8c]
xor ebx, ebx
fld dword [0x491434]
fsub dword [esp + 0x10]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
fld st(0)
fmul dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fmul st(1)
mov eax, dword [esp + 0x38]
sub esp, 0xc
mov dword [esp + 0x5c], eax
mov eax, esp
fstp dword [esp + 0x54]
fmul dword [esp + 0x58]
fld dword [esp + 0x44]
fmul dword [esp + 0x1c]
fld dword [esp + 0x60]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x60]
fld dword [esp + 0x64]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x64]
fadd dword [esp + 0x50]
fstp dword [esp + 0x68]
fld dword [esp + 0x60]
fadd dword [esp + 0x54]
mov ecx, dword [esp + 0x68]
mov dword [eax], ecx
fstp dword [esp + 0x6c]
fld dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
fadd st(1)
mov dword [eax + 4], edx
lea edx, [esp + 0x3c]
push edx
fstp dword [esp + 0x74]
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [0x4fdf68]
fstp st(0)
call fcn.00433a40
mov ecx, dword [eax]
cmp ebp, esi
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
jge 0x41c746
mov al, byte [esp + 0x88]
test al, al
je 0x41c5f8
fld dword [esp + 0x5c]
fsub dword [esp + 0x7c]
fld st(0)
fmulp st(1)
fcom dword [0x491484]
fnstsw ax
test ah, 1
je 0x41c5f6
fld dword [esp + 0x60]
fsub dword [esp + 0x80]
fld st(0)
fmul st(1)
fadd st(2)
fcomp dword [0x491484]
fnstsw ax
fstp st(0)
test ah, 1
fstp st(0)
jne 0x41c746
jmp 0x41c5f8
fstp st(0)
mov eax, dword [esp + 0x78]
mov edi, dword [0x51c08c]
cmp eax, 0x49f7e8
je 0x41c60f
add edi, 0x3e8
mov eax, edi
mov dword [esp + 0x24], ebx
and eax, 0x1fff
mov dword [esp + 0x20], eax
fild qword [esp + 0x20]
fmul qword [0x491640]
fmul qword [0x491638]
call fcn.0044eaa0
xor edx, edx
mov ecx, 0xa
div ecx
mov eax, ebp
mov ecx, 0x14
and edi, 0x7ff
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
fild qword [esp + 0x28]
fmul qword [0x491628]
fsubr dword [0x491434]
fmul dword [0x49143c]
fld dword [0x49143c]
fsub st(1)
sub eax, edx
xor edx, edx
div ecx
lea esi, [edx + edx*2]
shl esi, 2
fild dword [esi + 0x495940]
fmul st(2)
fild dword [esi + 0x49594c]
fmul st(2)
faddp st(1)
fmul dword [0x491438]
call fcn.0044eaa0
fild dword [esi + 0x495950]
mov edi, eax
fmul st(1)
fild dword [esi + 0x495944]
fmul st(3)
faddp st(1)
fmul dword [0x491438]
call fcn.0044eaa0
fild dword [esi + 0x495954]
mov ebx, eax
fmul st(1)
fild dword [esi + 0x495948]
fmul st(3)
faddp st(1)
fmul dword [0x491438]
call fcn.0044eaa0
fstp st(0)
fstp st(0)
fld dword [esp + 0x18]
fsub dword [0x491574]
fld dword [esp + 0x1c]
fsub dword [0x491574]
push 1
push 1
push 0
mov dword [0x4958b0], edi
mov dword [0x4958b4], ebx
mov dword [0x4958b8], eax
push 0x3f800000
call fcn.0044eaa0
push eax
call fcn.0044eaa0
mov edx, dword [esp + 0x28]
push eax
lea ecx, [edx + 0x5c]
call fcn.00407f60
fld dword [esp + 0x10]
fsub dword [0x491630]
inc ebp
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp dword [0x49144c]
fnstsw ax
test ah, 1
je 0x41c4d1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x18