Function at 0x45abe0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x180
mov rax, qword [0x004fb010]
xor rax, rsp
mov qword [rsp + 0x178], 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.GetUpgradableItemsSecond___In
mov r8d, 0x29b
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
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 0x45b475
mov edx, 0x80
lea rcx, [0x004c92a0]
call fcn.004036d0
mov qword [rsp + 0x58], rax
lea rax, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
mov rcx, qword [rsp + 0x58]
lea rax, [rax + rcx*2]
lea r9, str.GetUpgradableItemsSecond_called
mov r8d, 0x2a5
mov rdx, rax
mov ecx, 4
call fcn.0044b390
mov r8, qword [rsp + 0x1a0]
mov rdx, qword [rsp + 0x198]
mov ecx, dword [rsp + 0x190]
call qword [0x00502860]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 1
jne 0x45b421
lea rcx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax]
xor edx, edx
mov ecx, 0x12ce8
div rcx
mov dword [rsp + 0x3c], eax
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]
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x20], ecx
lea r9, str.Find__d_items
mov r8d, 0x2ad
mov rdx, rax
mov ecx, 4
call fcn.0044b390
lea rax, [rsp + 0x150]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x80
rep stosb byte [rdi], al
lea rax, [rsp + 0xa8]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov r8d, dword [rsp + 0x3c]
lea rdx, [0x004ca82c]
lea rcx, [rsp + 0x150]
call fcn.004618a0
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
lea r8, [rsp + 0x150]
lea rdx, str.Count
lea rcx, str.ItemsCount
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0x98]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
lea rcx, [rsp + 0x98]
call fcn.00459080
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x68]
lea rdx, str._lld
lea rcx, [rsp + 0xd0]
call fcn.00461840
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
lea r8, [rsp + 0xd0]
lea rdx, str.CheckTime
lea rcx, str.ItemsCount
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0
jmp 0x45ae82
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x40], eax
jge 0x45b142
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
cmp eax, 1
je 0x45aeaf
mov rax, qword [rsp + 0x30]
add rax, 0x12ce8
mov qword [rsp + 0x30], rax
jmp 0x45ae78
mov edx, 0x80
lea rcx, [0x004c92a0]
call fcn.004036d0
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x30]
add rax, 0x208
mov rcx, qword [rsp + 0x30]
add rcx, 8
lea rdx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
mov rdi, qword [rsp + 0x70]
lea rdx, [rdx + rdi*2]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, str.Item_name___s__Version___s
mov r8d, 0x2c6
mov ecx, 4
call fcn.0044b390
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov r8d, dword [rsp + 0x50]
lea rdx, str.Item_d
lea rcx, [rsp + 0xa8]
call fcn.004618a0
mov rax, qword [rsp + 0x30]
add rax, 8
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
mov r8, rax
lea rdx, str.Name
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
add rax, 0x12ae0
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
mov r8, rax
lea rdx, [0x004ca8d0]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
add rax, 0x208
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
mov r8, rax
lea rdx, [0x004bebc8]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 1]
mov r8d, eax
lea rdx, [0x004ca8c8]
lea rcx, [rsp + 0xd0]
call fcn.00461840
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
lea r8, [rsp + 0xd0]
lea rdx, str.Severity
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x2288]
lea rdx, [0x004ca8c8]
lea rcx, [rsp + 0xd0]
call fcn.00461840
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
lea r8, [rsp + 0xd0]
lea rdx, str.Size
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x2adc]
lea rdx, [0x004ca8c8]
lea rcx, [rsp + 0xd0]
call fcn.00461840
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
lea r8, [rsp + 0xd0]
lea rdx, str.ReleaseTime
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov r8d, eax
lea rdx, [0x004ca8c8]
lea rcx, [rsp + 0xd0]
call fcn.00461840
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
lea r8, [rsp + 0xd0]
lea rdx, str.Type
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 4]
lea rdx, [0x004ca82c]
lea rcx, [rsp + 0xd0]
call fcn.00461840
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
lea r8, [rsp + 0xd0]
lea rdx, str.Index
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
add rax, 0x288
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
mov r8, rax
lea rdx, str.Description
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
add rax, 0x12ce8
mov qword [rsp + 0x30], rax
jmp 0x45b142
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x44], 0
jmp 0x45b163
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x44], eax
jge 0x45b421
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
cmp eax, 1
jne 0x45b190
mov rax, qword [rsp + 0x30]
add rax, 0x12ce8
mov qword [rsp + 0x30], rax
jmp 0x45b159
mov edx, 0x80
lea rcx, [0x004c92a0]
call fcn.004036d0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
add rax, 0x208
mov rcx, qword [rsp + 0x30]
add rcx, 8
lea rdx, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
mov rdi, qword [rsp + 0x78]
lea rdx, [rdx + rdi*2]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, str.Item_name_s__Version_s
mov r8d, 0x2e5
mov ecx, 4
call fcn.0044b390
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov r8d, dword [rsp + 0x54]
lea rdx, str.Item_d
lea rcx, [rsp + 0xa8]
call fcn.004618a0
mov rax, qword [rsp + 0x30]
add rax, 8
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
mov r8, rax
lea rdx, str.Name
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
add rax, 0x12ae0
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
mov r8, rax
lea rdx, [0x004ca8d0]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
add rax, 0x208
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
mov r8, rax
lea rdx, [0x004bebc8]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 1]
mov r8d, eax
lea rdx, [0x004ca8c8]
lea rcx, [rsp + 0xd0]
call fcn.00461840
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
lea r8, [rsp + 0xd0]
lea rdx, str.Severity
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x2288]
lea rdx, [0x004ca8c8]
lea rcx, [rsp + 0xd0]
call fcn.00461840
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
lea r8, [rsp + 0xd0]
lea rdx, str.Size
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x2adc]
lea rdx, [0x004ca8c8]
lea rcx, [rsp + 0xd0]
call fcn.00461840
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
lea r8, [rsp + 0xd0]
lea rdx, str.ReleaseTime
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov r8d, eax
lea rdx, [0x004ca8c8]
lea rcx, [rsp + 0xd0]
call fcn.00461840
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
lea r8, [rsp + 0xd0]
lea rdx, str.Type
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 4]
lea rdx, [0x004ca82c]
lea rcx, [rsp + 0xd0]
call fcn.00461840
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
lea r8, [rsp + 0xd0]
lea rdx, str.Index
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
add rax, 0x288
lea r9, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSoftwareManagerAsusLiveUpdate_alulist.txt
mov r8, rax
lea rdx, str.Description
lea rcx, [rsp + 0xa8]
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_WritePrivateProfileStringW]
mov rax, qword [rsp + 0x30]
add rax, 0x12ce8
mov qword [rsp + 0x30], rax
jmp 0x45b159
mov edx, 0x80
lea rcx, [0x004c92a0]
call fcn.004036d0
mov qword [rsp + 0x80], rax
lea rax, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
mov rcx, qword [rsp + 0x80]
lea rax, [rax + rcx*2]
lea r9, str.GetUpgradableItemsSecond___Out
mov r8d, 0x2fb
mov rdx, rax
mov ecx, 4
call fcn.0044b390
mov eax, dword [rsp + 0x48]
jmp 0x45b545
mov edx, 0x80
lea rcx, [0x004c92a0]
call fcn.004036d0
mov qword [rsp + 0x88], rax
lea rax, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
mov rcx, qword [rsp + 0x88]
lea rax, [rax + rcx*2]
lea r9, str.GetProcAddress_for_GetUpgradableItemsForCheckButton_error
mov r8d, 0x300
mov rdx, rax
mov ecx, 4
call fcn.0044b390
mov edx, 0x80
lea rcx, [0x004c92a0]
call fcn.004036d0
mov qword [rsp + 0x90], rax
lea rax, str.C:Usersjk_kanDesktopGerritSWMgrAsusSoftwareManagerAsusSoftwareManagerGiftBoxServiceGiftBoxServiceRPCALU_RPCServer.cpp
mov rcx, qword [rsp + 0x90]
lea rax, [rax + rcx*2]
lea r9, str.GetUpgradableItemsSecond___Out
mov r8d, 0x301
mov rdx, rax
mov ecx, 4
call fcn.0044b390
mov eax, 0x70001000
jmp 0x45b545
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.00479310
add rsp, 0x180
pop rdi
ret