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

Disassembly:
push 0x2d4
mov eax, 0x7b54f4
call fcn.00774621
mov dword [ebp - 0x2dc], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d4], esi
test eax, eax
jne 0x740260
xor eax, eax
jmp 0x74036b
test esi, esi
je 0x740259
push eax
lea ecx, [ebp - 0x70]
xor edi, edi
call fcn.004026c0
and dword [ebp - 4], edi
mov ebx, 0x89d6cc
push ebx
call fcn.00761599
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x70]
call fcn.00404470
xor ebx, ebx
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
inc eax
lea ecx, [ebp - 0x58]
push esi
mov byte [ebp - 4], al
call fcn.004026c0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.0073897a
mov dword [ebp - 0x2d0], ebx
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2c8], ebx
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2d0]
push ecx
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x58]
push 0x880774
push eax
call fcn.00738713
mov eax, dword [ebp - 0x2cc]
add esp, 0x10
sub eax, dword [ebp - 0x2d0]
cdq
push 0x18
pop ecx
idiv ecx
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x2e0], eax
lea eax, [ebp - 0x2c0]
cmovae ecx, dword [ebp - 0x70]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c4], eax
cmp eax, 0xffffffff
jne 0x740379
xor esi, esi
inc esi
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jle 0x74033d
cmp ebx, dword [ebp - 0x2e0]
cmovge edi, esi
lea ecx, [ebp - 0x2d0]
call fcn.0072d82c
push 0
push esi
lea ecx, [ebp - 0x58]
call fcn.00402760
push 0
push esi
lea ecx, [ebp - 0x40]
call fcn.00402760
push 0
push esi
lea ecx, [ebp - 0x70]
call fcn.00402760
mov eax, edi
call fcn.007745cb
ret 8
mov esi, dword [ebp - 0x2d4]
lea ecx, [ebp - 0x2c0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [ebp - 0x2c4]
je 0x740326
push 0x2e
pop ecx
cmp word [ebp - 0x294], cx
je 0x740379
cmp word [ebp - 0x292], 0
je 0x740379
cmp word [ebp - 0x292], cx
jne 0x7403ba
cmp word [ebp - 0x290], 0
je 0x740379
cmp word [ebp - 0x294], 0
jne 0x7403c8
xor eax, eax
jmp 0x7403d5
lea eax, [ebp - 0x294]
push eax
call fcn.00761599
pop ecx
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402820
test byte [ebp - 0x2c0], 0x10
je 0x74045b
push dword [ebp - 0x2d8]
lea ecx, [ebp - 0x28]
call fcn.004026c0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x28]
call fcn.004045a0
push 0x8b5784
call fcn.00761599
pop ecx
push eax
push 0x8b5784
lea ecx, [ebp - 0x28]
call fcn.00404470
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x2dc]
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.0074022e
lea ecx, [ebp - 0x28]
push 0
test eax, eax
jne 0x7404db
push 1
mov byte [ebp - 4], 3
call fcn.00402760
jmp 0x7404d0
lea eax, [ebp - 0x40]
push eax
call fcn.0073897a
mov esi, dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x2c4]
pop ecx
cmp esi, dword [ebp - 0x2cc]
je 0x740373
cmp dword [esi + 0x14], 8
jb 0x740487
mov eax, dword [esi]
jmp 0x740489
mov eax, esi
push eax
lea ecx, [ebp - 0x28]
call fcn.004026c0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x18]
push 0
call fcn.00424ed0
test eax, eax
jne 0x7404b3
inc ebx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402760
add esi, 0x18
cmp esi, dword [ebp - 0x2cc]
jne 0x74047d
mov esi, dword [ebp - 0x2d4]
mov eax, dword [ebp - 0x2c4]
jmp 0x740379
xor esi, esi
inc esi
push esi
mov edi, esi
call fcn.00402760
mov eax, dword [ebp - 0x2c4]
jmp 0x740329