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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2e81
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x52d474]
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.00404990
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405490
mov byte [ebp - 4], 1
push 0x4f9634
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.00403820
add esp, 0xc
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x40]
call fcn.004030f0
lea ecx, [ebp - 0x88]
call fcn.00404c10
lea ecx, [ebp - 0x1e0]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00402fb0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0xffffffff
je 0x428118
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 0x427fe9
jmp 0x428118
mov ecx, 1
imul edx, ecx, 0
movsx eax, byte [ebp + edx - 0x1b4]
cmp eax, 0x2e
jne 0x428000
jmp 0x427fb4
mov ecx, 1
shl ecx, 0
movsx edx, byte [ebp + ecx - 0x1b4]
test edx, edx
jne 0x428016
jmp 0x427fb4
mov eax, 1
shl eax, 0
movsx ecx, byte [ebp + eax - 0x1b4]
cmp ecx, 0x2e
jne 0x428043
mov edx, 1
shl edx, 1
movsx eax, byte [ebp + edx - 0x1b4]
test eax, eax
jne 0x428043
jmp 0x427fb4
mov ecx, dword [ebp - 0x1e0]
and ecx, 0x10
je 0x4280c7
push 0x4f9638
lea edx, [ebp - 0x1b4]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00403820
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.00403900
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00404c10
lea ecx, [ebp - 0x70]
call fcn.00402fb0
push eax
mov ecx, dword [ebp - 0x1e8]
call fcn.00427f10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00404c10
jmp 0x428113
lea edx, [ebp - 0x1b4]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00403820
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00402fb0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x428107
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x1e8]
add ecx, 0xc
call fcn.0040aaa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00404c10
jmp 0x427fb4
mov eax, dword [ebp - 0x1e4]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x28]
call fcn.00402fb0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x428157
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404c10
jmp 0x428185
push 4
push 0
lea ecx, [ebp - 0x28]
call fcn.00402fb0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00404c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491511
mov esp, ebp
pop ebp
ret 4