Function at 0x1000ddf0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 8], edx
lea eax, [ebp - 0x48]
mov dword [ebp - 0x28], 0
push eax
mov esi, ecx
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, 0x1000
mov eax, esi
cmp dword [ebp - 0x2c], ecx
cmova ecx, dword [ebp - 0x2c]
xor edx, edx
div ecx
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, eax
xor ebx, ebx
imul esi, ecx
cmp dword [ebp - 8], esi
jae 0x1000deb1
nop dword [eax]
cmp esi, dword [ebp + 8]
jae 0x1000dea6
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1000dea6
cmp dword [ebp - 0x14], 0x10000
jne 0x1000de89
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x18], eax
jb 0x1000de89
push 0x40
push 0x3000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
movd xmm0, edi
pshufd xmm2, xmm0, 0
test edi, edi
jne 0x1000e0b1
lea ecx, [ebx + 1]
and ebx, 1
lea eax, [ebx*2 - 1]
mov ebx, ecx
imul eax, ecx
imul eax, dword [ebp - 4]
add esi, eax
cmp dword [ebp - 8], esi
jb 0x1000de40
test edi, edi
jne 0x1000e284
mov ecx, dword [ebp - 4]
push 0x40
push 0x3000
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
movd xmm0, esi
pshufd xmm2, xmm0, 0
test esi, esi
je 0x1000e0a8
mov eax, 0x8d3dcb09
mov dword [esi + 0x6c], 0
mul dword [ebp - 4]
lea eax, [esi + 0x74]
mov ebx, 1
mov edi, edx
mov dword [esi + 0x70], eax
shr edi, 6
lea eax, [edi - 1]
cmp edi, ebx
jbe 0x1000e08a
cmp eax, 8
jb 0x1000e068
cmp dword [0x1008bf1c], 2
jl 0x1000e068
movaps xmm5, xmmword [0x10060100]
lea ecx, [esi + 0x154]
movaps xmm3, xmmword [str.tttt]
and eax, 7
movaps xmm4, xmmword [0x100600f0]
mov edx, edi
sub edx, eax
nop word [eax + eax]
movd xmm0, ebx
lea eax, [ebx + 4]
pshufd xmm1, xmm0, 0
lea ecx, [ecx + 0x3a0]
paddd xmm1, xmm5
add ebx, 8
movaps xmm0, xmm1
paddd xmm1, xmm4
psubd xmm0, xmm4
pmulld xmm0, xmm3
paddd xmm0, xmm2
movd dword [ecx - 0x414], xmm0
psrldq xmm0, 4
movd dword [ecx - 0x3a0], xmm0
psrldq xmm0, 4
movd dword [ecx - 0x32c], xmm0
psrldq xmm0, 4
movd dword [ecx - 0x2b8], xmm0
movd xmm0, eax
pmulld xmm1, xmm3
paddd xmm1, xmm2
movd dword [ecx - 0x410], xmm1
psrldq xmm1, 4
movd dword [ecx - 0x39c], xmm1
psrldq xmm1, 4
movd dword [ecx - 0x328], xmm1
psrldq xmm1, 4
movd dword [ecx - 0x2b4], xmm1
pshufd xmm1, xmm0, 0
paddd xmm1, xmm5
movaps xmm0, xmm1
paddd xmm1, xmm4
psubd xmm0, xmm4
pmulld xmm0, xmm3
paddd xmm0, xmm2
movd dword [ecx - 0x244], xmm0
psrldq xmm0, 4
movd dword [ecx - 0x1d0], xmm0
psrldq xmm0, 4
movd dword [ecx - 0x15c], xmm0
psrldq xmm0, 4
movd dword [ecx - 0xe8], xmm0
pmulld xmm1, xmm3
paddd xmm1, xmm2
movd dword [ecx - 0x240], xmm1
psrldq xmm1, 4
movd dword [ecx - 0x1cc], xmm1
psrldq xmm1, 4
movd dword [ecx - 0x158], xmm1
psrldq xmm1, 4
movd dword [ecx - 0xe4], xmm1
cmp ebx, edx
jb 0x1000df40
cmp ebx, edi
jae 0x1000e08a
imul eax, ebx, 0x74
lea ecx, [esi + 0x6c]
mov edx, edi
add ecx, eax
sub edx, ebx
lea eax, [ecx - 0xe0]
mov dword [ecx], eax
lea eax, [ecx + 8]
mov dword [ecx + 4], eax
lea ecx, [ecx + 0x74]
sub edx, 1
jne 0x1000e074
mov eax, dword [0x1008cd58]
imul ecx, edi, 0x74
mov dword [ecx + esi - 4], eax
mov edx, dword [0x1008cd58]
test edx, edx
je 0x1000e0a8
lea eax, [ecx - 0x74]
add eax, esi
mov dword [edx + 0x6c], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x8d3dcb09
mov dword [edi + 0x6c], 0
mul dword [ebp - 4]
lea eax, [edi + 0x74]
mov ebx, 1
mov esi, edx
mov dword [edi + 0x70], eax
shr esi, 6
lea eax, [esi - 1]
cmp esi, ebx
jbe 0x1000e266
cmp eax, 8
jb 0x1000e23e
cmp dword [0x1008bf1c], 2
jl 0x1000e23e
movaps xmm5, xmmword [0x10060100]
lea ecx, [edi + 0x154]
movaps xmm3, xmmword [str.tttt]
and eax, 7
movaps xmm4, xmmword [0x100600f0]
mov edx, esi
sub edx, eax
movd xmm0, ebx
lea eax, [ebx + 4]
pshufd xmm1, xmm0, 0
lea ecx, [ecx + 0x3a0]
paddd xmm1, xmm5
add ebx, 8
movaps xmm0, xmm1
psubd xmm0, xmm4
pmulld xmm0, xmm3
paddd xmm0, xmm2
movd dword [ecx - 0x414], xmm0
psrldq xmm0, 4
movd dword [ecx - 0x3a0], xmm0
psrldq xmm0, 4
movd dword [ecx - 0x32c], xmm0
psrldq xmm0, 4
movd dword [ecx - 0x2b8], xmm0
movaps xmm0, xmm4
paddd xmm0, xmm1
pmulld xmm0, xmm3
paddd xmm0, xmm2
movd dword [ecx - 0x410], xmm0
psrldq xmm0, 4
movd dword [ecx - 0x39c], xmm0
psrldq xmm0, 4
movd dword [ecx - 0x328], xmm0
psrldq xmm0, 4
movd dword [ecx - 0x2b4], xmm0
movd xmm0, eax
pshufd xmm1, xmm0, 0
paddd xmm1, xmm5
movaps xmm0, xmm1
paddd xmm1, xmm4
psubd xmm0, xmm4
pmulld xmm0, xmm3
paddd xmm0, xmm2
movd dword [ecx - 0x244], xmm0
psrldq xmm0, 4
movd dword [ecx - 0x1d0], xmm0
psrldq xmm0, 4
movd dword [ecx - 0x15c], xmm0
psrldq xmm0, 4
movd dword [ecx - 0xe8], xmm0
pmulld xmm1, xmm3
paddd xmm1, xmm2
movd dword [ecx - 0x240], xmm1
psrldq xmm1, 4
movd dword [ecx - 0x1cc], xmm1
psrldq xmm1, 4
movd dword [ecx - 0x158], xmm1
psrldq xmm1, 4
movd dword [ecx - 0xe4], xmm1
cmp ebx, edx
jb 0x1000e113
cmp ebx, esi
jae 0x1000e266
imul eax, ebx, 0x74
lea ecx, [edi + 0x6c]
mov edx, esi
add ecx, eax
sub edx, ebx
nop word [eax + eax]
lea eax, [ecx - 0xe0]
mov dword [ecx], eax
lea eax, [ecx + 8]
mov dword [ecx + 4], eax
lea ecx, [ecx + 0x74]
sub edx, 1
jne 0x1000e250
mov eax, dword [0x1008cd58]
imul ecx, esi, 0x74
mov dword [ecx + edi - 4], eax
mov edx, dword [0x1008cd58]
test edx, edx
je 0x1000e284
lea eax, [ecx - 0x74]
add eax, edi
mov dword [edx + 0x6c], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret