Function at 0x10002990
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], 0x67d2c1
mov eax, 0x1004e9eb
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 - 0xc], 5
mov dword [ebp - 4], 0x418c56
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x2700
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 - 0xc], 5
mov dword [ebp - 4], 0x4dcb53
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [edx], 0x2200
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 - 0xc], 5
mov dword [ebp - 4], 0x54883c
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 0xb00
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 - 0xc], 2
mov dword [ebp - 4], 0x4569d3
mov edx, dword [ebp - 4]
mov byte [edx], 0xeb
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], 0x504902
mov eax, dword [ebp - 4]
mov byte [eax], 0xeb
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], 0x43e794
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xeb
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], 0x4fa693
mov edx, dword [ebp - 4]
mov byte [edx], 0xeb
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], 0x429ec8
mov eax, dword [ebp - 4]
mov byte [eax], 0xeb
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], 0x43d486
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xeb
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], 0x502dec
mov edx, dword [ebp - 4]
mov byte [edx], 0xeb
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], 0x471803
mov eax, dword [ebp - 4]
mov byte [eax], 0xeb
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], 0x471c76
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xeb
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], 0x471a34
mov edx, dword [ebp - 4]
mov byte [edx], 0xeb
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 - 0xc], 5
mov dword [ebp - 4], 0x43da4d
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 dword [edx], 0x86
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], 0x43e61a
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 dword [ecx], 0x86
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 - 0xc], 2
mov dword [ebp - 4], 0x43bd16
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xeb
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 - 0xc], 2
mov dword [ebp - 4], 0x62dd25
mov edx, dword [ebp - 4]
mov byte [edx], 0xeb
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 - 0xc], 2
mov dword [ebp - 4], 0x420764
mov eax, dword [ebp - 4]
mov byte [eax], 0xeb
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 - 0xc], 2
mov dword [ebp - 4], 0x4ce357
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xeb
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], 0x41f980
mov edx, dword [ebp - 4]
mov dword [edx], 0x90909090
mov dword [ebp - 4], 0x41f984
mov eax, dword [ebp - 4]
mov byte [eax], 0x90
mov dword [ebp - 0xc], 5
mov dword [ebp - 4], 0x5cb212
mov ecx, 0x1004f740
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 - 0xc], 2
mov dword [ebp - 4], 0x608841
mov eax, dword [ebp - 4]
mov word [eax], 0xceb
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 - 0xc], 5
mov dword [ebp - 4], 0x6087e2
mov ecx, 0x1004f769
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 - 0xc], 5
mov dword [ebp - 4], 0x535448
mov eax, 0x1004fa02
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 word [ecx], 0x9090
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 - 0xc], 3
mov dword [ebp - 4], 0x4781a1
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov byte [eax], 2
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 - 0xc], 6
mov dword [ebp - 4], 0x4781a4
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov byte [edx], 0x87
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 - 0xc], 2
mov dword [ebp - 4], 0x68e54e
mov eax, dword [ebp - 4]
mov byte [eax], 0xeb
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 - 0xc], 2
mov dword [ebp - 4], 0x68e643
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xeb
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 - 0xc], 2
mov dword [ebp - 4], 0x68e668
mov edx, dword [ebp - 4]
mov byte [edx], 0xeb
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 - 0xc], 2
mov dword [ebp - 4], 0x68e690
mov eax, dword [ebp - 4]
mov byte [eax], 0xeb
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 - 0xc], 2
mov dword [ebp - 4], 0x68e73d
mov ecx, dword [ebp - 4]
mov byte [ecx], 0xeb
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 - 0xc], 2
mov dword [ebp - 4], 0x68e7d4
mov edx, dword [ebp - 4]
mov byte [edx], 0xeb
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 - 0xc], 7
mov dword [ebp - 4], 0x6dff49
mov eax, dword [ebp - 4]
add eax, 3
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 0xffffffff
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 - 0xc], 2
mov dword [ebp - 4], 0x6dff50
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov byte [eax], 0x28
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 - 0xc], 7
mov dword [ebp - 4], 0x6dff55
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [edx], 0xb2
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 - 0xc], 2
mov dword [ebp - 4], 0x6dff5c
mov eax, dword [ebp - 4]
mov byte [eax], 0x74
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 - 0xc], 5
mov dword [ebp - 4], 0x6faf53
mov ecx, 0x1004fa70
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 - 0xc], 2
mov dword [ebp - 4], 0x4841ce
mov eax, dword [ebp - 4]
mov byte [eax], 0xeb
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