Function at 0x4253f0
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542403
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x5868f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x4dc], esi
xor ebx, ebx
mov dword [ebp - 0x4cc], 0xffffffff
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x4c0], ebx
mov dword [ebp - 0x4c4], ebx
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], eax
mov word [ebp - 0x250], ax
cmp word [esi], ax
jne 0x425483
xor ecx, ecx
jmp 0x42549f
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x425490
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425490
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x250]
call fcn.00403fe0
xor eax, eax
mov dword [ebp - 0x4d8], 0
xor esi, esi
mov dword [ebp - 0x4e0], eax
mov dword [ebp - 0x4d4], esi
mov dword [ebp - 0x4d0], eax
mov byte [ebp - 4], 3
cmp word [edi], ax
jne 0x4254d9
xor ecx, ecx
jmp 0x4254ef
mov ecx, edi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4254e0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x250]
call fcn.0040c930
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x425511
lea eax, [ebp - 0x250]
lea ecx, [ebp - 0x4b8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x4cc], eax
cmp eax, 0xffffffff
je 0x4256f8
mov edi, edi
mov eax, dword [ebp - 0x4b8]
test al, 1
je 0x425571
cmp dword [ebp - 0x224], 8
mov ecx, dword [ebp - 0x238]
jae 0x42554f
lea ecx, [ebp - 0x238]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x42556b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x4256db
mov eax, dword [ebp - 0x4b8]
test al, 0x10
je 0x42561c
mov edi, dword [ebp - 0x4dc]
cmp word [edi], 0
jne 0x425589
xor ecx, ecx
jmp 0x42559f
mov ecx, edi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425590
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x238]
call fcn.00403fe0
cmp word [ebp - 0x48c], 0
jne 0x4255ba
xor ecx, ecx
jmp 0x4255d2
lea ecx, [ebp - 0x48c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4255c3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x238]
call fcn.0040c930
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x4255fa
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4256c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x4c4], ebx
jmp 0x4256c0
cmp esi, dword [ebp - 0x4e0]
jne 0x425642
push ecx
lea ecx, [ebp - 0x4d8]
call fcn.0040c7b0
mov eax, dword [ebp - 0x4d0]
mov esi, dword [ebp - 0x4d4]
mov dword [ebp - 0x4e0], eax
mov dword [ebp - 0x4c8], esi
mov dword [ebp - 0x4c0], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x4256b3
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x42567c
mov eax, dword [esi]
jmp 0x42567e
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x48c], cx
je 0x4256a4
lea ecx, [ebp - 0x48c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425695
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x48c]
mov ecx, esi
push eax
call fcn.00403fe0
add esi, 0x18
mov byte [ebp - 4], 3
mov dword [ebp - 0x4d4], esi
lea eax, [ebp - 0x4b8]
push eax
push dword [ebp - 0x4cc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x425530
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x12
neg eax
sbb eax, eax
and ebx, eax
mov dword [ebp - 0x4c0], ebx
mov dword [ebp - 0x4c4], ebx
jmp 0x4256fa
xor ebx, ebx
mov ecx, esi
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x4d8]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x4c8], eax
cmp eax, dword [ebp + 8]
jbe 0x425915
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00516d20
add esp, 0xc
xor edi, edi
lea ebx, [ebx]
mov ecx, dword [ebp - 0x4c8]
cmp edi, ecx
jae 0x4257f4
mov ecx, dword [ebp - 0x4d8]
lea eax, [edi + edi*2]
cmp dword [ecx + eax*8 + 0x14], 8
lea ebx, [ecx + eax*8]
jb 0x425765
mov eax, dword [ebx]
jmp 0x425767
mov eax, ebx
push dword [ebx + 0x10]
push eax
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.00522dfd
push dword [ebp + 0xc]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x4c4], eax
call fcn.00425a10
add esp, 0x14
mov dword [ebp - 0x4c0], eax
mov dword [ebp - 0x4c4], eax
test eax, eax
jne 0x42590f
cmp word [ebp - 0x220], ax
jne 0x4257c7
xor ecx, ecx
lea eax, [ebp - 0x220]
push ecx
push eax
mov ecx, ebx
call fcn.00403fe0
inc edi
jmp 0x425740
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4257d0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00403fe0
inc edi
jmp 0x425740
mov ebx, dword [ebp - 0x4c0]
test ebx, ebx
jne 0x425915
mov al, byte [ebp - 0x4bc]
mov edx, esi
mov byte [ebp - 0x4bc], al
lea eax, [ebp - 0x4bc]
push eax
push ecx
mov ecx, dword [ebp - 0x4d8]
call fcn.0042e780
mov eax, dword [ebp - 0x4c8]
add esp, 8
sub eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x4c0], eax
cmp edi, eax
jge 0x425915
mov eax, dword [ebp - 0x4dc]
cmp word [eax], 0
jne 0x42584f
xor ecx, ecx
jmp 0x425869
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425854
mov eax, dword [ebp - 0x4dc]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.00403fe0
cmp dword [ebp - 0x4c8], edi
ja 0x425883
call fcn.00429520
mov ecx, dword [ebp - 0x4d8]
lea eax, [edi + edi*2]
push 0xffffffffffffffff
push 0xa
lea ecx, [ecx + eax*8]
lea eax, [ebp - 0x268]
push eax
call fcn.0040af90
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 5
call fcn.0040ce80
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x254]
cmp eax, 8
jb 0x4258d5
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.00403300
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x4258ea
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x425903
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x4c4], ebx
mov eax, dword [ebp - 0x4c0]
inc edi
jmp 0x425837
mov ebx, dword [ebp - 0x4c0]
cmp dword [ebp - 0x4d8], 0
je 0x425957
push dword [ebp - 0x4cc]
mov edx, esi
mov esi, dword [ebp - 0x4d8]
push ecx
mov ecx, esi
call fcn.0040e110
mov ecx, dword [ebp - 0x4e0]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00407560
mov eax, dword [ebp - 0x23c]
cmp eax, 8
jb 0x425975
inc eax
lea ecx, [ebp - 0x250]
push eax
push dword [ebp - 0x250]
call fcn.00403300
xor eax, eax
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x240], 0
cmp eax, 8
jb 0x4259b0
inc eax
lea ecx, [ebp - 0x238]
push eax
push dword [ebp - 0x238]
call fcn.00403300
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
jmp 0x4259db
mov eax, dword [ebp - 0x4cc]
cmp eax, 0xffffffff
je 0x4259ed
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
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 - 0x14]
xor ecx, ebp
call fcn.004fdf3d
mov esp, ebp
pop ebp
ret