Function at 0x423700
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 0x4b7e69
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x4ff1a0]
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 - 0x30], cx
mov esi, 7
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
call fcn.0040f1f0
mov dword [ebp - 4], ebx
lea eax, [esi + 0x19]
lea edi, [ebp - 0x30]
call fcn.00419780
lea edi, [esi + 1]
cmp dword [ebp - 0x20], ebx
je 0x423782
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x423771
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
jne 0x4237a7
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], edi
jb 0x42379a
mov edx, dword [ebp - 0x30]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov word [ebp - 0x30], ax
xor al, al
jmp 0x423aa8
push str..
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.00410b20
add esp, 0xc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], edi
jae 0x4237cb
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x30c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x310], esi
cmp esi, 0xffffffff
jne 0x423830
mov byte [ebp - 4], bl
cmp dword [ebp - 0x54], edi
jb 0x4237fa
mov edx, dword [ebp - 0x68]
push edx
call fcn.00490458
add esp, 4
mov esi, 7
xor eax, eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], edi
jb 0x423823
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov word [ebp - 0x30], dx
xor al, al
jmp 0x423aa8
lea eax, [ebp - 0x2e0]
push eax
push 0x4c5a44
call fcn.00493482
add esp, 8
test eax, eax
je 0x423a46
lea ecx, [ebp - 0x2e0]
push ecx
push 0x4c5a48
call fcn.00493482
add esp, 8
test eax, eax
je 0x423a46
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0xbc]
push eax
call fcn.00427160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e0]
push ecx
push eax
lea edx, [ebp - 0x4c]
push edx
call fcn.00427210
add esp, 0x14
mov byte [ebp - 4], 4
cmp dword [ebp - 0xa8], edi
jb 0x4238ab
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00490458
add esp, 4
mov eax, dword [ebp - 0x4c]
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xac], ebx
mov word [ebp - 0xbc], cx
cmp dword [ebp - 0x38], edi
jae 0x4238d0
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x4238f1
mov ecx, dword [ebp - 0x4c]
and eax, 0xfffffffe
cmp dword [ebp - 0x38], edi
jae 0x4238e9
lea ecx, [ebp - 0x4c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x30c], 0x10
mov edx, dword [ebp - 0x4c]
je 0x42399d
cmp dword [ebp - 0x38], edi
jae 0x423909
lea edx, [ebp - 0x4c]
xor eax, eax
mov word [ebp - 0xa0], ax
mov eax, edx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x423923
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xa0]
call fcn.0040e680
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00423700
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x8c], edi
jb 0x42396d
mov edx, dword [ebp - 0xa0]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], ebx
cmp dword [ebp - 0x38], edi
jae 0x423991
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x423a1b
cmp dword [ebp - 0x38], edi
jae 0x4239a5
lea edx, [ebp - 0x4c]
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], cx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4239c0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x84]
call fcn.0040e680
mov byte [ebp - 4], 6
push 1
lea esi, [ebp - 0x84]
call fcn.00423ad0
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x70], edi
jb 0x423a08
mov edx, dword [ebp - 0x84]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], ebx
mov word [ebp - 0x84], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x38], edi
jb 0x423a30
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00490458
add esp, 4
mov esi, dword [ebp - 0x310]
xor edx, edx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
lea eax, [ebp - 0x30c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x423830
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x54], edi
jb 0x423a77
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.00490458
add esp, 4
mov esi, 7
xor edx, edx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], dx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], edi
jb 0x423aa0
mov eax, dword [ebp - 0x30]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov word [ebp - 0x30], cx
mov al, 1
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
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.004911d1
mov esp, ebp
pop ebp
ret