Function at 0x44fba0
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dd3cd
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x540c80]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x540c80]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov dword [esp + 0x28], edx
mov ebx, ecx
lea eax, [esp + 0x14]
push eax
call fcn.0044fb00
movq xmm0, qword [eax]
movq qword [esp + 0x64], xmm0
movq xmm0, qword [eax + 8]
lea edx, [esp + 0x64]
lea ecx, [esp + 0x74]
movq qword [esp + 0x6c], xmm0
call fcn.0044f9c0
mov dword [esp + 0x9c], 0
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x50]
call fcn.00451fc0
add esp, 8
mov byte [esp + 0x98], 1
cmp dword [esp + 0x5c], 8
push 0
push 0
push 0x2000
push 0x2000
push 1
push 0
lea eax, [esp + 0x60]
cmovae eax, dword [esp + 0x60]
push 0x40000001
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov edi, eax
mov dword [esp + 0x2c], edi
mov byte [esp + 0x98], 2
test edi, edi
jne 0x44fcbe
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], str.Failure_to_create_pipes_0
call fcn.004b2892
mov byte [esp + 0x98], 3
mov dword [esp + 0x14], 0x5289d8
mov byte [esp + 0x98], 4
mov dword [esp + 0x14], 0x528a38
mov byte [esp + 0x98], 2
push 0x52adc4
lea eax, [esp + 0x18]
push eax
call fcn.004b74bb
push 0
push 0
xorps xmm0, xmm0
push 1
push 0
mov dword [esp + 0x40], 0
movq qword [esp + 0x44], xmm0
movq qword [esp + 0x4c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
mov dword [esp + 0x44], esi
mov byte [esp + 0x98], 5
mov dword [esp + 0x40], esi
test esi, esi
jne 0x44fd46
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], str.Failure_to_create_pipes_1
call fcn.004b2892
mov byte [esp + 0x98], 6
mov dword [esp + 0x14], 0x5289d8
mov byte [esp + 0x98], 7
mov dword [esp + 0x14], 0x528a38
mov byte [esp + 0x98], 5
push 0x52adc4
lea eax, [esp + 0x18]
push eax
call fcn.004b74bb
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x44feba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x44feba
cmp dword [esp + 0x5c], 8
push 0
push 0x40000000
push 3
push 0
push 0
lea eax, [esp + 0x5c]
cmovae eax, dword [esp + 0x5c]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], eax
mov byte [esp + 0x98], 0xa
test eax, eax
jne 0x44fdbf
push str.Failure_to_create_pipes_3
lea ecx, [esp + 0x18]
call fcn.0044f750
push 0x52adc4
lea eax, [esp + 0x18]
push eax
call fcn.004b74bb
push 0x7d0
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44fdef
push str.Failure_to_create_pipes_4
lea ecx, [esp + 0x18]
call fcn.0044f750
push 0x52adc4
lea eax, [esp + 0x18]
push eax
call fcn.004b74bb
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.00451c80
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
call fcn.00451c80
mov edx, dword [0x545d90]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x17
idiv ecx
cmp edx, 8
jne 0x44fe2e
inc dword [0x546ecc]
mov byte [esp + 0x98], 5
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x44fe4c
cmp eax, 0xffffffff
je 0x44fe4c
push eax
call edi
mov byte [esp + 0x98], 2
cmp esi, 0xffffffff
je 0x44fe5c
push esi
call edi
mov byte [esp + 0x98], 1
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x44fe74
cmp eax, 0xffffffff
je 0x44fe74
push eax
call edi
mov byte [esp + 0x98], 0
lea ecx, [esp + 0x48]
call fcn.0044e2c0
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x70]
call fcn.0044e2c0
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004af5ba
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], str.Failure_to_create_pipes_2
call fcn.004b2892
mov byte [esp + 0x98], 8
mov dword [esp + 0x14], 0x5289d8
mov byte [esp + 0x98], 9
mov dword [esp + 0x14], 0x528a38
mov byte [esp + 0x98], 5
push 0x52adc4
lea eax, [esp + 0x18]
push eax
call fcn.004b74bb
int3