Function at 0xb0029f0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Enumerate pe sections
Resume thread
Terminate process
Use process replacement

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
push 0x10
push 0
lea eax, [ebp - 0x2e8]
push eax
call fcn.0b001e00
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x338]
push ecx
call fcn.0b001e00
add esp, 0xc
mov dword [ebp - 0x338], 0x44
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x33c], eax
mov ecx, dword [ebp - 0x33c]
movzx edx, word [ecx + 0x14]
mov eax, dword [ebp - 0x33c]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0x2ec], ecx
mov edx, dword [ebp - 0x33c]
mov eax, dword [edx + 0x50]
mov dword [ebp - 4], eax
push 0x40
push 0x3000
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0xb002a81
xor eax, eax
jmp 0xb002ecc
lea edx, [ebp - 0x2e8]
push edx
lea eax, [ebp - 0x338]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0xb002ac3
push 0x8000
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0xb002ecc
push 0x40
push 0x3000
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x33c]
mov edx, dword [ecx + 0x34]
push edx
mov eax, dword [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x340], 0
jne 0xb002b5e
push 0x40
push 0x103000
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x2e8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x340], 0
jne 0xb002b5e
push 0
mov eax, dword [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x2e8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2e4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0xb002ecc
mov ecx, dword [ebp - 0x33c]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0b001eb0
add esp, 0xc
mov dword [ebp - 0x344], 0
jmp 0xb002b93
mov edx, dword [ebp - 0x344]
add edx, 1
mov dword [ebp - 0x344], edx
mov eax, dword [ebp - 0x33c]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x344], ecx
jae 0xb002bf1
mov edx, dword [ebp - 0x344]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [eax + edx + 0x10]
push ecx
mov edx, dword [ebp - 0x344]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx + 0x14]
push ecx
mov edx, dword [ebp - 0x344]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x2ec]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + edx + 0xc]
push ecx
call fcn.0b001eb0
add esp, 0xc
jmp 0xb002b84
mov edx, dword [ebp - 0x340]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.0b002830
add esp, 8
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x340]
push eax
mov ecx, dword [ebp - 0x2e8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0xb002c67
push 0
mov edx, dword [ebp - 0x2e8]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x2e4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0xb002ecc
push 0x8000
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [ebp - 0x2d8], 0x10007
lea ecx, [ebp - 0x2d8]
push ecx
mov edx, dword [ebp - 0x2e4]
push edx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0xb002cca
push 0
mov eax, dword [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x2e8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2e4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0xb002ecc
push 0
push 4
lea eax, [ebp - 0x340]
push eax
mov ecx, dword [ebp - 0x234]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x2e8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0xb002d20
push 0
mov eax, dword [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x2e8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2e4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0xb002ecc
mov eax, dword [ebp - 0x33c]
mov ecx, dword [ebp - 0x340]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x228], ecx
cmp dword [ebp + 0x10], 0
je 0xb002e67
cmp dword [ebp + 0x14], 0
jbe 0xb002e67
push 4
push 0x3000
mov edx, dword [ebp + 0x14]
add edx, 4
push edx
push 0
mov eax, dword [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x348], eax
cmp dword [ebp - 0x348], 0
je 0xb002e67
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x348]
push eax
mov ecx, dword [ebp - 0x2e8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0xb002db2
mov edx, dword [ebp - 0x348]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x23c], eax
jmp 0xb002dc6
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
push 4
push 0x3000
push 0x20
push 0
mov ecx, dword [ebp - 0x2e8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x34c], eax
cmp dword [ebp - 0x34c], 0
je 0xb002e67
mov edx, dword [ebp - 0x348]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x350], edx
push 0
push 0x20
push 0xb005370
mov eax, dword [ebp - 0x34c]
push eax
mov ecx, dword [ebp - 0x2e8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0xb002e3e
push 0
push 4
lea edx, [ebp - 0x34c]
push edx
mov eax, dword [ebp - 0x350]
push eax
mov ecx, dword [ebp - 0x2e8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0xb002e67
mov dword [ebp - 0x354], 0
push 0
push 4
lea edx, [ebp - 0x354]
push edx
mov eax, dword [ebp - 0x350]
push eax
mov ecx, dword [ebp - 0x2e8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea edx, [ebp - 0x2d8]
push edx
mov eax, dword [ebp - 0x2e4]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0xb002ea1
mov ecx, dword [ebp - 0x2e4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [ebp - 0x2e8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2e4]
jmp 0xb002ecc
push 0
mov eax, dword [ebp - 0x2e8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x2e4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2e8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret