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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x50
mov esi, dword [0x1042dd60]
mov eax, dword [esi + 0x19b4]
mov byte [eax + 0x7c], 1
mov edi, dword [esi + 0x19b4]
mov al, byte [edi + 0x7f]
test al, al
jne 0x10276880
mov byte [esp + 0x17], al
mov eax, dword [edi + 0x27c]
mov dword [eax + 0x58], 0
movsd xmm0, qword [esi + 0x1960]
movsd qword [esp + 0x2c], xmm0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x103624c0]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp dword [esp + 0x3c]
movss xmm0, dword [esp + 0x3c]
mulss xmm0, dword [0x10359994]
andps xmm0, xmmword [0x10357320]
cvttps2dq xmm0, xmm0
cvtdq2ps xmm0, xmm0
movss xmm1, dword [0x103624c4]
mulss xmm1, xmm0
movss dword [esp + 0x20], xmm1
movsd xmm1, qword [esp + 0x2c]
mulss xmm0, dword [0x103624c8]
addss xmm0, dword [0x103624cc]
movups xmmword [esp + 0x40], xmm0
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
nop dword [eax + eax]
xorps xmm0, xmm0
cvtsi2ss xmm0, ebx
mulss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0x20]
cvtsd2ss xmm1, xmm1
mov ebp, dword [edi + 0x27c]
mulss xmm1, dword [0x10357534]
addss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movsd qword [esp + 0x24], xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
fstp dword [esp + 0x38]
movss xmm1, dword [esp + 0x38]
movss xmm0, dword [esp + 0x70]
mulss xmm1, xmm0
addss xmm1, dword [esp + 0x68]
movss dword [esp + 0x2c], xmm1
movsd xmm0, qword [esp + 0x24]
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
fstp dword [esp + 0x34]
movss xmm0, dword [esp + 0x34]
mulss xmm0, dword [esp + 0x70]
addss xmm0, dword [esp + 0x64]
mov eax, dword [ebp + 0x58]
cmp eax, dword [ebp + 0x5c]
jne 0x10276802
lea edi, [eax + 1]
test eax, eax
je 0x102767a2
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
sar ecx, 1
add ecx, eax
jmp 0x102767a7
mov ecx, 8
cmp ecx, edi
cmovg edi, ecx
cmp eax, edi
jge 0x10276802
movss dword [esp + 0x24], xmm0
lea eax, [edi*8]
mov dword [esp], eax
call fcn.102373d0
mov esi, eax
mov eax, dword [ebp + 0x60]
test eax, eax
je 0x102767ef
mov ecx, dword [ebp + 0x58]
shl ecx, 3
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 0x60]
mov dword [esp], eax
call fcn.102374a0
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x5c], edi
mov eax, dword [ebp + 0x58]
mov esi, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x24]
mov ecx, dword [ebp + 0x60]
movss dword [ecx + eax*8], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [ecx + eax*8 + 4], xmm0
add dword [ebp + 0x58], 1
cmp ebx, 0x17
je 0x10276833
movsd xmm1, qword [esi + 0x1960]
add ebx, 1
mov edi, dword [esp + 0x18]
jmp 0x10276700
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [esp + 0x74]
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x27c]
mov eax, dword [esp + 0x78]
mov eax, dword [eax]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x60]
movss dword [esp + 0x10], xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
mov dword [esp + 0xc], 0
mov ecx, esi
call fcn.1025ad30
sub esp, 0x14
mov dword [esi + 0x58], 0
mov al, byte [esp + 0x17]
test al, al
sete al
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret