Function at 0x402b80
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, 0x42579c
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 0x402bde
test cx, cx
je 0x402bda
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x402bde
add eax, 4
add edx, 4
test cx, cx
jne 0x402bb8
xor eax, eax
jmp 0x402be3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x402bfc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040b999
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.004164b0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x214], ax
push 0x206
push eax
lea eax, [ebp - 0x212]
push eax
call fcn.004164b0
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 0x425ce0
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 0x402be7
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x402c90
test byte [ebp - 0xa54], 0x10
lea eax, [ebp - 0xa28]
push 0x425ce4
push eax
jne 0x402dc0
call esi
test eax, eax
je 0x402e38
push 0x425ce8
lea eax, [ebp - 0xa28]
push eax
call esi
test eax, eax
je 0x402e38
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.004164b0
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 0x402d99
cmp dword [ebp - 0xa5c], 0
je 0x402d99
xor eax, eax
push 0x3e6
push eax
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push eax
call fcn.004164b0
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 0x402e38
push 4
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x402e38
call esi
test eax, eax
je 0x402e38
push 0x425ce8
lea eax, [ebp - 0xa28]
push eax
call esi
test eax, eax
je 0x402e38
push 0x208
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.004164b0
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 0x425954
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.00402b80
lea eax, [ebp - 0xa54]
push eax
push dword [ebp - 0xa60]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402c90
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.0040b999
mov esp, ebp
pop ebp
ret 0xc