Function at 0x1003bef0
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 [0x100d1400]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x101255a4]
push esi
mov esi, dword [0x100d8894]
push edi
test ecx, ecx
je 0x1003bf43
movzx eax, word [esi + 0x1e]
dec ecx
mov dword [0x101255a4], ecx
test cl, 1
jne 0x1003bf3a
or eax, 2
jmp 0x1003bf3f
and eax, 0xfffd
mov word [esi + 0x1e], ax
cmp byte [0x100d4071], 0
xorps xmm3, xmm3
movss xmm7, dword [0x10125000]
mov edi, dword [0x100d3a30]
mov cl, byte [0x100d43b5]
movss xmm4, dword [0x100d2250]
jne 0x1003c071
movss xmm2, dword [edi + 0x9c]
xor dl, dl
movaps xmm1, xmm2
movss dword [ebp - 0x24], xmm2
comiss xmm3, xmm1
jae 0x1003bfe2
movss xmm2, dword [0x10125008]
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x1003bf9c
movaps xmm2, xmm1
jmp 0x1003bfe2
mov eax, dword [edi + 0x4f4f0]
movss xmm5, dword [eax]
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jp 0x1003bfb4
movaps xmm2, xmm1
jmp 0x1003bfe2
comiss xmm2, xmm3
xorps xmm6, xmm6
jbe 0x1003bfda
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 0x1003bfc0
movss xmm2, dword [ebp - 0x24]
movaps xmm1, xmm6
subss xmm1, dword [0x100c2708]
mov eax, dword [0x100d43b0]
mulss xmm1, dword [0x100c26c4]
divss xmm1, dword [0x100c2700]
maxss xmm1, xmm3
test eax, eax
je 0x1003c014
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
setae dl
cmp byte [0x100d43b4], 0
je 0x1003c02d
movd xmm0, dword [0x10124fe0]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x1003c035
test dl, dl
je 0x1003c2d4
test cl, cl
je 0x1003c03e
comiss xmm7, xmm3
ja 0x1003c071
mov eax, dword [edi + 0x4f4f0]
movss xmm0, dword [0x10125004]
movss xmm1, dword [eax]
mulss xmm1, xmm4
addss xmm1, xmm2
mulss xmm1, xmm4
mulss xmm1, dword [0x100c2660]
subss xmm0, xmm1
comiss xmm0, xmm3
ja 0x1003c2d4
movss xmm4, dword [0x100c2684]
comiss xmm7, xmm4
ja 0x1003c2d4
comiss xmm3, dword [edi + 0x9c]
jae 0x1003c2d4
test cl, cl
je 0x1003c16e
comiss xmm7, xmm3
jbe 0x1003c16e
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.10001610
movss xmm1, dword [edi + 0x5c]
lea eax, [ebp - 0x10]
divss xmm1, xmm0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push eax
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.10065550
movss xmm2, dword [0x100d2250]
movaps xmm1, xmm2
mov dword [esi + 0x14], 0
mulss xmm1, dword [ebp - 0x24]
push esi
mulss xmm2, dword [0x100c26c4]
addss xmm1, dword [ebp - 0x24]
divss xmm1, xmm2
xorps xmm2, xmm2
xorps xmm1, xmmword [0x100c32f0]
movss dword [esi + 0x10], xmm1
movss xmm1, dword [ebp - 0xc]
subss xmm1, dword [esi + 8]
xorps xmm1, xmmword [0x100c32f0]
call fcn.10068610
mov edi, dword [0x100d3a30]
movss xmm4, dword [0x100c2684]
mov ax, word [esi + 0x1e]
or ax, 4
movzx ecx, ax
and ecx, 0xfffd
mov word [esi + 0x1e], cx
mov eax, dword [edi + 0x4f4f0]
movss xmm2, dword [eax]
mulss xmm2, dword [0x100d2250]
mov eax, dword [0x10125598]
addss xmm2, dword [edi + 0x9c]
mulss xmm2, dword [0x100d2250]
sub eax, 0
je 0x1003c1e7
sub eax, 1
jne 0x1003c2d4
and ecx, 0xfffb
mov dword [0x101255a4], 5
or ecx, 2
mov dword [0x10125598], eax
mov word [esi + 0x1e], cx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007a635
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movss xmm3, dword [0x10125004]
comiss xmm3, dword [0x100c265c]
jb 0x1003c2d4
movaps xmm0, xmm2
movaps xmm1, xmm3
addss xmm0, xmm2
subss xmm1, xmm0
movss xmm0, dword [0x100c2660]
comiss xmm0, xmm1
jb 0x1003c2d4
movss xmm0, dword [0x10125000]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x1003c236
movsd xmm0, qword [0x100c25c8]
jmp 0x1003c23e
movsd xmm0, qword [0x100c25c0]
cvtps2pd xmm1, xmm3
subsd xmm1, xmm0
cvtps2pd xmm0, xmm2
divsd xmm1, xmm0
movsd xmm0, qword [0x100d23c8]
andps xmm1, xmmword [0x100c32d0]
ucomisd xmm0, xmm1
movsd qword [ebp - 0x28], xmm1
lahf
test ah, 0x44
jnp 0x1003c2ca
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x100d8a94
push 0x40
push 8
push dword [0x100d3f88]
call edi
movsd xmm0, qword [ebp - 0x28]
mulsd xmm0, qword [0x100c2610]
mov eax, dword [0x100d3f88]
push 0x100d8a94
movsd qword [eax], xmm0
push dword [0x100d8a94]
mov esi, dword [0x100d3f88]
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 [0x100d23c8], xmm0
mov dword [0x10125598], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1007a635
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret