Function at 0x4609e0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494922
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4c9070]
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 esi, ecx
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0x1c], 0x4a7430
mov dword [ebp - 0x18], 0x4a7418
mov dword [ebp - 0x14], 0x4a7424
call fcn.00404a20
mov ecx, eax
test ecx, ecx
jne 0x460a40
push 0x80004005
call fcn.00404ad0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xa4], edi
mov dword [ebp - 4], 0
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x460a7f
push 0x104
lea ecx, [ebp - 0xa4]
call fcn.00404530
mov edi, dword [ebp - 0xa4]
push 0
push 0x10
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [edi - 8]
or ebx, 0xffffffff
push edi
test eax, eax
jne 0x460ac0
call fcn.00474f18
add esp, 8
test eax, eax
js 0x460ab6
cmp eax, dword [edi - 8]
jg 0x460ab6
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
jmp 0x460bf2
push 0x80070057
call fcn.00404ad0
call fcn.00474f18
add esp, 8
test eax, eax
js 0x460ab6
cmp eax, dword [edi - 8]
jg 0x460ab6
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
mov ecx, dword [edi - 0xc]
lea eax, [ecx - 1]
test eax, eax
js 0x460ab6
cmp eax, ecx
jg 0x460ab6
cmp word [edi + eax*2], 0x5c
je 0x460b07
push 1
push 0x4a1b6c
lea ecx, [ebp - 0xa4]
call fcn.00403730
mov edi, dword [ebp - 0xa4]
lea ecx, [edi - 0x10]
xor ebx, ebx
mov dword [ebp - 0xac], ecx
or edi, 0xffffffff
call fcn.004091c0
add eax, 0x10
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0xa0]
push dword [ebp + ebx*4 - 0x1c]
push esi
push eax
call dword [sym.imp.DuiLib.dll_public:_static_class_DuiLib::CTranslateManager____cdecl_DuiLib::CPaintManagerUI::GetTranslateManager_void_]
mov ecx, eax
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CTranslateManager::GetItem_wchar_t_const___wchar_t_const__]
mov ecx, eax
mov byte [ebp - 4], 2
call dword [sym.imp.DuiLib.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
mov edx, eax
test edx, edx
jne 0x460b57
xor ecx, ecx
jmp 0x460b6f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460b60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.00403730
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 1
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
push 4
push str..lnk
lea ecx, [ebp - 0xa8]
call fcn.00403730
mov esi, dword [ebp - 0xa8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push esi
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x460bd3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xac]
inc ebx
mov esi, dword [ebp - 0xb0]
cmp ebx, 3
jb 0x460b15
mov edi, dword [ebp - 0xa4]
or ebx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x460c0e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
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.0046be2f
mov esp, ebp
pop ebp
ret