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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20fc
call fcn.00416960
mov eax, dword [0x43e270]
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 0x42ef94
xor al, al
jmp 0x42f353
cmp dword [ebp + 8], 0
je 0x42efaa
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040d97b
add esp, 4
test eax, eax
jne 0x42efb1
xor al, al
jmp 0x42f353
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 0x42efdb
jmp 0x42f32e
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.0040d9a0
add esp, 0xc
push 0x400
push 0
lea eax, [ebp - 0x1410]
push eax
call fcn.0040d9a0
add esp, 0xc
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c28]
call fcn.00402990
mov ecx, dword [ebp - 0x20fc]
push ecx
call fcn.0040d97b
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 0x42f0eb
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 0x42f11c
jmp 0x42f32e
lea edx, [ebp - 0x1410]
push edx
call fcn.0040d8f0
add esp, 4
movsx eax, byte [ebp + eax - 0x1411]
cmp eax, 0x5c
je 0x42f14c
push 0x436d8c
lea ecx, [ebp - 0x1410]
push ecx
call fcn.0040da30
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.0042c310
add esp, 0x28
test eax, eax
jne 0x42f196
mov eax, dword [ebp - 0x20fc]
mov ecx, dword [eax + 0x800]
push ecx
call fcn.0042b7a0
add esp, 4
push 0x800
push 0
lea edx, [ebp - 0x1008]
push edx
call fcn.0040d9a0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.0040d97b
add esp, 4
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2 - 2]
cmp edx, 0x5c
jne 0x42f1de
mov eax, dword [ebp + 8]
push eax
push 0x4375fc
lea edx, [ebp - 0x1008]
call fcn.004029a0
add esp, 8
jmp 0x42f1f5
mov ecx, dword [ebp + 8]
push ecx
push 0x43a204
lea edx, [ebp - 0x1008]
call fcn.004029a0
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 0x42f327
lea ecx, [ebp - 0x1e74]
push ecx
call fcn.0040d97b
add esp, 4
cmp eax, 2
jne 0x42f248
movzx edx, word [ebp - 0x1e74]
cmp edx, 0x2e
jne 0x42f248
movzx eax, word [ebp - 0x1e72]
cmp eax, 0x2e
je 0x42f268
lea ecx, [ebp - 0x1e74]
push ecx
call fcn.0040d97b
add esp, 4
cmp eax, 1
jne 0x42f287
movzx edx, word [ebp - 0x1e74]
cmp edx, 0x2e
jne 0x42f287
lea eax, [ebp - 0x1ea0]
push eax
mov ecx, dword [ebp - 0x1c2c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42f285
jmp 0x42f327
jmp 0x42f20f
push 0x800
push 0
lea edx, [ebp - 0x808]
push edx
call fcn.0040d9a0
add esp, 0xc
lea eax, [ebp - 0x1e74]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x43781c
push 0x400
lea edx, [ebp - 0x808]
push edx
call fcn.0040c9e6
add esp, 0x14
mov eax, dword [ebp - 0x1ea0]
and eax, 0x10
je 0x42f2eb
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp - 0x20fc]
call fcn.0042ef50
movzx edx, al
test edx, edx
jne 0x42f2e9
jmp 0x42f32e
jmp 0x42f308
lea eax, [ebp - 0x808]
push eax
mov ecx, dword [ebp - 0x20fc]
call fcn.0042eb80
movzx ecx, al
test ecx, ecx
jne 0x42f308
jmp 0x42f32e
lea edx, [ebp - 0x1ea0]
push edx
mov eax, dword [ebp - 0x1c2c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42f322
jmp 0x42f327
jmp 0x42f20f
mov byte [ebp - 0x1009], 1
cmp dword [ebp - 0x1c2c], 0xffffffff
je 0x42f34d
cmp dword [ebp - 0x1c2c], 0
je 0x42f34d
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.0040c641
mov esp, ebp
pop ebp
ret 4