Function at 0x413c90
Capabilities:
Listen for remote procedure calls

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [sym.imp.rpcrt4.dll_RpcNetworkIsProtseqValidA]
mov dword [esp], 0x44a42c
call esi
sub esp, 4
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0xe0
xor eax, eax
cmp ebx, 0x6a8
sete al
mov dword [esp + 4], str.return_wrong_n
mov dword [esp], eax
call fcn.00412d80
mov dword [esp], 0x44a41c
call esi
sub esp, 4
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0xe3
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 4], str.return_wrong_n
mov dword [esp], eax
call fcn.00412d80
mov dword [esp], 0
mov esi, dword [sym.imp.rpcrt4.dll_RpcMgmtStopServerListening]
call esi
sub esp, 4
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0xe6
xor eax, eax
cmp ebx, 0x6b3
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.wrong_RpcMgmtStopServerListening_error___lu__n
call fcn.00412d80
mov eax, dword [sym.imp.rpcrt4.dll_RpcMgmtWaitServerListen]
mov dword [ebp - 0x2c], eax
call eax
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0xea
xor eax, eax
cmp ebx, 0x6b3
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.wrong_RpcMgmtWaitServerListen_error_status___lu__n
mov dword [esp], eax
call fcn.00412d80
mov edi, dword [sym.imp.rpcrt4.dll_RpcServerListen]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14
mov dword [esp], 1
call edi
sub esp, 0xc
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0xee
xor eax, eax
cmp ebx, 0x6b2
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.wrong_RpcServerListen_error___lu__n
mov dword [esp], eax
call fcn.00412d80
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x44a414
mov dword [esp + 4], 0x14
mov dword [esp], 0x44a41c
call dword [sym.imp.rpcrt4.dll_RpcServerUseProtseqEpA]
sub esp, 0x10
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0xf2
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.RpcServerUseProtseqEp_failed___lu__n
mov dword [esp], eax
call fcn.00412d80
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x452080
call dword [sym.imp.rpcrt4.dll_RpcServerRegisterIf]
sub esp, 0xc
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0xf5
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.RpcServerRegisterIf_failed___lu__n
mov dword [esp], eax
call fcn.00412d80
mov dword [esp + 8], 1
mov dword [esp + 4], 0x14
mov dword [esp], 1
call edi
sub esp, 0xc
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0xf8
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.RpcServerListen_failed___lu__n
mov dword [esp], eax
call fcn.00412d80
mov dword [esp + 8], 1
mov dword [esp + 4], 0x14
mov dword [esp], 1
call edi
sub esp, 0xc
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0xfb
xor eax, eax
cmp ebx, 0x6b1
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.wrong_RpcServerListen_error___lu__n
call fcn.00412d80
lea eax, [ebp - 0x28]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0x44a414
mov dword [esp + 8], 0x44a408
mov dword [esp + 4], 0x44a41c
mov dword [esp], 0
call dword [sym.imp.rpcrt4.dll_RpcStringBindingComposeA]
sub esp, 0x18
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x100
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.RpcStringBindingCompose_failed___lu__n
call fcn.00412d80
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call dword [sym.imp.rpcrt4.dll_RpcBindingFromStringBindingA]
sub esp, 8
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x103
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.RpcBindingFromStringBinding_failed___lu__n
call fcn.00412d80
mov edx, dword [sym.imp.rpcrt4.dll_RpcBindingSetAuthInfoA]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xa
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov dword [ebp - 0x30], edx
call edx
sub esp, 0x18
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x108
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.RpcBindingSetAuthInfo_failed___lu__n
call fcn.00412d80
mov dword [esp + 0x14], 0
mov edi, dword [sym.imp.rpcrt4.dll_RpcBindingInqAuthInfoA]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call edi
sub esp, 0x18
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x10b
xor eax, eax
cmp ebx, 0x6d2
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.RpcBindingInqAuthInfo_failed___lu__n
call fcn.00412d80
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xa
mov dword [esp + 8], 6
mov dword [esp + 4], str.principal
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov edx, dword [ebp - 0x30]
call edx
sub esp, 0x18
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x110
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.RpcBindingSetAuthInfo_failed___lu__n
call fcn.00412d80
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0xdeadbeef
mov dword [ebp - 0x10], 0xdeadbeef
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x18]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call edi
sub esp, 0x18
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x118
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.RpcBindingInqAuthInfo_failed___lu__n
call fcn.00412d80
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x119
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], str.expected_NULL_identity__got__p_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00412d80
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x11a
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], str.expected_valid_principal__got__p_n
cmp eax, 0xdeadbeef
mov dword [esp + 8], eax
setne al
movzx eax, al
mov dword [esp], eax
call fcn.00412d80
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x11b
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], str.expected_RPC_C_AUTHN_LEVEL_PKT_PRIVACY__got__ld_n
cmp eax, 6
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00412d80
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x11c
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], str.expected_RPC_C_AUTHN_WINNT__got__ld_n
cmp eax, 0xa
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00412d80
mov edi, dword [0x4b3310]
call fcn.00448020
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test edi, edi
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4142ba
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x11d
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], str.expected_RPC_C_AUTHZ_NAME__got__ld_n
cmp eax, 1
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00412d80
call fcn.00448020
shr dword [eax + 0x10], 1
call fcn.00448020
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x414280
mov edi, dword [sym.imp.rpcrt4.dll_RpcStringFreeA]
test ebx, ebx
je 0x414458
mov dword [esp], 0
call esi
sub esp, 4
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x121
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.RpcMgmtStopServerListening_failed___lu__n
mov dword [esp], eax
call fcn.00412d80
mov dword [esp], 0
call esi
sub esp, 4
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x125
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.RpcMgmtStopServerListening_failed___lu__n
mov dword [esp], eax
call fcn.00412d80
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.rpcrt4.dll_RpcServerUnregisterIf]
sub esp, 0xc
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x129
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.RpcServerUnregisterIf_failed___lu__n
call fcn.00412d80
mov eax, dword [ebp - 0x2c]
call eax
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x12c
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.RpcMgmtWaitServerListen_failed___lu__n
call fcn.00412d80
lea eax, [ebp - 0x28]
mov dword [esp], eax
call edi
sub esp, 4
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x12f
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], str.RpcStringFree_failed___lu__n
call fcn.00412d80
lea eax, [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.rpcrt4.dll_RpcBindingFree]
sub esp, 4
mov ebx, eax
call fcn.00448020
mov dword [eax], 0x450031
mov dword [eax + 4], 0x132
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 8], ebx
mov dword [esp + 4], str.RpcBindingFree_failed___lu__n
mov dword [esp], eax
call fcn.00412d80
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [esp], eax
call edi
sub esp, 4
jmp 0x4142db