Function at 0x460420
Capabilities:
Check if file exists
Create thread
Delete file
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 - 0x80]
sub rsp, 0x180
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov eax, dword [0x0050313c]
mov dword [rbp - 0x50], eax
mov dword [rbp - 0x68], 0
mov word [rbp - 0x64], 0x500
xor r15d, r15d
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
mov qword [rsp + 0x70], r15
mov dword [rbp - 0x60], r15d
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x5c], r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp - 0x70], r15
xor eax, eax
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
call fcn.0045fce0
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x5c]
lea rdx, [rbp - 0x78]
lea rcx, str.ASUS.pcInformation_qmba6cd70vzyy
call qword [sym.imp.api_ms_win_security_base_l1_2_2.dll_DeriveCapabilitySidsFromName]
test eax, eax
jne 0x460528
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
lea edx, [r15 + 0x7f]
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdi, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
lea rdx, [rdi + rax*2]
mov dword [rsp + 0x20], esi
lea r9, str.DeriveCapabilitySidsFromName___failed._Error_code0x_08x
lea ecx, [r15 + 1]
mov r8d, 0x832
call fcn.0044b390
jmp 0x460d82
cmp dword [rbp - 0x60], 1
je 0x460567
mov esi, 0x57
lea edx, [rsi + 0x28]
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdi, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
lea rdx, [rdi + rax*2]
lea r9, str.DeriveCapabilitySidsFromName___get_capabilitySidCount_is_not_1.
lea ecx, [rsi - 0x56]
mov r8d, 0x83a
call fcn.0044b390
jmp 0x460d82
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, 0x221
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp - 0x68]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x4605ef
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdi, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
lea rdx, [rdi + rax*2]
mov dword [rsp + 0x20], esi
lea r9, str.AllocateAndInitializeSid_SECURITY_BUILTIN_DOMAIN_RID__failed._Error_code0x_08x
mov ecx, 1
mov r8d, 0x846
call fcn.0044b390
jmp 0x460d82
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
lea r8d, [r9 + 0x12]
mov dl, 1
lea rcx, [rbp - 0x68]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x460671
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdi, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
lea rdx, [rdi + rax*2]
mov dword [rsp + 0x20], esi
lea r9, str.AllocateAndInitializeSid_SECURITY_LOCAL_SYSTEM_RID__failed._Error_code0x_08x
mov ecx, 1
mov r8d, 0x851
call fcn.0044b390
jmp 0x460d82
mov dword [rbp - 0x1c], 2
mov dword [rbp - 0x20], 0x10000000
mov dword [rbp - 0x18], r15d
mov dword [rbp - 4], r15d
mov dword [rbp], 5
mov rax, qword [rsp + 0x78]
mov qword [rbp + 8], rax
mov dword [rbp + 0x14], 2
mov dword [rbp + 0x10], 0x10000000
mov dword [rbp + 0x18], r15d
mov qword [rbp + 0x2c], r15
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
mov qword [rbp + 0x38], rcx
mov dword [rbp + 0x44], 2
mov dword [rbp + 0x40], 0x10000000
mov dword [rbp + 0x48], r15d
mov dword [rbp + 0x5c], r15d
mov dword [rbp + 0x60], 5
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x68], rax
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea ecx, [r8 + 3]
call qword [sym.imp.api_ms_win_security_provider_l1_1_0.dll_SetEntriesInAclW]
mov esi, eax
test eax, eax
je 0x460735
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdi, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
lea rdx, [rdi + rax*2]
mov dword [rsp + 0x20], esi
lea r9, str.SetEntriesInAcl___failed._Error_code0x_08x
mov ecx, 1
mov r8d, 0x871
call fcn.0044b390
jmp 0x460d82
mov edx, 1
lea rcx, [rbp - 0x48]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x46078c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdi, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
lea rdx, [rdi + rax*2]
mov dword [rsp + 0x20], esi
lea r9, str.InitializeSecurityDescriptor___failed._Error_code0x_08x
mov ecx, 1
mov r8d, 0x879
call fcn.0044b390
jmp 0x460d82
xor r9d, r9d
mov r8, qword [rbp - 0x70]
lea edx, [r9 + 1]
lea rcx, [rbp - 0x48]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x4607e9
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdi, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
lea rdx, [rdi + rax*2]
mov dword [rsp + 0x20], esi
lea r9, str.SetSecurityDescriptorDacl___failed._Error_code0x_08x
mov ecx, 1
mov r8d, 0x881
call fcn.0044b390
jmp 0x460d82
lea rbx, [0x00503180]
mov qword [rsp + 0x68], rbx
mov rcx, rbx
call fcn.0048121c
test eax, eax
jne 0x460e9a
cmp dword [0x005031f8], 1
jne 0x460858
cmp dword [0x005031fc], 1
jne 0x460858
lea edx, [rax + 0x7f]
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdi, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
lea rdx, [rdi + rax*2]
lea r9, str.WARNING:_RPC_interface_has_been_registered_before.
mov ecx, 1
mov r8d, 0x88d
call fcn.0044b390
mov esi, r15d
mov rcx, rbx
call fcn.00481240
jmp 0x460d82
lea r9, [rbp - 0x48]
lea r8, str.ALU_RPCServer
mov edx, 0xa
lea rcx, str.ncalrpc
call qword [sym.imp.RPCRT4.dll_RpcServerUseProtseqEpW]
mov esi, eax
test eax, eax
je 0x4608c0
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdi, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
lea rdx, [rdi + rax*2]
mov dword [rsp + 0x20], esi
lea r9, str.RpcServerUseProtseqEp___failed._Error_code0x_08x
mov ecx, 1
mov r8d, 0x89b
call fcn.0044b390
nop
mov rcx, rbx
call fcn.00481240
jmp 0x460d82
lea rax, [rbp - 0x48]
mov qword [rsp + 0x38], rax
lea rax, [0x0045fb50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 0x4d2
mov r9d, 0x61
xor r8d, r8d
xor edx, edx
lea rcx, [0x004b7050]
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterIf3]
mov esi, eax
test eax, eax
je 0x460945
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdi, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
lea rdx, [rdi + rax*2]
mov dword [rsp + 0x20], esi
lea r9, str.RpcServerRegisterIf3_ALU_RPCInterface_v1_0_s_ifspec__failed._Error_code0x_08x
mov ecx, 1
mov r8d, 0x8ab
call fcn.0044b390
nop
mov rcx, rbx
call fcn.00481240
jmp 0x460d82
mov dword [0x005031f8], 1
lea rcx, [0x005031f0]
call qword [sym.imp.RPCRT4.dll_RpcServerInqBindings]
mov esi, eax
test eax, eax
je 0x4609a7
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdi, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
lea rdx, [rdi + rax*2]
mov dword [rsp + 0x20], esi
lea r9, str.RpcServerInqBindings___failed._Error_code0x_08x
mov ecx, 1
mov r8d, 0x8b5
call fcn.0044b390
nop
mov rcx, rbx
call fcn.00481240
jmp 0x460d82
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x005031f0]
lea rcx, [0x004b7050]
call qword [sym.imp.RPCRT4.dll_RpcEpRegisterW]
mov esi, eax
test eax, eax
je 0x460a0c
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdi, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
lea rdx, [rdi + rax*2]
mov dword [rsp + 0x20], esi
lea r9, str.RpcEpRegister_ALU_RPCInterface_v1_0_s_ifspec__failed._Error_code0x_08x
mov ecx, 1
mov r8d, 0x8c1
call fcn.0044b390
nop
mov rcx, rbx
call fcn.00481240
jmp 0x460d82
mov dword [0x005031fc], 1
mov rcx, rbx
call fcn.00481240
lea rcx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_aludebug
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [rsp + 0x60], 1
lea rdi, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
cmp byte [0x005022c5], 0
je 0x460aed
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdx, [rdi + rax*2]
lea r9, str.Detect_ASUS_System_Control_Interface_v2_v3.
mov ecx, 1
mov r8d, 0x8cf
call fcn.0044b390
lea rdx, [rsp + 0x68]
mov ecx, 0x130014
call fcn.00402520
test al, al
je 0x460b22
test dword [rsp + 0x68], 0x10000
je 0x460b22
call fcn.00434640
mov edx, 0x7f
lea rcx, [0x004c92a0]
test al, al
je 0x460ac6
call fcn.004036d0
lea r9, str.OP_MB_product_mini_PC.
mov ecx, 4
mov r8d, 0x8d7
jmp 0x460b19
call fcn.004036d0
lea rdx, [rdi + rax*2]
lea r9, str.OP_MB_does_not_support_liveupdate._Skip_loading_AsusLiveUpdate.dll
mov ecx, 1
mov r8d, 0x8da
call fcn.0044b390
mov dword [rsp + 0x60], r15d
jmp 0x460b22
cmp byte [0x005022c7], 0
je 0x460b22
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea r9, str.Detect_ASUS_System_Control_Interface_v1.
mov ecx, 1
mov r8d, 0x8e0
lea rdx, [rdi + rax*2]
call fcn.0044b390
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
movzx ecx, byte [0x005022c5]
movzx r8d, byte [0x005022c7]
lea rdx, [rdi + rax*2]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r8d
mov ebx, dword [rsp + 0x60]
mov dword [rsp + 0x20], ebx
lea r9, str.LiveUpdateSupported_d__ASUS1000_exist_d__ASUS2018_exist_d
mov ecx, 1
mov r8d, 0x8e3
call fcn.0044b390
test ebx, ebx
je 0x460d82
mov rcx, qword [0x00502810]
test rcx, rcx
je 0x460bc1
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov ebx, eax
mov qword [0x00502810], r15
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdx, [rdi + rax*2]
mov dword [rsp + 0x20], ebx
lea r9, str.Free_AsusLiveUpdate.dll_ret_d_
mov ecx, 1
mov r8d, 0x8ee
call fcn.0044b390
lea rcx, str.AsusLiveUpdate.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
mov qword [0x00502810], rax
test rax, rax
je 0x460c54
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdx, [rdi + rax*2]
lea r9, str.Load_AsusLiveUpdate.dll_succeeded
mov ecx, 1
mov r8d, 0x8f5
call fcn.0044b390
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdx, [rdi + rax*2]
lea r9, str.Call_SetSwAgentInterface_BICommandInterface_
mov ecx, 1
mov r8d, 0x8f6
call fcn.0044b390
call fcn.004615a0
call fcn.0045ba40
cmp eax, 1
jne 0x460c46
call fcn.00461430
call fcn.0045de90
mov ecx, eax
call fcn.0045ea70
jmp 0x460c8c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdx, [rdi + rax*2]
mov dword [rsp + 0x20], ebx
lea r9, str.Load_AsusLiveUpdate.dll_failed:_0x_08x
mov ecx, 1
mov r8d, 0x905
call fcn.0044b390
lea rcx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdatewureboot
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460cd5
lea rcx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdatewureboot
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
lea rcx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alureboot
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov dword [rbp - 0x58], r15d
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x50]
lea r8, [0x0045ee80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdx, [rdi + rax*2]
lea r9, str.Start_RpcServerListen
mov ecx, 1
mov r8d, 0x931
call fcn.0044b390
xor r8d, r8d
mov edx, 0x4d2
lea ecx, [r8 + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov esi, eax
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdx, [rdi + rax*2]
mov dword [rsp + 0x28], esi
lea rax, str.ALU_RpcServerStart
mov qword [rsp + 0x20], rax
lea r9, str._s______RpcServerListen__0x_08x_
mov ecx, 1
mov r8d, 0x938
call fcn.0044b390
cmp esi, 0x6b1
cmove esi, r15d
mov edx, 0x7f
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rdx, [rdi + rax*2]
lea r9, str.Cleaning_RpcServer_resource...
mov ecx, 1
mov r8d, 0x93f
call fcn.0044b390
test esi, esi
jne 0x460db9
cmp dword [rsp + 0x60], 1
je 0x460dbe
call fcn.00460eb0
mov r14, qword [rbp - 0x78]
test r14, r14
je 0x460dfa
mov eax, dword [rbp - 0x5c]
test eax, eax
je 0x460de9
mov edi, eax
mov rbx, r14
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov qword [rbx], r15
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x460dd3
mov rcx, r14
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x5c], r15d
mov r14, qword [rsp + 0x70]
test r14, r14
je 0x460e38
mov eax, dword [rbp - 0x60]
test eax, eax
je 0x460e26
mov edi, eax
mov rbx, r14
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov qword [rbx], r15
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x460e10
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 - 0x60], r15d
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x460e4d
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
mov qword [rsp + 0x78], r15
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x460e60
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
mov qword [rbp - 0x80], r15
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x460e6f
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov eax, esi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.00479310
lea r11, [rsp + 0x180]
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
mov ecx, eax
call fcn.00480f30
int3