Function at 0x10011460
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x1c
mov edx, dword [0x100d2a10]
mov al, dl
sub al, byte [0x100d2a08]
push ebx
mov ebx, dword [0x100d2a14]
sub al, 0x11
mov byte [esp + 4], al
mov eax, dword [0x100d2a0c]
push ebp
lea ecx, [ebx + edx]
mov dword [0x101c7874], 0x100d70a8
add ecx, dword [0x100d2a00]
add ecx, edx
add edx, 0xffff23a6
push esi
push edi
push 0x55f4
lea eax, [eax + ecx*2]
add edx, eax
mov eax, dword [esp + 0x2c]
add eax, 0xffffffe4
push 0x100ab628
push 0x100d70a8
lea ecx, [edx + ebx]
add bl, 3
add eax, ecx
movzx eax, ax
mov dword [0x100d2a08], eax
mov al, byte [esp + 0x1c]
add al, bl
mov byte [esp + 0x1c], al
movzx esi, al
mov eax, edx
sub eax, esi
sub eax, 6
mov dword [0x100d2a10], eax
imul eax, eax, 0x5a
sub eax, esi
add edx, eax
mov dword [0x100d2a00], edx
call fcn.100470a0
mov ebx, dword [0x100d2a08]
add esp, 0xc
mov ecx, dword [0x100d2a14]
mov edi, 0x10fab5f
mov eax, dword [0x100d2a04]
sub ebx, ecx
mov dl, byte [esp + 0x10]
add ecx, 0xffff23fa
sub esi, dword [0x100d2a10]
sub ebx, 0x11
add dl, dl
mov dword [esp + 0x24], ebx
sub esi, 0x11
lea eax, [ecx + eax*2]
add eax, ebx
mov dword [0x100d2a04], eax
sub eax, dword [esp + 0x28]
sub eax, 0x4c
mov dword [esp + 0x28], edi
sub dl, al
mov dword [esp + 0x1c], eax
movzx ecx, dl
add cx, bx
mov dword [0x100d2a14], eax
add cx, si
lea eax, [eax + eax*2]
mov esi, 0x11c5
add cx, si
add cx, cx
add cx, ax
movzx eax, dl
add cx, bx
imul eax, eax, 0x5b
add cx, word [0x100d2a0c]
add cx, word [esp + 0x10]
movzx esi, cx
mov ecx, dword [esp + 0x1c]
sub al, cl
mov dword [0x100d2a08], esi
movzx edx, al
add al, al
mov dword [esp + 0x20], 0xd
sub al, cl
mov dword [esp + 0x18], 0x75
movzx ecx, al
mov ebp, 0x9f
imul eax, ecx, 0xa7fd
sub eax, ebx
imul eax, eax, 0x5a
sub eax, ecx
sub eax, ebx
add eax, 0x394
mov dword [esp + 0x14], eax
mov dword [0x100d2a0c], eax
mov eax, dword [esp + 0x1c]
lea ebx, [eax + edx]
sub dl, 6
add bl, bl
sub bl, al
add bl, dl
mov edx, eax
add bl, byte [esp + 0x24]
nop
xor eax, eax
test esi, esi
sete al
xor ecx, ecx
test edx, edx
mov dword [esp + 0x1c], eax
sete cl
mov dword [esp + 0x24], ecx
mov dword [0x100d2a10], ecx
test ecx, ecx
je 0x10011610
movzx eax, bl
add eax, ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0xffffffe4
add ecx, eax
jmp 0x10011614
mov ecx, dword [esp + 0x1c]
movzx eax, bl
add ecx, 0xffffffe4
add eax, edx
add ecx, eax
test esi, esi
sete al
mov byte [esp + 0x10], al
test al, al
je 0x10011641
movzx eax, al
sub ecx, eax
mov al, byte [esp + 0x10]
sub ecx, 0x4c
mov dword [esp + 0x24], ecx
mov dword [0x100d2a10], ecx
mov bl, 2
mov ecx, 0
sub bl, dl
sub bl, al
mov al, bl
add al, al
add bl, al
sub bl, dl
sete cl
mov dword [esp + 0x10], ecx
mov dword [0x100d2a00], ecx
test ecx, ecx
je 0x10011689
imul ecx, dword [esp + 0x24], 0x5a
mov edi, dword [esp + 0x28]
movzx eax, bl
sub ecx, eax
movzx eax, bl
add dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
imul ebx, eax, 0x5b
mov dword [0x100d2a00], ecx
sub bl, dl
movzx eax, bl
cmp edi, 1
jb 0x10011739
cmp eax, esi
jbe 0x100116bd
imul eax, edx, 0xa7fd
sub eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [0x100d2a0c], eax
lea eax, [eax + ecx*2]
add eax, 0xffff23fa
add eax, esi
mov dword [0x100d2a00], eax
jmp 0x100116c5
mov al, byte [esp + 0x14]
sub al, 0xd
add bl, al
call fcn.10011380
mov esi, dword [0x100d2a00]
cmp esi, 0xf197
jbe 0x1001170d
imul eax, dword [0x100d2a14], 0x5a
add bl, bl
sub esi, dword [0x100d2a14]
sub bl, 0x1c
mov edx, dword [0x100d2a04]
sub esi, 6
mov dword [0x100d2a08], esi
sub eax, esi
add edx, eax
mov dword [0x100d2a04], edx
add bl, dl
mov dword [0x100d2a14], edx
jmp 0x10011719
mov esi, dword [0x100d2a08]
mov edx, dword [0x100d2a14]
mov ecx, edx
movzx eax, bl
sub ecx, esi
dec edi
sub ecx, 0x11
mov dword [esp + 0x28], edi
cmp ecx, eax
jae 0x100115e0
add bl, bl
sub bl, dl
jmp 0x100115e0
sub ecx, eax
mov dword [esp + 0x1c], 0x10fab5f
sub ecx, 0x4c
add bl, bl
mov dword [esp + 0x10], ecx
sub bl, 0x1c
mov edi, dword [esp + 0x10]
add bl, dl
mov dword [0x100d2a10], ecx
lea ecx, [esi + 3]
add ecx, edx