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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
mov dword [0x8f9210], 0xb80bcf65
mov ebp, dword [edi + 0x40]
xor ebx, ebx
cmp ebp, ebx
mov esi, ecx
jne 0x6cf48e
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov eax, 0x3f800000
mov dword [esi], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x3c], eax
pop edi
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x7c], eax
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14
push ebp
push esi
call fcn.00444fe0
mov ecx, dword [edi + 4]
mov eax, dword [ebp + 0xbc]
add esp, 8
cmp ecx, 1
mov dword [esp + 0x14], eax
je 0x6cf4b4
mov edx, dword [ebp + 0xc0]
mov dword [esp + 0x10], edx
fld dword [esp + 0x24]
fld qword [0x8942e0]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x6cf4cf
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
fld dword [esp + 0x28]
fld qword [0x8942e0]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x6cf4ea
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
cmp ecx, 1
mov eax, dword [edi + 0x60]
fild dword [eax + 0x18]
fidiv dword [eax + 0x14]
fstp dword [esp + 0x24]
je 0x6cf50b
cmp ecx, 4
je 0x6cf50b
cmp ecx, 2
je 0x6cf50b
cmp ecx, 5
jne 0x6cf519
fld dword [esp + 0x24]
fmul dword [0x8af994]
fstp dword [esp + 0x24]
cmp ecx, 8
je 0x6cf523
cmp ecx, 9
jne 0x6cf52b
mov dword [esp + 0x24], 0x3f19a956
movzx eax, word [ebp + 0xc4]
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fmul dword [0x8933d4]
call fcn.007c4b80
mov edi, eax
push edi
call fcn.0045db30
fstp dword [esp + 0x2c]
push edi
call fcn.0045dbf0
fdivr dword [esp + 0x30]
movzx ecx, word [ebp + 0xc4]
mov dword [esp + 0x30], ecx
fdivr dword [0x89096c]
fstp dword [esp + 0x20]
fild dword [esp + 0x30]
fmul dword [esp + 0x2c]
fmul dword [0x8933d4]
call fcn.007c4b80
mov edi, eax
push edi
call fcn.0045db30
fstp dword [esp + 0x30]
push edi
call fcn.0045dbf0
fdivr dword [esp + 0x34]
mov edx, dword [esp + 0x28]
lea edi, [esi + 0x40]
mov eax, 0x3f800000
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], eax
mov dword [edi], edx
mov dword [esi + 0x6c], eax
mov dword [esi + 0x7c], ebx
fdivr dword [0x89096c]
fld dword [esp + 0x20]
fsub dword [esp + 0x24]
fdivr dword [esp + 0x20]
fxch st(1)
fchs
fstp dword [esi + 0x54]
fst dword [esi + 0x68]
fmul dword [esp + 0x24]
fchs
fstp dword [esi + 0x78]
movzx ebp, word [ebp + 0xc4]
push ebp
call fcn.006be9f0
mov eax, dword [esp + 0x34]
add esp, 0x14
push edi
fstp dword [eax + 0xc]
push esi
lea ebp, [esi + 0x80]
push ebp
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x2c], ebx
call sub.d3dx9_26.dll_D3DXMatrixMultiply
cmp byte [esp + 0x30], bl
je 0x6cf88d
cmp ebx, 5
ja 0x6cf7ee
jmp dword [ebx*4 + 0x6cf898]
lea edx, [ebx + 0x14]
shl edx, 4
fld dword [edx + esi + 8]
lea eax, [edx + esi]
fld dword [eax + 4]
fld dword [eax]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fsqrt
fstp st(3)
fstp st(0)
fstp st(0)
fdivr dword [0x89096c]
fld st(0)
fmul dword [eax]
fstp dword [eax]
mov eax, ebx
shl eax, 4
add eax, esi
fld st(0)
fmul dword [eax + 0x144]
inc ebx
cmp ebx, 5
fstp dword [eax + 0x144]
fld st(0)
fmul dword [eax + 0x148]
fstp dword [eax + 0x148]
fmul dword [eax + 0x14c]
fstp dword [eax + 0x14c]
jle 0x6cf63c
lea ebx, [esi + 0xc0]
push edi
push ebx
call fcn.00444fe0
fld dword [0x8f9210]
fadd dword [esi + 0xe8]
add esp, 8
push ebx
push esi
fstp dword [esi + 0xe8]
add esi, 0x100
push esi
call sub.d3dx9_26.dll_D3DXMatrixMultiply
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14