Function at 0x42ec30
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc60
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x1fe
push eax
mov word [ebp - 0xc], ax
mov dword [ebp - 0xa], eax
mov word [ebp - 0x80c], ax
lea eax, [ebp - 0x80a]
push eax
call fcn.0046a330
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0xa0c], ax
lea eax, [ebp - 0xa0a]
push eax
call fcn.0046a330
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x60c], ax
lea eax, [ebp - 0x60a]
push eax
call fcn.0046a330
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x40c], ax
lea eax, [ebp - 0x40a]
push eax
call fcn.0046a330
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046a330
push 0x100
lea eax, [ebp - 0x60c]
xor edi, edi
push eax
push 0x100
lea eax, [ebp - 0xa0c]
push eax
push 0x100
lea eax, [ebp - 0x80c]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.0046d27c
add esp, 0x60
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x489a44
lea eax, [ebp - 0x40c]
push 0x100
push eax
call fcn.0046982e
add esp, 0x14
lea eax, [ebp - 0xc5c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [ebp - 0xc60], eax
cmp eax, 0xffffffff
je 0x42edf1
jmp 0x42ed60
mov cx, word [ebp - 0xc2e]
mov ax, word [ebp - 0xc30]
test cx, cx
jne 0x42ed79
cmp ax, 0x2e
je 0x42edce
cmp word [ebp - 0xc2c], 0
jne 0x42ed8e
cmp ax, 0x2e
jne 0x42ed8e
cmp cx, ax
je 0x42edce
lea eax, [ebp - 0xc30]
push eax
lea eax, [ebp - 0x40c]
push eax
push 0x489a44
lea eax, [ebp - 0x20c]
push 0x100
push eax
call fcn.0046982e
add esp, 0x14
test byte [ebp - 0xc5c], 0x10
jne 0x42edce
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, eax
lea eax, [ebp - 0xc5c]
push eax
push dword [ebp - 0xc60]
call ebx
test eax, eax
jne 0x42ed60
push dword [ebp - 0xc60]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x10], 0
je 0x42eedb
lea eax, [ebp - 0x40c]
push eax
push 0x489a50
lea eax, [ebp - 0x20c]
push 0x100
push eax
call fcn.0046982e
add esp, 0x10
lea eax, [ebp - 0xc5c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
test esi, esi
je 0x42eeee
cmp esi, 0xffffffff
je 0x42eeee
mov cx, word [ebp - 0xc2e]
mov ax, word [ebp - 0xc30]
test cx, cx
jne 0x42ee5b
cmp ax, 0x2e
je 0x42eec2
cmp word [ebp - 0xc2c], 0
jne 0x42ee70
cmp ax, 0x2e
jne 0x42ee70
cmp cx, ax
je 0x42eec2
test byte [ebp - 0xc5c], 0x10
je 0x42eec2
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0xc30]
push eax
lea eax, [ebp - 0x40c]
push eax
push str._s_s_s_s
lea eax, [ebp - 0x20c]
push 0x100
push eax
call fcn.0046982e
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push dword [ebp + 0xc]
push eax
call fcn.0042ec30
add esp, 0x28
mov edi, eax
lea eax, [ebp - 0xc5c]
push eax
push esi
call ebx
test eax, eax
jne 0x42ee42
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret