Function at 0x48f9b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e67e6
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x53d9f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x20]
imul ecx, eax, 0x64
movzx eax, word [ebp - 0x1e]
push 0
mov dword [ebp - 0x2bc], 0
add ecx, eax
movzx eax, word [ebp - 0x1a]
imul esi, ecx, 0x64
add esi, eax
lea eax, [ebp - 0x2bc]
push eax
push str.HKCUSoftwareKingsoftOffice6.0CommonupdateinfoRemoveChangeLogDate
call fcn.0044b690
add esp, 0xc
cmp esi, dword [ebp - 0x2bc]
jne 0x48fa5e
push str.current_date_already_check_remove
push str._anonymous_namespace::isNeedToRemove
push 0x1b
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmisckmanagechangelog.cpp
push 7
call fcn.00412750
add esp, 0x14
jmp 0x490003
push 0
push esi
push str.HKCUSoftwareKingsoftOffice6.0CommonupdateinfoRemoveChangeLogDate
call fcn.0044bd90
lea eax, [ebp - 0x88]
push 0xf
push eax
call fcn.00416f00
add esp, 0x14
mov eax, dword [ebp - 0x78]
mov dword [ebp - 4], 0
test eax, eax
jne 0x48faa9
push str.strChangeLogDir_is_empty
push str.kupdate::kManageChangeLog::removeExpireChangeLog
push 0x48
push str.H:_rc_v12_i18n_20231201_branchCoding_supportwpsupdateUpdateClient_srcmisckmanagechangelog.cpp
push eax
call fcn.00412750
add esp, 0x14
jmp 0x48ffc4
xor ecx, ecx
mov byte [ebp - 4], 1
add eax, 2
mov word [ebp - 0x28], cx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x2bc], 1
call fcn.004034c0
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
push dword [ebp - 0x78]
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x28]
push eax
call fcn.00403230
push 2
push 0x4f189c
lea ecx, [ebp - 0x28]
call fcn.00403230
push 0xa
push str..changelog
lea ecx, [ebp - 0x28]
call fcn.00403230
mov edx, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov ecx, dword [edx]
mov dword [ebp - 0x58], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x54], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x50], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x4c], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x48fb98
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48fb8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48fb8e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2b8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wfindfirst64i32]
add esp, 8
mov dword [ebp - 0x2bc], eax
cmp eax, 0xffffffff
je 0x48ff7a
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov ebx, 7
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x28], ax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ebx
mov word [ebp - 0x70], ax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x5421c0]
mov byte [ebp - 4], 6
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x540fa4]
cmp eax, dword [ecx + 4]
jg 0x49001f
lea eax, [ebp - 0x70]
push eax
mov eax, dword [0x5405e8]
push 0x5405e8
call dword [eax + 0x20]
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ebx, dword [ebp - 0x2bc]
add esp, 4
sub eax, 0x278d00
mov dword [ebp - 0x2c8], eax
test byte [ebp - 0x2b8], 0x10
jne 0x48fe79
cmp dword [ebp - 0x2ac], 0
jg 0x48fe79
jl 0x48fc69
cmp dword [ebp - 0x2b0], eax
ja 0x48fe79
lea ecx, [ebp - 0x294]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48fc72
sub ecx, edx
lea eax, [ebp - 0x294]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004033b0
cmp dword [ebp - 0x5c], 8
lea ebx, [ebp - 0x70]
mov esi, dword [ebp - 0x60]
lea edx, [ebp - 0x28]
cmovae ebx, dword [ebp - 0x70]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c4], edx
cmp esi, eax
ja 0x48fd22
test esi, esi
je 0x48fe73
sub eax, esi
inc eax
lea ecx, [edx + eax*2]
mov eax, edx
mov dword [ebp - 0x2c0], ecx
lea ecx, [ecx]
sub ecx, eax
sar ecx, 1
je 0x48fd22
movzx edx, word [ebx]
lea esp, [esp]
cmp word [eax], dx
je 0x48fcef
add eax, 2
sub ecx, 1
jne 0x48fce0
jmp 0x48fd22
mov edx, ebx
test esi, esi
je 0x48fd11
mov edi, eax
sub edi, ebx
lea esp, [esp]
mov cx, word [edx + edi]
cmp cx, word [edx]
jne 0x48fd6f
add edx, 2
sub esi, 1
jne 0x48fd00
sub eax, dword [ebp - 0x2c4]
sar eax, 1
cmp eax, 0xffffffff
jne 0x48fe73
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
mov eax, dword [ebp - 0x78]
cmovae ecx, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c0], ecx
mov dword [ebp - 0x2c4], eax
cmp eax, ebx
ja 0x48fd80
lea esi, [eax + eax]
mov dword [ebp - 0x30], eax
cmp ebx, 8
lea edi, [ebp - 0x40]
push esi
cmovae edi, dword [ebp - 0x40]
push ecx
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
jmp 0x48fe2a
mov esi, dword [ebp - 0x60]
add eax, 2
mov ecx, dword [ebp - 0x2c0]
jmp 0x48fcd0
cmp eax, 0x7ffffffe
ja 0x490067
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x48fd9f
mov esi, 0x7ffffffe
jmp 0x48fdbd
mov ecx, ebx
mov eax, 0x7ffffffe
shr ecx, 1
sub eax, ecx
cmp ebx, eax
jbe 0x48fdb5
mov esi, 0x7ffffffe
jmp 0x48fdbd
lea eax, [ebx + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x40]
call fcn.004031d0
mov ecx, dword [ebp - 0x2c4]
mov edi, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ecx
lea esi, [ecx + ecx]
push esi
push dword [ebp - 0x2c0]
push edi
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
add esp, 0xc
mov word [esi + edi], ax
cmp ebx, 8
jb 0x48fe27
mov ecx, dword [ebp - 0x40]
lea ebx, [ebx*2 + 2]
mov eax, ecx
cmp ebx, 0x1000
jb 0x48fe1d
mov ecx, dword [ecx - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48fff3
push ebx
push ecx
call fcn.004bee2d
add esp, 8
mov dword [ebp - 0x40], edi
push 1
push 0x4f0efc
lea ecx, [ebp - 0x40]
call fcn.00403230
lea ecx, [ebp - 0x294]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48fe42
sub ecx, edx
lea eax, [ebp - 0x294]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00403230
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [ebp - 0x2bc]
lea eax, [ebp - 0x2b8]
push eax
push ebx
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wfindnext64i32]
add esp, 8
cmp eax, 0xffffffff
je 0x48fe9a
mov eax, dword [ebp - 0x2c8]
jmp 0x48fc41
push ebx
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__findclose]
mov edx, dword [ebp - 0x5c]
add esp, 4
cmp edx, 8
jb 0x48fede
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48fed4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48fff3
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp ebx, 8
jb 0x48ff2c
mov edi, dword [ebp - 0x28]
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x48ff22
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48fff3
push ecx
push edi
call fcn.004bee2d
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x48ff66
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ff5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48fff3
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x48ffb0
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ffa6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48fff3
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x490003
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48fff9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48fff9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bee49
mov esp, ebp
pop ebp
ret
push 0x540fa4
call fcn.004bf206
add esp, 4
cmp dword [0x540fa4], 0xffffffff
jne 0x48fc14
mov ecx, 0x5405e8
mov byte [ebp - 4], 7
call fcn.0043dfc0
push 0x4ebe10
call fcn.004bf0be
push 0x540fa4
mov byte [ebp - 4], 6
call fcn.004bf1bc
add esp, 8
jmp 0x48fc14
call fcn.004031b0
int3