Function at 0x4168a9
Capabilities:
Create pipe
Create thread

Disassembly:
push 0x18
mov eax, 0x4aec68
call fcn.0046c338
mov ebx, ecx
push str.StartServer...
lea ecx, [ebp - 0x10]
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push 0
push 2
pop ecx
call fcn.004174d1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0xc
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.004847f0
and dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x24], esi
push str.D:_D_OICI_GA___BG__D_OICI_GA___AN__A_OICI_GRGWGX___AU__A_OICI_GA___BA_
call fcn.00402829
xor esi, esi
inc esi
mov dword [ebp - 4], esi
call fcn.00444b7c
test eax, eax
je 0x416927
push str.S:_ML__NW___LW_
lea ecx, [ebp - 0x10]
call fcn.0040259d
push 0
lea eax, [ebp - 0x20]
push eax
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
or dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
lea ecx, [ecx - 0x10]
call fcn.00402e64
test esi, esi
jne 0x41697d
push str.Create_DACL_failed___using_default_security
lea ecx, [ebp - 0x10]
call fcn.00402829
push 2
pop eax
push esi
lea edx, [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, eax
call fcn.004174d1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 7
pop esi
call fcn.00444b7c
push 0xf
pop ecx
test eax, eax
lea eax, [ebp - 0x24]
cmovne esi, ecx
xor ecx, ecx
cmp dword [ebp - 0x14], ecx
cmove eax, ecx
push eax
push ecx
push 4
push 4
push 0xff
push esi
push 3
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [ebx + 8], eax
cmp eax, 0xffffffff
je 0x416a08
lea esi, [ebx + 4]
xor edi, edi
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push 0x415fb0
push edi
push edi
mov dword [ebp - 0x18], edi
call fcn.0048ce2c
add esp, 0x18
mov dword [ebx + 0xc], eax
cmp eax, 0xffffffff
jne 0x416a03
push dword [ebx + 8]
and dword [esi], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebx + 8], 0xffffffff
lea ecx, [ebp - 0x10]
push str._beginthreadex_failed_in_StartServer
call fcn.00402829
mov dword [ebp - 4], 3
jmp 0x416a1c
xor edi, edi
inc edi
jmp 0x416a39
push str.Create_ARM_Server_failed
lea ecx, [ebp - 0x10]
call fcn.00402829
mov dword [ebp - 4], 4
push 0
push 2
lea edx, [ebp - 0x10]
pop ecx
call fcn.004174d1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
cmp dword [ebp - 0x20], 0
je 0x416a48
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x416aaa
push str.ARM_Server_started
lea ecx, [ebp - 0x10]
call fcn.00402829
push 0
push 2
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 5
pop ecx
call fcn.004174d1
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.Listener
lea ecx, [ebp - 0x14]
call fcn.00402829
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 6
push eax
mov ecx, 0x518e58
call fcn.004041b6
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, edi
call fcn.0046c301
ret