Function at 0x42ad30
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48db0d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4b74b0]
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 0x42afb9
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004879c0
mov ebx, dword [esi + 0x18]
add esp, 4
xor edi, edi
mov dword [esi + 0x20], eax
test ebx, ebx
jle 0x42add8
lea esp, [esp]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push esi
push 0x42b050
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 0x42afb9
mov ebx, dword [esi + 0x18]
inc edi
cmp edi, ebx
jl 0x42ada0
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.004879c0
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42ae2a
push 0x42a4f0
push 0x42a2e0
push ebx
lea edi, [eax + 4]
mov dword [eax], ebx
push 8
push edi
call fcn.00487e39
jmp 0x42ae2c
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.004879c0
xor ebx, ebx
mov dword [esi + 0x24], eax
add esp, 4
cmp dword [esi + 0x18], ebx
jle 0x42afa2
mov dword [ebp - 0x10], ebx
push 0xa0
call fcn.00487839
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
test edi, edi
je 0x42aec9
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 0x42aecb
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 + 0x24]
add eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x28]
mov dword [eax + ebx*8 + 4], esi
lea edi, [eax + ebx*8]
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
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 0x42af50
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 0x42afb9
push 0
push edi
push dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp eax, dword [ebp - 0x14]
jne 0x42afb9
push 0
push dword [ebp - 0x18]
mov ecx, edi
call fcn.0042a6d0
add dword [ebp - 0x10], 0x1c
inc ebx
cmp ebx, dword [esi + 0x18]
jl 0x42ae63
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