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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd9c
mov eax, dword [ecx + 0x90]
mov dword [esp + 0x5c], ecx
mov ecx, eax
push ebx
imul ecx, eax
mov dword [esp + 4], ecx
push esi
fild dword [esp + 8]
push edi
fst qword [esp + 0x38]
fcomp qword [0x449b30]
fnstsw ax
test ah, 1
je 0x441727
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x3ff00000
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x178], edx
mov edx, dword [ebp + 0x20]
mov dword [esp + 0x17c], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x790], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x794], edx
mov edx, dword [ebp + 0x2c]
mov dword [esp + 0x180], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x184], ecx
mov ecx, dword [ebp + 0x34]
mov dword [esp + 0x798], edx
mov edx, dword [ebp + 0x38]
mov dword [esp + 0x79c], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x188], ecx
mov ecx, dword [ebp + 0x40]
mov dword [esp + 0x18c], edx
mov edx, dword [ebp + 0x44]
mov dword [esp + 0x7a0], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x7a4], ecx
mov ecx, dword [ebp + 0x4c]
mov dword [esp + 0x778], edx
mov edx, dword [ebp + 0x50]
xor edi, edi
mov dword [esp + 0x77c], eax
mov dword [esp + 0xd90], ecx
mov dword [esp + 0xd94], edx
mov dword [esp + 0x78], 0x40
lea eax, [edi + edi*2]
shl eax, 3
mov ecx, dword [esp + eax + 0x180]
mov edx, dword [esp + eax + 0x184]
lea ebx, [esp + eax + 0x180]
mov esi, dword [esp + eax + 0x79c]
fld qword [esp + eax + 0x178]
mov dword [esp + 0x50], ecx
lea ecx, [esp + eax + 0x798]
fld qword [esp + eax + 0x790]
mov dword [esp + 0x54], edx
mov edx, dword [ecx]
mov dword [esp + 0x48], edx
lea edx, [esp + eax + 0x188]
mov dword [esp + 0x4c], esi
mov dword [esp + 0xc], edx
mov esi, dword [edx]
mov edx, dword [edx + 4]
lea eax, [esp + eax + 0x7a0]
mov dword [esp + 0x5c], edx
fstp qword [esp + 0x20]
mov edx, dword [eax]
mov dword [esp + 0x58], esi
mov esi, dword [esp + edi*4 + 0x78]
mov dword [esp + 0x6c], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
lea eax, [esi + esi*2]
shl eax, 3
mov edx, esi
fld qword [esp + eax + 0x178]
sub edx, edi
fstp qword [esp + 0x18]
fld qword [esp + eax + 0x790]
cmp edx, 1
fstp qword [esp + 0x30]
fld qword [esp + 0x18]
fadd st(1)
fmul qword [0x449978]
fld qword [esp + 0x30]
fadd qword [esp + 0x20]
fmul qword [0x449978]
fstp qword [esp + 0x28]
fld qword [esp + 0x50]
fsub st(1)
fld qword [esp + 0x48]
fsub qword [esp + 0x28]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp qword [esp + 0x10]
fstp st(0)
fstp st(0)
fsubr qword [esp + 0x58]
fld qword [esp + 0x40]
fsub qword [esp + 0x28]
jle 0x441a38
fld qword [esp + 0x10]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 0x41
je 0x4418f3
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fcomp qword [esp + 0x38]
fnstsw ax
fstp st(0)
test ah, 0x41
fstp st(0)
jne 0x441a3c
jmp 0x4418f7
fstp st(0)
fstp st(0)
fadd qword [esp + 0x50]
lea eax, [esi + edi]
cdq
fmul qword [0x449978]
fld qword [esp + 0x48]
fadd qword [esp + 0x20]
sub eax, edx
sar eax, 1
fmul qword [0x449978]
mov dword [esp + edi*4 + 0x78], eax
fstp qword [esp + 0x60]
fld qword [esp + 0x58]
fadd qword [esp + 0x50]
mov edx, dword [esp + 0x60]
mov dword [ecx], edx
fmul qword [0x449978]
fld qword [esp + 0x40]
fadd qword [esp + 0x48]
fmul qword [0x449978]
fstp qword [esp + 0x10]
fld st(0)
fadd st(2)
fmul qword [0x449978]
fstp qword [esp + 0x20]
fld qword [esp + 0x10]
fadd qword [esp + 0x60]
mov edx, dword [esp + 0x20]
fmul qword [0x449978]
fstp qword [esp + 0x28]
fld qword [esp + 0x18]
fadd qword [esp + 0x58]
fmul qword [0x449978]
fstp qword [esp + 0x18]
fld qword [esp + 0x30]
fadd qword [esp + 0x40]
fmul qword [0x449978]
fstp qword [esp + 0x30]
fld qword [esp + 0x18]
fadd st(1)
fmul qword [0x449978]
fstp qword [esp + 0x70]
fstp st(0)
fld qword [esp + 0x30]
fadd qword [esp + 0x10]
fmul qword [0x449978]
fstp qword [esp + 0x10]
fstp qword [ebx]
mov ebx, dword [esp + 0x64]
fld qword [esp + 0x70]
mov dword [ecx + 4], ebx
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x24]
mov dword [ecx], edx
mov edx, dword [esp + 0x28]
fld st(0)
fadd qword [esp + 0x20]
mov dword [ecx + 4], ebx
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x2c]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
fmul qword [0x449978]
lea ecx, [eax + eax*2]
shl ecx, 3
fstp qword [esp + ecx + 0x178]
fld qword [esp + 0x10]
fadd qword [esp + 0x28]
fmul qword [0x449978]
fstp qword [esp + ecx + 0x790]
mov dword [esp + eax*4 + 0x78], esi
fstp qword [esp + ecx + 0x180]
fld qword [esp + 0x10]
fstp qword [esp + ecx + 0x798]
fld qword [esp + 0x18]
fstp qword [esp + ecx + 0x188]
fld qword [esp + 0x30]
fstp qword [esp + ecx + 0x7a0]
jmp 0x441a75
fstp st(0)
fstp st(0)
fstp st(0)
fld qword [esp + 0x30]
fadd qword [0x449978]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x18]
fadd qword [0x449978]
push eax
call sub.MSVCRT.dll__ftol
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x78]
push edx
call fcn.00441a90
mov edi, esi
cmp edi, 0x40
jl 0x4417d1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x4c