Function at 0x427070
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20fc
call fcn.0040fae0
mov eax, dword [0x43217c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20fc], ecx
mov byte [ebp - 0x1009], 0
mov dword [ebp - 0x1c2c], 0xffffffff
mov eax, dword [ebp - 0x20fc]
cmp dword [eax + 0x800], 0
jne 0x4270b4
xor al, al
jmp 0x427473
cmp dword [ebp + 8], 0
je 0x4270ca
mov ecx, dword [ebp + 8]
push ecx
call fcn.00408feb
add esp, 4
test eax, eax
jne 0x4270d1
xor al, al
jmp 0x427473
lea edx, [ebp - 0x20f8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1ea4], eax
cmp dword [ebp - 0x1ea4], 0xffffffff
jne 0x4270fb
jmp 0x42744e
mov ecx, dword [ebp - 0x1ea4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x1420]
push edx
lea eax, [ebp - 0x20e4]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov dword [ebp - 0x1c34], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x1c30], eax
mov dword [ebp - 0x1c38], 0
movzx edx, word [ebp - 0x1420]
mov dword [ebp - 0x1c3c], edx
movzx eax, word [ebp - 0x141e]
mov dword [ebp - 0x1c40], eax
movzx ecx, word [ebp - 0x141a]
mov dword [ebp - 0x1c44], ecx
movzx edx, word [ebp - 0x1418]
mov dword [ebp - 0x1c48], edx
movzx eax, word [ebp - 0x1416]
mov dword [ebp - 0x1c4c], eax
movzx ecx, word [ebp - 0x1414]
mov dword [ebp - 0x1c50], ecx
mov dword [ebp - 0x1424], 0
push 0x800
push 0
lea edx, [ebp - 0x1c28]
push edx
call fcn.00409180
add esp, 0xc
push 0x400
push 0
lea eax, [ebp - 0x1410]
push eax
call fcn.00409180
add esp, 0xc
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c28]
call fcn.00402970
mov ecx, dword [ebp - 0x20fc]
push ecx
call fcn.00408feb
add esp, 4
lea edx, [ebp + eax*2 - 0x1c28]
mov dword [ebp - 0x1424], edx
mov eax, dword [ebp - 0x1424]
movzx ecx, word [eax]
cmp ecx, 0x5c
jne 0x42720b
mov edx, dword [ebp - 0x1424]
add edx, 2
mov dword [ebp - 0x1424], edx
push 0
push 0
push 0x400
lea eax, [ebp - 0x1410]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1424]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x42723c
jmp 0x42744e
lea edx, [ebp - 0x1410]
push edx
call fcn.00408f60
add esp, 4
movsx eax, byte [ebp + eax - 0x1411]
cmp eax, 0x5c
je 0x42726c
push 0x42bd64
lea ecx, [ebp - 0x1410]
push ecx
call fcn.00409210
add esp, 8
push 0xffffffffffffffff
push 8
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x1c50]
push edx
lea eax, [ebp - 0x1410]
push eax
mov ecx, dword [ebp - 0x20fc]
mov edx, dword [ecx + 0x800]
push edx
call fcn.00423b10
add esp, 0x28
test eax, eax
jne 0x4272b6
mov eax, dword [ebp - 0x20fc]
mov ecx, dword [eax + 0x800]
push ecx
call fcn.00422fa0
add esp, 4
push 0x800
push 0
lea edx, [ebp - 0x1008]
push edx
call fcn.00409180
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.00408feb
add esp, 4
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2 - 2]
cmp edx, 0x5c
jne 0x4272fe
mov eax, dword [ebp + 8]
push eax
push 0x42c5d4
lea edx, [ebp - 0x1008]
call fcn.00402980
add esp, 8
jmp 0x427315
mov ecx, dword [ebp + 8]
push ecx
push str._s.
lea edx, [ebp - 0x1008]
call fcn.00402980
add esp, 8
lea edx, [ebp - 0x1ea0]
push edx
lea eax, [ebp - 0x1008]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1c2c], eax
cmp dword [ebp - 0x1c2c], 0xffffffff
je 0x427447
lea ecx, [ebp - 0x1e74]
push ecx
call fcn.00408feb
add esp, 4
cmp eax, 2
jne 0x427368
movzx edx, word [ebp - 0x1e74]
cmp edx, 0x2e
jne 0x427368
movzx eax, word [ebp - 0x1e72]
cmp eax, 0x2e
je 0x427388
lea ecx, [ebp - 0x1e74]
push ecx
call fcn.00408feb
add esp, 4
cmp eax, 1
jne 0x4273a7
movzx edx, word [ebp - 0x1e74]
cmp edx, 0x2e
jne 0x4273a7
lea eax, [ebp - 0x1ea0]
push eax
mov ecx, dword [ebp - 0x1c2c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4273a5
jmp 0x427447
jmp 0x42732f
push 0x800
push 0
lea edx, [ebp - 0x808]
push edx
call fcn.00409180
add esp, 0xc
lea eax, [ebp - 0x1e74]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x42c7f4
push 0x400
lea edx, [ebp - 0x808]
push edx
call fcn.004083b0
add esp, 0x14
mov eax, dword [ebp - 0x1ea0]
and eax, 0x10
je 0x42740b
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp - 0x20fc]
call fcn.00427070
movzx edx, al
test edx, edx
jne 0x427409
jmp 0x42744e
jmp 0x427428
lea eax, [ebp - 0x808]
push eax
mov ecx, dword [ebp - 0x20fc]
call fcn.00426a00
movzx ecx, al
test ecx, ecx
jne 0x427428
jmp 0x42744e
lea edx, [ebp - 0x1ea0]
push edx
mov eax, dword [ebp - 0x1c2c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x427442
jmp 0x427447
jmp 0x42732f
mov byte [ebp - 0x1009], 1
cmp dword [ebp - 0x1c2c], 0xffffffff
je 0x42746d
cmp dword [ebp - 0x1c2c], 0
je 0x42746d
mov ecx, dword [ebp - 0x1c2c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 0x1009]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040800b
mov esp, ebp
pop ebp
ret 4