Function at 0x4ba180
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 0x563c7b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x5d8024]
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 0x4ba20e
lea ecx, [edx - 1]
test ecx, ecx
js 0x4ba568
cmp ecx, edx
jg 0x4ba568
cmp word [eax + ecx*2], 0x5c
je 0x4ba20e
push 0x5c
lea ecx, [ebx + 8]
call fcn.00490c80
call fcn.00409310
mov ecx, eax
test ecx, ecx
je 0x4ba55e
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.00408b20
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
call fcn.004ba580
or edi, 0xffffffff
test al, al
je 0x4ba2e5
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.00490630
push ecx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x28]
call fcn.00490810
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x28c]
push eax
call fcn.0048f870
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 0x4ba2cb
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.004ba7f0
test al, al
je 0x4ba2e5
xor esi, esi
jmp 0x4ba4fc
mov esi, dword [ebx + 0xc]
cmp esi, 1
jge 0x4ba2f7
mov esi, 1
jmp 0x4ba4fc
push 0x250
lea eax, [ebp - 0x278]
push 0
push eax
call fcn.00523b00
mov ecx, dword [ebx + 8]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00408b20
add eax, 0x10
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x284]
push 1
push 0x5916b0
call fcn.00418fd0
mov eax, dword [ebp - 0x284]
cmp dword [eax - 4], 1
jle 0x4ba357
push dword [eax - 0xc]
lea ecx, [ebp - 0x284]
call fcn.00408c90
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], 0x5916bc
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 0x4ba4ad
nop dword [eax]
test byte [ebp - 0x278], 0x10
je 0x4ba46a
cmp word [ebp - 0x24c], 0x2e
jne 0x4ba3db
mov ax, word [ebp - 0x24a]
test ax, ax
je 0x4ba46a
cmp ax, 0x2e
jne 0x4ba3db
cmp word [ebp - 0x248], 0
je 0x4ba46a
lea eax, [ebp - 0x24c]
push eax
lea edx, [ebx + 8]
lea ecx, [ebp - 0x280]
call fcn.0047c5f0
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 - 0x2a0], esp
mov dword [ebp - 0x2a4], esi
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0x10]
call fcn.00408b20
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x290]
call fcn.004ba180
test eax, eax
je 0x4ba488
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 0x4ba461
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 0x4ba4ad
mov ecx, dword [ebp - 0x27c]
jmp 0x4ba3a0
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 0x4ba4a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x4ba4b2
mov esi, 1
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x29c], 0x5916bc
test eax, eax
je 0x4ba4db
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 0x4ba4fc
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 0x4ba51d
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 0x4ba53c
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.00521781
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push 0x80004005
call fcn.00408fe0
push 0x80070057
call fcn.00408fe0
int3