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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x747cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x857060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b0], edx
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push ebx
mov byte [ebp - 0x2a9], 1
call fcn.00449230
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 1
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x7a15b8
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00426d40
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00426ce0
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b4], eax
lea ecx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x30], 0
push eax
push 0x799430
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00426d40
mov eax, dword [ebp - 0x2b0]
mov edx, 1
mov byte [ebp - 4], 2
mov ecx, eax
mov esi, dword [eax + 0x10]
cmp esi, edx
mov eax, dword [eax + 0x14]
cmovb edx, esi
mov dword [ebp - 0x2b8], eax
cmp eax, 8
jb 0x65382c
mov ecx, dword [ecx]
push 1
push str..__
call fcn.004580d0
add esp, 8
test eax, eax
je 0x65385c
push 1
push str..__
lea ecx, [ebp - 0x40]
call fcn.00426d40
mov edx, dword [ebp - 0x2b0]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
jmp 0x653868
mov ecx, dword [ebp - 0x2b8]
mov edx, dword [ebp - 0x2b0]
mov eax, edx
cmp ecx, 8
jb 0x653871
mov eax, dword [edx]
push esi
push eax
lea ecx, [ebp - 0x40]
call fcn.0044a2e0
cmp dword [ebp - 0x2b4], 0xffffffff
je 0x653a43
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop
push str..__
lea eax, [ebp - 0x27c]
push eax
call esi
test eax, eax
je 0x653a1c
push 0x7ea604
lea eax, [ebp - 0x27c]
push eax
call esi
test eax, eax
je 0x653a1c
lea eax, [ebp - 0x58]
cmp eax, ebx
je 0x6538d9
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x6538cd
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp - 0x58]
push eax
call fcn.00426d40
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x6538f6
sub ecx, edx
lea eax, [ebp - 0x27c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00426d40
push ecx
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00651b80
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00426ce0
test byte [ebp - 0x2a8], 0x10
je 0x65395e
mov edx, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x58]
push 0
push 1
push edi
call fcn.00653730
add esp, 0xc
mov byte [ebp - 0x2a9], al
jmp 0x653a1c
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x14], 7
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x653980
sub eax, edx
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00426d40
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
cmp eax, edx
jbe 0x653a10
mov esi, eax
sub esi, edx
cmp eax, esi
jb 0x653a75
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
sub eax, esi
cmp eax, edx
push ecx
cmovb edx, eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea ecx, [eax + esi*2]
call fcn.004580d0
add esp, 8
test eax, eax
jne 0x653a0a
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x58]
push ecx
cmp eax, dword [edi + 8]
je 0x653a02
mov ecx, eax
call fcn.00449230
add dword [edi + 4], 0x18
jmp 0x653a0a
push eax
mov ecx, edi
call fcn.00457540
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00426ce0
lea eax, [ebp - 0x2a8]
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x653890
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x40]
call fcn.00426ce0
lea ecx, [ebp - 0x58]
call fcn.00426ce0
mov al, byte [ebp - 0x2a9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006d0965
mov esp, ebp
pop ebp
ret
call fcn.0044b3c0
int3