Function at 0x47b2b0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
lea eax, [ebp - 0x18]
push 0x104
xor edi, edi
push eax
mov dword [ebp - 0x18], edi
call dword [0x566370]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
push ecx
push str._s.
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x250
call fcn.004e5379
push 0x250
mov esi, eax
push edi
push esi
mov dword [ebp - 0x1c], esi
call fcn.004e8ba0
mov eax, dword [ebp - 0x18]
add esp, 0x24
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x47b4b0
push ebx
lea ecx, [ebp - 8]
push 0x104
push ecx
mov dword [ebp - 8], edi
call dword [0x566370]
lea edx, [ebp - 0x20]
push 0x104
push edx
mov dword [ebp - 0x20], edi
call dword [0x566370]
lea eax, [ebp - 0xc]
push 0x104
push eax
mov dword [ebp - 0xc], edi
call dword [0x566370]
lea ecx, [ebp - 0x24]
push 0x104
push ecx
mov dword [ebp - 0x24], edi
call dword [0x566370]
add esp, 0x20
lea ebx, [esi + 0x2c]
test byte [esi], 0x10
jne 0x47b4da
mov edx, dword [ebp - 8]
push 0x208
push edi
push edx
call fcn.004e8ba0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
push ebx
push eax
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 8]
add esp, 0x1c
push edi
push 0x80
push 3
push edi
push 1
push bind
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x47b450
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x47b450
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], edi
call dword [0x566388]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add esp, 8
push edi
lea ecx, [ebp - 0x10]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], edi
call dword [0x5662e0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], 5
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], 0x101
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push ecx
push edx
lea eax, [ebp - 4]
push eax
call dword [0x566314]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xa0], esi
mov edx, dword [ebp - 4]
push edx
call fcn.0046b930
lea eax, [ebp - 4]
push eax
call dword [0x5662e4]
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [0x566390]
add esp, 0x20
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47b363
lea edx, [ebp - 0x20]
push 0x104
push edx
call dword [0x566378]
lea eax, [ebp - 8]
push 0x104
push eax
call dword [0x566378]
lea ecx, [ebp - 0x24]
push 0x104
push ecx
call dword [0x566378]
lea edx, [ebp - 0xc]
push 0x104
push edx
call dword [0x566378]
mov eax, dword [ebp - 0x28]
add esp, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
push 0x250
push edi
push esi
call fcn.004e8ba0
push esi
call fcn.004e4fab
lea ecx, [ebp - 0x18]
push 0x104
push ecx
call dword [0x566378]
add esp, 0x18
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x51d1f4
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47b507
cmp dx, di
je 0x47b503
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47b507
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47b4e1
xor eax, eax
jmp 0x47b50c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x47b453
mov ecx, 0x51d1f8
mov eax, ebx
jmp 0x47b520
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47b546
cmp dx, di
je 0x47b542
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47b546
add eax, 4
add ecx, 4
cmp dx, di
jne 0x47b520
xor eax, eax
jmp 0x47b54b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x47b453
lea eax, [ebp - 0xc]
push 0x104
push eax
call dword [0x566374]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
push ebx
push ecx
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0xc]
push eax
call fcn.0047b2b0
add esp, 0x1c
jmp 0x47b453