Function at 0x47ba10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515d1b
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x577680]
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 eax, dword [ebp + 0xc]
push str.extensions
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00402b40
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [ebp - 0x26c]
add esi, 0xfffffff0
mov edi, eax
mov dword [ebp - 0x264], edi
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47ba8d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 0xffffffff
je 0x47bbb6
jmp 0x47baa0
test byte [ebp - 0x260], 0x10
je 0x47bb99
mov eax, dword [0x5771f0]
mov ecx, 0x5771f0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x268], esi
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x47bb3e
movzx edi, ax
push 0
push edi
call fcn.00403070
add esp, 8
test eax, eax
je 0x47bafc
push edi
push eax
lea ecx, [ebp - 0x268]
call fcn.00408b00
mov esi, dword [ebp - 0x268]
mov edi, dword [ebp - 0x264]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax]
test eax, eax
je 0x47bc5f
mov ecx, esi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x47bb71
test dx, dx
je 0x47bb3a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x47bb71
add ecx, 4
add eax, 4
test dx, dx
jne 0x47bb18
xor eax, eax
jmp 0x47bb76
lea ecx, [ebp - 0x234]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47bb47
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x268]
call fcn.0040c730
mov esi, dword [ebp - 0x268]
jmp 0x47bb02
sbb eax, eax
or eax, 1
test eax, eax
sete bl
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47bb95
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x47bbd6
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47baa0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
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.004f0cd4
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [0x578ad4]
mov ecx, 0x15
lea eax, [edi + 1]
imul eax, edi
cdq
idiv ecx
cmp edx, 0xf
jne 0x47bc58
mov eax, edi
cdq
sub eax, edx
lea esi, [ecx + 0x10]
xor ecx, ecx
mov ebx, eax
sar ebx, 1
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x26c], ebx
test ebx, ebx
jle 0x47bc4d
mov eax, edi
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
xor edx, edx
test edi, edi
jle 0x47bc3c
mov eax, edx
mov ecx, edi
lea ebx, [ebx]
add esi, eax
dec eax
dec ecx
jne 0x47bc30
mov ecx, dword [ebp - 0x264]
add edx, ecx
dec ebx
jne 0x47bc22
mov ebx, dword [ebp - 0x26c]
mov edi, dword [0x578ad4]
inc ecx
mov dword [ebp - 0x264], ecx
cmp ecx, esi
jl 0x47bc10
mov al, 1
jmp 0x47bbb8
push 0x80004005
call fcn.004030e0
int3