Function at 0x4326c1
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x5ec]
sub esp, 0x66c
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0x5e8], eax
push ebx
mov ebx, dword [ebp + 0x5f4]
push esi
push edi
push ebx
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x4326fe
xor eax, 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x208
lea eax, [ebp + 0x1d8]
push 0
push eax
call fcn.004665b0
lea eax, [ebp + 0x1d8]
push eax
call fcn.00466f2b
mov esi, 0x103
mov edi, esi
push ebx
sub edi, eax
call fcn.00466f2b
add esp, 0x14
cmp edi, eax
jae 0x432746
lea eax, [ebp + 0x1d8]
push eax
call fcn.00466f2b
pop ecx
mov ecx, esi
sub ecx, eax
jmp 0x43274f
push ebx
call fcn.00466f2b
pop ecx
mov ecx, eax
push ecx
lea eax, [ebp + 0x1d8]
push ebx
push eax
call fcn.00469373
lea eax, [ebp + 0x1d8]
push eax
call fcn.00466f2b
add esp, 0x10
cmp eax, esi
jae 0x43277f
lea eax, [ebp + 0x1d8]
push eax
call fcn.00466f2b
pop ecx
jmp 0x432781
mov eax, esi
and word [ebp + eax*2 + 0x1d8], 0
lea eax, [ebp + 0x1d8]
push eax
call fcn.00466f2b
pop ecx
xor edi, edi
mov ecx, esi
sub ecx, eax
inc edi
cmp ecx, edi
jae 0x4327b3
lea eax, [ebp + 0x1d8]
push eax
call fcn.00466f2b
mov edi, esi
pop ecx
sub edi, eax
lea eax, [ebp + 0x1d8]
push eax
call fcn.00466f2b
test eax, eax
pop ecx
jbe 0x43281b
lea eax, [ebp + 0x1d8]
push eax
call fcn.00466f2b
cmp word [ebp + eax*2 + 0x1d6], 0x5c
pop ecx
je 0x43281b
push edi
lea eax, [ebp + 0x1d8]
push 0x49fa70
push eax
call fcn.00469373
lea eax, [ebp + 0x1d8]
push eax
call fcn.00466f2b
add esp, 0x10
cmp eax, esi
jae 0x432810
lea eax, [ebp + 0x1d8]
push eax
call fcn.00466f2b
pop ecx
jmp 0x432812
mov eax, esi
and word [ebp + eax*2 + 0x1d8], 0
lea eax, [ebp + 0x1d8]
push eax
call fcn.00466f2b
mov edi, 0x4a2df0
mov ebx, esi
push edi
sub ebx, eax
call fcn.00466f2b
cmp ebx, eax
pop ecx
pop ecx
jae 0x43284f
lea eax, [ebp + 0x1d8]
push eax
call fcn.00466f2b
pop ecx
mov ecx, esi
sub ecx, eax
jmp 0x432858
push edi
call fcn.00466f2b
pop ecx
mov ecx, eax
push ecx
lea eax, [ebp + 0x1d8]
push edi
push eax
call fcn.00469373
lea eax, [ebp + 0x1d8]
push eax
call fcn.00466f2b
add esp, 0x10
cmp eax, esi
jae 0x432888
lea eax, [ebp + 0x1d8]
push eax
call fcn.00466f2b
pop ecx
jmp 0x43288a
mov eax, esi
xor ebx, ebx
mov word [ebp + eax*2 + 0x1d8], bx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x1d8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x80], eax
jne 0x4328b4
xor al, al
jmp 0x432c66
cmp dword [ebp - 0x78], 0x10
je 0x432a66
push 0x208
lea eax, [ebp + 0x3e0]
push ebx
push eax
call fcn.004665b0
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
push dword [ebp - 0x7c]
mov edi, esi
sub edi, eax
call fcn.00466f2b
add esp, 0x14
cmp edi, eax
jae 0x432902
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
pop ecx
mov ecx, esi
sub ecx, eax
jmp 0x43290d
push dword [ebp - 0x7c]
call fcn.00466f2b
pop ecx
mov ecx, eax
push ecx
push dword [ebp - 0x7c]
lea eax, [ebp + 0x3e0]
push eax
call fcn.00469373
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
add esp, 0x10
cmp eax, esi
jae 0x43293f
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
pop ecx
jmp 0x432941
mov eax, esi
mov word [ebp + eax*2 + 0x3e0], bx
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
pop ecx
xor edi, edi
mov ecx, esi
sub ecx, eax
inc edi
cmp ecx, edi
jae 0x432972
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
mov edi, esi
pop ecx
sub edi, eax
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
test eax, eax
pop ecx
jbe 0x4329d9
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
cmp word [ebp + eax*2 + 0x3de], 0x5c
pop ecx
je 0x4329d9
push edi
lea eax, [ebp + 0x3e0]
push 0x49fa70
push eax
call fcn.00469373
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
add esp, 0x10
cmp eax, esi
jae 0x4329cf
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
pop ecx
jmp 0x4329d1
mov eax, esi
mov word [ebp + eax*2 + 0x3e0], bx
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
mov edi, esi
sub edi, eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00466f2b
cmp edi, eax
pop ecx
pop ecx
jae 0x432a0b
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
pop ecx
mov ecx, esi
sub ecx, eax
jmp 0x432a17
lea eax, [ebp - 0x4c]
push eax
call fcn.00466f2b
pop ecx
mov ecx, eax
push ecx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 0x3e0]
push eax
call fcn.00469373
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
add esp, 0x10
cmp eax, esi
jae 0x432a4a
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
pop ecx
jmp 0x432a4c
mov eax, esi
mov word [ebp + eax*2 + 0x3e0], bx
lea eax, [ebp + 0x3e0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x432c39
lea eax, [ebp - 0x4c]
push 0x4a2dec
push eax
call fcn.004692e2
test eax, eax
pop ecx
pop ecx
je 0x432c39
lea eax, [ebp - 0x4c]
push 0x4a2de4
push eax
call fcn.004692e2
test eax, eax
pop ecx
pop ecx
je 0x432c39
push 0x208
lea eax, [ebp + 0x3e0]
push ebx
push eax
call fcn.004665b0
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
push dword [ebp - 0x7c]
mov edi, esi
sub edi, eax
call fcn.00466f2b
add esp, 0x14
cmp edi, eax
jae 0x432ada
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
pop ecx
mov ecx, esi
sub ecx, eax
jmp 0x432ae5
push dword [ebp - 0x7c]
call fcn.00466f2b
pop ecx
mov ecx, eax
push ecx
push dword [ebp - 0x7c]
lea eax, [ebp + 0x3e0]
push eax
call fcn.00469373
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
add esp, 0x10
cmp eax, esi
jae 0x432b17
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
pop ecx
jmp 0x432b19
mov eax, esi
mov word [ebp + eax*2 + 0x3e0], bx
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
pop ecx
xor edi, edi
mov ecx, esi
sub ecx, eax
inc edi
cmp ecx, edi
jae 0x432b4a
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
mov edi, esi
pop ecx
sub edi, eax
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
test eax, eax
pop ecx
jbe 0x432bb1
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
cmp word [ebp + eax*2 + 0x3de], 0x5c
pop ecx
je 0x432bb1
push edi
lea eax, [ebp + 0x3e0]
push 0x49fa70
push eax
call fcn.00469373
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
add esp, 0x10
cmp eax, esi
jae 0x432ba7
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
pop ecx
jmp 0x432ba9
mov eax, esi
mov word [ebp + eax*2 + 0x3e0], bx
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
mov edi, esi
sub edi, eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00466f2b
cmp edi, eax
pop ecx
pop ecx
jae 0x432be3
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
pop ecx
mov ecx, esi
sub ecx, eax
jmp 0x432bef
lea eax, [ebp - 0x4c]
push eax
call fcn.00466f2b
pop ecx
mov ecx, eax
push ecx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 0x3e0]
push eax
call fcn.00469373
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
add esp, 0x10
cmp eax, esi
jae 0x432c22
lea eax, [ebp + 0x3e0]
push eax
call fcn.00466f2b
pop ecx
jmp 0x432c24
mov eax, esi
mov word [ebp + eax*2 + 0x3e0], bx
lea eax, [ebp + 0x3e0]
push eax
call fcn.004326c1
pop ecx
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4328b4
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp + 0x5e8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00464a9b
add ebp, 0x5ec
leave
ret