Function at 0x4ba6e0
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 0x56850b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x5dd024]
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 0x4ba76e
lea ecx, [edx - 1]
test ecx, ecx
js 0x4baac8
cmp ecx, edx
jg 0x4baac8
cmp word [eax + ecx*2], 0x5c
je 0x4ba76e
push 0x5c
lea ecx, [ebx + 8]
call fcn.00491360
call fcn.004092f0
mov ecx, eax
test ecx, ecx
je 0x4baabe
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.00408b00
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
call fcn.004baae0
or edi, 0xffffffff
test al, al
je 0x4ba845
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.00490d10
push ecx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x28]
call fcn.00490ef0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x28c]
push eax
call fcn.0048ff50
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 0x4ba82b
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.004bad50
test al, al
je 0x4ba845
xor esi, esi
jmp 0x4baa5c
mov esi, dword [ebx + 0xc]
cmp esi, 1
jge 0x4ba857
mov esi, 1
jmp 0x4baa5c
push 0x250
lea eax, [ebp - 0x278]
push 0
push eax
call fcn.005278d0
mov ecx, dword [ebx + 8]
add esp, 0xc
lea ecx, [ecx - 0x10]
call fcn.00408b00
add eax, 0x10
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x284]
push 1
push 0x595960
call fcn.00419140
mov eax, dword [ebp - 0x284]
cmp dword [eax - 4], 1
jle 0x4ba8b7
push dword [eax - 0xc]
lea ecx, [ebp - 0x284]
call fcn.00408c70
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], 0x59596c
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 0x4baa0d
nop dword [eax]
test byte [ebp - 0x278], 0x10
je 0x4ba9ca
cmp word [ebp - 0x24c], 0x2e
jne 0x4ba93b
mov ax, word [ebp - 0x24a]
test ax, ax
je 0x4ba9ca
cmp ax, 0x2e
jne 0x4ba93b
cmp word [ebp - 0x248], 0
je 0x4ba9ca
lea eax, [ebp - 0x24c]
push eax
lea edx, [ebx + 8]
lea ecx, [ebp - 0x280]
call fcn.0047cd60
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.00408b00
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x290]
call fcn.004ba6e0
test eax, eax
je 0x4ba9e8
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 0x4ba9c1
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 0x4baa0d
mov ecx, dword [ebp - 0x27c]
jmp 0x4ba900
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 0x4baa09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x4baa12
mov esi, 1
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x29c], 0x59596c
test eax, eax
je 0x4baa3b
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 0x4baa5c
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 0x4baa7d
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 0x4baa9c
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.005255bb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
push 0x80004005
call fcn.00408fc0
push 0x80070057
call fcn.00408fc0
int3