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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [0x10141040]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
push edi
mov edi, ecx
movss dword [esp + 0x24], xmm1
mov esi, dword [edi + 0x1d8]
movss xmm2, dword [edi + 0xfc]
movss xmm1, dword [edi + 0x100]
movss dword [esp + 0x38], xmm2
movss xmm7, dword [esi + 0xfc]
comiss xmm7, xmm2
movss xmm5, dword [esi + 0x100]
movaps xmm4, xmm7
movaps xmm3, xmm5
movss dword [esp + 0x3c], xmm7
subss xmm4, xmm2
movss dword [esp + 0x34], xmm5
subss xmm3, xmm1
movss dword [esp + 0x30], xmm1
movaps xmm0, xmm4
movss dword [esp + 0x18], xmm4
movaps xmm6, xmm3
mulss xmm0, xmm4
mulss xmm6, xmm3
movss dword [esp + 0x1c], xmm3
addss xmm6, xmm0
movss dword [esp + 0x20], xmm6
jbe 0x100a057e
movaps xmm2, xmm4
movss dword [esp + 0x10], xmm4
jmp 0x100a0588
subss xmm2, xmm7
movss dword [esp + 0x10], xmm2
comiss xmm5, xmm1
jbe 0x100a0598
movaps xmm0, xmm3
movss dword [esp + 0xc], xmm3
jmp 0x100a05a5
movaps xmm0, xmm1
subss xmm0, xmm5
movss dword [esp + 0xc], xmm0
divss xmm0, xmm2
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x101383f0]
cvtss2sd xmm0, xmm0
divsd xmm0, qword [0x10137ad8]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x10]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0xc]
fld qword [esp + 0x10]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
fld qword [esp + 0x10]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movsd xmm3, qword [0x10137ad8]
fstp qword [esp + 0x10]
movsd xmm0, qword [esp + 0x10]
cvtpd2ps xmm0, xmm0
movss xmm2, dword [esp + 0x24]
mulss xmm0, dword [0x101383f0]
movss xmm1, dword [esp + 0x20]
cvtps2pd xmm0, xmm0
divsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x10], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
comiss xmm1, xmm0
movss dword [esp + 0x24], xmm0
jb 0x100a0838
movaps xmm0, xmm2
addss xmm0, xmm2
mulss xmm0, xmm0
comiss xmm1, xmm0
jb 0x100a0670
movss xmm0, dword [0x10138148]
mov dword [edi + 0x78], 0x3f63d70b
jmp 0x100a06a8
movaps xmm0, xmm2
mulss xmm0, dword [0x10137690]
addss xmm0, xmm2
mulss xmm0, xmm0
comiss xmm1, xmm0
jb 0x100a0699
movss xmm0, dword [0x10138134]
mov dword [edi + 0x78], 0x3f30a3d7
jmp 0x100a06a8
movss xmm0, dword [0x10138124]
mov dword [edi + 0x78], 0x3ecccccd
movss xmm1, dword [esp + 0x28]
cvtps2pd xmm1, xmm1
movss dword [esp + 0xc], xmm0
mulsd xmm1, xmm3
divsd xmm1, qword [0x10137e90]
movaps xmm0, xmm1
movsd qword [esp + 0x40], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm2, dword [esp + 0xc]
cvtps2pd xmm1, xmm2
mulsd xmm0, xmm1
movsd qword [esp + 0x28], xmm0
movsd xmm0, qword [esp + 0x40]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm1, dword [esp + 0xc]
movaps xmm4, xmm0
movss xmm2, dword [esp + 0x38]
movss xmm3, dword [esp + 0x34]
cvtps2pd xmm0, xmm1
movss xmm1, dword [esp + 0x30]
mulsd xmm4, xmm0
movss xmm0, dword [esp + 0x3c]
comiss xmm0, xmm2
jbe 0x100a07ab
comiss xmm3, xmm1
jbe 0x100a0761
movsd xmm0, qword [esp + 0x28]
cvtpd2ps xmm0, xmm0
addss xmm0, xmm2
movss dword [edi + 0xfc], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm4
addss xmm0, xmm1
movss dword [edi + 0x100], xmm0
movss xmm0, dword [0x101383f0]
subss xmm0, dword [esp + 0x10]
jmp 0x100a0822
comiss xmm1, xmm3
jbe 0x100a07ab
movsd xmm0, qword [esp + 0x28]
mov eax, 2
cvtpd2ps xmm0, xmm0
mov word [edi + 0x12], ax
addss xmm0, xmm2
movss dword [edi + 0xfc], xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm4
subss xmm1, xmm0
movss dword [edi + 0x100], xmm1
movss xmm1, dword [esp + 0x10]
movss dword [edi + 0x110], xmm1
jmp 0x100a08fe
comiss xmm2, xmm0
jbe 0x100a082a
comiss xmm1, xmm3
jbe 0x100a07e6
movsd xmm0, qword [esp + 0x28]
cvtpd2ps xmm0, xmm0
subss xmm2, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm4
subss xmm1, xmm0
movss xmm0, dword [0x10138588]
subss xmm0, dword [esp + 0x10]
movss dword [edi + 0x100], xmm1
jmp 0x100a081a
comiss xmm3, xmm1
jbe 0x100a082a
movsd xmm0, qword [esp + 0x28]
cvtpd2ps xmm0, xmm0
subss xmm2, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm4
addss xmm0, xmm1
movss dword [edi + 0x100], xmm0
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x101383f0]
movss dword [edi + 0xfc], xmm2
movss dword [edi + 0x110], xmm0
mov eax, 2
mov word [edi + 0x12], ax
jmp 0x100a08fe
movss xmm0, dword [0x10138710]
comiss xmm0, xmm1
jbe 0x100a08ba
movzx eax, word [esi + 0x12]
cmp eax, 0xf
jb 0x100a0857
cmp eax, 0x25
jbe 0x100a08fe
mov eax, 2
lea esi, [edi + 0x174]
mov word [edi + 0x12], ax
lea eax, [edi + 0x108]
push esi
push eax
mov eax, 0x959ce0
call eax
lea eax, [esp + 0x48]
push eax
lea eax, [edi + 0xa8]
push esi
push eax
mov eax, 0x95a1e0
call eax
movss xmm0, dword [esp + 0x54]
add esp, 0x14
addss xmm0, dword [edi + 0xfc]
movss dword [edi + 0xfc], xmm0
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [edi + 0x100]
movss dword [edi + 0x100], xmm0
jmp 0x100a08fe
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x10149aac]
add ecx, 0x320
cmp eax, ecx
ja 0x100a08dd
mov eax, 1
mov word [edi + 0x12], ax
jmp 0x100a08fe
call esi
mov ecx, dword [0x10149aac]
add ecx, 0x2ee0
cmp eax, ecx
ja 0x100a08f7
xor eax, eax
mov word [edi + 0x12], ax
jmp 0x100a08fe
call esi
mov dword [0x10149aac], eax
movss xmm0, dword [esp + 0x20]
comiss xmm0, dword [0x10138720]
mov esi, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
jb 0x100a0a31
mov eax, dword [edi + 0x1d8]
movss xmm1, dword [edi + 0xfc]
movss xmm0, dword [eax + 0xfc]
comiss xmm0, xmm1
jbe 0x100a0962
call esi
cdq
mov ecx, 0x168
idiv ecx
movss xmm2, dword [esp + 0x18]
movaps xmm1, xmm2
addss xmm1, dword [edi + 0xfc]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [edi + 0xfc], xmm1
jmp 0x100a0968
movss xmm2, dword [esp + 0x18]
mov eax, dword [edi + 0x1d8]
comiss xmm1, dword [eax + 0xfc]
jbe 0x100a09a4
addss xmm2, xmm1
movss dword [esp + 0x18], xmm2
call esi
cdq
mov ecx, 0x168
idiv ecx
movss xmm1, dword [esp + 0x18]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0xfc], xmm1
mov eax, dword [edi + 0x1d8]
movss xmm1, dword [edi + 0x100]
movss xmm0, dword [eax + 0x100]
comiss xmm0, xmm1
jbe 0x100a09ef
call esi
cdq
mov ecx, 0x168
idiv ecx
movss xmm2, dword [esp + 0x1c]
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x100]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [edi + 0x100], xmm1
jmp 0x100a09f5
movss xmm2, dword [esp + 0x1c]
mov eax, dword [edi + 0x1d8]
comiss xmm1, dword [eax + 0x100]
jbe 0x100a0a31
addss xmm2, xmm1
movss dword [esp + 0x1c], xmm2
call esi
cdq
mov ecx, 0x168
idiv ecx
movss xmm1, dword [esp + 0x1c]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [edi + 0x100], xmm1
mov eax, dword [edi + 0x1d8]
mov eax, dword [eax + 0x104]
mov dword [edi + 0x104], eax
call esi
cdq
mov ecx, 0x64
idiv ecx
test edx, edx
jne 0x100a0afd
movss xmm0, dword [esp + 0x24]
comiss xmm0, dword [esp + 0x20]
jbe 0x100a0a95
call esi
mov esi, eax
and esi, 0x8000003f
jns 0x100a0a73
dec esi
or esi, 0xffffffc0
inc esi
add esi, 0x10
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0x168
idiv ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x110], xmm0
jmp 0x100a0aa9
call esi
mov esi, eax
and esi, 0x8000003f
jns 0x100a0aa6
dec esi
or esi, 0xffffffc0
inc esi
sub esi, 0xffffff80
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [edi + 0xa8], 0
xorps xmm0, xmmword [0x10138ba0]
mulss xmm0, dword [0x10137620]
movss dword [edi + 0xac], xmm0
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000003f
jns 0x100a0ae3
dec eax
or eax, 0xffffffc0
inc eax
sub eax, 0x20
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10137620]
movss dword [edi + 0xb0], xmm0
mov eax, dword [edi + 0x1d8]
movss xmm2, dword [edi + 0x104]
movss xmm1, dword [0x10137898]
movss xmm0, dword [eax + 0x104]
addss xmm0, dword [0x101382cc]
comiss xmm0, xmm2
jbe 0x100a0b3c
movss xmm0, dword [edi + 0xb0]
addss xmm0, xmm1
movss dword [edi + 0xb0], xmm0
movss xmm0, dword [eax + 0x104]
addss xmm0, dword [0x10138430]
comiss xmm2, xmm0
jbe 0x100a0b65
movss xmm0, dword [edi + 0xb0]
subss xmm0, xmm1
movss dword [edi + 0xb0], xmm0
mov ecx, dword [esp + 0x54]
pop edi
pop esi
xor ecx, esp
call fcn.100d84a2
mov esp, ebp
pop ebp
ret