Function at 0x10007960
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0x40
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x418deb
mov eax, 0x10031b30
add eax, 6
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
mov byte [edx], 0xe9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 0x90
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0x41925f
mov edx, 0x10031ba6
add edx, 6
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xe9
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
add edx, 5
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov byte [eax], 0x90
lea ecx, [ebp - 8]
push ecx
push 0x40
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0x418d59
mov ecx, 0x100319d0
add ecx, 6
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 4]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
add ecx, 5
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov byte [edx], 0x90
lea eax, [ebp - 8]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0x66a2c4
mov eax, 0x10031a8d
add eax, 6
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
mov byte [edx], 0xe9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov byte [ecx], 0x90
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0x661858
mov edx, 0x10031add
add edx, 6
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xe9
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
add edx, 5
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov byte [eax], 0x90
lea ecx, [ebp - 8]
push ecx
push 0x40
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret