Function at 0x1007ebc0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1010d024]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10186a10]
push esi
mov esi, dword [0x1010f1bc]
push edi
test ecx, ecx
je 0x1007ec13
movzx eax, word [esi + 0x1e]
dec ecx
mov dword [0x10186a10], ecx
test cl, 1
jne 0x1007ec0a
or eax, 2
jmp 0x1007ec0f
and eax, 0xfffd
mov word [esi + 0x1e], ax
cmp byte [0x1012d710], 0
xorps xmm3, xmm3
mov cl, byte [0x1012d71d]
movss xmm7, dword [0x1012df84]
mov edi, dword [0x1010f068]
movss xmm4, dword [0x1010d7d0]
jne 0x1007ed41
movss xmm2, dword [edi + 0x9c]
xor dl, dl
movaps xmm1, xmm2
movss dword [ebp - 0x24], xmm2
comiss xmm3, xmm1
jae 0x1007ecb2
movss xmm2, dword [0x1012eb84]
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x1007ec6c
movaps xmm2, xmm1
jmp 0x1007ecb2
mov eax, dword [edi + 0x4f4f0]
movss xmm5, dword [eax]
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jp 0x1007ec84
movaps xmm2, xmm1
jmp 0x1007ecb2
comiss xmm2, xmm3
xorps xmm6, xmm6
jbe 0x1007ecaa
mulss xmm5, xmm4
movaps xmm0, xmm5
movaps xmm6, xmm1
addss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm4
subss xmm2, xmm0
comiss xmm2, xmm3
ja 0x1007ec90
movss xmm2, dword [ebp - 0x24]
movaps xmm1, xmm6
subss xmm1, dword [0x100f91e8]
mov eax, dword [0x1012d718]
mulss xmm1, dword [0x100f9194]
divss xmm1, dword [0x100f91e0]
maxss xmm1, xmm3
test eax, eax
je 0x1007ece4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
setae dl
cmp byte [0x1012d71c], 0
je 0x1007ecfd
movd xmm0, dword [0x1012df60]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x1007ed05
test dl, dl
je 0x1007efa5
test cl, cl
je 0x1007ed0e
comiss xmm7, xmm3
ja 0x1007ed41
mov eax, dword [edi + 0x4f4f0]
movss xmm0, dword [0x1012df80]
movss xmm1, dword [eax]
mulss xmm1, xmm4
addss xmm1, xmm2
mulss xmm1, xmm4
mulss xmm1, dword [0x100f9124]
subss xmm0, xmm1
comiss xmm0, xmm3
ja 0x1007efa5
movss xmm4, dword [0x100f914c]
comiss xmm7, xmm4
ja 0x1007efa5
comiss xmm3, dword [edi + 0x9c]
jae 0x1007efa5
test cl, cl
je 0x1007ee3d
comiss xmm7, xmm3
jbe 0x1007ee3d
movss xmm2, dword [edi + 0x60]
movss xmm0, dword [edi + 0x5c]
movss xmm1, dword [edi + 0x64]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10036210
movss xmm1, dword [edi + 0x5c]
lea edx, [ebp - 0x10]
divss xmm1, xmm0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x1c], xmm1
movss xmm1, dword [edi + 0x60]
divss xmm1, xmm0
movss dword [ebp - 0x18], xmm1
call fcn.100ae020
movss xmm2, dword [0x1010d7d0]
mov ecx, esi
movaps xmm0, xmm2
mov dword [esi + 0x14], 0
mulss xmm0, dword [ebp - 0x24]
xorps xmm1, xmm1
mulss xmm2, dword [0x100f9194]
addss xmm0, dword [ebp - 0x24]
divss xmm0, xmm2
xorps xmm0, xmmword [0x100fa820]
movss dword [esi + 0x10], xmm0
movss xmm0, dword [ebp - 0xc]
subss xmm0, dword [esi + 8]
xorps xmm0, xmmword [0x100fa820]
call fcn.100ac160
mov edi, dword [0x1010f068]
movss xmm4, dword [0x100f914c]
mov ax, word [esi + 0x1e]
mov ecx, 0xfffd
and ax, cx
or ax, 4
movzx ecx, ax
mov word [esi + 0x1e], cx
mov eax, dword [edi + 0x4f4f0]
movss xmm2, dword [eax]
mulss xmm2, dword [0x1010d7d0]
mov eax, dword [0x10186a14]
addss xmm2, dword [edi + 0x9c]
mulss xmm2, dword [0x1010d7d0]
sub eax, 0
je 0x1007eeb8
sub eax, 1
jne 0x1007efa5
and ecx, 0xfffb
mov dword [0x10186a10], 5
or ecx, 2
mov dword [0x10186a14], eax
mov word [esi + 0x1e], cx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bceb5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movss xmm3, dword [0x1012df80]
comiss xmm3, dword [0x100f9120]
jb 0x1007efa5
movaps xmm0, xmm2
movaps xmm1, xmm3
addss xmm0, xmm2
subss xmm1, xmm0
movss xmm0, dword [0x100f9124]
comiss xmm0, xmm1
jb 0x1007efa5
movss xmm0, dword [0x1012df84]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x1007ef07
movsd xmm0, qword [0x100f9078]
jmp 0x1007ef0f
movsd xmm0, qword [0x100f9070]
cvtps2pd xmm1, xmm3
subsd xmm1, xmm0
cvtps2pd xmm0, xmm2
divsd xmm1, xmm0
movsd xmm0, qword [0x1010da70]
andps xmm1, xmmword [0x100fa800]
ucomisd xmm0, xmm1
movsd qword [ebp - 0x28], xmm1
lahf
test ah, 0x44
jnp 0x1007ef9b
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x10128c20
push 0x40
push 8
push dword [0x1010f354]
call edi
movsd xmm0, qword [ebp - 0x28]
mulsd xmm0, qword [0x100f90d0]
mov eax, dword [0x1010f354]
push 0x10128c20
movsd qword [eax], xmm0
push dword [0x10128c20]
mov esi, dword [0x1010f354]
push 8
push esi
call edi
push 8
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movsd xmm0, qword [ebp - 0x28]
movsd qword [0x1010da70], xmm0
mov dword [0x10186a14], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100bceb5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret