Function at 0x25aaae0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
push edi
push ecx
lea edi, [ebp - 0x50]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x25aab20
jmp 0x25aad2a
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x3c]
push edx
mov ecx, dword [ebp - 4]
call fcn.025ac8a0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x18], eax
mov ecx, 8
imul edx, ecx, 6
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0x78]
mov edx, dword [eax + edx + 0x7c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
add ecx, dword [edx + 0x3c]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 4]
call fcn.025aa320
mov esi, esp
lea ecx, [ebp - 0x34]
push ecx
push 0x40
push 0x1000
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.026a5ffe
mov eax, 8
imul ecx, eax, 5
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + ecx + 0x78]
mov ecx, dword [edx + ecx + 0x7c]
mov edx, 8
imul edx, edx, 5
mov esi, dword [ebp - 0x10]
mov dword [esi + edx + 0x78], eax
mov dword [esi + edx + 0x7c], ecx
mov ecx, dword [ebp - 4]
call fcn.025aa3a0
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 4]
call fcn.025aa520
nop
mov ecx, 8
imul edx, ecx, 9
mov eax, dword [ebp - 0x2c]
cmp dword [eax + edx + 0x7c], 0
je 0x25aaca3
mov ecx, 8
imul edx, ecx, 9
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0x78]
push ecx
mov ecx, dword [ebp - 4]
call fcn.025ac8c0
mov dword [ebp - 0x3c], eax
mov edx, 8
imul eax, edx, 9
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + eax + 0x78]
push edx
mov ecx, dword [ebp - 4]
call fcn.025ac8c0
mov dword [ebp - 0x40], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x40]
cmp dword [ecx], 0
je 0x25aaca3
mov esi, esp
lea edx, [ebp - 0x4c]
push edx
push 4
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax + 4]
sub edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.026a5ffe
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov ecx, dword [edx + 4]
sub ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
push eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + edx]
push ecx
call fcn.026a8640
add esp, 0xc
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov ecx, dword [edx + 4]
sub ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
push edx
call fcn.026a8640
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x28]
push ecx
mov ecx, dword [ebp - 4]
call fcn.025ac8e0
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, 8
shl eax, 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + eax + 0x78]
mov eax, dword [ecx + eax + 0x7c]
mov ecx, 8
shl ecx, 0
mov esi, dword [ebp - 0x10]
mov dword [esi + ecx + 0x78], edx
mov dword [esi + ecx + 0x7c], eax
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + 6]
imul ecx, eax, 0x28
add ecx, 0xf8
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.026a8640
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x58], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, 8
imul eax, edx, 6
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov dword [ecx + eax + 0x78], edx
mov dword [ecx + eax + 0x7c], esi
push edx
mov ecx, ebp
push eax
lea edx, [0x25aad50]
call fcn.026a5faa
pop eax
pop edx
pop edi
pop esi
add esp, 0x50
cmp ebp, esp
call fcn.026a5ffe
mov esp, ebp
pop ebp
ret 4