Function at 0x435d00
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x645cd9
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
xor ebx, ebx
xor ecx, ecx
push ebx
mov word [ebp - 0x4c], cx
mov esi, 7
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
call fcn.00403240
lea eax, [esi + 0x19]
lea edi, [ebp - 0x4c]
mov dword [ebp - 4], ebx
call fcn.00401880
lea edi, [esi + 1]
cmp dword [ebp - 0x3c], ebx
je 0x435ddb
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
jae 0x435d71
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
cmp al, bl
je 0x435ddb
push 0x688768
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.0040aa60
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], edi
jae 0x435da5
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x2f4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2f8], eax
cmp eax, 0xffffffff
jne 0x435df3
cmp dword [ebp - 0x54], edi
jb 0x435dcf
mov eax, dword [ebp - 0x68]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], cx
cmp dword [ebp - 0x38], edi
jb 0x435dec
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004effaf
add esp, 4
xor al, al
jmp 0x436007
lea eax, [ebp - 0x2c8]
push eax
push 0x688774
call fcn.005de254
add esp, 8
test eax, eax
je 0x435fae
lea ecx, [ebp - 0x2c8]
push ecx
push 0x688778
call fcn.005de254
add esp, 8
test eax, eax
je 0x435fae
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.0040ab50
lea ecx, [ebp - 0x2c8]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 2
call fcn.0040ac00
add esp, 0x14
mov byte [ebp - 4], 4
cmp dword [ebp - 0x8c], edi
jb 0x435e6e
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004effaf
add esp, 4
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
mov word [ebp - 0xa0], cx
cmp dword [ebp - 0x1c], edi
jae 0x435e8e
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x435eaf
mov ecx, dword [ebp - 0x30]
and eax, 0xfffffffe
cmp dword [ebp - 0x1c], edi
jae 0x435ea7
lea ecx, [ebp - 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x2f4], 0x10
mov edx, dword [ebp - 0x30]
je 0x435f2e
cmp dword [ebp - 0x1c], edi
jae 0x435ec3
lea edx, [ebp - 0x30]
xor eax, eax
mov word [ebp - 0x84], ax
mov eax, edx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x435ed7
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x84]
call fcn.00403600
lea ecx, [ebp - 0x84]
push ecx
mov byte [ebp - 4], 5
call fcn.00435d00
add esp, 4
cmp dword [ebp - 0x70], edi
jb 0x435f1a
mov edx, dword [ebp - 0x84]
push edx
call fcn.004effaf
add esp, 4
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x435f25
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x435f94
cmp dword [ebp - 0x1c], edi
jae 0x435f36
lea edx, [ebp - 0x30]
xor eax, eax
mov word [ebp - 0x84], ax
mov eax, edx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x435f50
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x84]
call fcn.00403600
push 1
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 6
call fcn.00436030
add esp, 4
cmp dword [ebp - 0x70], edi
jb 0x435f94
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004effaf
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c], edi
jb 0x435fa9
mov edx, dword [ebp - 0x30]
push edx
call fcn.004effaf
add esp, 4
mov esi, 7
mov ecx, dword [ebp - 0x2f8]
lea eax, [ebp - 0x2f4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x435df3
mov edx, dword [ebp - 0x2f8]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x54], edi
jb 0x435fe8
mov eax, dword [ebp - 0x68]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], cx
cmp dword [ebp - 0x38], edi
jb 0x436005
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004effaf
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret