Function at 0x428160
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3481
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x52e474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1e8], ecx
lea ecx, [ebp - 0x40]
call fcn.00404980
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405480
mov byte [ebp - 4], 1
push 0x4fa644
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.00403800
add esp, 0xc
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x40]
call fcn.004030e0
lea ecx, [ebp - 0x88]
call fcn.00404c00
lea ecx, [ebp - 0x1e0]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00402fa0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0xffffffff
je 0x428368
lea edx, [ebp - 0x1e0]
push edx
mov eax, dword [ebp - 0x1e4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0
jne 0x428239
jmp 0x428368
mov ecx, 1
imul edx, ecx, 0
movsx eax, byte [ebp + edx - 0x1b4]
cmp eax, 0x2e
jne 0x428250
jmp 0x428204
mov ecx, 1
shl ecx, 0
movsx edx, byte [ebp + ecx - 0x1b4]
test edx, edx
jne 0x428266
jmp 0x428204
mov eax, 1
shl eax, 0
movsx ecx, byte [ebp + eax - 0x1b4]
cmp ecx, 0x2e
jne 0x428293
mov edx, 1
shl edx, 1
movsx eax, byte [ebp + edx - 0x1b4]
test eax, eax
jne 0x428293
jmp 0x428204
mov ecx, dword [ebp - 0x1e0]
and ecx, 0x10
je 0x428317
push 0x4fa648
lea edx, [ebp - 0x1b4]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00403800
add esp, 0xc
mov dword [ebp - 0x1f4], eax
mov edx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f8], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1f8]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.004038e0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00404c00
lea ecx, [ebp - 0x70]
call fcn.00402fa0
push eax
mov ecx, dword [ebp - 0x1e8]
call fcn.00428160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00404c00
jmp 0x428363
lea edx, [ebp - 0x1b4]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00403800
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00402fa0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x428357
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x1e8]
add ecx, 0xc
call fcn.0040aa90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00404c00
jmp 0x428204
mov eax, dword [ebp - 0x1e4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
call fcn.00402fa0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x4283a7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404c00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404c00
jmp 0x4283d5
push 4
push 0
lea ecx, [ebp - 0x28]
call fcn.00402fa0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404c00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404c00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret 4