Function at 0x41344b
Capabilities:
Create pipe
Create thread

Disassembly:
push 0x18
mov eax, 0x487228
call fcn.00464e48
mov ebx, ecx
push str.StartServer...
lea ecx, [ebp - 0x10]
call fcn.0040279b
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push 0
push 2
pop ecx
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402def
push 0xc
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.00466990
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.0040279b
xor esi, esi
inc esi
mov dword [ebp - 4], esi
call fcn.0044013e
test eax, eax
je 0x4134c9
push str.S:_ML__NW___LW_
lea ecx, [ebp - 0x10]
call fcn.0040252d
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.00402def
test esi, esi
jne 0x41351f
push str.Create_DACL_failed___using_default_security
lea ecx, [ebp - 0x10]
call fcn.0040279b
push 2
pop eax
push esi
lea edx, [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, eax
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402def
push 7
pop esi
call fcn.0044013e
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 0x4135aa
lea esi, [ebx + 4]
xor edi, edi
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push 0x412b60
push edi
push edi
mov dword [ebp - 0x18], edi
call fcn.0046ddbc
add esp, 0x18
mov dword [ebx + 0xc], eax
cmp eax, 0xffffffff
jne 0x4135a5
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.0040279b
mov dword [ebp - 4], 3
jmp 0x4135be
xor edi, edi
inc edi
jmp 0x4135db
push str.Create_ARM_Server_failed
lea ecx, [ebp - 0x10]
call fcn.0040279b
mov dword [ebp - 4], 4
push 0
push 2
lea edx, [ebp - 0x10]
pop ecx
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402def
cmp dword [ebp - 0x20], 0
je 0x4135ea
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x41364c
push str.ARM_Server_started
lea ecx, [ebp - 0x10]
call fcn.0040279b
push 0
push 2
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 5
pop ecx
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00402def
push str.Listener
lea ecx, [ebp - 0x14]
call fcn.0040279b
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 6
push eax
mov ecx, 0x4e1f90
call fcn.004044b2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402def
mov eax, edi
call fcn.00464e11
ret