Function at 0x481170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c100
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
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 - 0x444], 0
mov eax, dword [0x629d78]
test al, 1
jne 0x4811dd
or eax, 1
mov dword [0x629d78], eax
push 0x5bed51
push str.KUninstall::DeleteProductFiles2
mov ecx, 0x629d74
mov dword [ebp - 4], 0
call fcn.004c71f0
mov dword [ebp - 4], 0xffffffff
cmp byte [0x62a1c4], 0
mov eax, 1
je 0x48121e
mov cx, word [0x629d76]
mov word [ebp - 0x468], ax
mov eax, dword [0x629d74]
mov word [ebp - 0x464], cx
movzx ecx, cx
mov word [ebp - 0x466], 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::DeleteProductFiles2
call fcn.0043f4e0
lea ecx, [ebp - 0x478]
call fcn.00463fb0
push str.880_tKUninstall::DeleteProductFiles2_tDelete_Files_from_filelist.xml
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
mov byte [ebp - 4], 2
call fcn.004638c0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.00540d70
add esp, 0x1c
lea eax, [ebp - 0x218]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x481ce2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x45c], eax
lea esi, [ebp - 0x218]
mov byte [ebp - 4], 5
shr esi, 0x10
test esi, esi
jne 0x48131c
lea eax, [ebp - 0x218]
movzx edi, ax
lea ecx, [ebp - 0x45c]
push edi
call fcn.00426130
jmp 0x481350
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481325
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x45c]
call fcn.004263f0
lea eax, [ebp - 0x218]
movzx edi, ax
mov byte [ebp - 4], 6
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x481cec
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x458], eax
mov byte [ebp - 4], 7
test esi, esi
jne 0x481387
push edi
lea ecx, [ebp - 0x458]
call fcn.00426130
jmp 0x4813b2
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481390
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x458]
call fcn.004263f0
push str.893_tKUninstall::DeleteProductFiles2_tDelete_product_files_...
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
mov byte [ebp - 4], 8
call fcn.004638c0
mov eax, dword [ebx + 0x10]
add esp, 0x10
cmp dword [eax - 0xc], 0
je 0x481aeb
mov ecx, dword [ebx + 0x80]
xor edi, edi
add ecx, dword [ebx + 0x78]
add ecx, dword [ebx + 0x70]
mov eax, dword [ebx + 0x5c]
add ecx, dword [ebx + 0x68]
add ecx, dword [ebx + 0x60]
mov dword [ebp - 0x434], 0
mov esi, dword [eax]
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x428], ecx
cmp esi, eax
je 0x481546
push ecx
inc edi
mov ecx, 0x629f50
push edi
mov dword [ebp - 0x42c], edi
call fcn.004a7d80
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x48143f
push dword [ebx + 0x28]
push dword [ebp - 0x428]
push edi
call eax
add esp, 0xc
mov edi, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov byte [ebp - 4], 9
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x48145b
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x481471
call fcn.00421b80
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x481ce2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x10]
add eax, 0x10
or dword [ebp - 0x444], 1
mov dword [ebp - 0x424], eax
mov eax, dword [edi]
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x424]
push ecx
push eax
call fcn.00427890
mov edi, dword [ebp - 0x424]
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x448]
push eax
push edi
call fcn.0045bab0
add esp, 0x20
cmp dword [ebp - 0x448], 0
jne 0x48150c
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x430], eax
cmp eax, dword [ebp - 0x438]
je 0x4814f9
lea eax, [edi - 0x10]
push eax
call fcn.00425f70
mov ecx, dword [ebp - 0x430]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [ebp - 0x43c], 4
jmp 0x48150c
lea ecx, [ebp - 0x424]
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.0043f390
and dword [ebp - 0x444], 0xfffffffe
add edi, 0xfffffff0
mov byte [ebp - 4], 8
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x48152f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esi]
mov edi, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x428]
cmp esi, dword [ebx + 0x5c]
jne 0x481416
mov eax, dword [ebx + 0x6c]
mov esi, dword [eax]
cmp esi, eax
je 0x481602
jmp 0x48155b
mov ecx, dword [ebp - 0x428]
push ecx
inc edi
mov ecx, 0x629f50
push edi
call fcn.004a7d80
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x48157e
push dword [ebx + 0x28]
push dword [ebp - 0x428]
push edi
call eax
add esp, 0xc
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x434]
push ecx
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x424], eax
push ecx
push dword [eax]
call fcn.0045bab0
add esp, 0xc
cmp dword [ebp - 0x448], 0
jne 0x4815f1
mov eax, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x430], eax
cmp eax, dword [ebp - 0x438]
je 0x4815e4
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.00425f70
mov ecx, dword [ebp - 0x430]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [ebp - 0x43c], 4
jmp 0x4815f1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.0043f390
mov esi, dword [esi]
cmp esi, dword [ebx + 0x6c]
jne 0x481555
mov dword [ebp - 0x42c], edi
mov eax, dword [ebx + 0x7c]
mov esi, dword [eax]
cmp esi, eax
je 0x4816c6
nop
cmp dword [ebx + 0x20], 0
jne 0x4816c0
push dword [ebp - 0x428]
inc edi
mov ecx, 0x629f50
push edi
call fcn.004a7d80
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x481642
push dword [ebx + 0x28]
push dword [ebp - 0x428]
push edi
call eax
add esp, 0xc
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x434]
push ecx
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x424], eax
push ecx
push dword [eax]
call fcn.0045bab0
add esp, 0xc
cmp dword [ebp - 0x448], 0
jne 0x4816b5
mov eax, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x430], eax
cmp eax, dword [ebp - 0x438]
je 0x4816a8
mov eax, dword [ecx]
sub eax, 0x10
push eax
call fcn.00425f70
mov ecx, dword [ebp - 0x430]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [ebp - 0x43c], 4
jmp 0x4816b5
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.0043f390
mov esi, dword [esi]
cmp esi, dword [ebx + 0x7c]
jne 0x481610
mov dword [ebp - 0x42c], edi
mov eax, dword [ebx + 0x64]
mov edi, dword [eax]
cmp edi, eax
je 0x4818e5
mov esi, dword [ebp - 0x42c]
mov ecx, 0x629f50
push dword [ebp - 0x428]
inc esi
push esi
mov dword [ebp - 0x42c], esi
call fcn.004a7d80
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x481707
push dword [ebx + 0x28]
push dword [ebp - 0x428]
push esi
call eax
add esp, 0xc
mov esi, dword [edi + 8]
lea eax, [ebp - 0x420]
push 0x208
push 0
push eax
call fcn.00540d70
add esp, 0xc
mov eax, dword [ebx + 0x10]
mov byte [ebp - 4], 0xa
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x481739
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x48174f
call fcn.00421b80
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x481ce2
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x10]
add eax, 0x10
or dword [ebp - 0x444], 2
mov dword [ebp - 0x460], eax
mov eax, dword [esi + 4]
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x460]
push ecx
push eax
call fcn.00427890
mov esi, dword [ebp - 0x460]
lea eax, [ebp - 0x420]
push esi
push 0x104
push eax
call fcn.00554202
and dword [ebp - 0x444], 0xfffffffd
add esp, 0x20
mov byte [ebp - 4], 8
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4817bc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x420]
push eax
push str.948_tKUninstall::DeleteProductFiles2_tDeleting__dir__folder__ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
push 1
lea eax, [ebp - 0x420]
push 1
push eax
call fcn.00470770
add esp, 0x20
mov dword [ebp - 0x448], eax
test eax, eax
jne 0x4818da
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x481ce2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0xb
test eax, 0xffff0000
jne 0x48183c
movzx eax, ax
lea ecx, [ebp - 0x424]
push eax
call fcn.00426130
jmp 0x481867
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x481845
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.004263f0
mov eax, dword [ebp - 0x450]
mov esi, dword [ebp - 0x424]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x430], eax
cmp eax, dword [ebp - 0x44c]
je 0x4818a5
lea eax, [esi - 0x10]
push eax
call fcn.00425f70
mov ecx, dword [ebp - 0x430]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [ebp - 0x450], 4
jmp 0x4818b8
lea ecx, [ebp - 0x424]
push ecx
push eax
lea ecx, [ebp - 0x454]
call fcn.004257d0
mov byte [ebp - 4], 8
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4818d4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc dword [ebp - 0x434]
mov edi, dword [edi]
cmp edi, dword [ebx + 0x64]
jne 0x4816d3
mov eax, dword [ebx + 0x74]
mov esi, dword [eax]
cmp esi, eax
je 0x4819cc
mov edi, dword [ebp - 0x42c]
jmp 0x481900
push dword [ebp - 0x428]
inc edi
mov ecx, 0x629f50
push edi
call fcn.004a7d80
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x481928
push dword [ebx + 0x28]
push dword [ebp - 0x428]
push edi
call eax
add esp, 0xc
mov eax, dword [esi + 8]
add eax, 4
mov dword [ebp - 0x424], eax
push dword [eax]
push str.965_tKUninstall::DeleteProductFiles2_tDeleting__userDataDir__folder__ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
mov eax, dword [ebp - 0x424]
push 1
push 1
push dword [eax]
call fcn.00470770
add esp, 0x20
mov dword [ebp - 0x448], eax
test eax, eax
jne 0x4819c1
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x430], eax
cmp eax, dword [ebp - 0x44c]
je 0x4819a9
mov eax, dword [ebp - 0x424]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00425f70
mov ecx, dword [ebp - 0x430]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
add dword [ebp - 0x450], 4
jmp 0x4819bb
push dword [ebp - 0x424]
lea ecx, [ebp - 0x454]
push eax
call fcn.0043f390
inc dword [ebp - 0x434]
mov esi, dword [esi]
cmp esi, dword [ebx + 0x74]
jne 0x481900
push 0x11
push str.kingsoftoffice6
lea ecx, [ebp - 0x45c]
call fcn.00425dc0
push 1
push 0
push dword [ebp - 0x45c]
call fcn.00474c20
add esp, 0xc
lea ecx, [ebp - 0x458]
push 9
push str.kingsoft
call fcn.00425dc0
mov edi, dword [ebp - 0x458]
push 1
push 0
push edi
call fcn.00474c20
push dword [ebp - 0x434]
push str.979_tKUninstall::DeleteProductFiles2_tProcess_filelist.xml_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 - 0x440]
add esp, 0x20
cmp esi, dword [ebp - 0x43c]
je 0x481a6b
push dword [esi]
push str.981_tKUninstall::DeleteProductFiles2_tProcessing_file__ws_failed
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x629b08
call fcn.004638c0
add esi, 4
add esp, 0x14
cmp esi, dword [ebp - 0x43c]
jne 0x481a42
mov esi, dword [ebp - 0x454]
cmp esi, dword [ebp - 0x450]
je 0x481aa9
lea esp, [esp]
push dword [esi]
push str.984_tKUninstall::DeleteProductFiles2_tProcessing_folder__ws_failed
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._ERROR_
push 0x629b08
call fcn.004638c0
add esi, 4
add esp, 0x14
cmp esi, dword [ebp - 0x450]
jne 0x481a80
mov ecx, 1
xor eax, eax
cmp dword [ebp - 0x434], eax
push ecx
push 0
push dword [ebx + 0x10]
cmove eax, ecx
mov dword [ebp - 0x42c], eax
call fcn.00474c20
push dword [ebx + 0x10]
push str.990_tKUninstall::DeleteProductFiles2_tremove_empty_folder__ws
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x20
jmp 0x481af1
mov edi, dword [ebp - 0x458]
mov ebx, dword [ebp - 0x42c]
push ebx
push str.992_tKUninstall::DeleteProductFiles2_tDelete_product_files_return:_d
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKUninstall.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x14
mov byte [ebp - 4], 6
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x481b30
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x45c]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x481b52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x454]
mov byte [ebp - 4], 3
test esi, esi
je 0x481bef
mov edi, dword [ebp - 0x450]
cmp esi, edi
je 0x481b97
mov edi, edi
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x481b8a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x481b70
mov esi, dword [ebp - 0x454]
mov eax, dword [ebp - 0x44c]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x481bc7
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481cf6
push ecx
push esi
call fcn.0053d0af
add esp, 8
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov esi, dword [ebp - 0x440]
mov byte [ebp - 4], 2
test esi, esi
je 0x481c8f
mov edi, dword [ebp - 0x43c]
cmp esi, edi
je 0x481c37
jmp 0x481c10
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x481c2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x481c10
mov esi, dword [ebp - 0x440]
mov eax, dword [ebp - 0x438]
sub eax, esi
sar eax, 2
lea ecx, [eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x481c67
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481cf6
push ecx
push esi
call fcn.0053d0af
add esp, 8
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
lea ecx, [ebp - 0x478]
call fcn.00464070
cmp byte [0x62a1c4], 0
mov dword [ebp - 4], 0xd
je 0x481cc4
push dword [ebp - 0x464]
push dword [ebp - 0x466]
push dword [ebp - 0x468]
call fcn.004c7f60
add esp, 0xc
mov eax, ebx
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
push 0x80004005
call fcn.00425f50
call fcn.0054b0c3
int3