Function at 0x46dba0
Capabilities:
Listen for remote procedure calls

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov edx, 0x7b
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
call fcn.004036d0
lea rdi, [0x004cfcd0]
mov ecx, 1
lea rsi, str.AsusGiftBoxRpcEndpointV3
mov r8d, 0x102
lea r9, str.RpcServerStart__s_
mov qword [rsp + 0x20], rsi
lea rdx, [rdi + rax*2]
call fcn.0044a600
xor edx, edx
lea rcx, [0x005028e8]
mov r8d, 0x800
call fcn.004a2370
xor r15d, r15d
lea r8, str.Prepare_RPC_Thread_
mov edx, 0x400
mov qword [0x005028e0], r15
lea rcx, [0x005028e8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
xorps xmm0, xmm0
mov dword [rbp - 0x7c], r15d
xor eax, eax
mov word [rbp - 0x78], 0x500
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x50], rax
movups xmmword [rbp - 0x30], xmm0
mov qword [rsp + 0x68], r15
movups xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x60], r15
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x80], r15d
movups xmmword [rbp], xmm0
mov qword [rsp + 0x70], r15
movups xmmword [rbp + 0x10], xmm0
mov dword [rbp - 0x74], r15d
movups xmmword [rbp - 0x70], xmm0
mov qword [rsp + 0x78], r15
movups xmmword [rbp - 0x60], xmm0
call fcn.0046d460
lea rax, [rbp - 0x80]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x74]
lea rdx, [rsp + 0x70]
lea rcx, str.ASUS.pcInformation_qmba6cd70vzyy
call qword [sym.imp.api_ms_win_security_base_l1_2_2.dll_DeriveCapabilitySidsFromName]
test eax, eax
jne 0x46dd13
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea r8, [0x004cff80]
mov dword [0x005028e0], 1
mov edx, 0x400
mov dword [0x005028e4], eax
lea rcx, [0x005028e8]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea edx, [r15 + 0x7b]
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
call fcn.004036d0
lea r9, str.DeriveCapabilitySidsFromName___failed._Error_code0x_08x
mov r8d, 0x133
jmp 0x46e2fe
cmp dword [rbp - 0x80], 1
je 0x46dd74
mov ebx, 0x57
mov dword [0x005028e0], 2
lea r8, str.capabilitySidCount
mov dword [0x005028e4], ebx
mov edx, 0x400
lea rcx, [0x005028e8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea edx, [rbx + 0x24]
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
call fcn.004036d0
lea r9, str.DeriveCapabilitySidsFromName___get_capabilitySidCount_is_not_1.
mov r8d, 0x13c
lea ecx, [rbx - 0x56]
lea rdx, [rdi + rax*2]
call fcn.0044a600
jmp 0x46e310
lea rax, [rsp + 0x68]
mov r9d, 0x221
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x7c]
mov dword [rsp + 0x48], r15d
mov r8d, 0x20
mov dword [rsp + 0x40], r15d
mov dl, 2
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x46de0c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea r8, [0x004cfed8]
mov dword [0x005028e0], 3
mov edx, 0x400
mov dword [0x005028e4], eax
lea rcx, [0x005028e8]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x7b
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
call fcn.004036d0
lea r9, str.AllocateAndInitializeSid___failed._Error_code0x_08x
mov r8d, 0x149
jmp 0x46e2fe
mov rax, qword [rsp + 0x68]
lea r9, [rsp + 0x78]
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x40]
mov rax, qword [rsp + 0x60]
xor r8d, r8d
mov dword [rbp - 0x3c], 2
mov dword [rbp - 0x40], 0x10000000
mov dword [rbp - 0x38], r15d
mov dword [rbp - 0x24], r15d
mov dword [rbp - 0x20], 5
mov dword [rbp - 0xc], 2
mov dword [rbp - 0x10], 0x10000000
mov dword [rbp - 8], r15d
mov qword [rbp + 0xc], r15
mov rcx, qword [rax]
mov qword [rbp + 0x18], rcx
lea ecx, [r8 + 2]
call qword [sym.imp.api_ms_win_security_provider_l1_1_0.dll_SetEntriesInAclW]
mov ebx, eax
test eax, eax
je 0x46debc
lea r8, str.SetEntriesInAcl
mov dword [0x005028e0], 4
mov edx, 0x400
mov dword [0x005028e4], eax
lea rcx, [0x005028e8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x7b
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
call fcn.004036d0
lea r9, str.SetEntriesInAcl___failed._Error_code0x_08x
mov r8d, 0x164
jmp 0x46e2fe
mov edx, 1
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x46df23
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea r8, [0x004d0070]
mov dword [0x005028e0], 5
mov edx, 0x400
mov dword [0x005028e4], eax
lea rcx, [0x005028e8]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x7b
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
call fcn.004036d0
lea r9, str.InitializeSecurityDescriptor___failed._Error_code0x_08x
mov r8d, 0x16d
jmp 0x46e2fe
mov r8, qword [rsp + 0x78]
lea rcx, [rbp - 0x70]
xor r9d, r9d
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x46df91
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea r8, [0x004cffe8]
mov dword [0x005028e0], 6
mov edx, 0x400
mov dword [0x005028e4], eax
lea rcx, [0x005028e8]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x7b
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
call fcn.004036d0
lea r9, str.SetSecurityDescriptorDacl___failed._Error_code0x_08x
mov r8d, 0x176
jmp 0x46e2fe
lea r9, [rbp - 0x70]
mov r8, rsi
mov edx, 0xa
lea rcx, str.ncalrpc
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
mov ebx, eax
test eax, eax
je 0x46dffc
lea r8, str.RpcServerUseProtseqEp
mov dword [0x005028e0], 7
mov edx, 0x400
mov dword [0x005028e4], eax
lea rcx, [0x005028e8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x7b
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
call fcn.004036d0
lea r9, str.RpcServerUseProtseqEp___failed._Error_code0x_08x
mov r8d, 0x186
jmp 0x46e2fe
lea rax, [rbp - 0x70]
mov r9d, 0x61
mov qword [rsp + 0x38], rax
lea rsi, [0x0046d2d0]
mov qword [rsp + 0x30], rsi
lea rcx, [0x004b6a40]
mov dword [rsp + 0x28], r15d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov ebx, eax
test eax, eax
je 0x46e088
lea r8, str.RpcServerRegisterIf3_1
mov dword [0x005028e0], 8
mov edx, 0x400
mov dword [0x005028e4], eax
lea rcx, [0x005028e8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x7b
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
call fcn.004036d0
lea r9, str.RpcServerRegisterIf3_AgentRPCInterface_v1_0_s_ifspec__failed._Error_code0x_08x
mov r8d, 0x197
jmp 0x46e2fe
lea rax, [rbp - 0x70]
mov r9d, 0x61
mov qword [rsp + 0x38], rax
lea rcx, [0x004b9110]
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], r15d
xor edx, edx
mov dword [rsp + 0x20], 0x4d2
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov ebx, eax
test eax, eax
je 0x46e10d
lea r8, str.RpcServerRegisterIf3_2
mov dword [0x005028e0], 9
mov edx, 0x400
mov dword [0x005028e4], eax
lea rcx, [0x005028e8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x7b
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
call fcn.004036d0
lea r9, str.RpcServerRegisterIf3_GiftBoxRPCInterface_v1_0_s_ifspec__failed._Error_code0x_08x
mov r8d, 0x1a8
jmp 0x46e2fe
lea rcx, [0x00503408]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov ebx, eax
test eax, eax
je 0x46e173
lea r8, [0x004d0398]
mov dword [0x005028e0], 0xa
mov edx, 0x400
mov dword [0x005028e4], eax
lea rcx, [0x005028e8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x7b
mov qword [0x00503408], r15
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
call fcn.004036d0
lea r9, str.RpcServerInqBindings___failed._Error_code0x_08x
mov r8d, 0x1b2
jmp 0x46e2fe
mov rdx, qword [0x00503408]
lea rcx, [0x004b6a40]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov ebx, eax
test eax, eax
je 0x46e1df
lea r8, str.RpcEpRegister
mov dword [0x005028e0], 0xb
mov edx, 0x400
mov dword [0x005028e4], eax
lea rcx, [0x005028e8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x7b
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
call fcn.004036d0
lea r9, str.RpcEpRegister_AgentRPCInterface_v1_0_s_ifspec__failed._Error_code0x_08x
mov r8d, 0x1bf
jmp 0x46e2fe
mov rdx, qword [0x00503408]
lea rcx, [0x004b9110]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov edx, 0x400
lea rcx, [0x005028e8]
mov ebx, eax
test eax, eax
je 0x46e24b
lea r8, str.RpcEpRegister
mov dword [0x005028e0], 0xc
mov dword [0x005028e4], eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x7b
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
call fcn.004036d0
lea r9, str.RpcEpRegister_GiftBoxRPCInterface_v1_0_s_ifspec__failed._Error_code0x_08x
mov r8d, 0x1cc
jmp 0x46e2fe
lea r8, str.Start_Listen
mov qword [0x005028e0], 0xd
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x7b
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
call fcn.004036d0
lea r9, str.Start_RpcServerListen
mov ecx, 1
mov r8d, 0x1d3
lea rdx, [rdi + rax*2]
call fcn.0044a600
mov ecx, 1
mov edx, 0x4d2
mov r8d, ecx
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov edx, 0x7b
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
mov ebx, eax
call fcn.004036d0
lea r9, str.RpcServerListen_ret_d
mov dword [rsp + 0x20], ebx
mov ecx, 1
mov r8d, 0x1da
lea rdx, [rdi + rax*2]
call fcn.0044a600
test ebx, ebx
jne 0x46e310
call qword [sym.imp.RPCRT4.dll_RpcMgmtWaitServerListen]
mov edx, 0x7b
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
mov ebx, eax
call fcn.004036d0
lea r9, str.RpcMgmtWaitServerListen_ret_d
mov r8d, 0x1df
lea rdx, [rdi + rax*2]
mov dword [rsp + 0x20], ebx
mov ecx, 1
call fcn.0044a600
mov edx, 0x7b
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCRpcServer.cpp
call fcn.004036d0
lea r9, str.Cleaning_RpcServer_resource...
mov ecx, 1
mov r8d, 0x1e4
lea rdx, [rdi + rax*2]
call fcn.0044a600
cmp ebx, 0x6b1
je 0x46e34d
test ebx, ebx
je 0x46e34d
call fcn.0046e420
mov r14, qword [rsp + 0x70]
test r14, r14
je 0x46e38b
mov eax, dword [rbp - 0x74]
test eax, eax
je 0x46e379
mov esi, eax
mov rdi, r14
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov qword [rdi], r15
lea rdi, [rdi + 8]
sub rsi, 1
jne 0x46e363
mov rcx, r14
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov qword [rsp + 0x70], r15
mov dword [rbp - 0x74], r15d
mov r14, qword [rsp + 0x60]
test r14, r14
je 0x46e3c9
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x46e3b7
mov esi, eax
mov rdi, r14
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov qword [rdi], r15
lea rdi, [rdi + 8]
sub rsi, 1
jne 0x46e3a1
mov rcx, r14
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov qword [rsp + 0x60], r15
mov dword [rbp - 0x80], r15d
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x46e3de
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
mov qword [rsp + 0x68], r15
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x46e3ee
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov eax, ebx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.00479310
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret