Function at 0x416909
Capabilities:
Create pipe

Disassembly:
push 0x18
mov eax, 0x4ad4d8
call fcn.0046ac08
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.004174f1
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.004830a0
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.004449d2
test eax, eax
je 0x416987
push str.S:_ML__NW___LW_
lea ecx, [ebp - 0x10]
call main
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 0x4169dd
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.004174f1
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.004449d2
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 0x416a68
lea esi, [ebx + 4]
xor edi, edi
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
push edi
push esi
push 0x416010
push edi
push edi
mov dword [ebp - 0x18], edi
call main
add esp, 0x18
mov dword [ebx + 0xc], eax
cmp eax, 0xffffffff
jne 0x416a63
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 0x416a7c
xor edi, edi
inc edi
jmp 0x416a99
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.004174f1
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 0x416aa8
push dword [ebp - 0x20]
call dword [sym.imp.kernel32.dll_LocalFree]
test edi, edi
je 0x416b0a
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.004174f1
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, 0x515e58
call fcn.0040419f
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, edi
call fcn.0046abd1
ret