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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576448
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x5fc150]
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 dword [ebp - 0x2cc], ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2c4], eax
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x2d0], esi
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp word [edi], ax
jne 0x4713b4
xor ecx, ecx
jmp 0x4713cf
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4713c0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x58]
call fcn.00406c80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 3
push 0x588410
call fcn.00406760
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x4713fb
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x2c0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x2c8], ebx
cmp ebx, 0xffffffff
mov ebx, dword [ebp + 0x14]
je 0x471539
mov ecx, dword [ebp - 0x2c0]
test cl, 0x10
je 0x4714c9
cmp byte [ebp + 0x18], 0
jne 0x47143b
test cl, 2
jne 0x471539
test bl, bl
je 0x471539
lea eax, [ebp - 0x294]
push 0x58823c
push eax
call fcn.00423b60
add esp, 8
test eax, eax
je 0x471539
lea eax, [ebp - 0x294]
push 0x588418
push eax
call fcn.00423b60
add esp, 8
test eax, eax
je 0x471539
push edi
lea ecx, [ebp - 0x28]
call fcn.004029a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
push 0x588408
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4714b0
lea eax, [ebp - 0x28]
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x2cc]
push ebx
push dword [ebp - 0x2c4]
push esi
push eax
call fcn.00471340
jmp 0x47152d
lea eax, [ebp - 0x294]
push esi
push eax
call fcn.00426390
add esp, 8
test al, al
je 0x471539
push edi
lea ecx, [ebp - 0x28]
call fcn.004029a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x471505
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.004029a0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 0x2c4]
push eax
call fcn.00408a40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.004038c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004038c0
lea eax, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4717e6
jmp 0x471560
mov eax, dword [ebp - 0x2c0]
test al, 0x10
je 0x471663
cmp byte [ebp + 0x18], 0
jne 0x47157c
test al, 2
jne 0x4717cb
test bl, bl
je 0x4717cb
lea eax, [ebp - 0x294]
push 0x58823c
push eax
call fcn.00423b60
add esp, 8
test eax, eax
je 0x4717cb
lea eax, [ebp - 0x294]
push 0x588418
push eax
call fcn.00423b60
add esp, 8
test eax, eax
je 0x4717cb
push edi
lea ecx, [ebp - 0x28]
call fcn.004029a0
mov byte [ebp - 4], 4
cmp word [ebp - 0x294], 0
jne 0x4715d7
xor ecx, ecx
jmp 0x4715ef
lea ecx, [ebp - 0x294]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4715e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406760
push 1
push 0x588408
lea ecx, [ebp - 0x28]
call fcn.00406760
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x47161a
lea eax, [ebp - 0x28]
push dword [ebp + 0x18]
mov ecx, dword [ebp - 0x2cc]
push ebx
push dword [ebp - 0x2c4]
push esi
push eax
call fcn.00471340
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x47164a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jmp 0x4717cb
lea eax, [ebp - 0x294]
push esi
push eax
call fcn.00426390
add esp, 8
test al, al
je 0x4717cb
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edi], ax
jne 0x4716a6
xor ecx, ecx
jmp 0x4716bf
mov ecx, edi
lea edx, [ecx + 2]
jmp 0x4716b0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4716b0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x40]
call fcn.00406c80
mov byte [ebp - 4], 5
cmp word [ebp - 0x294], 0
jne 0x4716db
xor ecx, ecx
jmp 0x4716f3
lea ecx, [ebp - 0x294]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4716e4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x40]
call fcn.00406760
cmp dword [ebp - 0x2c], 8
mov edx, dword [ebp - 0x40]
jae 0x47170f
lea edx, [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
cmp word [edx], ax
jne 0x47173a
xor ecx, ecx
jmp 0x471755
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471740
sub ecx, esi
mov esi, dword [ebp - 0x2d0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00406c80
mov byte [ebp - 4], 6
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 0x2c4]
push eax
call fcn.00408a40
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x47178b
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4717b7
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x2c0]
push eax
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x471560
push dword [ebp - 0x2c8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x47180e
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407270
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
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.0052c233
mov esp, ebp
pop ebp
ret 0x14