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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa68
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov edx, 0x4238f8
push ebx
push esi
mov dword [ebp - 0xa58], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xa5c], eax
mov eax, edi
mov dword [ebp - 0xa64], ecx
mov cx, word [eax]
cmp cx, word [edx]
jne 0x40885e
test cx, cx
je 0x40885a
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x40885e
add eax, 4
add edx, 4
test cx, cx
jne 0x408838
xor eax, eax
jmp 0x408863
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40887c
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040e6b9
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call fcn.00413c30
add esp, 0xc
xor eax, eax
mov word [ebp - 0x214], ax
push 0x206
push eax
lea eax, [ebp - 0x212]
push eax
call fcn.00413c30
add esp, 0xc
lea eax, [ebp - 0x41c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x41c]
push 0x424794
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0xa54]
push eax
push 0
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0xa60], eax
cmp eax, 0xffffffff
je 0x408867
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x408910
test byte [ebp - 0xa54], 0x10
lea eax, [ebp - 0xa28]
push 0x424798
push eax
jne 0x408a40
call esi
test eax, eax
je 0x408ab8
push 0x42479c
lea eax, [ebp - 0xa28]
push eax
call esi
test eax, eax
je 0x408ab8
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.00413c30
add esp, 0xc
lea eax, [ebp - 0x214]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0x214]
push eax
call ebx
cmp dword [ebp - 0xa58], 0
je 0x408a19
cmp dword [ebp - 0xa5c], 0
je 0x408a19
xor eax, eax
push 0x3e6
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.00413c30
add esp, 0xc
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0x804]
push str.ck_W_Rd
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0xa5c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0
push 0x408
push dword [ebp - 0xa58]
call dword [sym.imp.USER32.dll_SendMessageW]
inc eax
mov ecx, 0x64
cmp eax, 0x64
push 0
cmovg eax, ecx
push eax
push 0x402
push dword [ebp - 0xa58]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x408ab8
push 4
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x408ab8
call esi
test eax, eax
je 0x408ab8
push 0x42479c
lea eax, [ebp - 0xa28]
push eax
call esi
test eax, eax
je 0x408ab8
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.00413c30
add esp, 0xc
lea eax, [ebp - 0x214]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0xa28]
push eax
lea eax, [ebp - 0x214]
push eax
call ebx
push 0x423e08
lea eax, [ebp - 0x214]
push eax
call ebx
push dword [ebp - 0xa5c]
mov ecx, dword [ebp - 0xa64]
lea eax, [ebp - 0x214]
push dword [ebp - 0xa58]
push eax
call fcn.00408800
lea eax, [ebp - 0xa54]
push eax
push dword [ebp - 0xa60]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x408910
push dword [ebp - 0xa60]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 8]
cmp eax, 1
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0040e6b9
mov esp, ebp
pop ebp
ret 0xc