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

Disassembly:
push 0x320
mov eax, 0x52ba08
call fcn.004e41bf
mov esi, ecx
mov dword [ebp - 0x324], esi
xor ebx, ebx
mov dword [ebp - 0x328], ebx
push 0x55695c
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.0040996a
push 0x560260
lea edx, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.004271c7
pop ecx
cmp dword [eax + 0x14], 8
jb 0x42da88
mov eax, dword [eax]
lea ecx, [ebp - 0x320]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
push ebx
push 1
lea ecx, [ebp - 0x70]
mov edi, eax
call fcn.004021c6
cmp edi, 0xffffffff
jne 0x42dacf
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0040f26d
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.004021c6
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.004021c6
push ebx
jmp 0x42dcfa
mov ebx, dword [sym.imp.KERNEL32.DLL_FindNextFileW]
jmp 0x42dc92
mov ecx, 0x557ec4
lea eax, [ebp - 0x2f4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42db0b
test dx, dx
je 0x42db07
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42db0b
add eax, 4
add ecx, 4
test dx, dx
jne 0x42dae5
xor eax, eax
jmp 0x42db10
sbb eax, eax
or eax, 1
test eax, eax
je 0x42dc92
mov ecx, 0x560268
lea eax, [ebp - 0x2f4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42db49
test dx, dx
je 0x42db45
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42db49
add eax, 4
add ecx, 4
test dx, dx
jne 0x42db23
xor eax, eax
jmp 0x42db4e
sbb eax, eax
or eax, 1
test eax, eax
je 0x42dc92
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040996a
mov byte [ebp - 4], 3
test byte [ebp - 0x320], 0x10
je 0x42dc82
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0xa0]
call fcn.00427295
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
mov edx, eax
mov dword [esp], 0x55bd28
call fcn.00427191
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0042723f
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x88]
call fcn.004021c6
push 0
push 1
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.004021c6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0050a859
pop ecx
pop ecx
test eax, eax
je 0x42dca6
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
mov dword [ebp - 0x324], esp
push eax
call fcn.0040219e
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0xd0]
call fcn.00427295
sub esp, 0x14
mov byte [ebp - 4], 0xa
mov ecx, esp
mov edx, eax
push 0x55bd28
call fcn.00427191
pop ecx
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xb
call fcn.0042da38
add esp, 0x30
lea ecx, [ebp - 0x40]
push eax
call fcn.0040214d
push 0
push 1
lea ecx, [ebp - 0xb8]
call fcn.004021c6
push 0
push 1
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 8
call fcn.004021c6
cmp dword [ebp - 0x30], 0
lea ecx, [ebp - 0x28]
push 0
push 1
ja 0x42dcbd
call fcn.004021c6
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004021c6
lea eax, [ebp - 0x320]
push eax
push edi
call ebx
test eax, eax
jne 0x42dada
jmp 0x42dcce
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402329
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004021c6
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.004021c6
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0040f26d
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004021c6
push 0
push 1
lea ecx, [ebp + 8]
call fcn.004021c6
push 0
push 1
lea ecx, [ebp + 0x20]
call fcn.004021c6
mov eax, esi
call fcn.004e4169
ret