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

Disassembly:
push 0x2c4
mov eax, 0x4588e3
call fcn.00438c9e
mov eax, dword [ebp + 0x18]
xor edx, edx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x2c8], edi
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
push 7
pop ebx
mov dword [ebp - 0x2cc], esi
stosd dword es:[edi], eax
mov dword [ebp - 0x2d0], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x2c], ax
lea edi, [ebp - 0x44]
mov dword [ebp - 4], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x44], ax
xor ebx, ebx
inc ebx
push ecx
mov byte [ebp - 4], bl
call fcn.004179d5
pop ecx
test al, al
je 0x417ca8
push esi
lea ecx, [ebp - 0x2c]
call fcn.00414f74
jmp 0x417d23
mov edi, dword [ebp - 0x2d0]
push edi
push 0x401890
push dword [0x46003c]
call fcn.00413c6e
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.00435ceb
add esp, 0x14
test al, al
jne 0x417cf4
mov esi, dword [0x46003c]
mov ecx, esi
push 0x4018e0
call fcn.00414e34
push 0x4010cc
mov ecx, esi
call fcn.00414e34
mov esi, dword [ebp - 0x2cc]
test esi, esi
je 0x417d23
mov ecx, esi
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x417cff
sub ecx, edx
sar ecx, 1
je 0x417d23
lea eax, [ebp - 0x2c]
push eax
call fcn.0043489f
pop ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00418458
push 8
pop edi
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jb 0x417d31
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x2c8]
push esi
push eax
push 0x401920
push dword [0x46003c]
call fcn.00413c6e
add esp, 0x10
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jb 0x417d57
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004363bd
test al, al
lea eax, [ebp - 0x2c]
pop ecx
jne 0x417d86
cmp dword [ebp - 0x18], edi
jb 0x417d6d
mov eax, dword [ebp - 0x2c]
push eax
push 0x40197c
push dword [0x46003c]
call fcn.00413c6e
add esp, 0xc
jmp 0x417edf
cmp dword [ebp - 0x18], edi
jb 0x417d8e
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
push ecx
push esi
push eax
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.00436a70
add esp, 0x14
test al, al
jne 0x417dd4
mov eax, dword [ebp - 0x1c]
add eax, eax
cmp eax, 0x104
jbe 0x417dd4
mov esi, dword [0x46003c]
mov ecx, esi
push 0x4019b8
call fcn.00414e34
push 0x4010cc
mov ecx, esi
call fcn.00414e34
mov esi, dword [ebp - 0x2c8]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], edi
jb 0x417ddf
mov eax, dword [ebp - 0x44]
push eax
push 0x401a40
push dword [0x46003c]
call fcn.00413c6e
add esp, 0xc
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], edi
jb 0x417dfe
mov eax, dword [ebp - 0x44]
push eax
call fcn.004363ea
pop ecx
test al, al
je 0x417eb9
xor eax, eax
lea edi, [ebp - 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 2
mov dword [edi], 4
jb 0x417e3f
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
push ecx
push eax
call fcn.004351f1
pop ecx
pop ecx
test al, al
je 0x417e7d
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
jb 0x417e5b
mov eax, dword [ebp - 0x5c]
push eax
push 0x401a7c
push dword [0x46003c]
call fcn.00413c6e
add esp, 0xc
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
jb 0x417ea0
mov eax, dword [ebp - 0x5c]
jmp 0x417ea0
mov esi, dword [0x46003c]
mov ecx, esi
push 0x401aa8
call fcn.00414e34
push 0x4010cc
mov ecx, esi
call fcn.00414e34
mov eax, 0x401aec
push eax
lea ecx, [edi + 0x24]
call fcn.00416faa
lea ecx, [ebp - 0x5c]
call fcn.00414f1b
push 8
pop edi
jmp 0x418030
cmp dword [ebp + 0x14], 0
jg 0x417ee8
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jb 0x417eca
mov eax, dword [ebp - 0x2c]
push eax
push esi
push 0x401af0
push dword [0x46003c]
call fcn.00413c6e
add esp, 0x10
xor eax, eax
mov bl, al
jmp 0x418030
xor eax, eax
lea edi, [ebp - 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
call fcn.0043489f
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
pop ecx
jb 0x417f1b
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push 0x401b40
push eax
call fcn.00434f16
add esp, 0xc
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
jb 0x417f39
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x2c4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x417fcd
mov edi, dword [ebp - 0x2c8]
test byte [ebp - 0x2c4], 0x10
je 0x417fbb
cmp word [ebp - 0x298], 0x2e
je 0x417fbb
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0041390a
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x5c]
call fcn.00418458
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
jb 0x417f92
mov ecx, dword [ebp - 0x5c]
push dword [ebp - 0x14]
mov eax, dword [ebp + 0x14]
dec eax
push eax
xor eax, eax
push eax
push ecx
push edi
call fcn.00417c2c
add esp, 0x14
test al, al
jne 0x4180d2
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00414f1b
lea eax, [ebp - 0x2c4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x417f54
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
mov bl, al
mov eax, dword [ebp - 0x60]
push 8
pop edi
cmp eax, edi
jb 0x418020
mov ecx, dword [ebp - 0x74]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c8], ecx
cmp eax, 0x1000
jb 0x418017
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.00414eaa
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c8]
push eax
push ecx
call fcn.00438c1d
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], eax
mov word [ebp - 0x74], ax
mov eax, dword [ebp - 0x30]
cmp eax, edi
jb 0x418075
mov ecx, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c8], ecx
cmp eax, 0x1000
jb 0x41806c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.00414eaa
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c8]
push eax
push ecx
call fcn.00438c1d
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x18]
cmp eax, edi
jb 0x4180ca
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c8], ecx
cmp eax, 0x1000
jb 0x4180c1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.00414eaa
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c8]
push eax
push ecx
call fcn.00438c1d
pop ecx
pop ecx
mov al, bl
call fcn.00438c4d
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x5c]
call fcn.00414f1b
jmp 0x417fd8