Function at 0x4865b0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b93a
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x62819c]
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
mov ebx, ecx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x228], 0
mov eax, dword fs:[0x2c]
mov edx, dword [0x633954]
mov edx, dword [eax + edx*4]
mov eax, dword [0x631b00]
cmp eax, dword [edx + 4]
jg 0x4871ab
xor eax, eax
mov dword [ebp - 0x268], eax
mov word [ebp - 0x264], ax
cmp byte [0x631d90], al
je 0x48665f
mov cx, word [0x631afe]
mov eax, 1
mov word [ebp - 0x268], ax
mov eax, dword [0x631afc]
mov word [ebp - 0x264], cx
movzx ecx, cx
mov word [ebp - 0x266], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.004ca750
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 4], 1
push str.KUninstall::DeleteProductFiles1
call fcn.004434e0
lea ecx, [ebp - 0x2a8]
call fcn.00468050
push str.964_tKUninstall::DeleteProductFiles1_tDelete_Files_from_installfilelist.dat
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x631888
mov byte [ebp - 4], 2
call fcn.004677c0
mov eax, dword [ebx + 0x10]
sub eax, 0x10
push eax
call fcn.004293f0
add eax, 0x10
add esp, 0x14
mov dword [ebp - 0x248], eax
push 0x1b
push str.utilityinstallfilelist.dat
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 3
call fcn.00429240
mov edi, dword [ebp - 0x248]
push 0x5bb5f4
push edi
call fcn.0055b97c
mov esi, eax
add esp, 8
or ebx, 0xffffffff
mov dword [ebp - 0x24c], esi
test esi, esi
je 0x48713d
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
push esi
mov byte [ebp - 4], 6
call fcn.0056308d
add esp, 4
test eax, eax
jne 0x486875
nop
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0054b380
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00563082
add esp, 0x18
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4871f9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 7
test eax, 0xffff0000
jne 0x4867c7
movzx eax, ax
lea ecx, [ebp - 0x220]
push eax
call fcn.004295b0
jmp 0x4867f2
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4867d0
sub eax, edx
lea ecx, [ebp - 0x220]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00429870
mov eax, dword [ebp - 0x23c]
mov esi, dword [ebp - 0x220]
mov byte [ebp - 4], 8
mov dword [ebp - 0x224], eax
cmp eax, dword [ebp - 0x238]
je 0x486830
lea eax, [esi - 0x10]
push eax
call fcn.004293f0
mov ecx, dword [ebp - 0x224]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [ebp - 0x23c], 4
jmp 0x486843
lea ecx, [ebp - 0x220]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00428c50
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48685e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x24c]
push esi
call fcn.0056308d
add esp, 4
test eax, eax
je 0x486760
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4871f9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov eax, str.utilityinstallfilelist.dat
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x220]
test eax, 0xffff0000
jne 0x4868b3
movzx eax, ax
push eax
call fcn.004295b0
jmp 0x4868bf
push 0x1b
push str.utilityinstallfilelist.dat
call fcn.00429870
mov eax, dword [ebp - 0x23c]
mov esi, dword [ebp - 0x220]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x224], eax
cmp eax, dword [ebp - 0x238]
je 0x4868fd
lea eax, [esi - 0x10]
push eax
call fcn.004293f0
mov ecx, dword [ebp - 0x224]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [ebp - 0x23c], 4
jmp 0x486910
lea ecx, [ebp - 0x220]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00428c50
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48692b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x24c]
call fcn.0055ba0a
mov eax, dword [ebp - 0x23c]
add esp, 4
sub eax, dword [ebp - 0x240]
sar eax, 2
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x280], eax
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4871f9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x244], eax
mov esi, dword [ebp - 0x240]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x24c], esi
cmp esi, dword [ebp - 0x23c]
je 0x486e50
mov edi, dword [ebp - 0x27c]
mov ecx, 0x631c58
push dword [ebp - 0x280]
inc edi
push edi
mov dword [ebp - 0x27c], edi
call fcn.004b5790
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x4869cb
push dword [ecx + 0x28]
push dword [ebp - 0x280]
push edi
call eax
add esp, 0xc
mov ecx, dword [esi]
mov edi, dword [ebp - 0x244]
add edi, 0xfffffff0
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x486a2e
cmp dword [edi + 0xc], 0
jl 0x486a1f
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x486a1f
push edx
call fcn.004293f0
add esp, 4
mov dword [ebp - 0x224], eax
mov ecx, ebx
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x486a14
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x224]
add eax, 0x10
mov dword [ebp - 0x244], eax
jmp 0x486a2e
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x244]
call fcn.00429870
lea ecx, [ebp - 0x244]
call fcn.00470100
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x486e35
mov edi, dword [ebp - 0x26c]
mov byte [ebp - 4], 0xc
mov eax, dword [edi + 0x10]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x486a62
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x486a76
call fcn.00428a90
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x4871f9
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [edi + 0x10]
add eax, 0x10
or dword [ebp - 0x228], 1
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x244]
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x284]
push ecx
push eax
call fcn.0042ae30
mov edi, dword [ebp - 0x284]
push edi
push str.1006_tKUninstall::DeleteProductFiles1_tDeleting_File_:__ws
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
add esp, 0x28
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x486e13
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4871f9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
lea eax, [ebp - 0x220]
push str._s_d__x
push eax
call fcn.0042bf70
mov esi, dword [ebp - 0x220]
push esi
push edi
call fcn.00555de4
add esp, 0x18
test eax, eax
jne 0x486cc5
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x21c], eax
test ebx, ebx
jne 0x486c7c
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4871f9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push dword [ebp - 0x21c]
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0xe
push str.LastErrorCode_:__d
push eax
call fcn.0042bf70
lea eax, [esi - 0x10]
push eax
call fcn.004293f0
add eax, 0x10
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xf
push eax
mov dword [ebp - 0x21c], eax
call fcn.004293f0
or dword [ebp - 0x228], 2
add eax, 0x10
add esp, 0x14
mov dword [ebp - 0x25c], eax
mov ebx, dword [ebp - 0x230]
mov byte [ebp - 4], 0x10
cmp ebx, dword [ebp - 0x22c]
je 0x486c1d
mov eax, dword [ebp - 0x260]
add eax, 0xfffffff0
mov dword [ebp - 0x288], ebx
push eax
call fcn.004293f0
add eax, 0x10
mov dword [ebx], eax
add ebx, 4
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x270], ebx
mov eax, dword [ebp - 0x25c]
add eax, 0xfffffff0
push eax
call fcn.004293f0
add eax, 0x10
add esp, 8
mov dword [ebx], eax
add dword [ebp - 0x230], 8
jmp 0x486c30
lea eax, [ebp - 0x260]
push eax
push ebx
lea ecx, [ebp - 0x234]
call fcn.00481380
mov edx, dword [ebp - 0x25c]
or ebx, 0xffffffff
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x486c54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x260]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x486c71
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
jmp 0x486dda
mov ebx, dword [ebp - 0x254]
cmp ebx, dword [ebp - 0x250]
je 0x486caa
lea eax, [esi - 0x10]
push eax
call fcn.004293f0
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [ebp - 0x254], 4
or ebx, 0xffffffff
jmp 0x486df2
lea eax, [ebp - 0x220]
push eax
push ebx
lea ecx, [ebp - 0x258]
call fcn.00443390
or ebx, 0xffffffff
jmp 0x486df2
lea eax, [edi - 0x10]
push eax
call fcn.004293f0
or dword [ebp - 0x228], 4
add eax, 0x10
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], str.rename_file_failed
add eax, 0xfffffff0
mov byte [ebp - 4], 0x12
push eax
mov dword [ebp - 0x224], eax
call fcn.004293f0
add eax, 0x10
add esp, 8
mov dword [ebp - 0x278], eax
push str.rename_file_failed
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0x13
call fcn.004434e0
mov eax, dword [ebp - 0x230]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x21c], eax
cmp eax, dword [ebp - 0x22c]
je 0x486d83
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
push eax
call fcn.004293f0
mov ebx, dword [ebp - 0x21c]
add eax, 0x10
mov dword [ebx], eax
add ebx, 4
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x288], ebx
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
push eax
call fcn.004293f0
add eax, 0x10
add esp, 8
mov dword [ebx], eax
add dword [ebp - 0x230], 8
or ebx, 0xffffffff
jmp 0x486d96
lea ecx, [ebp - 0x278]
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00481380
mov edx, dword [ebp - 0x274]
mov eax, ebx
mov byte [ebp - 4], 0x12
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x486db7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x278]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x486dd4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
mov eax, ebx
mov byte [ebp - 4], 0xd
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x486df2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x486e0d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x24c]
and dword [ebp - 0x228], 0xfffffffe
add edi, 0xfffffff0
mov byte [ebp - 4], 0xb
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x486e35
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
mov dword [ebp - 0x24c], esi
cmp esi, dword [ebp - 0x23c]
jne 0x486991
mov edi, dword [ebp - 0x248]
mov eax, dword [ebp - 0x254]
sub eax, dword [ebp - 0x258]
sar eax, 2
push eax
push str.1040_tKUninstall::DeleteProductFiles1_tRename_Files__Count_:__d
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
mov esi, dword [ebp - 0x258]
add esp, 0x14
cmp esi, dword [ebp - 0x254]
je 0x486eb9
lea ebx, [ebx]
push dword [esi]
push str.1042_tKUninstall::DeleteProductFiles1_tRename_File_:__s
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
add esi, 4
add esp, 0x14
cmp esi, dword [ebp - 0x254]
jne 0x486e90
mov eax, dword [ebp - 0x230]
sub eax, dword [ebp - 0x234]
sar eax, 3
push eax
push str.1044_tKUninstall::DeleteProductFiles1_tProcessing_installfilelist.dat_failed_Count_:__d
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
mov esi, dword [ebp - 0x234]
add esp, 0x14
cmp esi, dword [ebp - 0x230]
je 0x486f1f
push dword [esi + 4]
push dword [esi]
push str.1046_tKUninstall::DeleteProductFiles1_tProcessing_file__ws_filed__the_reason_is_:__ws
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x631888
call fcn.004677c0
add esi, 8
add esp, 0x18
cmp esi, dword [ebp - 0x230]
jne 0x486ef3
mov eax, dword [ebp - 0x26c]
push 1
push 0
push dword [eax + 0x10]
call fcn.00479880
mov edx, dword [ebp - 0x244]
add esp, 0xc
mov byte [ebp - 4], 6
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x486f55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x234]
mov byte [ebp - 4], 5
test esi, esi
je 0x487011
mov eax, dword [ebp - 0x230]
cmp esi, eax
je 0x486fb9
mov edi, eax
mov edx, dword [esi + 4]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x486f8d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x486fa6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 8
cmp esi, edi
jne 0x486f73
mov esi, dword [ebp - 0x234]
mov edi, dword [ebp - 0x248]
mov eax, dword [ebp - 0x22c]
sub eax, esi
sar eax, 3
lea ecx, [eax*8]
mov eax, esi
cmp ecx, 0x1000
jb 0x486fe9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487203
push ecx
push esi
call fcn.00546044
add esp, 8
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov esi, dword [ebp - 0x258]
mov byte [ebp - 4], 4
test esi, esi
je 0x4870b4
mov eax, dword [ebp - 0x254]
cmp esi, eax
je 0x48705c
mov edi, eax
nop
mov edx, dword [esi]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x487049
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x487030
mov esi, dword [ebp - 0x258]
mov edi, dword [ebp - 0x248]
mov eax, dword [ebp - 0x250]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x48708c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487203
push ecx
push esi
call fcn.00546044
add esp, 8
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov esi, dword [ebp - 0x240]
mov byte [ebp - 4], 3
test esi, esi
je 0x487136
mov eax, dword [ebp - 0x23c]
cmp esi, eax
je 0x4870fc
mov edi, eax
mov edi, edi
mov edx, dword [esi]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4870e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x4870d0
mov esi, dword [ebp - 0x240]
mov edi, dword [ebp - 0x248]
mov eax, dword [ebp - 0x238]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x48712c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x487203
push ecx
push esi
call fcn.00546044
add esp, 8
mov esi, 1
jmp 0x48713f
xor esi, esi
mov byte [ebp - 4], 2
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x487158
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2a8]
call fcn.00468130
cmp byte [0x631d90], 0
mov dword [ebp - 4], 0x16
je 0x48718d
push dword [ebp - 0x264]
push dword [ebp - 0x266]
push dword [ebp - 0x268]
call fcn.004ca790
add esp, 0xc
mov eax, esi
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.00545ec7
mov esp, ebp
pop ebp
ret
push 0x631b00
call fcn.00546388
add esp, 4
cmp dword [0x631b00], 0xffffffff
jne 0x486610
push 0x5ae038
push str.KUninstall::DeleteProductFiles1
mov ecx, 0x631afc
mov dword [ebp - 4], 0
call fcn.004c9bd0
push 0x631b00
mov dword [ebp - 4], 0xffffffff
call fcn.0054633e
add esp, 4
jmp 0x486610
push 0x80004005
call fcn.004293d0
call fcn.00555394
int3