Function at 0x47a1f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa5c
mov eax, dword [0x55154c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xa58], eax
mov eax, dword [ebp + 0x18]
test edi, edi
jne 0x47a242
push 0x51c9d4
push str.....UTILFILEFileSubfoldersList.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x47a269
push 0x51cad0
push str.....UTILFILEFileSubfoldersList.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x47a290
push 0x517b08
push str.....UTILFILEFileSubfoldersList.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ebp - 0xa5c]
push eax
push edi
call fcn.0045cae0
add esp, 0xc
test eax, eax
je 0x47a2c8
push 0x51820c
push str.....UTILFILEFileSubfoldersList.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x804]
mov dword [esi], 0
push 0x52b2d8
push eax
mov dword [ebx], 0
call fcn.00401820
add esp, 0xc
lea eax, [ebp - 0xa54]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov eax, 1
cmp edi, 0xffffffff
je 0x47a339
nop dword [eax]
test eax, eax
je 0x47a339
test byte [ebp - 0xa54], 0x10
je 0x47a329
cmp word [ebp - 0xa28], 0x2e
je 0x47a329
inc dword [esi]
lea eax, [ebp - 0xa54]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x47a310
mov eax, dword [esi]
test eax, eax
je 0x47a444
push 4
push eax
call fcn.004eb623
add esp, 8
mov dword [ebx], eax
test eax, eax
jne 0x47a377
push 0x51d148
push str.....UTILFILEFileSubfoldersList.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
xor edi, edi
cmp dword [esi], edi
jle 0x47a3a6
nop dword [eax]
push 2
push dword [ebp - 0xa58]
call fcn.004eb623
mov ecx, dword [ebx]
add esp, 8
mov dword [ecx + edi*4], eax
mov eax, dword [ebx]
cmp dword [eax + edi*4], 0
je 0x47a421
inc edi
cmp edi, dword [esi]
jl 0x47a380
lea eax, [ebp - 0xa54]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, eax
xor edi, edi
mov dword [ebp - 0xa58], ecx
mov eax, 1
cmp ecx, 0xffffffff
je 0x47a444
nop
test eax, eax
je 0x47a444
cmp edi, dword [esi]
jge 0x47a444
test byte [ebp - 0xa54], 0x10
je 0x47a40b
cmp word [ebp - 0xa28], 0x2e
je 0x47a40b
lea eax, [ebp - 0xa28]
push eax
mov eax, dword [ebx]
push 0x51568c
push dword [eax + edi*4]
call fcn.00401820
mov ecx, dword [ebp - 0xa58]
add esp, 0xc
inc edi
lea eax, [ebp - 0xa54]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, dword [ebp - 0xa58]
jmp 0x47a3d0
push 0x518130
push str.....UTILFILEFileSubfoldersList.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e19a5
mov esp, ebp
pop ebp
ret