Function at 0x1113dcd0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Hook routines via microsoft detours

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
cmp esi, 0x7ff80000
push edi
jbe 0x1113dd0f
lea ebx, [esi - 0x7ff80000]
mov edi, esi
cmp ebx, 0x10000
mov dword [esp + 0x10], ebx
jne 0x1113dcfb
mov edi, dword [esp + 0x38]
cmp esi, 0x80000000
jae 0x1113dd1d
lea ebp, [esi + 0x7ff80000]
mov dword [esp + 0x34], ebp
jmp 0x1113dd29
mov dword [esp + 0x10], 0x10000
mov ebx, dword [esp + 0x10]
jmp 0x1113dcf7
mov dword [esp + 0x34], 0xfff80000
mov ebp, dword [esp + 0x34]
mov eax, dword [0x111e1498]
mov edx, dword [0x111e1494]
test eax, eax
jne 0x1113dd43
test edx, edx
je 0x1113dd56
mov eax, edx
mov dword [0x111e1498], eax
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1113dd56
cmp ecx, ebx
jb 0x1113dd56
cmp ecx, ebp
jbe 0x1113dedf
mov eax, edx
test edx, edx
mov dword [0x111e1498], eax
je 0x1113dd84
test eax, eax
je 0x1113dd78
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1113dd78
cmp ecx, ebx
jb 0x1113dd78
cmp ecx, ebp
jbe 0x1113dedf
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x111e1498], eax
jne 0x1113dd65
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp edi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jbe 0x1113ddff
cmp edi, 0x70000000
jb 0x1113ddb2
cmp edi, 0x80000000
ja 0x1113ddb2
mov edi, 0x6fff0000
lea ecx, [esp + 0x14]
push 0x1c
push ecx
push edi
call ebp
test eax, eax
je 0x1113ddff
mov ecx, dword [esp + 0x24]
mov eax, 0x10000
cmp ecx, eax
jne 0x1113ddd3
cmp dword [esp + 0x20], eax
jae 0x1113dde7
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
lea edi, [edx - 0x10000]
cmp edi, eax
ja 0x1113dd9d
jmp 0x1113ddff
push 0x40
push 0x3000
push eax
push edi
call ebx
test eax, eax
mov dword [0x111e1498], eax
jne 0x1113de8c
mov edi, dword [esp + 0x34]
cmp esi, edi
jae 0x1113de82
cmp esi, 0x70000000
jb 0x1113de1c
cmp esi, 0x80000000
ja 0x1113de1c
mov esi, 0x80010000
lea eax, [esp + 0x14]
push 0x1c
push eax
push esi
call ebp
test eax, eax
je 0x1113de82
mov eax, dword [esp + 0x24]
mov edx, 0x10000
cmp eax, edx
jne 0x1113de73
cmp dword [esp + 0x20], edx
jb 0x1113de73
mov ecx, esi
and ecx, 0xffff
je 0x1113de5f
mov esi, dword [esp + 0x20]
mov eax, edx
sub eax, ecx
sub esi, eax
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x14]
add esi, eax
mov dword [esp + 0x14], esi
push 0x40
push 0x3000
push edx
push esi
call ebx
test eax, eax
mov dword [0x111e1498], eax
jne 0x1113de8c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
lea esi, [ecx + edx]
cmp esi, edi
jb 0x1113de07
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov dword [eax], 0x52727464
mov eax, dword [0x111e1498]
xor ecx, ecx
mov dword [eax + 8], ecx
mov edx, dword [0x111e1498]
mov eax, dword [0x111e1494]
mov dword [edx + 4], eax
mov eax, dword [0x111e1498]
mov dword [0x111e1494], eax
add eax, 0xffcc
mov edx, 0x719
mov dword [eax + 0x18], ecx
mov ecx, eax
sub eax, 0x24
dec edx
jne 0x1113debe
mov edx, dword [0x111e1498]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x10]
mov dword [edx + 8], ecx
mov eax, dword [0x111e1498]
mov edx, dword [eax + 8]
cmp edx, ebx
jb 0x1113de82
cmp edx, ebp
ja 0x1113de82
mov ecx, dword [edx + 0x18]
mov edi, edx
mov dword [eax + 8], ecx
mov ecx, 9
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 0x20
ret