Function at 0x1000d8f0
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, dword [ebx + 8]
push edi
mov edi, ecx
test esi, esi
je 0x1000db32
movups xmm0, xmmword [0x100d1c30]
mov dword [ebp - 0x30], 0xb8909090
mov byte [ebp - 0x28], 0xba
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x23], 0xd2ff
psrldq xmm0, 0xf
movd eax, xmm0
mov byte [ebp - 0x21], 0xc3
test al, al
je 0x1000daab
xor ecx, ecx
cmp dword [0x10136734], 2
jl 0x1000da81
movaps xmm0, xmmword [str.0000000000000000_t]
movaps xmm4, xmmword [0x100d1c70]
movaps xmm3, xmmword [0x100d1cb0]
movaps xmm5, xmmword [str.::::]
movaps xmmword [ebp - 0x20], xmm0
mov edx, dword [ebp - 0x20]
nop dword [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x100d1c90]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x40]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x40], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x100d1c90]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x3c]
xorps xmm1, xmm0
movd dword [ebp + ecx - 0x3c], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x1000d980
jmp 0x1000daab
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x3a
sub dl, al
add dl, 0x30
xor byte [ebp + ecx - 0x40], dl
inc ecx
cmp ecx, 0x10
jl 0x1000da81
mov ax, word [0x100d1c2c]
movq xmm0, qword [0x100d1c24]
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x14], ax
test ah, ah
je 0x1000daf7
xor edx, edx
mov dword [ebp - 4], edx
nop dword [eax + eax]
mov eax, 0x8d3dcb09
mul edx
shr edx, 5
movsx eax, dl
mov edx, dword [ebp - 4]
mov cl, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x30
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0xa
jl 0x1000dad0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x3000
push 0x10
mov eax, dword [eax]
push 0
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x2c], esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [edi], eax
test eax, eax
je 0x1000db32
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [eax], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4