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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
push ebx
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
push edi
jbe 0x4218c6
xorps xmm0, xmm0
lea ebx, [ebx]
mov ecx, dword [ebp + 0x14]
fld qword [0x6f9a10]
movzx ecx, word [ecx + esi*2]
fld qword [0x6f9fc8]
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ecx, dword [ebp + 8]
cmp dword [ebp + 0x10], 0
je 0x4216df
movzx edx, word [ecx + 0x20]
mov edi, dword [ebp + 0xc]
imul edx, edx, 0xf8
sar edx, 0x10
shr edx, 3
mov edx, dword [edi + edx*4]
mov ebx, edx
shr ebx, 0x10
movzx edi, bl
movzx ebx, byte [ecx + 0x28]
imul edi, ebx
test edi, edi
mov dword [esp + 0x3c], edi
fild dword [esp + 0x3c]
jge 0x42165d
fadd dword [0x6f9a18]
mov ebx, edx
fstp dword [esp + 0x40]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [ecx + 0x29]
imul edi, ebx
test edi, edi
mov dword [esp + 0x3c], edi
fild dword [esp + 0x3c]
jge 0x421682
fadd dword [0x6f9a18]
movzx edi, byte [ecx + 0x2a]
fstp dword [esp + 0x44]
movzx edx, dl
imul edi, edx
test edi, edi
mov dword [esp + 0x3c], edi
fild dword [esp + 0x3c]
jge 0x4216a2
fadd dword [0x6f9a18]
fstp dword [esp + 0x48]
movss dword [eax + 0xc], xmm0
fld dword [esp + 0x40]
add eax, 0x10
fmul st(2)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fadd st(1)
fstp dword [eax - 0x10]
fld dword [esp + 0x44]
fmul st(2)
fstp dword [eax - 0xc]
fld dword [esp + 0x48]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x24]
fadd dword [esp + 0x24]
fstp dword [eax - 8]
jmp 0x4216e3
fstp st(1)
fstp st(0)
movzx edx, word [ecx + 0x24]
mov dword [esp + 0x24], edx
movss xmm1, dword [ecx + 0xc]
fild dword [esp + 0x24]
movss dword [esp + 0x2c], xmm1
fdiv qword [0x6f9fc0]
fadd st(0), st(0)
fsub qword [0x6f9a08]
fmul qword [0x6f9fa0]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fsincos
fstp dword [esp + 0x18]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fld st(0)
fld1
fsubrp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x1c]
fld st(0)
fld qword [0x6f9fb8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x20]
fmul st(2)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
fmulp st(2)
fld dword [esp + 0x28]
fld st(0)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x34]
fld st(0)
fld qword [0x6f9fb0]
fmul st(1), st(0)
fld st(3)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x24]
fld st(3)
fmul st(1)
fmul st(3)
fstp dword [esp + 0x3c]
fld st(1)
fmul st(5)
fstp dword [esp + 0x38]
fld st(3)
fmul st(5)
fstp dword [esp + 0x20]
fmulp st(4)
fxch st(3)
fstp dword [esp + 0x30]
fld st(2)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fmul st(2)
fadd st(3)
fld dword [esp + 0x2c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x30]
fld st(0)
fld dword [esp + 0x34]
fld st(0)
faddp st(2)
fld st(3)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x24]
fsub dword [esp + 0x20]
fmul st(3)
fstp dword [esp + 0x74]
fsubrp st(1)
fmul st(1)
fstp dword [esp + 0x60]
movss xmm1, dword [esp + 0x5c]
fld st(1)
movss dword [eax], xmm1
fmulp st(2)
movss xmm1, dword [esp + 0x60]
fxch st(1)
movss dword [eax + 4], xmm1
add eax, 0x10
fstp dword [esp + 0x34]
add eax, 0x10
fld dword [esp + 0x34]
add esi, 1
fmul st(2)
add eax, 0x10
cmp esi, dword [ebp + 0x18]
fadd st(3)
fmul st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x38]
fld st(0)
fld dword [esp + 0x3c]
fld st(0)
faddp st(2)
fld st(3)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x78]
fld dword [esp + 0x20]
fadd dword [esp + 0x24]
fmul st(3)
fstp dword [esp + 0x64]
movss xmm1, dword [esp + 0x64]
fsubrp st(1)
movss dword [eax - 0x28], xmm1
movss xmm1, dword [esp + 0x68]
fmul st(1)
fstp dword [esp + 0x70]
fxch st(1)
fmul qword [0x6f9fa8]
faddp st(2)
fmulp st(1)
fstp dword [esp + 0x7c]
fld dword [ecx]
fstp dword [eax - 0x24]
movss dword [eax - 0x20], xmm1
movss xmm1, dword [esp + 0x6c]
fld dword [ecx + 4]
movss dword [eax - 0x1c], xmm1
fstp dword [eax - 0x14]
movss xmm1, dword [esp + 0x70]
fld dword [ecx + 8]
movss dword [eax - 0x18], xmm1
fstp dword [eax - 4]
movss xmm1, dword [esp + 0x74]
movss dword [eax - 0x10], xmm1
movss xmm1, dword [esp + 0x78]
movss dword [eax - 0xc], xmm1
movss xmm1, dword [esp + 0x7c]
movss dword [eax - 8], xmm1
jb 0x421600
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret