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

Disassembly:
push 0x2c4
mov eax, 0x45ac26
call fcn.0043aa0b
mov eax, dword [ebp + 0x18]
lea edi, [ebp - 0x2c]
mov esi, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c8], eax
xor eax, eax
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.00418462
pop ecx
test al, al
je 0x41874f
push esi
lea ecx, [ebp - 0x2c]
call fcn.0041573e
jmp 0x4187cd
mov edi, dword [ebp - 0x2d0]
push edi
push 0x401ef0
push dword [0x46203c]
call fcn.004143e5
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.004378b0
add esp, 0x14
test al, al
jne 0x41879b
mov esi, dword [0x46203c]
mov ecx, esi
push 0x401f40
call fcn.00415619
push 0x40172c
mov ecx, esi
call fcn.00415619
mov esi, dword [ebp - 0x2cc]
test esi, esi
je 0x4187cd
mov ecx, esi
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x4187a6
sub ecx, edx
sar ecx, 1
je 0x4187cd
lea eax, [ebp - 0x2c]
push eax
lfence
call fcn.00436402
pop ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00418f0a
push 8
pop edi
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jb 0x4187db
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x2c8]
push esi
push eax
push 0x401f80
push dword [0x46203c]
call fcn.004143e5
add esp, 0x10
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jb 0x418801
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00437fae
test al, al
lea eax, [ebp - 0x2c]
pop ecx
jne 0x418830
cmp dword [ebp - 0x18], edi
jb 0x418817
mov eax, dword [ebp - 0x2c]
push eax
push 0x401fdc
push dword [0x46203c]
call fcn.004143e5
add esp, 0xc
jmp 0x41898a
cmp dword [ebp - 0x18], edi
jb 0x418838
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
push ecx
push esi
push eax
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.004386be
add esp, 0x14
test al, al
jne 0x41887e
mov eax, dword [ebp - 0x1c]
add eax, eax
cmp eax, 0x104
jbe 0x41887e
mov esi, dword [0x46203c]
mov ecx, esi
push 0x402018
call fcn.00415619
push 0x40172c
mov ecx, esi
call fcn.00415619
mov esi, dword [ebp - 0x2c8]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], edi
jb 0x418889
mov eax, dword [ebp - 0x44]
push eax
push 0x4020a0
push dword [0x46203c]
call fcn.004143e5
add esp, 0xc
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], edi
jb 0x4188a8
mov eax, dword [ebp - 0x44]
push eax
call fcn.00437fdb
pop ecx
test al, al
je 0x418963
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 0x4188e9
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
push ecx
push eax
call fcn.00436d79
pop ecx
pop ecx
test al, al
je 0x418927
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
jb 0x418905
mov eax, dword [ebp - 0x5c]
push eax
push 0x4020dc
push dword [0x46203c]
call fcn.004143e5
add esp, 0xc
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
jb 0x41894a
mov eax, dword [ebp - 0x5c]
jmp 0x41894a
mov esi, dword [0x46203c]
mov ecx, esi
push 0x402108
call fcn.00415619
push 0x40172c
mov ecx, esi
call fcn.00415619
mov eax, 0x40214c
push eax
lea ecx, [edi + 0x24]
call fcn.004178f7
lea ecx, [ebp - 0x5c]
call fcn.00415705
push 8
pop edi
jmp 0x418ae3
mov eax, dword [ebp + 0x14]
test eax, eax
jg 0x418993
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jb 0x418975
mov eax, dword [ebp - 0x2c]
push eax
push esi
push 0x402150
push dword [0x46203c]
call fcn.004143e5
add esp, 0x10
xor eax, eax
mov bl, al
jmp 0x418ae3
lfence
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.00436402
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
pop ecx
jb 0x4189c9
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push 0x4021a0
push eax
call fcn.00436a7f
add esp, 0xc
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x60], 8
jb 0x4189e7
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 0x418a80
mov edi, dword [ebp + 0x14]
test byte [ebp - 0x2c4], 0x10
je 0x418a6e
cmp word [ebp - 0x298], 0x2e
je 0x418a6e
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00414046
lea eax, [ebp - 0x298]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x5c]
call fcn.00418f0a
cmp dword [ebp - 0x48], 8
lea ecx, [ebp - 0x5c]
jb 0x418a41
mov ecx, dword [ebp - 0x5c]
push dword [ebp - 0x14]
lea eax, [edi - 1]
push eax
xor eax, eax
push eax
push ecx
push dword [ebp - 0x2c8]
call fcn.004186d3
add esp, 0x14
test al, al
jne 0x418b85
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00415705
lea eax, [ebp - 0x2c4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418a03
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 0x418ad3
mov ecx, dword [ebp - 0x74]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c8], ecx
cmp eax, 0x1000
jb 0x418aca
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.0041568f
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c8]
push eax
push ecx
call fcn.0043a98a
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 0x418b28
mov ecx, dword [ebp - 0x44]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c8], ecx
cmp eax, 0x1000
jb 0x418b1f
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.0041568f
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c8]
push eax
push ecx
call fcn.0043a98a
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 0x418b7d
mov ecx, dword [ebp - 0x2c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c8], ecx
cmp eax, 0x1000
jb 0x418b74
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.0041568f
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c8]
push eax
push ecx
call fcn.0043a98a
pop ecx
pop ecx
mov al, bl
call fcn.0043a9ba
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x5c]
call fcn.00415705
jmp 0x418a8b