Function at 0x452890
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65c803
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x40]
call fcn.004474e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004474e0
mov byte [ebp - 4], 1
mov dword [ebp - 0x2cc], 0
mov byte [ebp - 0x2c1], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00463570
lea ecx, [ebp - 0x28]
call fcn.0044e170
movzx ecx, al
test ecx, ecx
jne 0x45292d
lea edx, [ebp - 0x2d0]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044f650
mov ecx, eax
call fcn.00448740
movzx eax, word [eax]
cmp eax, 0x5c
je 0x45292d
push 0x67f1d0
lea ecx, [ebp - 0x28]
call fcn.00448a50
lea ecx, [ebp - 0x28]
push ecx
call fcn.00452eb0
add esp, 4
movzx edx, al
test edx, edx
jne 0x45296d
mov byte [ebp - 0x2c2], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
mov al, byte [ebp - 0x2c2]
jmp 0x452b4a
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00463570
push 0x67f1d4
lea ecx, [ebp - 0x40]
call fcn.00448a50
lea ecx, [ebp - 0x2c0]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0043dc00
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2cc], eax
mov edx, dword [ebp - 0x2c0]
and edx, 0x10
je 0x452a31
push 0x67f200
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x4529dd
push 0x67f204
lea ecx, [ebp - 0x294]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x4529e2
jmp 0x452a7e
lea ecx, [ebp - 0x58]
call fcn.004474e0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x58]
call fcn.00463570
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x58]
call fcn.00448a50
lea ecx, [ebp - 0x58]
push ecx
call fcn.00452890
add esp, 4
movzx edx, al
test edx, edx
jne 0x452a23
mov byte [ebp - 0x2c1], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0043cfa0
jmp 0x452a7e
lea ecx, [ebp - 0x70]
call fcn.004474e0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.00463570
lea ecx, [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00448a50
lea ecx, [ebp - 0x70]
call fcn.0043dc00
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x452a72
mov byte [ebp - 0x2c1], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0043cfa0
lea edx, [ebp - 0x2c0]
push edx
mov eax, dword [ebp - 0x2cc]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4529a2
mov ecx, dword [ebp - 0x2cc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x67f20c
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x452ae0
mov byte [ebp - 0x2c3], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
mov al, byte [ebp - 0x2c3]
jmp 0x452b4a
mov ecx, dword [ebp + 8]
call fcn.0043dc00
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x452b1d
mov byte [ebp - 0x2c4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
mov al, byte [ebp - 0x2c4]
jmp 0x452b4a
mov dl, byte [ebp - 0x2c1]
mov byte [ebp - 0x2c5], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
mov al, byte [ebp - 0x2c5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret