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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4766d7
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x49d4a4]
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
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x170]
call fcn.004046d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x188]
call fcn.00404fe0
mov byte [ebp - 4], 1
push 0x492918
lea ecx, [ebp - 0x188]
call fcn.004030d0
push 0x47a830
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x264]
push ecx
call fcn.004036d0
add esp, 0xc
mov dword [ebp - 0x280], eax
mov edx, dword [ebp - 0x280]
push edx
lea ecx, [ebp - 0x170]
call fcn.00403110
lea ecx, [ebp - 0x264]
call fcn.00404950
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x170]
call fcn.004046c0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0xffffffff
je 0x408603
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x18c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
jne 0x4083c8
jmp 0x408603
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0x128]
cmp edx, 0x2e
jne 0x4083df
jmp 0x408393
mov eax, 1
shl eax, 0
movsx ecx, byte [ebp + eax - 0x128]
test ecx, ecx
jne 0x4083f5
jmp 0x408393
mov eax, 1
shl eax, 0
movsx ecx, byte [ebp + eax - 0x128]
cmp ecx, 0x2e
jne 0x408422
mov eax, 1
shl eax, 1
movsx ecx, byte [ebp + eax - 0x128]
test ecx, ecx
jne 0x408422
jmp 0x408393
mov eax, dword [ebp - 0x154]
and eax, 0x10
je 0x4084ba
push 0x492918
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x188]
push ecx
lea edx, [ebp - 0x27c]
push edx
call fcn.004036d0
add esp, 0xc
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x284]
push ecx
lea edx, [ebp - 0x1a4]
push edx
call fcn.004037b0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.00404950
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.004046c0
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004082d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a4]
call fcn.00404950
jmp 0x4085fe
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x188]
push ecx
lea edx, [ebp - 0x1bc]
push edx
call fcn.004036d0
add esp, 0xc
mov byte [ebp - 4], 5
call fcn.004061c0
mov dword [ebp - 0x1c4], eax
lea ecx, [ebp - 0x1bc]
call fcn.004046c0
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1cc], 0
jne 0x40850f
mov dword [ebp - 0x280], 0
jmp 0x4085c7
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x284]
add ecx, 1
mov dword [ebp - 0x288], ecx
mov edx, dword [ebp - 0x284]
mov al, byte [edx]
mov byte [ebp - 0x289], al
add dword [ebp - 0x284], 1
cmp byte [ebp - 0x289], 0
jne 0x40852a
mov ecx, dword [ebp - 0x284]
sub ecx, dword [ebp - 0x288]
mov dword [ebp - 0x290], ecx
mov edx, dword [ebp - 0x290]
add edx, 1
mov dword [ebp - 0x1c0], edx
cmp dword [ebp - 0x1c0], 0x3fffffff
jle 0x408581
mov dword [ebp - 0x294], 0
jmp 0x4085bb
mov eax, dword [ebp - 0x1c0]
shl eax, 1
call fcn.0045ace0
mov dword [ebp - 0x298], esp
mov eax, dword [ebp - 0x1c4]
push eax
mov ecx, dword [ebp - 0x1c0]
push ecx
mov edx, dword [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x298]
push eax
call fcn.00408270
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x294]
mov dword [ebp - 0x280], ecx
mov edx, dword [ebp - 0x280]
push edx
call fcn.00401930
add esp, 4
test eax, eax
jne 0x4085ef
cmp dword [ebp + 0xc], 0
je 0x4085ef
lea eax, [ebp - 0x1bc]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004054a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1bc]
call fcn.00404950
jmp 0x408393
mov eax, dword [ebp - 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x188]
call fcn.004046c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x40864b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x188]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.00404950
jmp 0x408682
push 4
push 0
lea ecx, [ebp - 0x188]
call fcn.004046c0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x188]
call fcn.00404950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.00404950
lea esp, [ebp - 0x2a8]
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.0045a746
mov esp, ebp
pop ebp
ret 8