Function at 0x44fdd0
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x556620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 0x10]
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
xor ebx, ebx
movq qword [ebp - 0x50], xmm0
push eax
mov dword [ebp - 0x54], ebx
call fcn.0044f400
test al, al
lea edi, [ebp - 0x54]
cmove edi, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
sub ecx, ebx
je 0x44fefc
dec ecx
je 0x44fe3d
lea eax, [ebx + 8]
jmp 0x44fffc
lea eax, [esi + 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044f7c0
add esp, 8
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push 0
cmovae eax, dword [ebp - 0x30]
push eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x44fe71
lea esi, [eax + 4]
jmp 0x44fece
mov edi, dword [ebp + 8]
test edi, edi
je 0x44fee0
cmp dword [esi + 0x8c], 0
je 0x44fee0
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00450180
mov ebx, eax
mov dword [ebp - 0x18], 0
add esp, 4
cmp ebx, 0xffffffff
je 0x44fee0
mov ecx, dword [esi + 0x8c]
lea eax, [ebp - 0x18]
push eax
push ebx
call ecx
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x44fee0
mov eax, dword [ebp - 0x18]
cmp edi, eax
je 0x44fee0
cmp dword [ebp - 0x14], eax
je 0x44fee0
mov esi, 0xb
cmp dword [ebp - 0x1c], 8
jb 0x44fffa
push dword [ebp - 0x30]
jmp 0x44fff2
cmp dword [ebp - 0x1c], 8
jb 0x44ffdd
push dword [ebp - 0x30]
call fcn.0040823e
add esp, 4
xor eax, eax
jmp 0x44fffc
mov bl, byte [ebp + 0xc]
push 0
push 0
push 1
push 0
mov byte [esi + 0xc], bl
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
test eax, eax
jne 0x44ff21
mov eax, 2
jmp 0x44fffc
lea eax, [esi + 0x40]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0044f7c0
add esp, 8
lea ecx, [esi + 0x70]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48]
cmp ecx, eax
je 0x44ff4c
push 0xffffffffffffffff
push 0
push eax
call fcn.00407980
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push edi
cmovae eax, dword [ebp - 0x48]
push 0x3e8
push 0
push 0
push 1
push 6
push 0x80003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x44ff89
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x50], 0
cmp dword [esi + 0x2c], 0xffffffff
jne 0x44ffa1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [eax - 5]
neg esi
sbb esi, esi
add esi, 3
jmp 0x44ffe9
mov eax, dword [ebp + 8]
push dword [esi + 8]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test bl, bl
je 0x44ffe1
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push fcn.0044f850
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x34], eax
test eax, eax
jne 0x44ffd5
lea esi, [eax + 2]
jmp 0x44ffe9
lea ecx, [ebp - 0x48]
call fcn.00408450
xor eax, eax
jmp 0x44fffc
push esi
call fcn.0044f850
mov esi, eax
cmp dword [ebp - 0x34], 8
jb 0x44fffa
push dword [ebp - 0x48]
call fcn.0040823e
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401580
mov esp, ebp
pop ebp
ret 0xc