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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450e0b
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x46d45c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x635], 0
cmp dword [ebp + 0x10], 0
jne 0x42ef7f
xor al, al
jmp 0x42f235
mov eax, dword [ebp + 0x10]
push eax
push 0x104
lea ecx, [ebp - 0x224]
push ecx
call fcn.00439022
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
call fcn.00438225
add esp, 4
movzx eax, word [ebp + eax*2 - 0x226]
cmp eax, 0x5c
jne 0x42efcc
lea ecx, [ebp - 0x224]
push ecx
call fcn.00438225
add esp, 4
xor edx, edx
mov word [ebp + eax*2 - 0x226], dx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x42c]
push ecx
call fcn.004387e0
add esp, 8
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x10
je 0x42f00f
push str..
push 0x104
lea eax, [ebp - 0x224]
push eax
call fcn.0043a8a9
add esp, 0xc
jmp 0x42f03d
push 0x5c
lea ecx, [ebp - 0x42c]
push ecx
call fcn.00416790
add esp, 8
movzx edx, word [eax]
test edx, edx
je 0x42f03d
push 0x5c
lea eax, [ebp - 0x42c]
push eax
call fcn.00416770
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x88c]
push edx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x42f22f
lea ecx, [ebp - 0x860]
push ecx
lea edx, [ebp - 0x42c]
push edx
push str._s_s
lea eax, [ebp - 0x634]
push eax
call fcn.0042fdc0
add esp, 0x10
mov ecx, dword [ebp - 0x88c]
and ecx, 0x10
jne 0x42f1af
lea edx, [ebp - 0x634]
push edx
push 0
call dword [0x46f8d8]
test eax, eax
je 0x42f1ad
push 0
push 0
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x894]
call fcn.00416830
mov dword [ebp - 0x89c], eax
mov ecx, dword [ebp - 0x89c]
mov dword [ebp - 0x8a0], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x8a0]
call fcn.00416b30
push eax
mov edx, dword [ebp + 8]
push edx
call dword [0x46f8e0]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x894]
call fcn.004168d0
cmp dword [ebp - 0x10], 0
je 0x42f1ad
mov byte [ebp - 0x635], 1
cmp dword [ebp + 0x14], 0
je 0x42f19d
cmp dword [ebp + 0x18], 0
je 0x42f19d
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
shl ecx, 2
push ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
push eax
call fcn.004382ba
add esp, 8
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
lea eax, [edx + eax*4 - 4]
mov dword [ebp - 0x890], eax
lea ecx, [ebp - 0x634]
push ecx
lea ecx, [ebp - 0x898]
call fcn.00416830
mov dword [ebp - 0x8a4], eax
mov ecx, dword [ebp - 0x8a4]
call fcn.00416b30
push eax
call fcn.00437a63
add esp, 4
mov edx, dword [ebp - 0x890]
mov dword [edx], eax
lea ecx, [ebp - 0x898]
call fcn.004168d0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x46f8f8]
jmp 0x42f20c
push 0x45e458
lea edx, [ebp - 0x860]
push edx
call fcn.00438feb
add esp, 8
test eax, eax
je 0x42f20c
push 0x45e45c
lea eax, [ebp - 0x860]
push eax
call fcn.00438feb
add esp, 8
test eax, eax
je 0x42f20c
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x634]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042ef40
add esp, 0x14
movzx eax, al
test eax, eax
je 0x42f20c
mov byte [ebp - 0x635], 1
lea ecx, [ebp - 0x88c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42f05e
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 0x635]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004376f1
mov esp, ebp
pop ebp
ret