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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2f4
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0x30]
xor eax, eax
cmp esi, ebx
push edi
mov ecx, 0xb2
lea edi, [esp + 0x34]
mov dword [esp + 0x30], ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
jne 0x455425
lea esi, [esp + 0x20]
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
push ecx
mov ecx, dword [ebp + 0x24]
push esi
push edx
mov edx, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x54]
push eax
push ecx
call fcn.004552b0
mov ecx, dword [esi]
add esp, 0x2c
cmp ecx, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x455466
mov dword [esi], ebx
cmp dword [esi + 4], 0xffffffff
jne 0x45546f
mov dword [esi + 4], ebx
cmp eax, ebx
jle 0x4555f5
mov edi, dword [ebp + 0xc]
mov eax, dword [esp + 0x14]
cmp dword [edi + 0x34], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], ebx
mov ebx, dword [ebp + 0x18]
jne 0x4554b1
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
jb 0x4554b1
lea edx, [esp + 0x1c]
push edx
push 0x40
push ecx
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
jmp 0x455539
mov ecx, dword [0x51946c]
test ecx, ecx
je 0x455601
mov ecx, dword [esi]
push eax
push ecx
call fcn.00444bc0
add esp, 8
test eax, eax
je 0x4554e8
mov edx, dword [edi + 0x34]
mov eax, dword [esi]
push 0x40
push 0x3000
push ebx
push edx
push eax
call dword [0x51946c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x455545
mov eax, dword [edi + 0xa0]
test eax, eax
je 0x455601
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x455601
mov ecx, dword [esi]
push 0x40
push 0x3000
push ebx
push 0
push ecx
call dword [0x51946c]
test eax, eax
mov dword [esp + 0xc], eax
je 0x455601
mov edx, dword [ebp + 0x14]
push eax
push edx
push edi
call fcn.00444b50
add esp, 0xc
mov eax, dword [esp + 0xc]
test eax, eax
je 0x455601
mov edx, dword [esp + 0xd4]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi]
push 4
lea ecx, [esp + 0x14]
push ecx
add edx, 8
push edx
push eax
mov dword [esp + 0x24], 0
call ebx
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push ecx
mov dword [edi + 0x34], eax
mov edx, dword [esi]
push eax
push edx
call ebx
test eax, eax
je 0x4555fc
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x30], 0x10007
jne 0x4555ae
mov eax, dword [edi + 0x28]
add eax, dword [edi + 0x34]
mov dword [esp + 0xe0], eax
jmp 0x4555ba
mov ecx, dword [edi + 0x28]
add ecx, eax
mov dword [esp + 0xe0], ecx
mov eax, dword [esi + 4]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test byte [ebp + 0x20], 4
jne 0x4555d9
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp + 0x30]
test eax, eax
jne 0x4555f1
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esi]
push eax
call edi
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or ebx, 0xffffffff
jmp 0x455606
mov ebx, 0xfffffffe
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov dword [esi + 4], 0
mov eax, dword [esi]
push eax
call edi
pop edi
mov dword [esi], 0
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret