Function at 0x4a8ef0
Capabilities:
Allocate or change rwx memory
Print debug messages
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d91b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x234], 0
push 0x1ff
push 0
lea eax, [ebp - 0x233]
push eax
call fcn.004f8090
add esp, 0xc
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.004fa700
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x40000
jbe 0x4a914a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x23c]
call fcn.0044f320
mov dword [ebp - 4], 0
mov dword [ebp - 0x238], 0x9090feeb
push 0
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x234]
push edx
call fcn.004a9840
add esp, 0x14
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea ecx, [ebp - 0x14]
push ecx
push 4
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4a9097
push str._ERROR_._MPPLUGIN_._ProcessPowerPoint__ReadProcessMemory_success_
lea eax, [ebp - 0x23c]
push eax
call fcn.00451560
add esp, 8
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x14]
push edx
push 4
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x3e8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea ecx, [ebp - 0x14]
push ecx
push 4
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x28], eax
jmp 0x4a90e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x244]
push eax
push str._ERROR_._MPPLUGIN_._ProcessPowerPoint__ReadProcessMemory_FAIL___d_0x_x__EntryPoint__0x_x_PID:__d_dwErr_d
lea ecx, [ebp - 0x23c]
push ecx
call fcn.00451560
add esp, 0x1c
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
lea eax, [ebp - 0x1c]
push eax
push str.PPCORE.DLL
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call fcn.004a9640
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4a9109
jmp 0x4a9126
push 0
lea eax, [ebp - 0x1c]
push eax
push str.PPCORE.DLL
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call fcn.004a9640
add esp, 0x10
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x2c], 0x7a120
jbe 0x4a9136
mov dword [ebp - 0x10], 0x34000
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.0044f990
jmp 0x4a916a
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x234]
push eax
call fcn.004a9840
add esp, 0x14
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4a918d
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.004a8930
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret