Function at 0x495400
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x90
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x214]
mov dword [esp + 0x10], eax
mov dword [esi], vtable.CPipeChannel.0
call fcn.004952e0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xa8]
xor ebx, ebx
push edx
mov dword [esi + 4], eax
cmp eax, ebx
push str..pipe360_s
lea eax, [esi + 0x14]
sete cl
push 0x100
mov dword [esi + 8], 1
lea edi, [esi + 0x248]
lea ebp, [esi + 0x24c]
push eax
mov byte [esi + 0x27c], cl
mov dword [edi], ebx
mov dword [ebp], ebx
mov dword [esi + 0x250], ebx
mov dword [esi + 0x254], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 0xffffffff
call fcn.0041c900
add esp, 0x10
lea ecx, [esi + 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [esp + 0xa8], ebx
je 0x49566d
push 0x80
lea edx, [esp + 0x18]
push ebx
push edx
mov byte [esp + 0xa0], bl
mov byte [esp + 0xa1], bl
mov byte [esp + 0xa2], bl
mov byte [esp + 0xa3], bl
mov byte [esp + 0xa4], bl
mov byte [esp + 0xa5], 5
call fcn.004e5fc0
add esp, 0xc
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea eax, [esp + 0xbc]
push eax
call edi
push ebp
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
mov ebp, 2
push ebp
lea ecx, [esp + 0xbc]
push ecx
call edi
lea eax, [esi + 0x250]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x223
push 0x20
push ebp
lea edx, [esp + 0xbc]
push edx
call edi
lea eax, [esi + 0x254]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x221
push 0x20
push ebp
lea eax, [esp + 0xbc]
push eax
call edi
mov ecx, dword [esi + 0x248]
mov eax, 0x10000000
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebp
mov edx, dword [esi + 0x24c]
mov ecx, dword [esi + 0x250]
lea edi, [esi + 0x258]
push edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x78], eax
push ebx
lea eax, [esp + 0x1c]
mov dword [esp + 0x58], edx
mov edx, dword [esi + 0x254]
push eax
push 4
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], edx
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x49561d
push str.SetEntriesInAcl_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 1
lea ebp, [esi + 0x25c]
push ebp
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x49563b
push str.InitializeSecurityDescriptor_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [edi]
push ebx
push ecx
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x495657
push str.SetSecurityDescriptorDacl_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x270], 0xc
mov dword [esi + 0x274], ebp
mov dword [esi + 0x278], ebx
mov ecx, dword [esp + 0x9c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e5fb0
add esp, 0x90
ret 8