Function at 0x10109b00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101594cc
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
push ebx
push esi
push edi
lea edi, [ebp - 0x1e8]
mov ecx, 0x77
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10191a80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x101997a0
call fcn.1014e9b0
mov eax, dword [0x101982fc]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x10198290]
cmp eax, dword [edx + 4]
jle 0x10109bba
push 0x10198290
call fcn.1014f480
add esp, 4
cmp dword [0x10198290], 0xffffffff
jne 0x10109bba
mov dword [ebp - 4], 0
push 0x28
mov ecx, 0x10198268
call fcn.1012a200
mov ecx, 0x10198268
call fcn.100f0960
push 0x1015c040
call fcn.1014f3e0
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x10198290
call fcn.1014f430
add esp, 4
lea eax, [ebp + 8]
push eax
mov ecx, 0x10198268
call fcn.100fc180
movzx ecx, byte [eax]
test ecx, ecx
je 0x10109bf1
mov eax, dword [ebp + 8]
push eax
call fcn.1010ab00
add esp, 4
lea eax, [ebp + 8]
push eax
mov ecx, 0x10198268
call fcn.100fc180
mov byte [eax], 0
jmp 0x10109d55
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov esi, esp
lea eax, [ebp - 0x160]
push eax
push 0xf
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x184]
push edx
push 0x10197c10
call dword [sym.imp.Zydis.dll_ZydisDecoderDecodeInstruction]
add esp, 0x14
cmp esi, esp
call fcn.1014e980
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x190]
and eax, 0x80000000
jne 0x10109d55
movzx eax, byte [ebp - 0x158]
mov dword [ebp - 0x19c], eax
lea ecx, [ebp - 0x295]
call fcn.100ece90
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x19c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x28c]
call fcn.100b7a20
mov dword [ebp - 0x2a0], eax
mov edx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2a8]
push ecx
lea edx, [ebp + 8]
push edx
mov ecx, 0x10198080
call fcn.100fc120
mov ecx, eax
call fcn.100fa690
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.100f82d0
mov esi, esp
lea eax, [ebp - 0x1a8]
push eax
push 0x40
mov ecx, dword [ebp - 0x19c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1014e980
test eax, eax
je 0x10109d44
mov dword [ebp - 0x1b4], 0
jmp 0x10109d00
mov eax, dword [ebp - 0x1b4]
add eax, 1
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b4]
cmp eax, dword [ebp - 0x19c]
jae 0x10109d1c
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x1b4]
mov byte [eax], 0x90
jmp 0x10109cf1
mov esi, esp
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp - 0x1a8]
push ecx
mov edx, dword [ebp - 0x19c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1014e980
lea eax, [ebp + 8]
push eax
mov ecx, 0x10198268
call fcn.100fc180
mov byte [eax], 1
push edx
mov ecx, ebp
push eax
lea edx, [0x10109d90]
call fcn.1014e920
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014e9f0
add esp, 0x2a8
cmp ebp, esp
call fcn.1014e980
mov esp, ebp
pop ebp
ret