Function at 0x467530
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb523
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x938
push ebx
push esi
push edi
lea eax, [ebp - 0x344]
mov dword [ebp - 0x10], esp
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.004ab6e0
add esp, 4
lea ecx, [ebp - 0xc4]
push ecx
call fcn.00401350
add esp, 4
lea ecx, [ebp - 0xa4]
push 1
call fcn.004f0653
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.004f0653
mov edx, dword [0x4fe4e8]
lea ecx, [ebp - 0xa4]
push edx
push 8
push str.c:endpcacheprocess_log.txt
mov byte [ebp - 4], 2
call fcn.004f0727
mov eax, dword [0x4fe4e8]
lea ecx, [ebp - 0x5c]
push eax
push 1
push str.c:endpcachecreate_dangerregedit_proc.txt
mov dword [0xe56c0c], esi
call fcn.004f0727
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x58]
push 0xa
lea ecx, [ebp - 0x2c4]
push 0x200
inc esi
push ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x58], esi
call fcn.004f0ae9
lea edi, [ebp - 0x2c4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x2c4]
repne scasb al, byte es:[edi]
not ecx
lea eax, [ebp - 0x744]
dec ecx
push edx
push eax
mov ebx, ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x467749
lea edi, [ebp - 0x2c4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x744]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
cmp ebx, 5
rep movsb byte es:[edi], byte [esi]
jle 0x467749
mov edi, dword [ebp - 0x14]
mov esi, dword [0xe56c0c]
inc edi
lea ecx, [ebp - 0x2c4]
inc esi
push ecx
mov dword [ebp - 0x14], edi
mov dword [0xe56c0c], esi
call fcn.004503b0
add esp, 4
mov ebx, eax
lea edx, [ebp - 0x2c4]
lea eax, [ebp - 0xc4]
push ebx
push edx
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x344]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x544]
push eax
push 0x52299c
push edx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x18
test eax, eax
jne 0x46770a
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x1b0]
test eax, eax
lea eax, [ebp - 0x544]
push eax
push ecx
push edx
jne 0x4676ed
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x467704
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
push 0x5147ac
push ebx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x467722
inc dword [0xe56d2c]
lea eax, [ebp - 0x544]
lea ecx, [ebp - 0x98]
push eax
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 4]
test byte [ebp + edx - 0x54], 1
je 0x4675cd
lea ecx, [ebp - 0x5c]
call fcn.004f076e
mov ebx, 0x80
push ebx
push str.c:endpcachecreate_dangerregedit_proc.txt
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.c:endpcachecreate_dangerregedit_proc.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x4fe4e8]
lea ecx, [ebp - 0x5c]
push eax
push 1
push str.c:endpcachecreate_dangerregedit_delproc.txt
call fcn.004f0727
mov esi, dword [ebp - 0x58]
push 0xa
lea ecx, [ebp - 0x2c4]
push 0x200
inc esi
push ecx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x58], esi
call fcn.004f0ae9
lea edi, [ebp - 0x2c4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x2c4]
repne scasb al, byte es:[edi]
not ecx
lea eax, [ebp - 0x744]
dec ecx
push edx
push eax
mov dword [ebp - 0x14], ecx
call fcn.004f61e0
add esp, 8
test eax, eax
je 0x467936
lea edi, [ebp - 0x2c4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x744]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x14]
and ecx, 3
cmp eax, 5
rep movsb byte es:[edi], byte [esi]
jle 0x467936
mov edx, dword [0xe56c0c]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x2c4]
inc edx
push ebx
push ecx
mov dword [0xe56c0c], edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [ebp - 0x2c4]
push edx
call edi
lea eax, [ebp - 0x2c4]
lea ecx, [ebp - 0x944]
push eax
push 0x5228c0
push ecx
mov byte [ebp - 0x944], 0
call fcn.004f175f
add esp, 0xc
lea edx, [ebp - 0x944]
push ebx
push edx
call esi
lea eax, [ebp - 0x944]
push eax
call edi
lea ecx, [ebp - 0x2c4]
lea edx, [ebp - 0xc4]
push ecx
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x544]
push eax
push 0x522940
push ecx
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x14
test eax, eax
jne 0x46790f
mov eax, dword [0xe56dbc]
mov ecx, dword [ebp + 0x1b0]
test eax, eax
mov eax, dword [ebp + 0x1b4]
lea edx, [ebp - 0x544]
push edx
push eax
push ecx
jne 0x4678f2
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x467909
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 - 0x544]
lea ecx, [ebp - 0x98]
push edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
test byte [ebp + ecx - 0x54], 1
je 0x467793
lea ecx, [ebp - 0x5c]
call fcn.004f076e
push ebx
push str.c:endpcachecreate_dangerregedit_delproc.txt
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.c:endpcachecreate_dangerregedit_delproc.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0xa4]
call fcn.004f076e
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.004f0714
lea ecx, [ebp - 0x48]
call fcn.004f05fb
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0
call fcn.004f0714
lea ecx, [ebp - 0x90]
call fcn.004f05fb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret