Function at 0x419310
Capabilities:
Create thread
Listen for remote procedure calls

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x1c
mov dword [esp + 8], 1
mov dword [esp + 4], 0x4d2
mov dword [esp], 1
call dword [sym.imp.rpcrt4.dll_RpcServerListen]
sub esp, 0xc
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x9b6
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.RpcServerListen_failed_with_status__ld_n
mov ebx, dword fs:[0x18]
call fcn.004190a0
xor ecx, ecx
xor edx, edx
mov eax, 0x9b7
call fcn.00419160
mov edi, dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
sub esp, 0x10
mov dword [0x4b3290], eax
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x9ba
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.CreateEvent_failed_with_error__ld_n
mov dword [esp + 8], eax
mov edx, dword [0x4b3290]
xor eax, eax
test edx, edx
setne al
mov dword [esp], eax
call fcn.004190a0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
sub esp, 0x10
mov dword [0x4b3294], eax
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x9bc
mov eax, dword [ebx + 0x34]
mov dword [esp + 4], str.CreateEvent_failed_with_error__ld_n
mov dword [esp + 8], eax
mov ecx, dword [0x4b3294]
xor eax, eax
test ecx, ecx
setne al
mov dword [esp], eax
call fcn.004190a0
mov edi, dword [sym.imp.kernel32.dll_CreateThread]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x419280
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
sub esp, 0x18
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x9bf
xor eax, eax
test ebx, ebx
setne al
mov dword [esp + 4], str.CreateThread_failed_n
mov dword [esp], eax
call fcn.004190a0
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x4191b0
mov dword [esp + 4], 0
mov dword [esp], 0
call edi
sub esp, 0x18
mov esi, eax
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x9c2
xor eax, eax
test esi, esi
setne al
mov dword [esp + 4], str.CreateThread_failed_n
mov dword [esp], eax
call fcn.004190a0
mov dword [esp], esi
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
mov edi, dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 4
mov dword [esp + 4], 0x2710
mov eax, dword [0x4b3294]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [ebp - 0x10], eax
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x9c6
xor eax, eax
mov dword [esp + 4], str.WaitForSingleObject_n
mov edx, dword [ebp - 0x10]
test edx, edx
sete al
mov dword [esp], eax
call fcn.004190a0
mov dword [esp], 0
call dword [sym.imp.rpcrt4.dll_RpcMgmtStopServerListening]
sub esp, 4
mov dword [ebp - 0x10], eax
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x9c9
xor eax, eax
mov dword [esp + 4], str.RpcMgmtStopServerListening_n
mov edx, dword [ebp - 0x10]
test edx, edx
sete al
mov dword [esp], eax
call fcn.004190a0
xor edx, edx
mov ecx, 0x6b3
mov eax, 0x9ca
call fcn.00419160
mov dword [esp], ebx
mov dword [esp + 4], 0x1f4
call edi
sub esp, 8
mov dword [ebp - 0x10], eax
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x9cd
xor eax, eax
mov dword [esp + 4], str.WaitForSingleObject_n
cmp dword [ebp - 0x10], 0x102
sete al
mov dword [esp], eax
call fcn.004190a0
mov eax, dword [0x4b3290]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_SetEvent]
sub esp, 4
mov dword [esp], ebx
mov dword [esp + 4], 0x2710
call edi
sub esp, 8
mov edi, eax
call fcn.00448020
mov dword [eax], 0x452a3d
mov dword [eax + 4], 0x9d2
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp + 4], str.WaitForSingleObject_returned__lu_n
mov dword [esp], eax
call fcn.004190a0
mov dword [esp], ebx
call esi
mov eax, dword [0x4b3290]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [0x4b3294]
mov dword [0x4b3290], 0
sub esp, 4
mov dword [esp], eax
call esi
mov dword [0x4b3294], 0
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret