Function at 0x493620
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fba26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5bc
push ebx
push esi
push edi
lea eax, [ebp - 0x200]
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004ab6e0
add esp, 4
lea ecx, [ebp - 0x38]
push ecx
call fcn.00401350
add esp, 4
lea edx, [ebp - 0x5c8]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x5c8]
push eax
call fcn.00493530
add esp, 4
lea ecx, [ebp - 0x180]
push 1
call fcn.004f0653
push 1
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 1
call fcn.004f0653
mov ecx, dword [0x4fe4e8]
mov byte [ebp - 4], 2
push ecx
push 8
push str.c:endpcacheprocess_log.txt
lea ecx, [ebp - 0x180]
call fcn.004f0727
mov dword [ebp - 0x14], ebx
mov eax, dword [0xe56bd4]
mov dword [ebp - 0x18], ebx
cmp ebx, eax
jge 0x493e8c
xor edi, edi
xor esi, esi
cmp esi, 0x14
jge 0x493706
mov edx, esi
mov eax, ebx
shl edx, 6
shl eax, 6
add edx, str.ansi.sys
add eax, 0xdfcf18
push edx
push eax
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x493e21
inc esi
jmp 0x4936d7
cmp edi, 1
je 0x493e21
shl ebx, 6
lea ecx, [ebp - 0x5c8]
lea edx, [ebp - 0x138]
lea esi, [ebx + 0xdfcf18]
mov byte [ebp - 4], 3
push esi
push ecx
push str._s_s
push edx
mov byte [ebp - 0x138], 0
call fcn.004f175f
lea eax, [ebp - 0x280]
lea ecx, [ebp - 0x138]
push eax
push ecx
mov byte [ebp - 0x280], 0
call fcn.004d9590
add esp, 0x18
lea edx, [ebp - 0x138]
push edx
call fcn.0044a870
mov ecx, dword [0xe56bd4]
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x280]
push ebx
push eax
push esi
lea edx, [ebp - 0x38]
push ecx
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x548]
push eax
push 0x5267e0
push ecx
call fcn.004f175f
add esp, 0x20
lea edx, [ebp - 0x548]
lea ecx, [ebp - 0x174]
push edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
lea eax, [ebp - 0x280]
push 0x514ba8
push eax
xor esi, esi
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x49390e
push 0x5267d4
push ebx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x49390e
lea ecx, [ebp - 0x138]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x49384c
lea eax, [ebp - 0x138]
push eax
call fcn.004abe70
add esp, 4
cmp eax, 1
jne 0x49384c
lea ecx, [ebp - 0x138]
push ecx
call fcn.004abcc0
add esp, 4
mov ecx, dword [0xe56d20]
mov eax, dword [0xe56d38]
mov edi, dword [0xe56d24]
inc ecx
inc eax
lea edx, [ebp - 0x138]
mov dword [0xe56d38], eax
lea eax, [ebp - 0x38]
inc edi
push edx
push eax
mov dword [0xe56d20], ecx
mov dword [0xe56d24], edi
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x200]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x548]
push eax
push 0x526798
push edx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x14
test eax, eax
jne 0x493906
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x1b0]
test eax, eax
lea eax, [ebp - 0x548]
push eax
push ecx
push edx
jne 0x4938e9
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x493900
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
mov esi, 1
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x280]
push 0x514ba8
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x493a50
push 0x51814c
push ebx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x493a50
test esi, esi
jne 0x493a50
lea ecx, [ebp - 0x138]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x49398e
lea eax, [ebp - 0x138]
push eax
call fcn.004abe70
add esp, 4
cmp eax, 1
jne 0x49398e
lea ecx, [ebp - 0x138]
push ecx
call fcn.004abcc0
add esp, 4
mov ecx, dword [0xe56d20]
mov eax, dword [0xe56d38]
mov edi, dword [0xe56d24]
inc ecx
inc eax
lea edx, [ebp - 0x138]
mov dword [0xe56d38], eax
lea eax, [ebp - 0x38]
inc edi
push edx
push eax
mov dword [0xe56d20], ecx
mov dword [0xe56d24], edi
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x200]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x548]
push eax
push 0x526798
push edx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x14
test eax, eax
jne 0x493a48
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x1b0]
test eax, eax
lea eax, [ebp - 0x548]
push eax
push ecx
push edx
jne 0x493a2b
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x493a42
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
mov esi, 1
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x280]
push 0x514ba8
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x493b92
push 0x5181d0
push ebx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x493b92
test esi, esi
jne 0x493b92
lea ecx, [ebp - 0x138]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x493ad0
lea eax, [ebp - 0x138]
push eax
call fcn.004abe70
add esp, 4
cmp eax, 1
jne 0x493ad0
lea ecx, [ebp - 0x138]
push ecx
call fcn.004abcc0
add esp, 4
mov ecx, dword [0xe56d20]
mov eax, dword [0xe56d38]
mov edi, dword [0xe56d24]
inc ecx
inc eax
lea edx, [ebp - 0x138]
mov dword [0xe56d38], eax
lea eax, [ebp - 0x38]
inc edi
push edx
push eax
mov dword [0xe56d20], ecx
mov dword [0xe56d24], edi
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x200]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x548]
push eax
push 0x526798
push edx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x14
test eax, eax
jne 0x493b8a
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x1b0]
test eax, eax
lea eax, [ebp - 0x548]
push eax
push ecx
push edx
jne 0x493b6d
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x493b84
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
mov esi, 1
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x280]
push 0x514ba8
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x493cd4
push 0x52678c
push ebx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x493cd4
test esi, esi
jne 0x493cd4
lea ecx, [ebp - 0x138]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x493c12
lea eax, [ebp - 0x138]
push eax
call fcn.004abe70
add esp, 4
cmp eax, 1
jne 0x493c12
lea ecx, [ebp - 0x138]
push ecx
call fcn.004abcc0
add esp, 4
mov ecx, dword [0xe56d20]
mov eax, dword [0xe56d38]
mov edi, dword [0xe56d24]
inc ecx
inc eax
lea edx, [ebp - 0x138]
mov dword [0xe56d38], eax
lea eax, [ebp - 0x38]
inc edi
push edx
push eax
mov dword [0xe56d20], ecx
mov dword [0xe56d24], edi
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x200]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x548]
push eax
push 0x526798
push edx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x14
test eax, eax
jne 0x493ccc
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x1b0]
test eax, eax
lea eax, [ebp - 0x548]
push eax
push ecx
push edx
jne 0x493caf
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x493cc6
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
mov esi, 1
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x280]
push 0x514ba8
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x493e17
push 0x516d88
push ebx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x493e17
test esi, esi
jne 0x493e17
lea ecx, [ebp - 0x138]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x493d54
lea eax, [ebp - 0x138]
push eax
call fcn.004abe70
add esp, 4
cmp eax, 1
jne 0x493d54
lea ecx, [ebp - 0x138]
push ecx
call fcn.004abcc0
add esp, 4
mov esi, dword [0xe56d20]
mov edx, dword [0xe56d38]
mov ecx, dword [0xe56d24]
inc esi
inc edx
lea eax, [ebp - 0x38]
mov dword [0xe56d38], edx
lea edx, [ebp - 0x138]
inc ecx
push edx
push eax
mov dword [0xe56d20], esi
mov dword [0xe56d24], ecx
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x200]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x548]
push eax
push 0x526750
push edx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x14
test eax, eax
jne 0x493e10
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x1b0]
test eax, eax
lea eax, [ebp - 0x548]
push eax
push ecx
push edx
jne 0x493df3
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x493e0a
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
mov dword [ebp - 0x14], 1
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 4], 2
inc ebx
jmp 0x4936c3
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x493f54
lea edx, [ebp - 0x38]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x548]
push eax
push 0x5266e8
push ecx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x14
test eax, eax
mov byte [ebp - 0x349], 0
jne 0x493f2d
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b0]
test eax, eax
mov eax, dword [ebp + 0x1b4]
lea edx, [ebp - 0x548]
push edx
push eax
push ecx
jne 0x493f10
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x493f27
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
add esp, 0x1b4
lea edx, [ebp - 0x548]
lea ecx, [ebp - 0x174]
push edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
lea ecx, [ebp - 0x180]
call fcn.004f076e
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 1
call fcn.004f0714
lea ecx, [ebp - 0x2b4]
call fcn.004f05fb
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0
call fcn.004f0714
lea ecx, [ebp - 0x16c]
call fcn.004f05fb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov ax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret