Function at 0x449000
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55dd38
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5b03ec]
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 ebx, ecx
mov dword [ebp - 0x40], ebx
mov ecx, dword [ebx]
test ecx, ecx
je 0x44904d
call fcn.00449650
mov ecx, dword [ebx]
test ecx, ecx
je 0x449047
push ecx
call fcn.004493f0
mov dword [ebx], 0
push 0x28404
call fcn.004e4ef6
mov ebx, eax
mov dword [ebp - 0x3c], ebx
push 0x28404
push 0
push ebx
mov dword [ebp - 4], 0
call fcn.00521d00
add esp, 0x10
push 0x449640
push 0x449db0
push 0xa
push 0x4058
push ebx
call fcn.004e52e0
mov byte [ebp - 4], 1
lea esi, [ebx + 0x283d4]
mov dword [ebx + 0x283c8], 0xffffffff
lea edi, [ebx + 0x283e8]
mov dword [ebx + 0x283cc], 0x59112c
mov dword [ebx + 0x283d0], edi
push 8
mov dword [ebp - 0x38], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004e4ef6
add esp, 4
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
push 0
push 0
push 0
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
mov dword [ebx + 0x283ec], 0
mov dword [ebx + 0x283f0], 0
mov dword [ebx + 0x283f4], 0
mov dword [ebx + 0x283f8], 0
mov dword [ebx + 0x283fc], 0
mov byte [ebx + 0x28400], 0
mov dword [ebx + 0x28], 0xffffffff
mov dword [ebx + 0x28370], 0xffffffff
mov dword [ebx + 0x28374], 0xffffffff
mov dword [ebx + 0x4080], 0xffffffff
mov dword [ebx + 0x28378], 0xffffffff
mov dword [ebx + 0x2837c], 0xffffffff
mov dword [ebx + 0x80d8], 0xffffffff
mov dword [ebx + 0x28380], 0xffffffff
mov dword [ebx + 0x28384], 0xffffffff
mov dword [ebx + 0xc130], 0xffffffff
mov dword [ebx + 0x28388], 0xffffffff
mov dword [ebx + 0x2838c], 0xffffffff
mov dword [ebx + 0x10188], 0xffffffff
mov dword [ebx + 0x28390], 0xffffffff
mov dword [ebx + 0x28394], 0xffffffff
mov dword [ebx + 0x141e0], 0xffffffff
mov dword [ebx + 0x28398], 0xffffffff
mov dword [ebx + 0x2839c], 0xffffffff
mov dword [ebx + 0x18238], 0xffffffff
mov dword [ebx + 0x283a0], 0xffffffff
mov dword [ebx + 0x283a4], 0xffffffff
mov dword [ebx + 0x1c290], 0xffffffff
mov dword [ebx + 0x283a8], 0xffffffff
mov dword [ebx + 0x283ac], 0xffffffff
mov dword [ebx + 0x202e8], 0xffffffff
mov dword [ebx + 0x283b0], 0xffffffff
mov dword [ebx + 0x283b4], 0xffffffff
mov dword [ebx + 0x24340], 0xffffffff
mov dword [ebx + 0x283b8], 0xffffffff
mov dword [ebx + 0x283bc], 0xffffffff
mov dword [ebx + 0x283c0], 0xffffffff
mov dword [ebx + 0x283c4], 0xffffffff
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x283c8], 0xffffffff
mov dword [esi], ebx
mov dword [ebx + 0x283ec], eax
mov ebx, dword [esi]
cmp dword [ebx + 0x283c8], 0xffffffff
jne 0x4493b4
push 1
lea eax, [ebp - 0x28]
xor ecx, ecx
push eax
mov dword [ebp - 0x38], ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x34], 0xc
mov dword [ebp - 0x2c], 1
lea esi, [ebx + 0x28374]
mov dword [ebp - 0x30], eax
lea edi, [ebx + 0x10]
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x34]
push eax
push 0x3e8
push 0x6000
push 0x6000
push 0xa
push 6
push 0x40000003
push str..PIPE207333D1_5B62_4D40_BBF8_41C2F27332A4
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [edi + 0x18], eax
cmp eax, 0xffffffff
je 0x4493a2
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov dword [esi - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
add dword [ebp - 0x38], 2
mov dword [esi], eax
mov eax, dword [esi - 4]
mov dword [edi], eax
mov eax, dword [esi]
add esi, 8
mov dword [edi + 0x14], eax
add edi, 0x4058
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, 0xa
jb 0x4492e6
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x38]
mov dword [ebx + ecx*4 + 0x28370], eax
mov dword [ebx + 0x283c4], eax
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
push 0x449730
push 0
push 0
call fcn.0052ab2c
add esp, 0x18
mov dword [ebx + 0x283c8], eax
cmp eax, 0xffffffff
je 0x4493a2
mov al, 1
jmp 0x4493c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
call fcn.00449650
mov esi, dword [ebp - 0x40]
mov ebx, dword [esi]
test ebx, ebx
je 0x4493c0
push ecx
mov ecx, ebx
call fcn.004493f0
mov dword [esi], 0
xor al, al
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.004e4cdc
mov esp, ebp
pop ebp
ret 8