Function at 0x42f34d
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x56a994
call fcn.00524444
sub esp, 0x18c
and dword [ebp - 0x20], 0
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.005441e0
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0053e8c4
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push 1
push eax
lea ecx, [ebp - 0x14]
call fcn.0053a96e
mov eax, dword [eax]
mov esi, 0x5bc994
push esi
push eax
call fcn.00524dbe
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 0x2c]
setne bl
call fcn.0053eb4f
test bl, bl
je 0x42f3b3
push esi
lea ecx, [ebp - 0x14]
call fcn.0053ef2b
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x30]
push eax
call fcn.0053e8c4
mov eax, dword [0x61d784]
mov dword [ebp - 0x28], eax
mov edi, 0x5befd4
lea ecx, [ebp - 0x14]
push edi
mov byte [ebp - 4], 2
call fcn.0053ef2b
mov eax, dword [0x61d784]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0x622c94
mov byte [ebp - 4], 3
lea ebx, [eax + 0x1e4]
mov eax, dword [eax + 0x1e4]
push eax
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
jne 0x42f410
push edi
lea ecx, [ebp - 0x10]
call fcn.0053ecd8
jmp 0x42f419
push ebx
lea ecx, [ebp - 0x10]
call fcn.0053ec88
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
push 0x3b
lea ecx, [ebp - 0x10]
call fcn.0053f016
mov edi, eax
cmp edi, 0xffffffff
jne 0x42f462
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0053ed7e
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0053ec88
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0053eb4f
mov dword [ebp - 0x2c], 1
jmp 0x42f4d5
lea eax, [ebp - 0x48]
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.0053a9ea
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 5
call fcn.0053ed7e
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0053ec88
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.0053eb4f
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0053eb4f
inc edi
lea eax, [ebp - 0x3c]
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.0053a8b5
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.0053ec88
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0053eb4f
lea ecx, [ebp - 0x10]
call fcn.0053aff2
lea eax, [ebp - 0x198]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x42f6ee
mov eax, dword [ebp - 0x198]
and eax, 0x10
cmp al, 0x10
je 0x42f5d2
lea eax, [ebp - 0x16c]
lea ecx, [ebp - 0x34]
push eax
call fcn.0053ebbd
push 0x5bf014
mov byte [ebp - 4], 8
push dword [ebp - 0x34]
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
je 0x42f5c6
push 0x5c0748
push dword [ebp - 0x34]
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
je 0x42f5c6
test byte [ebp - 0x198], 0x10
jne 0x42f5c3
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.0053e8c4
lea eax, [ebp - 0x40]
push 1
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.0053a96e
mov eax, dword [eax]
push esi
push eax
call fcn.00524dbe
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 0x40]
setne bl
call fcn.0053eb4f
test bl, bl
je 0x42f58d
push esi
lea ecx, [ebp - 0x1c]
call fcn.0053ef2b
lea eax, [ebp - 0x16c]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0053ef2b
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
push edx
lea ecx, [eax + 0x1fc]
mov eax, dword [eax + 0x204]
push eax
call fcn.0053d7d1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.0053eb4f
xor ebx, ebx
inc dword [ebp - 0x20]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
jmp 0x42f6cc
cmp dword [ebp + 0xc], ebx
je 0x42f6d1
lea eax, [ebp - 0x16c]
lea ecx, [ebp - 0x24]
push eax
call fcn.0053ebbd
push 0x5bf014
mov byte [ebp - 4], 0xa
push dword [ebp - 0x24]
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
je 0x42f6c5
push 0x5c0748
push dword [ebp - 0x24]
call fcn.00524dbe
pop ecx
test eax, eax
pop ecx
je 0x42f6c5
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x4c]
push dword [ebp + 8]
push eax
call fcn.0053ed7e
push esi
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xb
push eax
call fcn.0053ede4
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.0053ec88
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.0053eb4f
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.0053eb4f
cmp dword [ebp + 0x10], ebx
je 0x42f6b0
push dword [ebp - 0x28]
lea eax, [ebp - 0x54]
push eax
call dword [ebp + 0x10]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xd
call fcn.0053e8c4
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xf
call fcn.0053eb4f
mov eax, dword [ebp - 0x38]
cmp dword [eax - 8], ebx
je 0x42f6a4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x1e4]
call fcn.0053ec88
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.0053eb4f
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push dword [ebp + 0xc]
push eax
call fcn.0042f34d
add dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.0053eb4f
lea eax, [ebp - 0x198]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42f4f0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x2c], ebx
je 0x42f41e
mov ecx, dword [ebp - 0x18]
call fcn.005441f5
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0053eb4f
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0053eb4f
and byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0053eb4f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0053eb4f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc