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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d626
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x5cf024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x290], ecx
mov esi, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x28c], eax
mov dword [ebp - 4], 0
mov eax, dword [ebx + 8]
mov edx, dword [eax - 0xc]
test edx, edx
jle 0x4b85ae
lea ecx, [edx - 1]
test ecx, ecx
js 0x4b8908
cmp ecx, edx
jg 0x4b8908
cmp word [eax + ecx*2], 0x5c
je 0x4b85ae
push 0x5c
lea ecx, [ebx + 8]
call fcn.0048fc70
call fcn.004092a0
mov ecx, eax
test ecx, ecx
je 0x4b88fe
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x288]
push eax
push esi
push ecx
mov esi, esp
mov dword [ebp - 0x280], esp
mov dword [ebp - 0x27c], esi
mov ecx, dword [ebx + 8]
add ecx, 0xfffffff0
call fcn.00408ad0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
call fcn.004b8920
or edi, 0xffffffff
test al, al
je 0x4b8685
push ecx
lea eax, [ebp - 0x288]
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.0048f610
push ecx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x28]
call fcn.0048f7f0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x28c]
push eax
call fcn.0048e870
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b866b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x28]
push eax
call fcn.004b8b90
test al, al
je 0x4b8685
xor esi, esi
jmp 0x4b889c
mov esi, dword [ebx + 0xc]
cmp esi, 1
jge 0x4b8697
mov esi, 1
jmp 0x4b889c
push 0x250
lea eax, [ebp - 0x278]
push 0
push eax
call fcn.0051fe50
mov ecx, dword [ebx + 8]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00408ad0
add eax, 0x10
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x284]
push 1
push 0x588cc8
call fcn.00418fe0
mov eax, dword [ebp - 0x284]
cmp dword [eax - 4], 1
jle 0x4b86f7
push dword [eax - 0xc]
lea ecx, [ebp - 0x284]
call fcn.00408c30
mov eax, dword [ebp - 0x284]
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x29c], 0x588cd4
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, dword [ebp - 0x27c]
cmp ecx, 0xffffffff
je 0x4b884d
nop dword [eax]
test byte [ebp - 0x278], 0x10
je 0x4b880a
cmp word [ebp - 0x24c], 0x2e
jne 0x4b877b
mov ax, word [ebp - 0x24a]
test ax, ax
je 0x4b880a
cmp ax, 0x2e
jne 0x4b877b
cmp word [ebp - 0x248], 0
je 0x4b880a
lea eax, [ebp - 0x24c]
push eax
lea edx, [ebx + 8]
lea ecx, [ebp - 0x280]
call fcn.0047b9c0
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [esi - 1]
push dword [ebp - 0x28c]
push dword [ebp - 0x294]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x2a4], esp
mov dword [ebp - 0x2a8], esi
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0x10]
call fcn.00408ad0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x290]
call fcn.004b8520
test eax, eax
je 0x4b8828
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b8801
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x27c]
lea eax, [ebp - 0x278]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
jne 0x4b884d
mov ecx, dword [ebp - 0x27c]
jmp 0x4b8740
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b8849
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x4b8852
mov esi, 1
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x29c], 0x588cd4
test eax, eax
je 0x4b887b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x298], 0
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x284]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b889c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x288]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b88bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4b88dc
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0051dacc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push 0x80004005
call fcn.00408f80
push 0x80070057
call fcn.00408f80
int3