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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x218
mov eax, dword [0x1010fa0c]
xor eax, esp
mov dword [esp + 0x214], eax
cmp byte [0x10112a24], 0
push esi
push edi
mov edi, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edi
je 0x1008c82d
mov ecx, dword [0x10113a24]
push dword [0x10112b0c]
mov eax, dword [ecx]
mov esi, dword [eax + 0x2c]
mov eax, dword [eax + 0x80]
call eax
mov ecx, dword [0x10113a24]
push eax
call esi
test al, al
jne 0x1008c216
cmp dword [0x10112a28], 0
jne 0x1008c82d
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x378]
call eax
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x1008c82d
mov ecx, esi
call fcn.1008b0ed
mov dword [esp + 0x38], eax
test eax, eax
je 0x1008c82d
mov ecx, dword [esi]
mov edx, dword [ecx + 0x5b4]
mov ecx, esi
call edx
cmp eax, 0x1c
je 0x1008c82d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x5b4]
call eax
cmp eax, 4
je 0x1008c82d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x5b4]
call eax
cmp eax, 0x18
je 0x1008c82d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x5b4]
call eax
cmp eax, 9
je 0x1008c82d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5e8]
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0x34]
inc ecx
call fcn.1008de1f
movss xmm1, dword [0x100fee2c]
xorps xmm0, xmm0
call fcn.1008de82
mov eax, dword [esi]
mov ecx, esi
movss dword [esp + 0x18], xmm0
mov eax, dword [eax + 0x5e0]
mov dword [esp + 0x24], eax
call dword [esp + 0x24]
fstp dword [esp + 0x24]
movss xmm1, dword [esp + 0x24]
xorps xmm0, xmm0
call fcn.1008de82
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
call sub.apI_mS_wIN_crT_matH_L1_1_0.DlL__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x18]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x6c], xmm0
cvtps2pd xmm0, xmm1
call sub.apI_mS_wIN_crT_matH_L1_1_0.DlL__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
push 0x10
lea esi, [esp + 0x15c]
pop edi
mulss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x70], xmm0
mov ecx, esi
call fcn.10095a18
add esi, 0xc
sub edi, 1
jne 0x1008c335
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xf4]
push eax
call fcn.1000755f
mov esi, dword [esp + 0x20]
lea edi, [esp + 0x3c]
lea esi, [esi + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.10007476
movss xmm0, dword [esp + 0x3c]
and dword [esp + 0x24], 0
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
addss xmm1, xmm1
movss xmm3, dword [eax + 8]
addss xmm2, xmm2
mov eax, dword [esp + 0x38]
addss xmm3, xmm3
subss xmm0, xmm1
cmp dword [eax + 0x894], 0
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x40]
subss xmm0, xmm2
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, xmm3
movss dword [esp + 0x44], xmm0
jle 0x1008c82d
mov ecx, dword [0x10113814]
mov eax, dword fs:[0x2c]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x15c]
mov dword [esp + 0x1c], eax
movss xmm1, dword [0x100fee2c]
xorps xmm0, xmm0
call fcn.1008de82
mov eax, dword [edi]
mov ecx, edi
movss dword [esp + 0x20], xmm0
mov eax, dword [eax + 0x5e4]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
fstp dword [esp + 0x14]
movss xmm1, dword [esp + 0x14]
xorps xmm0, xmm0
call fcn.1008de82
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x20]
cvtps2pd xmm0, xmm0
call sub.apI_mS_wIN_crT_matH_L1_1_0.DlL__libm_sse2_cos_precise
mov eax, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x20]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x14]
movss dword [esp + 0x18], xmm0
movss dword [eax - 4], xmm0
cvtps2pd xmm0, xmm1
call sub.apI_mS_wIN_crT_matH_L1_1_0.DlL__libm_sse2_sin_precise
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x54]
movss xmm1, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
addss xmm1, dword [esp + 0x6c]
cvtsd2ss xmm0, xmm0
mov dword [esp + 0x5c], 0x7f800000
mov dword [esp + 0x58], 0x7f800000
mov dword [esp + 0x54], 0x7f800000
mov dword [esp + 0x50], 0x7f800000
movss dword [esp + 0x18], xmm1
mulss xmm0, dword [esp + 0x14]
mov dword [esp + 0x4c], 0x7f800000
mov dword [esp + 0x48], 0x7f800000
mov dword [esp + 0x68], 0x7f800000
movss dword [eax], xmm0
lea eax, [esp + 0x60]
addss xmm0, dword [esp + 0x70]
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x68], 0x7f800000
push eax
mov dword [esp + 0x68], 0x7f800000
movss dword [esp + 0x1c], xmm0
call fcn.100822b2
movss xmm3, dword [esp + 0x20]
movss xmm1, dword [esp + 0x50]
movss xmm2, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x68]
mulss xmm1, xmm3
pop ecx
mulss xmm0, xmm2
pop ecx
addss xmm1, dword [esp + 0x54]
lea ecx, [esp + 0x2c]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x64]
mulss xmm0, xmm2
movss dword [esp + 0x2c], xmm1
movss xmm1, dword [esp + 0x4c]
mulss xmm1, xmm3
addss xmm1, dword [esp + 0x58]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x68]
mulss xmm0, xmm2
movss dword [esp + 0x30], xmm1
movss xmm1, dword [esp + 0x50]
mulss xmm1, xmm3
addss xmm1, dword [esp + 0x5c]
addss xmm1, xmm0
movss dword [esp + 0x34], xmm1
call fcn.1008df10
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [0x100feef8]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0xf4]
movss dword [esp + 0x14], xmm0
lea ecx, [esp + 0x100]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0xf8]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0xfc]
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x80], xmm0
call fcn.1000a056
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x108]
call fcn.10009d71
push 0x54
lea eax, [esp + 0x9c]
mov dword [esp + 0x94], 0x100a6f84
push 0
push eax
mov dword [esp + 0xa0], esi
call sub.VCrUnTImE140.DlL_memset
add esp, 0xc
lea ecx, [esp + 0x98]
call fcn.10095a18
lea ecx, [esp + 0xa4]
call fcn.10095a18
lea ecx, [esp + 0xb0]
call fcn.10095a18
mov ecx, dword [0x10113a28]
lea edx, [esp + 0x98]
push edx
lea edx, [esp + 0x94]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x108]
push 0x4600400b
push edx
call dword [eax + 0x10]
movss xmm1, dword [0x100fee5c]
movss xmm0, dword [esp + 0x2c]
mulss xmm0, xmm1
mov ecx, dword [esp + 0x74]
mov eax, dword [0x1013f30c]
addss xmm0, dword [esp + 0x14]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x20]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x18]
movss dword [esp + 0x8c], xmm0
cmp eax, dword [ecx + 4]
jle 0x1008c70d
push 0x1013f30c
call fcn.1009cfcc
cmp dword [0x1013f30c], 0xffffffff
pop ecx
jne 0x1008c70d
mov edx, 0x100f99e0
mov ecx, 0x100a6f08
call fcn.1008dfb3
push 0x1013f30c
mov dword [0x1013f304], eax
call fcn.1009cf82
pop ecx
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x94]
push eax
push 0x4600400b
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x104]
push eax
call dword [0x1013f304]
movss xmm0, dword [esp + 0xd8]
add esp, 0x14
ucomiss xmm0, dword [0x100fed9c]
lahf
test ah, 0x44
jnp 0x1008c80f
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x1008c80f
mov eax, dword [ecx]
mov eax, dword [eax + 0x208]
call eax
test al, al
je 0x1008c80f
mov ecx, esi
call fcn.100074d8
mov ecx, dword [esp + 0x14]
mov esi, eax
call fcn.100074d8
mov ecx, dword [eax]
cmp ecx, dword [esi]
je 0x1008c80b
mov ecx, dword [esp + 0xdc]
xor al, al
cmp byte [0x10112a2c], al
je 0x1008c7b0
xor edx, edx
movzx eax, al
inc edx
cmp ecx, edx
cmove eax, edx
jmp 0x1008c7b3
xor edx, edx
inc edx
cmp byte [0x10112a2d], 0
je 0x1008c7c5
cmp ecx, 2
movzx eax, al
cmove eax, edx
cmp byte [0x10112a2e], 0
je 0x1008c7d7
cmp ecx, 3
movzx eax, al
cmove eax, edx
cmp byte [0x10112a2f], 0
je 0x1008c7ec
cmp ecx, 4
je 0x1008c7ea
cmp ecx, 5
jne 0x1008c7ec
mov al, dl
cmp byte [0x10112a30], 0
je 0x1008c7ff
cmp ecx, 6
je 0x1008c803
cmp ecx, 7
je 0x1008c803
test al, al
je 0x1008c80b
mov eax, dword [0x10113830]
or dword [eax + 0x24], edx
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
inc ecx
add dword [esp + 0x1c], 0xc
mov dword [esp + 0x24], ecx
cmp ecx, dword [eax + 0x894]
jl 0x1008c3f0
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
xor ecx, esp
call fcn.1009ce88
mov esp, ebp
pop ebp
ret