Function at 0x413449
Capabilities:
Create pipe
Create thread

Disassembly:
push 0x18
mov eax, 0x4ad648
call fcn.0046af88
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.00414071
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.00483730
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.00440c7d
test eax, eax
je 0x4134c7
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 0x41351d
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.00414071
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.00440c7d
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 0x4135a8
lea esi, [ebx + 4]
xor edi, edi
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push 0x412a30
push edi
push edi
mov dword [ebp - 0x18], edi
call fcn.0048bb0c
add esp, 0x18
mov dword [ebx + 0xc], eax
cmp eax, 0xffffffff
jne 0x4135a3
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 0x4135bc
xor edi, edi
inc edi
jmp 0x4135d9
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.00414071
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 0x4135e8
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x41364a
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.00414071
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, 0x518d30
call fcn.00404657
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, edi
call fcn.0046af51
ret