Function at 0x100135f0
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, 0xd290
call fcn.1001c920
mov eax, dword [0x1006b850]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.start__r_n
call fcn.1001c721
add esp, 4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x6048]
push ecx
call fcn.10043a30
add esp, 8
push 0x10
push 0
lea edx, [ebp - 0xd21c]
push edx
call fcn.10043f30
add esp, 0xc
push 0x44
push 0
lea eax, [ebp - 0xd290]
push eax
call fcn.10043f30
add esp, 0xc
mov dword [ebp - 0xd290], 0x44
lea ecx, [ebp - 0xd21c]
push ecx
lea edx, [ebp - 0xd290]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 4
push 0
push 0
push 0
lea ecx, [ebp - 0x6048]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, dword [ebp - 0xd21c]
mov dword [ebp - 0xd1ac], edx
push str.NtQueryInformationProcess
push str.NTDLL.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xd208], eax
mov dword [ebp - 0xd22c], 0x18
lea eax, [ebp - 0xd22c]
push eax
push 0x18
lea ecx, [ebp - 0xd24c]
push ecx
push 0
mov edx, dword [ebp - 0xd1ac]
push edx
call dword [ebp - 0xd208]
mov dword [ebp - 0xd1f4], 0
mov eax, dword [ebp - 0xd248]
mov dword [ebp - 0xd1f4], eax
mov ecx, dword [ebp - 0xd1f4]
push ecx
push 0x1004c244
call fcn.1001c721
add esp, 8
mov dword [ebp - 0xd1b0], 0x1000
lea edx, [ebp - 0xd1b0]
push edx
push 0x1000
lea eax, [ebp - 0x7048]
push eax
mov ecx, dword [ebp - 0xd1f4]
push ecx
mov edx, dword [ebp - 0xd1ac]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp - 0x7040]
mov dword [ebp - 0xd1c8], eax
mov ecx, dword [ebp - 0xd1c8]
push ecx
push 0x1004c24c
call fcn.1001c721
add esp, 8
lea edx, [ebp - 0xd1b0]
push edx
push 0x40
lea eax, [ebp - 0xd0b0]
push eax
mov ecx, dword [ebp - 0xd1c8]
push ecx
mov edx, dword [ebp - 0xd1ac]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0xd1b0]
push eax
push 0xf8
lea ecx, [ebp - 0xd1a8]
push ecx
mov edx, dword [ebp - 0xd1c8]
add edx, dword [ebp - 0xd074]
push edx
mov eax, dword [ebp - 0xd1ac]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [ebp - 0xd1c8]
add ecx, dword [ebp - 0xd180]
mov dword [ebp - 0xd1b4], ecx
mov edx, dword [ebp - 0xd1b4]
push edx
push str._x_r_n
call fcn.1001c721
add esp, 8
mov byte [ebp - 0xd1cc], 0xeb
mov byte [ebp - 0xd1cb], 0xfe
lea eax, [ebp - 0xd1b0]
push eax
push 0x1000
lea ecx, [ebp - 0x8048]
push ecx
mov edx, dword [ebp - 0xd1b4]
push edx
mov eax, dword [ebp - 0xd1ac]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [ebp - 0xd1c0], 0
mov dword [ebp - 0xd1d8], 0
lea ecx, [ebp - 0xd1c0]
push ecx
push 0x40
push 2
mov edx, dword [ebp - 0xd1b4]
push edx
mov eax, dword [ebp - 0xd1ac]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea ecx, [ebp - 0xd1b0]
push ecx
push 2
lea edx, [ebp - 0xd1cc]
push edx
mov eax, dword [ebp - 0xd1b4]
push eax
mov ecx, dword [ebp - 0xd1ac]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea edx, [ebp - 0xd1d8]
push edx
mov eax, dword [ebp - 0xd1c0]
push eax
push 2
mov ecx, dword [ebp - 0xd1b4]
push ecx
mov edx, dword [ebp - 0xd1ac]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [ebp - 0xd218]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 0xd1f8], 0
mov dword [ebp - 0xd1e8], 0
lea ecx, [ebp - 0xd224]
push ecx
push 0x4000
lea edx, [ebp - 0xd048]
push edx
mov eax, dword [ebp - 0xd1ac]
push eax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
jne 0x100138d4
push str.retry_r_n
call fcn.1001c721
add esp, 4
push 0x64
call fcn.10043f60
add esp, 4
jmp 0x10013898
mov dword [ebp - 0xd1d4], 0
jmp 0x100138ef
mov ecx, dword [ebp - 0xd1d4]
add ecx, 1
mov dword [ebp - 0xd1d4], ecx
mov edx, dword [ebp - 0xd224]
shr edx, 2
cmp dword [ebp - 0xd1d4], edx
jge 0x100139d5
mov dword [ebp - 0xd1f0], 0x1004c264
push 0x2000
lea eax, [ebp - 0x3048]
push eax
mov ecx, dword [ebp - 0xd1d4]
mov edx, dword [ebp + ecx*4 - 0xd048]
push edx
mov eax, dword [ebp - 0xd1ac]
push eax
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x100139d0
lea ecx, [ebp - 0x3048]
push ecx
call fcn.10043a90
add esp, 4
mov esi, eax
mov edx, dword [ebp - 0xd1f0]
push edx
call fcn.10043a90
add esp, 4
cmp esi, eax
jle 0x100139d0
lea eax, [ebp - 0x3048]
push eax
call fcn.10043a90
add esp, 4
lea esi, [ebp + eax*2 - 0x3048]
mov ecx, dword [ebp - 0xd1f0]
push ecx
call fcn.10043a90
add esp, 4
shl eax, 1
sub esi, eax
push esi
mov edx, dword [ebp - 0xd1f0]
push edx
call fcn.10043920
add esp, 8
test eax, eax
jne 0x100139d0
lea eax, [ebp - 0x3048]
push eax
push str.findmod__s_r_n
call fcn.1001c841
add esp, 8
mov dword [ebp - 0xd1f8], 1
mov ecx, dword [ebp - 0xd1d4]
mov edx, dword [ebp + ecx*4 - 0xd048]
mov dword [ebp - 0xd1e8], edx
jmp 0x100139d5
jmp 0x100138e0
cmp dword [ebp - 0xd1f8], 0
je 0x10013898
mov eax, dword [ebp - 0xd1e8]
push eax
push str.k32__x_r_n
call fcn.1001c721
add esp, 8
mov ecx, dword [ebp - 0xd1e8]
mov dword [ebp - 0xd1bc], ecx
lea edx, [ebp - 0xd1b0]
push edx
push 0x40
lea eax, [ebp - 0xd0b0]
push eax
mov ecx, dword [ebp - 0xd1bc]
push ecx
mov edx, dword [ebp - 0xd1ac]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0xd1b0]
push eax
push 0xf8
lea ecx, [ebp - 0xd1a8]
push ecx
mov edx, dword [ebp - 0xd1bc]
add edx, dword [ebp - 0xd074]
push edx
mov eax, dword [ebp - 0xd1ac]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0xd1bc]
add eax, dword [ebp + edx - 0xd130]
mov dword [ebp - 0xd200], eax
lea ecx, [ebp - 0xd1b0]
push ecx
push 0x28
lea edx, [ebp - 0xd070]
push edx
mov eax, dword [ebp - 0xd200]
push eax
mov ecx, dword [ebp - 0xd1ac]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [ebp - 0xd05c]
push edx
push 0x1004c198
call fcn.1001c721
add esp, 8
push 0x40000
call fcn.1001c60e
add esp, 4
mov dword [ebp - 0xd234], eax
mov eax, dword [ebp - 0xd234]
mov dword [ebp - 0xd1e4], eax
lea ecx, [ebp - 0xd1b0]
push ecx
mov edx, dword [ebp - 0xd05c]
shl edx, 2
push edx
mov eax, dword [ebp - 0xd1e4]
push eax
mov ecx, dword [ebp - 0xd1bc]
add ecx, dword [ebp - 0xd054]
push ecx
mov edx, dword [ebp - 0xd1ac]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x40000
call fcn.1001c60e
add esp, 4
mov dword [ebp - 0xd228], eax
mov eax, dword [ebp - 0xd228]
mov dword [ebp - 0xd1e0], eax
lea ecx, [ebp - 0xd1b0]
push ecx
mov edx, dword [ebp - 0xd058]
shl edx, 2
push edx
mov eax, dword [ebp - 0xd1e0]
push eax
mov ecx, dword [ebp - 0xd1bc]
add ecx, dword [ebp - 0xd050]
push ecx
mov edx, dword [ebp - 0xd1ac]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x20000
call fcn.1001c60e
add esp, 4
mov dword [ebp - 0xd20c], eax
mov eax, dword [ebp - 0xd20c]
mov dword [ebp - 0xd1dc], eax
lea ecx, [ebp - 0xd1b0]
push ecx
mov edx, dword [ebp - 0xd058]
shl edx, 1
push edx
mov eax, dword [ebp - 0xd1dc]
push eax
mov ecx, dword [ebp - 0xd1bc]
add ecx, dword [ebp - 0xd04c]
push ecx
mov edx, dword [ebp - 0xd1ac]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [ebp - 0xd1ec], 0
mov dword [ebp - 0xd1d0], 0
jmp 0x10013bbd
mov eax, dword [ebp - 0xd1d0]
add eax, 1
mov dword [ebp - 0xd1d0], eax
mov ecx, dword [ebp - 0xd1d0]
cmp ecx, dword [ebp - 0xd058]
jae 0x10013c84
push pe_nt_image_headers32
push 0
lea edx, [ebp - 0x4048]
push edx
call fcn.10043f30
add esp, 0xc
lea eax, [ebp - 0xd1b0]
push eax
push 0x20
lea ecx, [ebp - 0x4048]
push ecx
mov edx, dword [ebp - 0xd1d0]
mov eax, dword [ebp - 0xd1e0]
mov ecx, dword [ebp - 0xd1bc]
add ecx, dword [eax + edx*4]
push ecx
mov edx, dword [ebp - 0xd1ac]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x1004c1a0
lea eax, [ebp - 0x4048]
push eax
call fcn.10043800
add esp, 8
test eax, eax
jne 0x10013c7f
lea ecx, [ebp - 0x4048]
push ecx
push str._s_r_n
call fcn.1001c721
add esp, 8
mov edx, dword [ebp - 0xd1d0]
mov eax, dword [ebp - 0xd1dc]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0xd1e4]
mov eax, dword [ebp - 0xd1bc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0xd1ec], eax
mov ecx, dword [ebp - 0xd1ec]
push ecx
push str.ll__x_r_n
call fcn.1001c721
add esp, 8
jmp 0x10013c84
jmp 0x10013bae
mov edx, dword [ebp - 0xd218]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp dword [ebp - 0xd1e4], 0
je 0x10013cb5
mov eax, dword [ebp - 0xd1e4]
mov dword [ebp - 0xd220], eax
mov ecx, dword [ebp - 0xd220]
push ecx
call fcn.1001c684
add esp, 4
cmp dword [ebp - 0xd1e0], 0
je 0x10013cd9
mov edx, dword [ebp - 0xd1e0]
mov dword [ebp - 0xd230], edx
mov eax, dword [ebp - 0xd230]
push eax
call fcn.1001c684
add esp, 4
cmp dword [ebp - 0xd1dc], 0
je 0x10013cfd
mov ecx, dword [ebp - 0xd1dc]
mov dword [ebp - 0xd204], ecx
mov edx, dword [ebp - 0xd204]
push edx
call fcn.1001c684
add esp, 4
push 0x40
push 0x3000
push 0x1000
push 0
mov eax, dword [ebp - 0xd1ac]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0xd1c4], eax
mov ecx, dword [ebp - 0xd1c4]
push ecx
push str.inj__x_r_n
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 - 0xd1b8], 0
push 0x14
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x1048]
push eax
call fcn.10043eb0
add esp, 0xc
mov ecx, dword [ebp - 0xd1b8]
add ecx, 0x14
mov dword [ebp - 0xd1b8], ecx
mov edx, dword [ebp - 0xd1c4]
mov dword [ebp - 0x103a], edx
mov eax, dword [ebp - 0xd1b8]
mov ecx, dword [ebp - 0xd1c4]
lea edx, [ecx + eax + 0x16]
mov dword [ebp - 0x22], edx
mov eax, dword [ebp - 0xd1ec]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xd1b4]
mov dword [ebp - 0x14], ecx
push 0x16
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0xd1b8]
lea ecx, [ebp + eax - 0x1048]
push ecx
call fcn.10043eb0
add esp, 0xc
mov edx, dword [ebp - 0xd1b8]
add edx, 0x16
mov dword [ebp - 0xd1b8], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd1fc], eax
mov ecx, dword [ebp - 0xd1fc]
push ecx
mov edx, dword [ebp - 0xd1b8]
lea eax, [ebp + edx - 0x1048]
push eax
call fcn.10043a30
add esp, 8
mov ecx, dword [ebp - 0xd1fc]
push ecx
call fcn.10043a90
add esp, 4
mov edx, dword [ebp - 0xd1b8]
lea eax, [edx + eax*2 + 2]
mov dword [ebp - 0xd1b8], eax
lea ecx, [ebp - 0xd1b0]
push ecx
mov edx, dword [ebp - 0xd1b8]
push edx
lea eax, [ebp - 0x1048]
push eax
mov ecx, dword [ebp - 0xd1c4]
push ecx
mov edx, dword [ebp - 0xd1ac]
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 - 0xd1c4]
add eax, 8
mov dword [ebp - 0xb], eax
lea ecx, [ebp - 0xd1c0]
push ecx
push 0x40
push 7
mov edx, dword [ebp - 0xd1b4]
push edx
mov eax, dword [ebp - 0xd1ac]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea ecx, [ebp - 0xd1b0]
push ecx
push 7
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0xd1b4]
push eax
mov ecx, dword [ebp - 0xd1ac]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea edx, [ebp - 0xd1d8]
push edx
mov eax, dword [ebp - 0xd1c0]
push eax
push 7
mov ecx, dword [ebp - 0xd1b4]
push ecx
mov edx, dword [ebp - 0xd1ac]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [ebp - 0xd218]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push str.checking_r_n
call fcn.1001c721
add esp, 4
push 0x64
call fcn.10043f60
add esp, 4
lea ecx, [ebp - 0xd1b0]
push ecx
push 0x1000
lea edx, [ebp - 0x9048]
push edx
mov eax, dword [ebp - 0xd1c4]
push eax
mov ecx, dword [ebp - 0xd1ac]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, 1
imul eax, edx, 0
movzx ecx, byte [ebp + eax - 0x9048]
test ecx, ecx
je 0x10013f6b
mov edx, dword [ebp - 0xd218]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [ebp - 0xd1c0]
push eax
push 0x40
push 7
mov ecx, dword [ebp - 0xd1b4]
push ecx
mov edx, dword [ebp - 0xd1ac]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea eax, [ebp - 0xd1b0]
push eax
push 7
lea ecx, [ebp - 0x8048]
push ecx
mov edx, dword [ebp - 0xd1b4]
push edx
mov eax, dword [ebp - 0xd1ac]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea ecx, [ebp - 0xd1d8]
push ecx
mov edx, dword [ebp - 0xd1c0]
push edx
push 7
mov eax, dword [ebp - 0xd1b4]
push eax
mov ecx, dword [ebp - 0xd1ac]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0x14
push 0x90
lea edx, [ebp - 0x38]
push edx
call fcn.10043f30
add esp, 0xc
lea eax, [ebp - 0xd1b0]
push eax
push 0x14
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0xd1c4]
push edx
mov eax, dword [ebp - 0xd1ac]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x48], 1
lea eax, [ebp - 0xd1c0]
push eax
push 0x40
push 0x1000
mov ecx, dword [ebp - 0xd1c8]
push ecx
mov edx, dword [ebp - 0xd1ac]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea eax, [ebp - 0xd1b0]
push eax
push 1
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0xd1c8]
add edx, 0xfff
push edx
mov eax, dword [ebp - 0xd1ac]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea ecx, [ebp - 0xd1d8]
push ecx
mov edx, dword [ebp - 0xd1c0]
push edx
push 0x1000
mov eax, dword [ebp - 0xd1c8]
push eax
mov ecx, dword [ebp - 0xd1ac]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov edx, dword [ebp - 0xd218]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001c906
mov esp, ebp
pop ebp
ret