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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x662244
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
push ebx
push esi
mov eax, dword [0x8a0c44]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x41c4c4
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x41c4c4
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
test eax, eax
je 0x41c4c4
push esi
mov esi, dword [ebp + 8]
push esi
lea ecx, [esp + 0x124]
call fcn.00405450
lea eax, [esp + 0x11c]
push eax
push esi
lea ecx, [esp + 0xcc]
mov dword [esp + 0x1e8], 0
call fcn.004055c0
push 1
mov ecx, edi
mov byte [esp + 0x1e4], 1
call fcn.0044d880
push 2
mov ecx, edi
mov esi, eax
call fcn.0044d880
mov ebx, eax
push 3
mov ecx, edi
mov dword [esp + 0x40], ebx
call fcn.0044d880
push 4
mov ecx, edi
mov dword [esp + 0x10], eax
call fcn.0044d880
test esi, esi
je 0x41c499
test ebx, ebx
je 0x41c499
mov eax, dword [eax + 4]
test eax, eax
je 0x41c15a
mov ecx, dword [eax + 4]
jmp 0x41c15c
xor ecx, ecx
call fcn.0044fd40
mov esi, dword [esi + 4]
mov dword [esp + 0x14], eax
test esi, esi
je 0x41c171
mov ecx, dword [esi + 4]
jmp 0x41c173
xor ecx, ecx
call fcn.0044fd40
mov esi, eax
push esi
lea ecx, [esp + 0xc8]
mov dword [esp + 0x3c], esi
call fcn.00405b10
mov eax, dword [ebx + 0xc]
cdq
idiv esi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [esp + 0x34], esi
je 0x41c484
mov dword [esp + 0x10], 0
test esi, esi
jle 0x41c484
lea ecx, [esp + 0x84]
call fcn.00440710
mov dword [esp + 0x84], vtable.TListValue_struct_A_FloatPoint_.0
lea ecx, [esp + 0x54]
mov byte [esp + 0x1e0], 2
call fcn.00440710
mov dword [esp + 0x54], vtable.TListValue_struct_A_FloatPoint_.0
xor eax, eax
cmp dword [esp + 0x38], eax
mov byte [esp + 0x1e0], 3
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
jle 0x41c3e2
mov ecx, dword [esp + 0x14]
and ecx, 2
mov dword [esp + 0x40], ecx
jmp 0x41c214
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
imul esi, eax
add ecx, esi
mov dword [esp + 0x2c], ecx
lea esi, [ecx + ecx]
test eax, eax
jne 0x41c27a
push esi
mov ecx, ebx
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fd10
fstp qword [esp + 0x1c]
mov edx, dword [edi]
mov eax, dword [edx + 0x48]
mov ecx, edi
call eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
fild qword [esp + 0x44]
fmul qword [esp + 0x1c]
call fcn.00640096
mov dword [esp + 0x50], edx
mov edx, dword [edi]
mov ebx, eax
mov eax, dword [edx + 0x38]
mov ecx, edi
call eax
add eax, ebx
adc edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
push esi
mov ecx, ebx
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fcc0
fstp qword [esp + 0x1c]
inc esi
push esi
mov ecx, ebx
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fcc0
fild dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
cdq
fmul qword [esp + 0x1c]
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x18]
fild dword [esp + 0x1c]
cdq
sub eax, edx
sar eax, 1
faddp st(1)
mov dword [esp + 0x1c], eax
fild dword [ebp + 0x18]
push 0x10
lea ecx, [esp + 0x78]
push ecx
fmulp st(2)
lea ecx, [esp + 0x8c]
fild dword [esp + 0x24]
faddp st(2)
fstp qword [esp + 0x7c]
fstp qword [esp + 0x84]
call fcn.00440780
cmp dword [esp + 0x40], 0
je 0x41c3a7
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x41c3cb
mov esi, dword [esp + 0x2c]
add esi, esi
add esi, esi
push esi
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fcc0
fstp qword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
lea edx, [esi + 1]
push edx
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fcc0
fld qword [esp + 0x2c]
fstp qword [esp + 0xa4]
push 0x10
lea eax, [esp + 0xa8]
push eax
fstp qword [esp + 0xb4]
lea ecx, [esp + 0x5c]
call fcn.00440780
lea ecx, [esi + 2]
push ecx
mov ecx, dword [esp + 0x10]
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fcc0
fstp qword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
add esi, 3
push esi
call fcn.0043c6f0
mov ecx, eax
call fcn.0044fcc0
fld qword [esp + 0x2c]
fstp qword [esp + 0xb4]
push 0x10
lea edx, [esp + 0xb8]
push edx
fstp qword [esp + 0xc4]
lea ecx, [esp + 0x5c]
call fcn.00440780
jmp 0x41c3cb
test byte [esp + 0x14], 4
je 0x41c3cb
mov eax, dword [edi + 0x18]
push str.B_Spline_curve
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
push str._fcpMask___d_:__s_not_supported_n
push ecx
call fcn.00437100
add esp, 0x10
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
inc eax
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
jl 0x41c210
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
mov edx, dword [ebp + 8]
push eax
push 1
lea ecx, [esp + 0xd0]
push ecx
push edx
lea ecx, [esp + 0x188]
call fcn.0041ebe0
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x88]
push ecx
lea ecx, [esp + 0x17c]
mov byte [esp + 0x1e8], 4
call fcn.0041f2d0
lea ecx, [esp + 0x174]
mov byte [esp + 0x1e0], 3
call fcn.0041ecf0
lea ecx, [esp + 0x54]
mov byte [esp + 0x1e0], 2
mov dword [esp + 0x54], vtable.TListValue_struct_A_FloatPoint_.0
call fcn.00440740
lea ecx, [esp + 0x84]
mov byte [esp + 0x1e0], 1
mov dword [esp + 0x84], vtable.TListValue_struct_A_FloatPoint_.0
call fcn.00440740
mov eax, dword [esp + 0x10]
inc eax
cmp eax, esi
mov dword [esp + 0x10], eax
jl 0x41c1b2
test byte [esp + 0x14], 1
je 0x41c499
push 1
lea ecx, [esp + 0x120]
call fcn.00405590
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1e0], 0
call fcn.004056a0
lea ecx, [esp + 0x11c]
mov dword [esp + 0x1e0], 0xffffffff
call fcn.00405520
xor eax, eax
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret