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

Disassembly:
sub esp, 0xc8
mov eax, dword [0x1003800c]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
push edi
mov dword [esp + 0x38], ecx
movss xmm0, dword [0x2439e194]
mov eax, dword [esp + 0xdc]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [0x2439e198]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [0x2439e19c]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [0x2439e1a0]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [0x2439e1a4]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [0x2439e1a8]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 0x168]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 0x16c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 0x170]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0x174]
movzx esi, byte [esp + 0xd4]
movss dword [esp + 0x14], xmm0
xor esi, 1
movss xmm0, dword [eax + 0x178]
mov edi, dword [esp + 0xd8]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + 0x17c]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [edi + 0x10]
mulss xmm0, dword [0x10034394]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x44]
mov ecx, dword [esp + 0xe0]
shl esi, 4
mov dword [esp + 0x3c], ecx
add esi, 0x1f
mov dword [esp + 0x6c], eax
movss dword [esp + 0x74], xmm0
fld dword [esp + 0x74]
fsincos
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
fstp dword [edx]
fstp dword [eax]
movss xmm0, dword [edi + 0xc]
lea eax, [esp + 0x4c]
mulss xmm0, dword [0x10034394]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x74], eax
movss dword [esp + 0x6c], xmm0
fld dword [esp + 0x6c]
fsincos
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
fstp dword [edx]
fstp dword [eax]
mov edi, dword [esp + 0x50]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
call eax
movss xmm2, dword [esp + 0x4c]
mov ecx, edi
movaps xmm1, xmm2
movd xmm5, esi
mulss xmm1, dword [esp + 0x48]
mulss xmm2, dword [esp + 0x44]
movss xmm3, dword [eax + 4]
movss xmm4, dword [eax + 8]
movss xmm0, dword [eax]
addss xmm0, dword [edi + 0xd4]
addss xmm3, dword [edi + 0xd8]
addss xmm4, dword [edi + 0xdc]
mov eax, dword [edi]
cvtdq2ps xmm5, xmm5
mulss xmm1, xmm5
mulss xmm2, xmm5
mulss xmm5, dword [esp + 0x40]
addss xmm1, xmm0
addss xmm2, xmm3
xorps xmm5, xmmword [0x10034650]
addss xmm5, xmm4
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x5c], xmm5
mov eax, dword [eax + 0x24]
call eax
movss xmm0, dword [edi + 0xd4]
addss xmm0, dword [eax]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [edi + 0xd8]
addss xmm0, dword [eax + 4]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [edi + 0xdc]
addss xmm0, dword [eax + 8]
lea eax, [esp + 0x78]
push eax
push 0
push edi
push 0x200400b
lea eax, [esp + 0x64]
movss dword [esp + 0x78], xmm0
push eax
lea eax, [esp + 0x74]
push eax
mov eax, 0x24013e90
call eax
movss xmm0, dword [esp + 0xbc]
add esp, 0x18
movss xmm1, dword [0x10034458]
comiss xmm0, xmm1
jb 0x1002a561
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x24]
call eax
movss xmm0, dword [edi + 0xd4]
addss xmm0, dword [eax]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [edi + 0xd8]
addss xmm0, dword [eax + 4]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [edi + 0xdc]
addss xmm0, dword [eax + 8]
lea eax, [esp + 0x78]
push eax
push 0
push edi
push 0x200400b
lea eax, [esp + 0x3c]
movss dword [esp + 0x78], xmm0
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x7c]
push eax
mov eax, 0x24018a60
call eax
movss xmm0, dword [0x10034458]
add esp, 0x20
comiss xmm0, dword [esp + 0xa4]
jbe 0x1002a5a1
mov ecx, dword [esp + 0xc4]
test ecx, ecx
je 0x1002a4c0
mov eax, 0x240124d0
call eax
test al, al
je 0x1002a523
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x24]
call eax
movss xmm0, dword [edi + 0xd4]
push edi
addss xmm0, dword [eax]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [edi + 0xd8]
addss xmm0, dword [eax + 4]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [edi + 0xdc]
addss xmm0, dword [eax + 8]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x84]
movss dword [esp + 0x74], xmm0
push eax
lea eax, [esp + 0x70]
push eax
mov eax, 0x241e66d0
call eax
add esp, 0x14
movss xmm0, dword [esp + 0x84]
movss xmm1, dword [0x10034458]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x8c]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0xa4]
comiss xmm1, xmm0
jbe 0x1002a5a1
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [esp + 0xc4]
mov esi, eax
add ecx, 8
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne 0x1002a5a1
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
mov al, 1
jmp 0x1002a5a3
xor al, al
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
xor ecx, esp
call fcn.1002b17d
add esp, 0xc8
ret 0x10