Function at 0x47a460
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 0x47a4b2
push 0x51c9d4
push str.....UTILFILEFileSubfilesList.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 0x47a4d9
push 0x51cad0
push str.....UTILFILEFileSubfilesList.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 0x47a500
push 0x517b08
push str.....UTILFILEFileSubfilesList.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 0x47a538
push 0x51820c
push str.....UTILFILEFileSubfilesList.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 0x47a5a9
nop dword [eax]
test eax, eax
je 0x47a5a9
test byte [ebp - 0xa54], 0x10
jne 0x47a599
cmp word [ebp - 0xa28], 0x2e
je 0x47a599
inc dword [esi]
lea eax, [ebp - 0xa54]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x47a580
mov eax, dword [esi]
test eax, eax
je 0x47a6b4
push 4
push eax
call fcn.004eb623
add esp, 8
mov dword [ebx], eax
test eax, eax
jne 0x47a5e7
push 0x51d148
push str.....UTILFILEFileSubfilesList.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 0x47a616
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 0x47a691
inc edi
cmp edi, dword [esi]
jl 0x47a5f0
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 0x47a6b4
nop
test eax, eax
je 0x47a6b4
cmp edi, dword [esi]
jge 0x47a6b4
test byte [ebp - 0xa54], 0x10
jne 0x47a67b
cmp word [ebp - 0xa28], 0x2e
je 0x47a67b
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 0x47a640
push 0x518130
push str.....UTILFILEFileSubfilesList.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