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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x546b72
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x595978]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push esi
push edi
mov eax, dword [0x595978]
xor eax, esp
push eax
lea eax, [esp + 0x320]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 4
xor eax, eax
xor esi, esi
push 0x57bc78
lea ecx, [esp + 0x78]
mov byte [esp + 0x1f], 0
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], esi
mov word [esp + 0x78], ax
call fcn.0040d980
push 0x579154
lea ecx, [esp + 0x90]
push ebx
push ecx
mov dword [esp + 0x334], esi
call fcn.00416c70
add esp, 0xc
mov ecx, eax
lea eax, [esp + 0x70]
lea esi, [esp + 0x38]
mov byte [esp + 0x328], 1
call fcn.00437eb0
mov edi, 8
mov byte [esp + 0x328], 3
cmp dword [esp + 0xa0], edi
jb 0x4386cd
mov edx, dword [esp + 0x8c]
push edx
call fcn.0049cf83
add esp, 4
xor eax, eax
mov word [esp + 0x8c], ax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 0
cmp dword [esp + 0x4c], edi
jae 0x4386fb
lea eax, [esp + 0x38]
lea ecx, [esp + 0xc4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x438872
jmp 0x438720
cmp word [esp + 0xf0], 0x2e
je 0x438843
push 0x579154
lea edx, [esp + 0xac]
push ebx
push edx
call fcn.00416c70
push eax
lea edx, [esp + 0x100]
lea esi, [esp + 0x2c]
mov byte [esp + 0x338], 4
call fcn.00416e70
add esp, 0x10
mov byte [esp + 0x328], 6
cmp dword [esp + 0xbc], edi
jb 0x43877f
mov eax, dword [esp + 0xa8]
push eax
call fcn.0049cf83
add esp, 4
mov eax, dword [esp + 0x1c]
xor ecx, ecx
test byte [esp + 0xc4], 0x10
mov esi, 7
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], 0
mov word [esp + 0xa8], cx
je 0x438812
cmp dword [esp + 0x30], edi
jae 0x4387b8
lea eax, [esp + 0x1c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor edx, edx
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], 0
mov word [esp + 0x60], dx
call fcn.0040d880
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x32c], 7
call fcn.00438600
add esp, 4
cmp dword [esp + 0x68], edi
jb 0x438828
mov edx, dword [esp + 0x54]
push edx
call fcn.0049cf83
add esp, 4
jmp 0x438828
cmp dword [esp + 0x30], edi
jae 0x43881c
lea eax, [esp + 0x1c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [esp + 0x328], 3
cmp dword [esp + 0x30], edi
jb 0x438843
mov eax, dword [esp + 0x1c]
push eax
call fcn.0049cf83
add esp, 4
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0xc4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x438720
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, 1
cmp eax, 0x12
je 0x438876
mov bl, byte [esp + 0x17]
cmp dword [esp + 0x4c], edi
jb 0x438889
mov edx, dword [esp + 0x38]
push edx
call fcn.0049cf83
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
cmp dword [esp + 0x84], edi
jb 0x4388b6
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0049cf83
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x320]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.0049cc86
mov esp, ebp
pop ebp
ret