Function at 0x48fa80
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4e1f
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x639354]
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 - 0x224], 0
mov eax, dword fs:[0x2c]
mov edx, dword [0x643da0]
mov edx, dword [eax + edx*4]
mov eax, dword [0x641f70]
cmp eax, dword [edx + 4]
jg 0x49062b
xor eax, eax
mov dword [ebp - 0x260], eax
mov word [ebp - 0x25c], ax
cmp byte [0x6421fc], al
je 0x48fb2f
mov cx, word [0x641f6e]
mov eax, 1
mov word [ebp - 0x260], ax
mov eax, dword [0x641f6c]
mov word [ebp - 0x25c], cx
movzx ecx, cx
mov word [ebp - 0x25e], ax
push ecx
movzx eax, ax
push eax
push 1
call fcn.004d4f70
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 4], 1
push str.KUninstall::DeleteProductFiles1
call fcn.004444c0
lea ecx, [ebp - 0x2a8]
call fcn.0046be70
push str.978_tKUninstall::DeleteProductFiles1_tDelete_Files_from_installfilelist.dat
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x641cc8
mov byte [ebp - 4], 2
call fcn.0046b730
mov eax, dword [ebx + 0x10]
sub eax, 0x10
push eax
call fcn.00429b80
add eax, 0x10
add esp, 0x14
mov dword [ebp - 0x258], eax
push 0x1b
push str.utilityinstallfilelist.dat
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 3
call fcn.004299d0
mov edi, dword [ebp - 0x258]
push 0x5c53a4
push edi
call fcn.0057408b
mov esi, eax
add esp, 8
or ebx, 0xffffffff
mov dword [ebp - 0x248], esi
test esi, esi
je 0x4905c1
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 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.0057b3ad
add esp, 4
test eax, eax
jne 0x48fd4b
nop
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00560a80
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0057b3a2
add esp, 0x18
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x490679
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 7
test eax, 0xffff0000
jne 0x48fc97
movzx eax, ax
lea ecx, [ebp - 0x21c]
push eax
call fcn.00429d90
jmp 0x48fcc2
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48fca0
sub eax, edx
lea ecx, [ebp - 0x21c]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042a060
mov eax, dword [ebp - 0x23c]
mov byte [ebp - 4], 8
mov dword [ebp - 0x220], eax
cmp eax, dword [ebp - 0x238]
je 0x48fd00
mov esi, dword [ebp - 0x21c]
lea eax, [esi - 0x10]
push eax
call fcn.00429b80
mov ecx, dword [ebp - 0x220]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [ebp - 0x23c], 4
jmp 0x48fd19
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.004293a0
mov esi, dword [ebp - 0x21c]
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48fd34
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x248]
push esi
call fcn.0057b3ad
add esp, 4
test eax, eax
je 0x48fc30
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x490679
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov eax, str.utilityinstallfilelist.dat
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x21c]
test eax, 0xffff0000
jne 0x48fd89
movzx eax, ax
push eax
call fcn.00429d90
jmp 0x48fd95
push 0x1b
push str.utilityinstallfilelist.dat
call fcn.0042a060
mov eax, dword [ebp - 0x23c]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x220], eax
cmp eax, dword [ebp - 0x238]
je 0x48fdd3
mov esi, dword [ebp - 0x21c]
lea eax, [esi - 0x10]
push eax
call fcn.00429b80
mov ecx, dword [ebp - 0x220]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [ebp - 0x23c], 4
jmp 0x48fdec
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.004293a0
mov esi, dword [ebp - 0x21c]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48fe03
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x248]
call fcn.0056fd96
mov eax, dword [ebp - 0x23c]
add esp, 4
sub eax, dword [ebp - 0x240]
sar eax, 2
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 0xb
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x490679
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], 0xc
mov dword [ebp - 0x248], esi
cmp esi, dword [ebp - 0x23c]
je 0x490317
lea ecx, [ecx]
mov edi, dword [ebp - 0x270]
mov ecx, 0x6420c8
push dword [ebp - 0x274]
inc edi
push edi
mov dword [ebp - 0x270], edi
call fcn.004bf530
mov ecx, dword [ebp - 0x264]
mov eax, dword [ecx + 0x54]
test eax, eax
je 0x48feaa
push dword [ecx + 0x28]
push dword [ebp - 0x274]
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 0x48ff11
mov eax, dword [edi + 0xc]
shr eax, 0x1f
test al, al
jne 0x48ff02
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x48ff02
push edx
call fcn.00429b80
add esp, 4
mov dword [ebp - 0x220], eax
mov ecx, ebx
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48fef7
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x220]
add eax, 0x10
mov dword [ebp - 0x244], eax
jmp 0x48ff11
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x244]
call fcn.0042a060
lea ecx, [ebp - 0x244]
call fcn.00475150
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x4902fc
mov edi, dword [ebp - 0x264]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x48ff41
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x48ff4d
call fcn.00429250
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x490679
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [edi + 0x10]
add eax, 0x10
or dword [ebp - 0x224], 1
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x244]
mov byte [ebp - 4], 0xd
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x278]
push ecx
push eax
call fcn.0042b6f0
mov edi, dword [ebp - 0x278]
push edi
push str.1020_tKUninstall::DeleteProductFiles1_tDeleting_File_:__ws
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
add esp, 0x28
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4902da
mov byte [ebp - 4], 0xf
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x490679
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
lea eax, [ebp - 0x21c]
push str._s_d__x
push eax
call fcn.0042c720
mov esi, dword [ebp - 0x21c]
push esi
push edi
call fcn.0056b9b4
add esp, 0x18
test eax, eax
jne 0x49019d
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 - 0x220], eax
test ebx, ebx
jne 0x49014e
mov byte [ebp - 4], 0x11
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x490679
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
adc byte [ecx - 0x27b7b], cl
invalid
push dword [ebp - 0x220]
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 0x12
push str.LastErrorCode_:__d
push eax
call fcn.0042c720
lea eax, [esi - 0x10]
push eax
call fcn.00429b80
add eax, 0x10
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x27c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x13
push eax
mov dword [ebp - 0x228], eax
call fcn.00429b80
or dword [ebp - 0x224], 2
add esp, 0x14
lea ebx, [eax + 0x10]
mov dword [ebp - 0x280], ebx
mov eax, dword [ebp - 0x230]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x220], eax
cmp eax, dword [ebp - 0x22c]
je 0x490110
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x284]
add eax, 0xfffffff0
push eax
call fcn.00429b80
mov ecx, dword [ebp - 0x220]
add eax, 0x10
mov dword [ecx], eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x15
push eax
call fcn.00429b80
mov ecx, dword [ebp - 0x220]
add eax, 0x10
add esp, 8
mov dword [ecx + 4], eax
add dword [ebp - 0x230], 8
jmp 0x490129
lea ecx, [ebp - 0x284]
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.004880d0
mov ebx, dword [ebp - 0x280]
lea edx, [ebx - 0x10]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490143
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x284]
jmp 0x49028c
mov ebx, dword [ebp - 0x250]
cmp ebx, dword [ebp - 0x24c]
je 0x49017c
lea eax, [esi - 0x10]
push eax
call fcn.00429b80
add eax, 0x10
add esp, 4
mov dword [ebx], eax
add dword [ebp - 0x250], 4
or ebx, 0xffffffff
jmp 0x4902bd
lea eax, [ebp - 0x21c]
push eax
push ebx
lea ecx, [ebp - 0x254]
call fcn.00443e60
mov esi, dword [ebp - 0x21c]
or ebx, 0xffffffff
jmp 0x4902bd
lea eax, [edi - 0x10]
push eax
call fcn.00429b80
or dword [ebp - 0x224], 4
add eax, 0x10
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], str.rename_file_failed
add eax, 0xfffffff0
mov byte [ebp - 4], 0x16
push eax
mov dword [ebp - 0x228], eax
call fcn.00429b80
add eax, 0x10
add esp, 8
mov dword [ebp - 0x26c], eax
push str.rename_file_failed
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x17
call fcn.004444c0
mov eax, dword [ebp - 0x230]
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x220], eax
cmp eax, dword [ebp - 0x22c]
je 0x490256
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
push eax
call fcn.00429b80
mov ecx, dword [ebp - 0x220]
add eax, 0x10
mov dword [ecx], eax
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x19
push eax
call fcn.00429b80
mov ecx, dword [ebp - 0x220]
add eax, 0x10
add esp, 8
mov dword [ecx + 4], eax
add dword [ebp - 0x230], 8
jmp 0x490269
lea ecx, [ebp - 0x26c]
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.004880d0
mov edx, dword [ebp - 0x268]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490286
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x26c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4902a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x228]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4902bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4902d4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x248]
and dword [ebp - 0x224], 0xfffffffe
add edi, 0xfffffff0
mov byte [ebp - 4], 0xc
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4902fc
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
mov dword [ebp - 0x248], esi
cmp esi, dword [ebp - 0x23c]
jne 0x48fe70
mov edi, dword [ebp - 0x258]
mov eax, dword [ebp - 0x250]
sub eax, dword [ebp - 0x254]
sar eax, 2
push eax
push str.1054_tKUninstall::DeleteProductFiles1_tRename_Files__Count_:__d
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
mov esi, dword [ebp - 0x254]
add esp, 0x14
cmp esi, dword [ebp - 0x250]
je 0x49037a
push dword [esi]
push str.1056_tKUninstall::DeleteProductFiles1_tRename_File_:__s
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
add esi, 4
add esp, 0x14
cmp esi, dword [ebp - 0x250]
jne 0x490351
mov eax, dword [ebp - 0x230]
sub eax, dword [ebp - 0x234]
sar eax, 3
push eax
push str.1058_tKUninstall::DeleteProductFiles1_tProcessing_installfilelist.dat_failed_Count_:__d
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
mov esi, dword [ebp - 0x234]
add esp, 0x14
cmp esi, dword [ebp - 0x230]
je 0x4903e0
push dword [esi + 4]
push dword [esi]
push str.1060_tKUninstall::DeleteProductFiles1_tProcessing_file__ws_filed__the_reason_is_:__ws
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x641cc8
call fcn.0046b730
add esi, 8
add esp, 0x18
cmp esi, dword [ebp - 0x230]
jne 0x4903b4
mov eax, dword [ebp - 0x264]
push 1
push 0
push dword [eax + 0x10]
call fcn.0047fb80
mov edx, dword [ebp - 0x244]
add esp, 0xc
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x490412
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x234]
mov byte [ebp - 4], 5
test eax, eax
je 0x490494
lea ecx, [ebp - 0x234]
push ecx
push dword [ebp - 0x230]
push eax
call fcn.00488080
mov eax, dword [ebp - 0x22c]
add esp, 0xc
mov ecx, dword [ebp - 0x234]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x49046c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490683
push edx
push ecx
call fcn.0055c524
add esp, 8
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov esi, dword [ebp - 0x254]
mov byte [ebp - 4], 4
test esi, esi
je 0x490536
mov eax, dword [ebp - 0x250]
cmp esi, eax
je 0x4904de
mov edi, eax
mov edx, dword [esi]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4904cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x4904b2
mov esi, dword [ebp - 0x254]
mov edi, dword [ebp - 0x258]
mov eax, dword [ebp - 0x24c]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x49050e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490683
push ecx
push esi
call fcn.0055c524
add esp, 8
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
mov esi, dword [ebp - 0x240]
mov byte [ebp - 4], 3
test esi, esi
je 0x4905ba
mov eax, dword [ebp - 0x23c]
cmp esi, eax
je 0x490580
mov edi, eax
mov edx, dword [esi]
mov eax, ebx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49056d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x490554
mov esi, dword [ebp - 0x240]
mov edi, dword [ebp - 0x258]
mov eax, dword [ebp - 0x238]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x4905b0
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x490683
push ecx
push esi
call fcn.0055c524
add esp, 8
mov esi, 1
jmp 0x4905c3
xor esi, esi
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4905d8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2a8]
call fcn.0046bf50
cmp byte [0x6421fc], 0
mov dword [ebp - 4], 0x1a
je 0x49060d
push dword [ebp - 0x25c]
push dword [ebp - 0x25e]
push dword [ebp - 0x260]
call fcn.004d4fb0
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.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x641f70
call fcn.0055c868
add esp, 4
cmp dword [0x641f70], 0xffffffff
jne 0x48fae0
push 0x5ba110
push str.KUninstall::DeleteProductFiles1
mov ecx, 0x641f6c
mov dword [ebp - 4], 0
call fcn.004d4340
push 0x641f70
mov dword [ebp - 4], 0xffffffff
call fcn.0055c81e
add esp, 4
jmp 0x48fae0
push 0x80004005
call fcn.00429b60
call fcn.0056af64
int3