Function at 0x1000be30
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Enumerate process modules
Execute shellcode via indirect call
Resume thread
Suspend thread
Use process replacement

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xd230
call fcn.1001c920
mov eax, dword [0x1006b850]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x1004b6e8
call fcn.1001c721
add esp, 4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x5038]
push ecx
call fcn.10043a30
add esp, 8
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
lea ecx, [ebp - 0x5038]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0xd1fc], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov dword [ebp - 0xd19c], eax
push 0x1004b6f4
push 0x1004b710
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xd204], eax
mov dword [ebp - 0xd20c], 0x18
lea ecx, [ebp - 0xd20c]
push ecx
push 0x18
lea edx, [ebp - 0xd230]
push edx
push 0
mov eax, dword [ebp - 0xd19c]
push eax
call dword [ebp - 0xd204]
mov dword [ebp - 0xd1d0], 0
mov ecx, dword [ebp - 0xd22c]
mov dword [ebp - 0xd1d0], ecx
mov edx, dword [ebp - 0xd1d0]
push edx
push 0x1004b71c
call fcn.1001c721
add esp, 8
mov dword [ebp - 0xd1a0], 0x1000
lea eax, [ebp - 0xd1a0]
push eax
push 0x1000
lea ecx, [ebp - 0x8038]
push ecx
mov edx, dword [ebp - 0xd1d0]
push edx
mov eax, dword [ebp - 0xd19c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0x8030]
mov dword [ebp - 0xd1c4], ecx
mov edx, dword [ebp - 0xd1c4]
push edx
push 0x1004b724
call fcn.1001c721
add esp, 8
lea eax, [ebp - 0xd1a0]
push eax
push 0x40
lea ecx, [ebp - 0xd0a0]
push ecx
mov edx, dword [ebp - 0xd1c4]
push edx
mov eax, dword [ebp - 0xd19c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea ecx, [ebp - 0xd1a0]
push ecx
push 0xf8
lea edx, [ebp - 0xd198]
push edx
mov eax, dword [ebp - 0xd1c4]
add eax, dword [ebp - 0xd064]
push eax
mov ecx, dword [ebp - 0xd19c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [ebp - 0xd1c4]
add edx, dword [ebp - 0xd170]
mov dword [ebp - 0xd1a4], edx
mov eax, dword [ebp - 0xd1a4]
push eax
push 0x1004b72c
call fcn.1001c721
add esp, 8
mov byte [ebp - 0xd1b8], 0xeb
mov byte [ebp - 0xd1b7], 0xfe
lea ecx, [ebp - 0xd1a0]
push ecx
push 0x1000
lea edx, [ebp - 0x6038]
push edx
mov eax, dword [ebp - 0xd1a4]
push eax
mov ecx, dword [ebp - 0xd19c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [ebp - 0xd1b4], 0
mov dword [ebp - 0xd1d8], 0
lea edx, [ebp - 0xd1b4]
push edx
push 0x40
push 2
mov eax, dword [ebp - 0xd1a4]
push eax
mov ecx, dword [ebp - 0xd19c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea edx, [ebp - 0xd1a0]
push edx
push 2
lea eax, [ebp - 0xd1b8]
push eax
mov ecx, dword [ebp - 0xd1a4]
push ecx
mov edx, dword [ebp - 0xd19c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0xd1d8]
push eax
mov ecx, dword [ebp - 0xd1b4]
push ecx
push 2
mov edx, dword [ebp - 0xd1a4]
push edx
mov eax, dword [ebp - 0xd19c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 0xd1e8], 0
mov dword [ebp - 0xd1d4], 0
lea eax, [ebp - 0xd1f0]
push eax
push 0x4000
lea ecx, [ebp - 0xd038]
push ecx
mov edx, dword [ebp - 0xd19c]
push edx
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
jne 0x1000c0e1
push 0x1004b734
call fcn.1001c721
add esp, 4
push 0x64
call fcn.10043f60
add esp, 4
jmp 0x1000c0a5
mov dword [ebp - 0xd1bc], 0
jmp 0x1000c0fc
mov eax, dword [ebp - 0xd1bc]
add eax, 1
mov dword [ebp - 0xd1bc], eax
mov ecx, dword [ebp - 0xd1f0]
shr ecx, 2
cmp dword [ebp - 0xd1bc], ecx
jge 0x1000c1e2
mov dword [ebp - 0xd1cc], 0x1004b73c
push 0x2000
lea edx, [ebp - 0x3038]
push edx
mov eax, dword [ebp - 0xd1bc]
mov ecx, dword [ebp + eax*4 - 0xd038]
push ecx
mov edx, dword [ebp - 0xd19c]
push edx
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x1000c1dd
lea eax, [ebp - 0x3038]
push eax
call fcn.10043a90
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0xd1cc]
push ecx
call fcn.10043a90
add esp, 4
cmp esi, eax
jle 0x1000c1dd
lea edx, [ebp - 0x3038]
push edx
call fcn.10043a90
add esp, 4
lea esi, [ebp + eax*2 - 0x3038]
mov eax, dword [ebp - 0xd1cc]
push eax
call fcn.10043a90
add esp, 4
shl eax, 1
sub esi, eax
push esi
mov ecx, dword [ebp - 0xd1cc]
push ecx
call fcn.10043920
add esp, 8
test eax, eax
jne 0x1000c1dd
lea edx, [ebp - 0x3038]
push edx
push 0x1004b758
call fcn.1001c841
add esp, 8
mov dword [ebp - 0xd1e8], 1
mov eax, dword [ebp - 0xd1bc]
mov ecx, dword [ebp + eax*4 - 0xd038]
mov dword [ebp - 0xd1d4], ecx
jmp 0x1000c1e2
jmp 0x1000c0ed
cmp dword [ebp - 0xd1e8], 0
je 0x1000c0a5
mov edx, dword [ebp - 0xd1d4]
push edx
push 0x1004b774
call fcn.1001c721
add esp, 8
mov eax, dword [ebp - 0xd1d4]
mov dword [ebp - 0xd1ac], eax
lea ecx, [ebp - 0xd1a0]
push ecx
push 0x40
lea edx, [ebp - 0xd0a0]
push edx
mov eax, dword [ebp - 0xd1ac]
push eax
mov ecx, dword [ebp - 0xd19c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea edx, [ebp - 0xd1a0]
push edx
push 0xf8
lea eax, [ebp - 0xd198]
push eax
mov ecx, dword [ebp - 0xd1ac]
add ecx, dword [ebp - 0xd064]
push ecx
mov edx, dword [ebp - 0xd19c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0xd1ac]
add edx, dword [ebp + ecx - 0xd120]
mov dword [ebp - 0xd214], edx
lea eax, [ebp - 0xd1a0]
push eax
push 0x28
lea ecx, [ebp - 0xd060]
push ecx
mov edx, dword [ebp - 0xd214]
push edx
mov eax, dword [ebp - 0xd19c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0xd04c]
push ecx
push 0x1004b780
call fcn.1001c721
add esp, 8
push 0x40000
call fcn.1001c60e
add esp, 4
mov dword [ebp - 0xd1f8], eax
mov edx, dword [ebp - 0xd1f8]
mov dword [ebp - 0xd1dc], edx
lea eax, [ebp - 0xd1a0]
push eax
mov ecx, dword [ebp - 0xd04c]
shl ecx, 2
push ecx
mov edx, dword [ebp - 0xd1dc]
push edx
mov eax, dword [ebp - 0xd1ac]
add eax, dword [ebp - 0xd044]
push eax
mov ecx, dword [ebp - 0xd19c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x40000
call fcn.1001c60e
add esp, 4
mov dword [ebp - 0xd218], eax
mov edx, dword [ebp - 0xd218]
mov dword [ebp - 0xd1e4], edx
lea eax, [ebp - 0xd1a0]
push eax
mov ecx, dword [ebp - 0xd048]
shl ecx, 2
push ecx
mov edx, dword [ebp - 0xd1e4]
push edx
mov eax, dword [ebp - 0xd1ac]
add eax, dword [ebp - 0xd040]
push eax
mov ecx, dword [ebp - 0xd19c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x20000
call fcn.1001c60e
add esp, 4
mov dword [ebp - 0xd200], eax
mov edx, dword [ebp - 0xd200]
mov dword [ebp - 0xd1e0], edx
lea eax, [ebp - 0xd1a0]
push eax
mov ecx, dword [ebp - 0xd048]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0xd1e0]
push edx
mov eax, dword [ebp - 0xd1ac]
add eax, dword [ebp - 0xd03c]
push eax
mov ecx, dword [ebp - 0xd19c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [ebp - 0xd1c8], 0
mov dword [ebp - 0xd1c0], 0
jmp 0x1000c3ca
mov edx, dword [ebp - 0xd1c0]
add edx, 1
mov dword [ebp - 0xd1c0], edx
mov eax, dword [ebp - 0xd1c0]
cmp eax, dword [ebp - 0xd048]
jae 0x1000c491
push 0x800
push 0
lea ecx, [ebp - 0x9038]
push ecx
call fcn.10043f30
add esp, 0xc
lea edx, [ebp - 0xd1a0]
push edx
push 0x20
lea eax, [ebp - 0x9038]
push eax
mov ecx, dword [ebp - 0xd1c0]
mov edx, dword [ebp - 0xd1e4]
mov eax, dword [ebp - 0xd1ac]
add eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp - 0xd19c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x1004b788
lea edx, [ebp - 0x9038]
push edx
call fcn.10043800
add esp, 8
test eax, eax
jne 0x1000c48c
lea eax, [ebp - 0x9038]
push eax
push 0x1004b798
call fcn.1001c721
add esp, 8
mov ecx, dword [ebp - 0xd1c0]
mov edx, dword [ebp - 0xd1e0]
movzx eax, word [edx + ecx*2]
mov ecx, dword [ebp - 0xd1dc]
mov edx, dword [ebp - 0xd1ac]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0xd1c8], edx
mov eax, dword [ebp - 0xd1c8]
push eax
push 0x1004b7a0
call fcn.1001c721
add esp, 8
jmp 0x1000c491
jmp 0x1000c3bb
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [ebp - 0xd1dc]
mov dword [ebp - 0xd210], eax
mov ecx, dword [ebp - 0xd210]
push ecx
call fcn.1001c684
add esp, 4
mov edx, dword [ebp - 0xd1e4]
mov dword [ebp - 0xd208], edx
mov eax, dword [ebp - 0xd208]
push eax
call fcn.1001c684
add esp, 4
mov ecx, dword [ebp - 0xd1e0]
mov dword [ebp - 0xd1f4], ecx
mov edx, dword [ebp - 0xd1f4]
push edx
call fcn.1001c684
add esp, 4
push 0x40
push 0x3000
push 0x1000
push 0
mov eax, dword [ebp - 0xd19c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0xd1b0], eax
mov ecx, dword [ebp - 0xd1b0]
push ecx
push 0x1004b7a8
call fcn.1001c721
add esp, 8
mov byte [ebp - 0x38], 0
mov byte [ebp - 0x37], 0
mov byte [ebp - 0x36], 0
mov byte [ebp - 0x35], 0
mov byte [ebp - 0x34], 0
mov byte [ebp - 0x33], 0
mov byte [ebp - 0x32], 0
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x30], 0xb8
mov byte [ebp - 0x2f], 1
mov byte [ebp - 0x2e], 0
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2b], 0xa3
mov byte [ebp - 0x2a], 0
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x27], 0
mov byte [ebp - 0x26], 0xeb
mov byte [ebp - 0x25], 0xfe
mov byte [ebp - 0x24], 0x51
mov byte [ebp - 0x23], 0xb9
mov byte [ebp - 0x22], 0
mov byte [ebp - 0x21], 0
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x51
mov byte [ebp - 0x1d], 0xb8
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x18], 0xff
mov byte [ebp - 0x17], 0xd0
mov byte [ebp - 0x16], 0x59
mov byte [ebp - 0x15], 0xb8
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x10], 0xff
mov byte [ebp - 0xf], 0xe0
mov dword [ebp - 0xd1a8], 0
push 0x14
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x1038]
push eax
call fcn.10043eb0
add esp, 0xc
mov ecx, dword [ebp - 0xd1a8]
add ecx, 0x14
mov dword [ebp - 0xd1a8], ecx
mov edx, dword [ebp - 0xd1b0]
mov dword [ebp - 0x102a], edx
mov eax, dword [ebp - 0xd1a8]
mov ecx, dword [ebp - 0xd1b0]
lea edx, [ecx + eax + 0x16]
mov dword [ebp - 0x22], edx
mov eax, dword [ebp - 0xd1c8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xd1a4]
mov dword [ebp - 0x14], ecx
push 0x16
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0xd1a8]
lea ecx, [ebp + eax - 0x1038]
push ecx
call fcn.10043eb0
add esp, 0xc
mov edx, dword [ebp - 0xd1a8]
add edx, 0x16
mov dword [ebp - 0xd1a8], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd1ec], eax
mov ecx, dword [ebp - 0xd1ec]
push ecx
mov edx, dword [ebp - 0xd1a8]
lea eax, [ebp + edx - 0x1038]
push eax
call fcn.10043a30
add esp, 8
mov ecx, dword [ebp - 0xd1ec]
push ecx
call fcn.10043a90
add esp, 4
mov edx, dword [ebp - 0xd1a8]
lea eax, [edx + eax*2 + 2]
mov dword [ebp - 0xd1a8], eax
lea ecx, [ebp - 0xd1a0]
push ecx
mov edx, dword [ebp - 0xd1a8]
push edx
lea eax, [ebp - 0x1038]
push eax
mov ecx, dword [ebp - 0xd1b0]
push ecx
mov edx, dword [ebp - 0xd19c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [ebp - 0xc], 0xb8
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0
mov byte [ebp - 7], 0xff
mov byte [ebp - 6], 0xe0
mov eax, dword [ebp - 0xd1b0]
add eax, 8
mov dword [ebp - 0xb], eax
lea ecx, [ebp - 0xd1b4]
push ecx
push 0x40
push 7
mov edx, dword [ebp - 0xd1a4]
push edx
mov eax, dword [ebp - 0xd19c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea ecx, [ebp - 0xd1a0]
push ecx
push 7
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0xd1a4]
push eax
mov ecx, dword [ebp - 0xd19c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea edx, [ebp - 0xd1d8]
push edx
mov eax, dword [ebp - 0xd1b4]
push eax
push 7
mov ecx, dword [ebp - 0xd1a4]
push ecx
mov edx, dword [ebp - 0xd19c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x1004b7b4
call fcn.1001c721
add esp, 4
push 0x64
call fcn.10043f60
add esp, 4
lea edx, [ebp - 0xd1a0]
push edx
push 0x1000
lea eax, [ebp - 0x7038]
push eax
mov ecx, dword [ebp - 0xd1b0]
push ecx
mov edx, dword [ebp - 0xd19c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 0x7038]
test edx, edx
je 0x1000c75d
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea edx, [ebp - 0xd1b4]
push edx
push 0x40
push 7
mov eax, dword [ebp - 0xd1a4]
push eax
mov ecx, dword [ebp - 0xd19c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea edx, [ebp - 0xd1a0]
push edx
push 7
lea eax, [ebp - 0x6038]
push eax
mov ecx, dword [ebp - 0xd1a4]
push ecx
mov edx, dword [ebp - 0xd19c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0xd1d8]
push eax
mov ecx, dword [ebp - 0xd1b4]
push ecx
push 7
mov edx, dword [ebp - 0xd1a4]
push edx
mov eax, dword [ebp - 0xd19c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0x14
push 0x90
lea ecx, [ebp - 0x38]
push ecx
call fcn.10043f30
add esp, 0xc
lea edx, [ebp - 0xd1a0]
push edx
push 0x14
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0xd1b0]
push ecx
mov edx, dword [ebp - 0xd19c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0xd1fc]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001c906
mov esp, ebp
pop ebp
ret