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

Disassembly:
mov eax, 0x6eb07e
call fcn.006899cc
sub esp, 0x2b0
cmp dword [ebp + 8], 0
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
jne 0x627fdb
mov ecx, 0x6f6210
mov eax, dword [esi + 0x44]
add eax, 0x20
cmp dword [eax + 0x14], 8
jb 0x627fe9
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x6c]
push 0x74fb98
push eax
call fcn.00475719
add esp, 0x10
xor ebx, ebx
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
mov dword [ebp - 4], ebx
jb 0x62800d
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x2bc]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x6281a6
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
push 0x2e
pop ecx
cmp word [ebp - 0x290], cx
jne 0x62805e
cmp word [ebp - 0x28e], 0
je 0x62821f
cmp word [ebp - 0x28e], cx
jne 0x62805e
cmp word [ebp - 0x28c], 0
je 0x62821f
test byte [ebp - 0x2bc], 4
jne 0x62821f
test byte [ebp - 0x2bc], 2
je 0x6280bf
mov ecx, dword [esi + 0x38]
cmp ecx, 2
je 0x6280bf
test ecx, ecx
jne 0x6280b7
push 0x7a
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0x34
call fcn.005ba91d
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.005bb77f
pop ecx
pop ecx
cmp eax, 6
je 0x6280ae
mov dword [esi + 0x38], 1
jmp 0x62821f
mov dword [esi + 0x38], 2
jmp 0x6280bf
cmp ecx, eax
je 0x62821f
lea eax, [ebp - 0x290]
push eax
push dword [ebp + 0xc]
call fcn.0048f6cb
test eax, eax
jne 0x62821f
mov dword [ebp - 0x34], ebx
lea ecx, [ebp - 0x34]
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x290]
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 7
call fcn.004482e2
xor eax, eax
inc eax
push eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x34]
push eax
sub esp, 0x18
mov eax, esp
push dword [ebp + 8]
push eax
call fcn.004494f1
lea eax, [ebp - 0x54]
push eax
call fcn.0046f4a0
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x628157
mov ecx, dword [ebp - 0x34]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x62814e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044810a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x24], ebx
test byte [ebp - 0x2bc], 0x10
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
je 0x6281c0
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
jb 0x62817c
mov eax, dword [ebp - 0x54]
push dword [ebp + 0xc]
mov ecx, esi
push eax
call fcn.00627fb9
test al, al
jne 0x628214
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x1c], bl
call fcn.0044823e
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov bl, byte [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
call fcn.0044823e
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
cmp byte [esi + 0x58], al
jne 0x6281d8
mov ecx, dword [esi + 0x44]
call fcn.006c77c0
cmp eax, 0x3e8
jb 0x6281d8
mov byte [esi + 0x58], 1
mov al, byte [ebp - 0x2bc]
xor ecx, ecx
or ecx, dword [ebp - 0x29c]
and al, 2
movzx eax, al
push eax
mov eax, dword [ebp - 0x2a0]
or eax, ebx
push eax
push ecx
sub esp, 0x18
lea eax, [ebp - 0x54]
mov ecx, esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00448193
mov ecx, dword [esi + 0x44]
call fcn.006c68ee
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.0044823e
lea eax, [ebp - 0x2bc]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
je 0x62819a
xor eax, eax
inc eax
jmp 0x62802d