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

Disassembly:
push 0x30c
mov eax, 0x48d40a
call fcn.0044f9f0
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
mov dword [ebp - 0x2b0], ecx
mov dword [ebp - 0x2a8], esi
mov dword [ebp - 4], ebx
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov edx, ecx
mov byte [ebp - 4], 4
push 0x4a94c8
lea ecx, [ebp - 0x38]
call fcn.0040a334
pop ecx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2a0]
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push ecx
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2ac], eax
cmp eax, 0xffffffff
jne 0x410135
add dword [0x4c77d0], 1
adc dword [0x4c77d4], ebx
mov edi, eax
xor eax, eax
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], ax
lea ecx, [ebp - 0x50]
lea eax, [ebp - 0x274]
mov dword [ebp - 0x3c], 7
push eax
call fcn.00409bef
mov edx, dword [ebp - 0x2b0]
lea ecx, [ebp - 0x2dc]
push 0x4a8af4
mov byte [ebp - 4], 6
call fcn.0040a334
pop ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x300]
call fcn.0040c79b
pop ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.0040594b
lea ecx, [ebp - 0x300]
call fcn.0040840e
lea ecx, [ebp - 0x2dc]
call fcn.0040840e
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.0040840e
test byte [ebp - 0x2a0], 0x10
jne 0x410445
mov byte [ebp - 4], 8
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
push 0x4a8b3c
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.004718dc
pop ecx
pop ecx
test eax, eax
jne 0x4101e8
mov byte [ebp - 4], 5
jmp 0x410490
push eax
call fcn.0046f383
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.00409fea
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0040c47b
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 0x2a1], al
mov byte [ebp - 4], 8
call fcn.0040840e
cmp byte [ebp - 0x2a1], 0
je 0x41025c
push ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2dc]
call fcn.00409fea
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0040c421
lea ecx, [ebp - 0x2dc]
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2c0], edx
mov byte [ebp - 4], 8
call fcn.0040840e
push ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x318]
call fcn.00409fea
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0xb
push ecx
mov ecx, eax
call fcn.0040c14a
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.00409ef7
or esi, 2
mov dword [ebp - 0x2a8], esi
lea ecx, [ebp - 0x2dc]
call fcn.0040840e
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 0xf
call fcn.0040840e
mov edi, ebx
mov esi, 0x4beb50
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.0040c7e8
pop ecx
pop ecx
test al, al
push 1
pop eax
cmovne edi, eax
add esi, 0x18
cmp esi, 0x4bedf0
jl 0x4102b8
cmp dword [ebp - 0x2c0], ebx
jg 0x41034c
jl 0x4102ed
cmp dword [ebp - 0x2c4], 0x100000
jae 0x41034c
push ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x300]
call fcn.00409fea
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x300]
or dword [ebp - 0x2a8], 1
call fcn.0040c47b
test al, al
je 0x41034c
test edi, edi
jne 0x41034c
cmp dword [ebp - 0x40], 7
je 0x41034c
mov edx, str..keys
lea ecx, [ebp - 0x50]
call fcn.0040cace
test al, al
jne 0x41034c
push ecx
push 0x4a94d8
lea ecx, [ebp - 0x38]
call fcn.0040c670
mov byte [ebp - 0x2a1], 1
cmp eax, 0xffffffff
je 0x410352
mov byte [ebp - 0x2a1], bl
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x2a8]
test al, 1
je 0x410377
and eax, 0xfffffffe
lea ecx, [ebp - 0x300]
mov dword [ebp - 0x2a8], eax
call fcn.0040840e
cmp byte [ebp - 0x2a1], 0
je 0x410410
sub esp, 0x20
lea eax, [ebp + 0x3c]
mov ecx, esp
mov dword [ebp - 0x2e0], esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040879e
sub esp, 0x18
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x2b4], esp
lea eax, [ebp + 0x24]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.004084f1
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, esp
mov dword [ebp - 0x2b8], esp
lea eax, [ebp + 0xc]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.004084f1
sub esp, 0x18
mov byte [ebp - 4], 0x13
mov ecx, esp
lea eax, [ebp - 0x38]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.004084f1
mov byte [ebp - 4], 0xf
call fcn.0040dcfa
add esp, 0x68
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 8
cmovae eax, dword [ebp - 0x38]
push eax
call fcn.0047239d
pop ecx
lea ecx, [ebp - 0x50]
call fcn.0040855a
jmp 0x410430
mov edi, dword [ebp - 0x2ac]
mov dword [ebp - 4], 5
mov esi, dword [ebp - 0x2a8]
jmp 0x410490
push 0x4a93e0
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x410490
push 0x4a93e4
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x410490
push ecx
push str.C:Windows
lea ecx, [ebp - 0x38]
call fcn.0040c670
cmp eax, 0xffffffff
jne 0x410490
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040c5b4
lea eax, [ebp - 0x2a0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x410137
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x410519
sub esp, 0x18
lea eax, [ebp + 0x3c]
mov ecx, esp
mov dword [ebp - 0x2bc], esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040879e
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov ecx, esp
mov dword [ebp - 0x2b8], esp
lea eax, [ebp + 0x24]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.004084f1
sub esp, 0x18
mov byte [ebp - 4], 0x16
mov ecx, esp
lea eax, [ebp + 0xc]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.004084f1
push esi
mov byte [ebp - 4], 5
call fcn.004100b6
add esp, 0x4c
add esi, 0x18
jmp 0x4104b3
lea ecx, [ebp - 0x38]
call fcn.0040840e
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x410557
mov edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x410540
mov ecx, esi
call fcn.0040840e
add esi, 0x18
cmp esi, edi
jne 0x41052f
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
sub eax, esi
push 0x18
pop ecx
cdq
idiv ecx
imul eax, eax, 0x18
push eax
push esi
call fcn.0040afce
pop ecx
pop ecx
lea ecx, [ebp + 0xc]
call fcn.0040840e
lea ecx, [ebp + 0x24]
call fcn.0040840e
lea ecx, [ebp + 0x3c]
call fcn.0040855a
call fcn.0044f93d
ret