Function at 0x42cc30
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fb82
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4ce4bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x1c], eax
cmp eax, 0xffffffff
je 0x42ceb8
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00499b2d
mov ebx, dword [esi + 0x18]
add esp, 4
xor edi, edi
mov dword [esi + 0x20], eax
test ebx, ebx
jle 0x42ccd8
lea esp, [esp]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push esi
push 0x42cf50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0x20]
mov dword [ecx + edi*4], eax
mov eax, dword [esi + 0x20]
cmp dword [eax + edi*4], 0
je 0x42ceb8
mov ebx, dword [esi + 0x18]
inc edi
cmp edi, ebx
jl 0x42cca0
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov eax, ebx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00499b2d
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42cd2a
push 0x42c410
push 0x42c190
push ebx
lea edi, [eax + 4]
mov dword [eax], ebx
push 8
push edi
call fcn.00499fe0
jmp 0x42cd2c
xor edi, edi
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov edx, 0x1c
mov dword [ebp - 4], 0xffffffff
mul edx
mov dword [esi + 0x28], edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00499b2d
xor ebx, ebx
mov dword [esi + 0x24], eax
add esp, 4
cmp dword [esi + 0x18], ebx
jle 0x42cea1
mov dword [ebp - 0x10], ebx
push 0xa0
call fcn.00499abe
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
test edi, edi
je 0x42cdc9
push 0x90
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi + 0x88], 0xbadbeef
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 0x84], eax
mov dword [edi + 0x90], vtable.wh::MemBuffer.0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
jmp 0x42cdcb
xor edi, edi
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x10]
push 1
mov dword [ecx + eax + 0x18], edi
mov eax, dword [esi + 0x28]
lea edi, [eax + ebx*8]
mov eax, dword [esi + 0x24]
add eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x38]
push eax
mov dword [edi + 4], esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
test ebx, ebx
mov eax, 0x40000003
mov dword [ebp - 0x24], 0xc
mov ecx, 0x40080003
cmovne ecx, eax
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42ce4f
mov eax, dword [esi]
lea edx, [ebp - 0x24]
push edx
push 0
push 0x400
push 0x400
push 0xff
push 6
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x42ceb8
push 0
push edi
push dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp eax, dword [ebp - 0x14]
jne 0x42ceb8
push 0
push dword [ebp - 0x18]
mov ecx, edi
call fcn.0042c5f0
add dword [ebp - 0x10], 0x1c
inc ebx
cmp ebx, dword [esi + 0x18]
jl 0x42cd63
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret