Function at 0x480550
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c00c
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x61ce74]
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 - 0x264], ebx
mov dword [ebp - 0x228], 0
mov eax, dword [0x629d70]
test al, 1
jne 0x4805c3
or eax, 1
mov dword [0x629d70], eax
push 0x5bed51
push str.KUninstall::DeleteProductFiles1
mov ecx, 0x629d6c
mov dword [ebp - 4], 0
call fcn.004c71f0
mov dword [ebp - 4], 0xffffffff
cmp byte [0x62a1c4], 0
je 0x480604
mov cx, word [0x629d6e]
mov eax, 1
mov word [ebp - 0x284], ax
mov eax, dword [0x629d6c]
mov word [ebp - 0x280], cx
movzx ecx, cx
mov word [ebp - 0x282], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.004c7f20
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 4], 1
push str.KUninstall::DeleteProductFiles1
call fcn.0043f4e0
lea ecx, [ebp - 0x2a0]
call fcn.00463fb0
push str.778_tKUninstall::DeleteProductFiles1_tDelete_Files_from_installfilelist.dat
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
mov byte [ebp - 4], 2
call fcn.004638c0
mov eax, dword [ebx + 0x10]
sub eax, 0x10
push eax
call fcn.00425f70
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.00425dc0
mov edi, dword [ebp - 0x248]
push 0x5c2ee4
push edi
call fcn.00553a30
mov esi, eax
add esp, 8
or ebx, 0xffffffff
mov dword [ebp - 0x24c], esi
test esi, esi
je 0x4810ed
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.00553b42
add esp, 4
test eax, eax
jne 0x480825
jmp 0x480710
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00540d70
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.005590c6
add esp, 0x18
call fcn.00421b80
test eax, eax
je 0x48115b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 7
test eax, 0xffff0000
jne 0x480777
movzx eax, ax
lea ecx, [ebp - 0x220]
push eax
call fcn.00426130
jmp 0x4807a2
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x480780
sub eax, edx
lea ecx, [ebp - 0x220]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004263f0
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 0x4807e0
lea eax, [esi - 0x10]
push eax
call fcn.00425f70
mov ecx, dword [ebp - 0x224]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [ebp - 0x23c], 4
jmp 0x4807f3
lea ecx, [ebp - 0x220]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.004257d0
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48080e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x24c]
push esi
call fcn.00553b42
add esp, 4
test eax, eax
je 0x480710
call fcn.00421b80
test eax, eax
je 0x48115b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 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 0x480863
movzx eax, ax
push eax
call fcn.00426130
jmp 0x48086f
push 0x1b
push str.utilityinstallfilelist.dat
call fcn.004263f0
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 0x4808ad
lea eax, [esi - 0x10]
push eax
call fcn.00425f70
mov ecx, dword [ebp - 0x224]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [ebp - 0x23c], 4
jmp 0x4808c0
lea ecx, [ebp - 0x220]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.004257d0
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4808db
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x24c]
call fcn.00553abe
mov eax, dword [ebp - 0x23c]
add esp, 4
sub eax, dword [ebp - 0x240]
sar eax, 2
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x278], eax
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x48115b
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 0x480e00
mov edi, dword [ebp - 0x274]
mov ecx, 0x629f50
push dword [ebp - 0x278]
inc edi
push edi
mov dword [ebp - 0x274], edi
call fcn.004a7ce0
mov ecx, dword [ebp - 0x264]
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x48097b
push dword [ecx + 0x28]
push dword [ebp - 0x278]
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 0x4809de
cmp dword [edi + 0xc], 0
jl 0x4809cf
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4809cf
push edx
call fcn.00425f70
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 0x4809c4
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 0x4809de
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x244]
call fcn.004263f0
lea ecx, [ebp - 0x244]
call fcn.0046bfb0
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x480de5
mov edi, dword [ebp - 0x264]
mov byte [ebp - 4], 0xc
mov eax, dword [edi + 0x10]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x480a12
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x480a26
call fcn.00421b80
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x48115b
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 - 0x27c], eax
mov eax, dword [ebp - 0x244]
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x27c]
push ecx
push eax
call fcn.00427890
mov edi, dword [ebp - 0x27c]
push edi
push str.820_tKUninstall::DeleteProductFiles1_tDeleting_File_:__ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x28
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x480dc3
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x48115b
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.004289d0
mov esi, dword [ebp - 0x220]
push esi
push edi
call fcn.0054bb13
add esp, 0x18
test eax, eax
jne 0x480c75
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 0x480c2c
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x48115b
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.004289d0
lea eax, [esi - 0x10]
push eax
call fcn.00425f70
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.00425f70
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 0x480bcd
mov eax, dword [ebp - 0x260]
add eax, 0xfffffff0
mov dword [ebp - 0x288], ebx
push eax
call fcn.00425f70
add eax, 0x10
mov dword [ebx], eax
add ebx, 4
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x268], ebx
mov eax, dword [ebp - 0x25c]
add eax, 0xfffffff0
push eax
call fcn.00425f70
add eax, 0x10
add esp, 8
mov dword [ebx], eax
add dword [ebp - 0x230], 8
jmp 0x480be0
lea eax, [ebp - 0x260]
push eax
push ebx
lea ecx, [ebp - 0x234]
call fcn.0047c120
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 0x480c04
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 0x480c21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
jmp 0x480d8a
mov ebx, dword [ebp - 0x254]
cmp ebx, dword [ebp - 0x250]
je 0x480c5a
lea eax, [esi - 0x10]
push eax
call fcn.00425f70
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [ebp - 0x254], 4
or ebx, 0xffffffff
jmp 0x480da2
lea eax, [ebp - 0x220]
push eax
push ebx
lea ecx, [ebp - 0x258]
call fcn.0043f390
or ebx, 0xffffffff
jmp 0x480da2
lea eax, [edi - 0x10]
push eax
call fcn.00425f70
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.00425f70
add eax, 0x10
add esp, 8
mov dword [ebp - 0x270], eax
push str.rename_file_failed
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x13
call fcn.0043f4e0
mov eax, dword [ebp - 0x230]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x21c], eax
cmp eax, dword [ebp - 0x22c]
je 0x480d33
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x270]
add eax, 0xfffffff0
push eax
call fcn.00425f70
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 - 0x26c]
add eax, 0xfffffff0
push eax
call fcn.00425f70
add eax, 0x10
add esp, 8
mov dword [ebx], eax
add dword [ebp - 0x230], 8
or ebx, 0xffffffff
jmp 0x480d46
lea ecx, [ebp - 0x270]
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.0047c120
mov edx, dword [ebp - 0x26c]
mov eax, ebx
mov byte [ebp - 4], 0x12
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x480d67
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x270]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x480d84
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 0x480da2
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 0x480dbd
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 0x480de5
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 0x480941
mov edi, dword [ebp - 0x248]
mov eax, dword [ebp - 0x254]
sub eax, dword [ebp - 0x258]
sar eax, 2
push eax
push str.854_tKUninstall::DeleteProductFiles1_tRename_Files__Count_:__d
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
mov esi, dword [ebp - 0x258]
add esp, 0x14
cmp esi, dword [ebp - 0x254]
je 0x480e69
lea ebx, [ebx]
push dword [esi]
push str.856_tKUninstall::DeleteProductFiles1_tRename_File_:__s
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esi, 4
add esp, 0x14
cmp esi, dword [ebp - 0x254]
jne 0x480e40
mov eax, dword [ebp - 0x230]
sub eax, dword [ebp - 0x234]
sar eax, 3
push eax
push str.858_tKUninstall::DeleteProductFiles1_tProcessing_installfilelist.dat_failed_Count_:__d
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
mov esi, dword [ebp - 0x234]
add esp, 0x14
cmp esi, dword [ebp - 0x230]
je 0x480ecf
push dword [esi + 4]
push dword [esi]
push str.860_tKUninstall::DeleteProductFiles1_tProcessing_file__ws_filed__the_reason_is_:__ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x629b08
call fcn.004638c0
add esi, 8
add esp, 0x18
cmp esi, dword [ebp - 0x230]
jne 0x480ea3
mov eax, dword [ebp - 0x264]
push 1
push 0
push dword [eax + 0x10]
call fcn.00474c20
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 0x480f05
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 0x480fc1
mov eax, dword [ebp - 0x230]
cmp esi, eax
je 0x480f69
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 0x480f3d
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 0x480f56
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 8
cmp esi, edi
jne 0x480f23
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 0x480f99
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481165
push ecx
push esi
call fcn.0053d0af
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 0x481064
mov eax, dword [ebp - 0x254]
cmp esi, eax
je 0x48100c
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 0x480ff9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x480fe0
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 0x48103c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481165
push ecx
push esi
call fcn.0053d0af
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 0x4810e6
mov eax, dword [ebp - 0x23c]
cmp esi, eax
je 0x4810ac
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 0x481099
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x481080
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 0x4810dc
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481165
push ecx
push esi
call fcn.0053d0af
add esp, 8
mov esi, 1
jmp 0x4810ef
xor esi, esi
mov byte [ebp - 4], 2
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x481108
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2a0]
call fcn.00464070
cmp byte [0x62a1c4], 0
mov dword [ebp - 4], 0x16
je 0x48113d
push dword [ebp - 0x280]
push dword [ebp - 0x282]
push dword [ebp - 0x284]
call fcn.004c7f60
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.0053d079
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
call fcn.0054b0c3
int3