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

Disassembly:
sub esp, 0x70
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, ecx
imul ebp, dword [esp + 0x7c]
push esi
lea esi, [ebp + ebp]
push edi
mov dword [esp + 0x30], ebp
mov edi, ebp
mov dword [esp + 0x18], esi
xor esi, esi
cmp ebx, 4
lea ebp, [ebp + ebp*2]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x2c], esi
jl 0x41c72c
add ebx, 0xfffffffc
shr ebx, 2
add ebx, 1
mov dword [esp + 0x40], ebx
add ebx, ebx
add ebx, ebx
mov dword [esp + 0x2c], ebx
lea esp, [esp]
fld dword [eax + edi*4]
mov ebx, dword [esp + 0x18]
fadd dword [eax + ebp*4]
fstp dword [esp + 0x14]
fld dword [eax + ebx*4]
lea ebx, [esi*4]
fadd dword [eax + esi*4]
lea ebp, [ebx + ecx*4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x14]
fld st(0)
fadd st(2)
fstp dword [edx + ebx*4]
fsubp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [edx + ebp*4 - 4]
lea ebp, [ecx + ecx]
fld dword [eax + esi*4]
add ebx, ebp
mov ebp, dword [esp + 0x18]
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
add esi, ecx
fstp dword [edx + ebx*4 - 4]
fld dword [eax + ebp*4]
add ebp, ecx
fsub dword [eax + edi*4]
add edi, ecx
mov dword [esp + 0x10], ebp
fstp dword [edx + ebx*4]
mov ebx, dword [esp + 0x18]
fld dword [eax + edi*4]
add ebx, ecx
fadd dword [eax + ebp*4]
mov dword [esp + 0x18], ebx
fstp dword [esp + 0x14]
fld dword [eax + ebx*4]
lea ebx, [esi*4]
fadd dword [eax + esi*4]
lea ebp, [ebx + ecx*4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x14]
fld st(0)
fadd st(2)
fstp dword [edx + ebx*4]
fsubp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [edx + ebp*4 - 4]
lea ebp, [ecx + ecx]
fld dword [eax + esi*4]
add ebx, ebp
mov ebp, dword [esp + 0x18]
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
add esi, ecx
fstp dword [edx + ebx*4 - 4]
fld dword [eax + ebp*4]
add ebp, ecx
fsub dword [eax + edi*4]
add edi, ecx
mov dword [esp + 0x10], ebp
fstp dword [edx + ebx*4]
mov ebx, dword [esp + 0x18]
fld dword [eax + edi*4]
add ebx, ecx
fadd dword [eax + ebp*4]
mov dword [esp + 0x18], ebx
fstp dword [esp + 0x14]
fld dword [eax + ebx*4]
lea ebx, [esi*4]
fadd dword [eax + esi*4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x14]
fld st(0)
fadd st(2)
fstp dword [edx + ebx*4]
fsubp st(1)
lea ebp, [ebx + ecx*4]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [edx + ebp*4 - 4]
lea ebp, [ecx + ecx]
fld dword [eax + esi*4]
add ebx, ebp
mov ebp, dword [esp + 0x18]
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
add esi, ecx
fstp dword [edx + ebx*4 - 4]
fld dword [eax + ebp*4]
add ebp, ecx
fsub dword [eax + edi*4]
add edi, ecx
mov dword [esp + 0x10], ebp
fstp dword [edx + ebx*4]
mov ebx, dword [esp + 0x18]
fld dword [eax + edi*4]
add ebx, ecx
fadd dword [eax + ebp*4]
mov dword [esp + 0x18], ebx
fstp dword [esp + 0x14]
fld dword [eax + ebx*4]
lea ebx, [esi*4]
fadd dword [eax + esi*4]
lea ebp, [ebx + ecx*4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x14]
fld st(0)
fadd st(2)
fstp dword [edx + ebx*4]
fsubp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [edx + ebp*4 - 4]
lea ebp, [ecx + ecx]
fld dword [eax + esi*4]
add ebx, ebp
mov ebp, dword [esp + 0x18]
fsub dword [eax + ebp*4]
mov ebp, dword [esp + 0x10]
add dword [esp + 0x18], ecx
add esi, ecx
fstp dword [edx + ebx*4 - 4]
fld dword [eax + ebp*4]
add ebp, ecx
fsub dword [eax + edi*4]
add edi, ecx
sub dword [esp + 0x40], 1
mov dword [esp + 0x10], ebp
fstp dword [edx + ebx*4]
jne 0x41c560
mov ebx, dword [esp + 0x84]
cmp dword [esp + 0x2c], ebx
jge 0x41c7f0
mov ebp, dword [esp + 0x10]
lea ebp, [eax + ebp*4]
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x18]
lea ebp, [eax + ebp*4]
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x84]
sub ebp, dword [esp + 0x2c]
lea edi, [eax + edi*4]
lea ebx, [ecx*4]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebp
lea esp, [esp]
mov ebp, dword [esp + 0x34]
fld dword [ebp]
lea ebp, [esi*4]
fadd dword [edi]
mov edi, dword [esp + 0x28]
fstp dword [esp + 0x14]
fld dword [eax + esi*4]
fadd dword [edi]
lea edi, [ebx + ebp]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x14]
fld st(0)
fadd st(2)
fstp dword [edx + ebp*4]
fsubp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [edx + edi*4 - 4]
lea edi, [ecx + ecx]
fld dword [eax + esi*4]
add ebp, edi
mov edi, dword [esp + 0x28]
fsub dword [edi]
mov edi, dword [esp + 0x34]
add dword [esp + 0x34], ebx
add dword [esp + 0x28], ebx
fstp dword [edx + ebp*4 - 4]
add esi, ecx
fld dword [edi]
mov edi, dword [esp + 0x40]
fsub dword [edi]
add edi, ebx
sub dword [esp + 0x3c], 1
mov dword [esp + 0x40], edi
fstp dword [edx + ebp*4]
jne 0x41c770
mov ebx, dword [esp + 0x84]
cmp ecx, 2
jl 0x41cdf4
mov ebp, dword [esp + 0x30]
je 0x41cab3
xor esi, esi
test ebx, ebx
mov dword [esp + 0x18], esi
jle 0x41caaa
mov edi, ecx
shl edi, 4
mov dword [esp + 0x7c], edi
lea edi, [ebp*4]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], ebx
lea ecx, [ecx]
cmp ecx, 2
lea edi, [ecx + ecx]
lea edi, [edi + esi*4]
jle 0x41ca7f
lea ebx, [esi + ebp]
mov dword [esp + 0x44], ebx
lea ebx, [edx + edi*4]
mov dword [esp + 0x24], ebx
lea ebx, [eax + esi*4]
mov dword [esp + 0x2c], ebx
lea ebx, [esi + ebp*2]
lea ebp, [ecx + ecx]
lea esi, [ebp + esi*4]
mov ebp, dword [esp + 0x88]
lea esi, [edx + esi*4]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x8c]
sub esi, ebp
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x90]
sub esi, ebp
mov ebp, dword [esp + 0x30]
lea edi, [edi + ecx*2]
lea edi, [edx + edi*4]
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x8c]
sub esi, dword [esp + 0x90]
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x90]
mov dword [esp + 0x58], esi
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x88]
lea esi, [ecx - 3]
shr esi, 1
add edi, 4
add esi, 1
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x4c], esi
jmp 0x41c8e4
mov ebx, dword [esp + 0x54]
fld dword [edi - 4]
add ebx, 8
fld dword [ebx + eax - 4]
mov dword [esp + 0x54], ebx
fld dword [edi]
lea esi, [ebp*4]
fld dword [ebx + eax]
mov ebp, dword [esp + 0x34]
fld st(2)
add esi, ebx
fmul st(4)
mov ebx, dword [esp + 0x58]
fld st(2)
add dword [esp + 0x2c], 8
fmul st(2)
add dword [esp + 0x44], 2
add dword [esp + 0x48], 2
add dword [esp + 0x28], 8
faddp st(1)
add dword [esp + 0x10], 8
sub dword [esp + 0x24], 8
sub dword [esp + 0x38], 8
fstp dword [esp + 0x1c]
fmulp st(3)
fmulp st(1)
fsubp st(1)
fstp dword [esp + 0x68]
fld dword [esi + eax - 4]
fld dword [ebx + ebp]
mov ebx, dword [esp + 0x5c]
fld dword [ebx + edi]
mov ebp, dword [esp + 0x30]
fld dword [esi + eax]
lea ebx, [ebp*4]
fld st(1)
add esi, ebx
fmul st(1)
mov ebx, dword [esp + 0x34]
fld st(3)
fmul st(5)
faddp st(1)
fstp dword [esp + 0x70]
fmulp st(2)
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0x6c]
fld dword [esi + eax - 4]
fld dword [ebx]
mov ebx, dword [esp + 0x60]
fld dword [ebx + edi]
fld dword [esi + eax]
mov esi, dword [esp + 0x2c]
fld st(1)
fmul st(1)
fld st(3)
fmul st(5)
faddp st(1)
fstp dword [esp + 0x20]
fmulp st(2)
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x20]
fld dword [esp + 0x1c]
fld st(0)
fadd st(2)
fstp dword [esp + 0x14]
fsubp st(1)
fstp dword [esp + 0x74]
fld dword [esp + 0x64]
fld dword [esp + 0x68]
fld st(0)
fadd st(2)
fstp dword [esp + 0x20]
fsubrp st(1)
fstp dword [esp + 0x68]
fld dword [esi]
fld dword [esp + 0x6c]
fld st(0)
fadd st(2)
fstp dword [esp + 0x6c]
fsubp st(1)
add dword [esp + 0x34], 8
add edi, 8
sub dword [esp + 0x4c], 1
fstp dword [esp + 0x64]
fld dword [esi - 4]
mov esi, dword [esp + 0x28]
fld dword [esp + 0x70]
fld st(0)
fadd st(2)
fstp dword [esp + 0x1c]
fsubp st(1)
fstp dword [esp + 0x70]
fld dword [esp + 0x1c]
fld dword [esp + 0x14]
fld st(0)
fadd st(2)
fstp dword [esi - 4]
fld dword [esp + 0x6c]
fld dword [esp + 0x20]
fld st(0)
fadd st(2)
fstp dword [esi]
mov esi, dword [esp + 0x24]
fld dword [esp + 0x70]
fld dword [esp + 0x68]
fld st(1)
fsub st(1)
fstp dword [esi - 4]
fld dword [esp + 0x74]
fst qword [esp + 0x74]
fld dword [esp + 0x64]
fsub st(1), st(0)
fxch st(1)
fstp dword [esi]
mov esi, dword [esp + 0x10]
fxch st(1)
faddp st(2)
fxch st(1)
fstp dword [esi - 4]
fadd qword [esp + 0x74]
fstp dword [esi]
mov esi, dword [esp + 0x38]
fxch st(3)
fsubrp st(2)
fxch st(1)
fstp dword [esi - 4]
fsubp st(1)
fstp dword [esi]
jne 0x41c8e0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x7c]
add dword [esp + 0x3c], edi
lea edi, [ecx*4]
add dword [esp + 0x40], edi
add esi, ecx
sub dword [esp + 0x50], 1
mov dword [esp + 0x18], esi
jne 0x41c830
mov ebx, dword [esp + 0x84]
test cl, 1
jne 0x41cdf4
cmp ebx, 4
fld dword [0x5191bc]
lea esi, [ecx + ebp - 1]
mov dword [esp + 0x18], esi
lea esi, [esi + ebp*2]
mov dword [esp + 0x10], esi
mov esi, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0
jl 0x41cd38
lea edi, [ecx*4]
fld st(0)
add edi, edi
fchs
add edi, edi
fld st(1)
mov dword [esp + 0x34], edi
lea edi, [ecx + ecx*2]
lea edi, [edx + edi*4]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x18]
add edi, ebp
lea ebx, [ecx*4]
lea ebp, [ebx + eax - 4]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x84]
add ebp, 0xfffffffc
shr ebp, 2
add ebp, 1
mov dword [esp + 0x50], ebp
add ebp, ebp
add ebp, ebp
lea edi, [eax + edi*4]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x10]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x18]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x24]
fld st(0)
add dword [esp + 0x10], ecx
fadd st(2)
add dword [esp + 0x18], ecx
add dword [esp + 0x28], ecx
add dword [esp + 0x28], ecx
fmul st(4)
fstp dword [esp + 0x20]
fsubrp st(1)
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [ebp]
fadd st(1)
fstp dword [edx + esi*4 - 4]
fsubr dword [ebp]
mov ebp, dword [esp + 0x1c]
fstp dword [ebp - 4]
fld dword [esp + 0x20]
fld dword [edi]
fsubr st(1)
fstp dword [edx + esi*4]
fadd dword [edi]
add edi, ebx
lea ebx, [ecx*4]
add esi, ebx
mov ebx, dword [esp + 0x34]
fstp dword [ebp]
add dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x24]
lea ebp, [ecx*4]
add ebx, ebp
mov ebp, dword [esp + 0x10]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x18]
fld dword [eax + ebp*4]
add dword [esp + 0x10], ecx
fld st(0)
mov dword [esp + 0x24], ebx
fadd st(2)
add ebp, ecx
mov dword [esp + 0x18], ebp
lea ebp, [ecx*4]
fmul st(4)
fstp dword [esp + 0x20]
fsubrp st(1)
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [ebx]
fadd st(1)
fstp dword [edx + esi*4 - 4]
fsubr dword [ebx]
mov ebx, dword [esp + 0x1c]
fstp dword [ebx - 4]
fld dword [esp + 0x20]
fld dword [edi]
fsubr st(1)
fstp dword [edx + esi*4]
fadd dword [edi]
add edi, ebp
lea ebp, [ecx*4]
add esi, ebp
fstp dword [ebx]
add ebx, dword [esp + 0x34]
lea ebp, [ecx*4]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x24]
add ebx, ebp
mov ebp, dword [esp + 0x10]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x18]
fld dword [eax + ebp*4]
mov dword [esp + 0x24], ebx
fld st(0)
fadd st(2)
fmul st(4)
add dword [esp + 0x10], ecx
add ebp, ecx
mov dword [esp + 0x18], ebp
fstp dword [esp + 0x20]
lea ebp, [ecx*4]
add dword [esp + 0x28], ecx
fsubrp st(1)
add dword [esp + 0x28], ecx
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [ebx]
fadd st(1)
fstp dword [edx + esi*4 - 4]
fsubr dword [ebx]
mov ebx, dword [esp + 0x1c]
fstp dword [ebx - 4]
fld dword [esp + 0x20]
fld dword [edi]
fsubr st(1)
fstp dword [edx + esi*4]
fadd dword [edi]
add edi, ebp
lea ebp, [ecx*4]
add esi, ebp
fstp dword [ebx]
add ebx, dword [esp + 0x34]
lea ebp, [ecx*4]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x24]
add ebx, ebp
mov ebp, dword [esp + 0x10]
fld dword [eax + ebp*4]
mov ebp, dword [esp + 0x18]
fld dword [eax + ebp*4]
add dword [esp + 0x10], ecx
fld st(0)
mov dword [esp + 0x24], ebx
fadd st(2)
add ebp, ecx
mov dword [esp + 0x18], ebp
lea ebp, [ecx*4]
fmul st(4)
fstp dword [esp + 0x20]
fsubrp st(1)
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [ebx]
fadd st(1)
fstp dword [edx + esi*4 - 4]
fsubr dword [ebx]
mov ebx, dword [esp + 0x1c]
fstp dword [ebx - 4]
fld dword [esp + 0x20]
fld dword [edi]
fsubr st(1)
fstp dword [edx + esi*4]
fadd dword [edi]
add edi, ebp
lea ebp, [ecx*4]
add esi, ebp
fstp dword [ebx]
add ebx, dword [esp + 0x34]
mov dword [esp + 0x1c], ebx
lea ebx, [ecx*4]
add dword [esp + 0x24], ebx
sub dword [esp + 0x50], 1
jne 0x41cb32
mov ebp, dword [esp + 0x30]
fstp st(1)
mov ebx, dword [esp + 0x84]
fstp st(0)
cmp dword [esp + 0x2c], ebx
jge 0x41cdf2
lea ebx, [ecx*4]
fld st(0)
add ebx, ebx
fchs
add ebx, ebx
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x10]
lea ebx, [eax + ebx*4]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x18]
lea edi, [ecx*4]
lea ecx, [esi + ecx*2]
lea ebx, [eax + ebx*4]
mov dword [esp + 0x50], ebx
lea ebx, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
lea edx, [edx + esi*4]
mov esi, dword [esp + 0x28]
add ecx, ebp
lea ecx, [eax + ecx*4]
lea eax, [eax + esi*4 - 4]
mov esi, dword [esp + 0x84]
sub esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x40]
fld dword [ebp]
mov ebp, dword [esp + 0x50]
fld dword [ebp]
add dword [esp + 0x40], edi
fld st(0)
add ebp, edi
fadd st(2)
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0x34]
fmul st(3)
fstp dword [esp + 0x20]
fsubrp st(1)
fmul st(2)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [eax]
fadd st(1)
fstp dword [edx - 4]
fsubr dword [eax]
add eax, edi
fstp dword [ebx - 4]
fld dword [esp + 0x20]
fld dword [ecx]
fsubr st(1)
fstp dword [edx]
add edx, ebp
fadd dword [ecx]
add ecx, edi
fstp dword [ebx]
add ebx, ebp
sub esi, 1
jne 0x41cd97
fstp st(0)
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret