Function at 0x45a3a0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x120
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov edx, 0x80
lea rcx, [0x004c92a0]
call fcn.004036d0
lea rcx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
lea rax, [rcx + rax*2]
lea r9, str.GetUpgradableItemsFirst___In
mov r8d, 0x228
mov rdx, rax
mov ecx, 1
call fcn.0044b390
nop
lea r8, [0x004b993c]
mov edx, 0x200
lea rcx, [0x00502340]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [0x004b993c]
mov edx, 0x40
lea rcx, [0x00502740]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov dword [0x005027c0], 0
mov eax, dword [0x00503e34]
mov dword [rsp + 0x34], eax
mov eax, dword [0x00503e34]
inc eax
mov dword [0x00503e34], eax
mov edx, 0x80
lea rcx, [0x004c92a0]
call fcn.004036d0
mov qword [rsp + 0x40], rax
lea rax, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
mov rcx, qword [rsp + 0x40]
lea rax, [rax + rcx*2]
mov ecx, dword [rsp + 0x34]
mov dword [rsp + 0x20], ecx
lea r9, str.checkCount___d
mov r8d, 0x230
mov rdx, rax
mov ecx, 4
call fcn.0044b390
lea rdx, str.GetUpgradableItemsForCheckButton
mov rcx, qword [0x00502810]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x00502860], rax
cmp qword [0x00502860], 0
je 0x45a632
mov edx, 0x80
lea rcx, [0x004c92a0]
call fcn.004036d0
mov qword [rsp + 0x48], rax
lea rax, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
mov rcx, qword [rsp + 0x48]
lea rax, [rax + rcx*2]
lea r9, str.getUpgradableItems_called
mov r8d, 0x235
mov rdx, rax
mov ecx, 4
call fcn.0044b390
mov r8, qword [rsp + 0x138]
xor edx, edx
mov ecx, dword [rsp + 0x130]
call qword [0x00502860]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x10
jne 0x45a5e4
mov edx, 0x80
lea rcx, [0x004c92a0]
call fcn.004036d0
mov qword [rsp + 0x50], rax
lea rax, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
mov rcx, qword [rsp + 0x50]
lea rax, [rax + rcx*2]
lea r9, str.No_more_updates__delete_alulist.txt
mov r8d, 0x239
mov rdx, rax
mov ecx, 4
call fcn.0044b390
lea rcx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x80
rep stosb byte [rdi], al
lea rcx, [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
lea rcx, [rsp + 0x78]
call fcn.00459080
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x58]
lea rdx, str._lld
lea rcx, [rsp + 0x90]
call fcn.00461840
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
lea r8, [rsp + 0x90]
lea rdx, str.CheckTime
lea rcx, str.ItemsCount
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov edx, 0x80
lea rcx, [0x004c92a0]
call fcn.004036d0
mov qword [rsp + 0x60], rax
lea rax, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
mov rcx, qword [rsp + 0x60]
lea rax, [rax + rcx*2]
lea r9, str.GetUpgradableItemsFirst___Out
mov r8d, 0x242
mov rdx, rax
mov ecx, 4
call fcn.0044b390
mov eax, dword [rsp + 0x30]
jmp 0x45a6f6
mov edx, 0x80
lea rcx, [0x004c92a0]
call fcn.004036d0
mov qword [rsp + 0x68], rax
lea rax, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
mov rcx, qword [rsp + 0x68]
lea rax, [rax + rcx*2]
lea r9, str.GetProcAddress_for_GetUpgradableItemsFirst_error
mov r8d, 0x247
mov rdx, rax
mov ecx, 4
call fcn.0044b390
mov edx, 0x80
lea rcx, [0x004c92a0]
call fcn.004036d0
mov qword [rsp + 0x70], rax
lea rax, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
mov rcx, qword [rsp + 0x70]
lea rax, [rax + rcx*2]
lea r9, str.GetUpgradableItemsFirst___Out
mov r8d, 0x248
mov rdx, rax
mov ecx, 4
call fcn.0044b390
mov eax, 0x70001000
jmp 0x45a6f6
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.00479310
add rsp, 0x120
pop rdi
ret