Function at 0x4336c0
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f9dd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x5ab3e8]
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 0x433949
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048bc62
mov ebx, dword [esi + 0x18]
add esp, 4
xor edi, edi
mov dword [esi + 0x20], eax
test ebx, ebx
jle 0x433768
lea esp, [esp]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push esi
push 0x4339e0
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 0x433949
mov ebx, dword [esi + 0x18]
inc edi
cmp edi, ebx
jl 0x433730
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.0048bc62
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4337ba
push 0x432ee0
push 0x432cd0
push ebx
lea edi, [eax + 4]
mov dword [eax], ebx
push 8
push edi
call fcn.0048bfba
jmp 0x4337bc
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.0048bc62
xor ebx, ebx
mov dword [esi + 0x24], eax
add esp, 4
cmp dword [esi + 0x18], ebx
jle 0x433932
mov dword [ebp - 0x10], ebx
push 0xa0
call fcn.0048badb
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
test edi, edi
je 0x433859
push 0x90
push 0
push edi
call fcn.0048e2e0
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 0x43385b
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 0x4338e0
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 0x433949
push 0
push edi
push dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp eax, dword [ebp - 0x14]
jne 0x433949
push 0
push dword [ebp - 0x18]
mov ecx, edi
call fcn.004330c0
add dword [ebp - 0x10], 0x1c
inc ebx
cmp ebx, dword [esi + 0x18]
jl 0x4337f3
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