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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6594f3
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x7060c4]
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.00446de0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00446de0
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.00462e90
lea ecx, [ebp - 0x28]
call fcn.0044da70
movzx ecx, al
test ecx, ecx
jne 0x45221d
lea edx, [ebp - 0x2d0]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044ef50
mov ecx, eax
call fcn.00448040
movzx eax, word [eax]
cmp eax, 0x5c
je 0x45221d
push 0x67d660
lea ecx, [ebp - 0x28]
call fcn.00448350
lea ecx, [ebp - 0x28]
push ecx
call fcn.004527a0
add esp, 4
movzx edx, al
test edx, edx
jne 0x45225d
mov byte [ebp - 0x2c2], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov al, byte [ebp - 0x2c2]
jmp 0x45243a
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00462e90
push 0x67d664
lea ecx, [ebp - 0x40]
call fcn.00448350
lea ecx, [ebp - 0x2c0]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0043d500
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2cc], eax
mov edx, dword [ebp - 0x2c0]
and edx, 0x10
je 0x452321
push 0x67d690
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x4522cd
push 0x67d694
lea ecx, [ebp - 0x294]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x4522d2
jmp 0x45236e
lea ecx, [ebp - 0x58]
call fcn.00446de0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x58]
call fcn.00462e90
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x58]
call fcn.00448350
lea ecx, [ebp - 0x58]
push ecx
call fcn.00452180
add esp, 4
movzx edx, al
test edx, edx
jne 0x452313
mov byte [ebp - 0x2c1], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0043c8a0
jmp 0x45236e
lea ecx, [ebp - 0x70]
call fcn.00446de0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.00462e90
lea ecx, [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00448350
lea ecx, [ebp - 0x70]
call fcn.0043d500
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x452362
mov byte [ebp - 0x2c1], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0043c8a0
lea edx, [ebp - 0x2c0]
push edx
mov eax, dword [ebp - 0x2cc]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x452292
mov ecx, dword [ebp - 0x2cc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x67d69c
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x4523d0
mov byte [ebp - 0x2c3], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov al, byte [ebp - 0x2c3]
jmp 0x45243a
mov ecx, dword [ebp + 8]
call fcn.0043d500
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x45240d
mov byte [ebp - 0x2c4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov al, byte [ebp - 0x2c4]
jmp 0x45243a
mov dl, byte [ebp - 0x2c1]
mov byte [ebp - 0x2c5], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
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.005c4766
mov esp, ebp
pop ebp
ret