Function at 0x478290
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ada0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
push edi
mov edi, ecx
cmp dword [esi + 0x10], 0
jne 0x4782d6
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push ebx
lea ecx, [ebp - 0x58]
call fcn.00477180
mov dword [ebp - 4], 0
mov ebx, 1
mov dword [ebp - 0x10], ebx
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x4782f9
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x478303
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 0x10]
push eax
call fcn.0040f5d0
add esp, 8
test al, al
je 0x478355
lea ecx, [ebp - 0x40]
call fcn.004771e0
mov dword [ebp - 4], 1
mov ebx, 3
mov dword [ebp - 0x10], ebx
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x478336
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x478340
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 0x10]
push eax
call fcn.0040f5d0
add esp, 8
mov byte [ebp + 0xb], 1
test al, al
je 0x478359
mov byte [ebp + 0xb], 0
mov dword [ebp - 4], 0
test bl, 2
je 0x478373
and ebx, 0xfffffffd
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], ebx
call fcn.0040cb50
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x47838d
and ebx, 0xfffffffe
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x10], ebx
call fcn.0040cb50
cmp byte [ebp + 0xb], 0
je 0x4783d4
lea ecx, [ebp - 0x40]
call fcn.004771e0
mov dword [ebp - 4], 2
mov ecx, edi
push eax
call fcn.00478290
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040cb50
test bl, bl
je 0x4783d4
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 5
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 6
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x47842a
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x47841e
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040cef0
lea ecx, [ebp - 0x28]
call fcn.0040b7e0
push 3
push 0x498b88
lea ecx, [ebp - 0x28]
call fcn.0040cfe0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x198]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x478470
xor bl, bl
jmp 0x47858d
test byte [ebp - 0x198], 0x10
jne 0x4784f0
lea eax, [ebp - 0x16c]
mov edx, esi
push eax
lea ecx, [ebp - 0x58]
call fcn.00419560
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push eax
call fcn.0040cba0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4784cd
mov ecx, dword [ebp - 0x58]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x4784c4
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x4785ed
push ecx
call fcn.0044efd0
add esp, 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00476930
jmp 0x47856e
cmp byte [ebp - 0x16c], 0x2e
je 0x47856e
lea eax, [ebp - 0x16c]
mov edx, esi
push eax
lea ecx, [ebp - 0x40]
call fcn.00419560
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
push eax
call fcn.0040cba0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x47854d
mov ecx, dword [ebp - 0x40]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x478544
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x4785ed
push ecx
call fcn.0044efd0
add esp, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00478290
lea eax, [ebp - 0x198]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x478470
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4785bf
mov ecx, dword [ebp - 0x28]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x4785b6
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x4785ed
push ecx
call fcn.0044efd0
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov al, bl
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.0045d555
int3