Function at 0x42e470
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5521c9
mov eax, dword fs:[0]
push eax
sub esp, 0x57c
mov eax, dword [0x5b4b3c]
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
push 0xffffffffffffffff
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
call fcn.004277e0
push 1
push 0x5a4488
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 1
call fcn.00428790
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
push str._s.
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042cea0
add esp, 0x10
lea eax, [ebp - 0x580]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x42e72d
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop dword [eax]
test byte [ebp - 0x580], 0x10
je 0x42e638
lea eax, [ebp - 0x554]
push 0x5a4490
push eax
call fcn.005379e3
add esp, 8
test eax, eax
je 0x42e6e9
lea eax, [ebp - 0x554]
push 0x5a4494
push eax
call fcn.005379e3
add esp, 8
test eax, eax
je 0x42e6e9
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
mov dword [ebp - 0x42c], 0xf
push eax
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
call fcn.004277e0
push 1
push 0x5a4488
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 2
call fcn.00428790
cmp byte [ebp - 0x554], 0
mov esi, eax
jne 0x42e5d8
xor ecx, ecx
jmp 0x42e5ea
lea ecx, [ebp - 0x554]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e5e1
sub ecx, edx
push ecx
lea eax, [ebp - 0x554]
mov ecx, esi
push eax
call fcn.00428790
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x42e616
mov eax, dword [ecx]
jmp 0x42e618
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x440]
push 0
push eax
call fcn.004277e0
call fcn.0042d930
add esp, 0x18
jmp 0x42e6c7
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
mov dword [ebp - 0x42c], 0xf
push eax
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
call fcn.004277e0
push 1
push 0x5a4488
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 3
call fcn.00428790
cmp byte [ebp - 0x554], 0
mov esi, eax
jne 0x42e68b
xor ecx, ecx
jmp 0x42e69d
lea ecx, [ebp - 0x554]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e694
sub ecx, edx
push ecx
lea eax, [ebp - 0x554]
mov ecx, esi
push eax
call fcn.00428790
cmp dword [ebp - 0x42c], 0x10
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
cmp eax, 0x10
jb 0x42e6e9
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.00427a30
lea eax, [ebp - 0x580]
push eax
push edi
call ebx
test eax, eax
jne 0x42e540
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004277e0
call fcn.0042d930
add esp, 0x18
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x42e74b
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00427a30
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 0x428], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
cmp eax, 0x10
jb 0x42e77b
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00427a30
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.0052a949
mov esp, ebp
pop ebp
ret