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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d7419
mov eax, dword fs:[0]
push eax
sub esp, 0x494
mov eax, dword [0x1026b040]
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 edi, ecx
mov dword [ebp - 0x49c], edi
push 0x140
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x498], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
add esp, 0xc
cmp dword [ebp + 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
je 0x10101220
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x31c]
push eax
push 0x104
push edi
call ebx
test eax, eax
je 0x101012b7
mov ecx, dword [ebp - 0x494]
lea edx, [ebp - 0x218]
sub edx, ecx
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10100f90
lea eax, [ebp - 0x334]
mov ecx, 0x102fc568
push eax
call fcn.100623e0
cmp dword [ebp - 0x320], 0xf
lea ecx, [ebp - 0x334]
mov edx, dword [ebp - 0x494]
mov ebx, 0x10
cmova ecx, dword [ebp - 0x334]
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x10100fd0
lea ecx, [ebp - 0x334]
call fcn.1001d970
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x48c], ebx
push eax
lea eax, [ebp - 0x31c]
push eax
call esi
mov esi, eax
mov dword [ebp - 0x4a0], esi
cmp esi, 0xffffffff
je 0x1010120d
lea eax, [ebp - 0x34c]
mov ecx, 0x102fc378
push eax
call fcn.1002e900
or ebx, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34c]
or ebx, 1
cmp dword [ebp - 0x338], 0xf
push 1
cmova eax, dword [ebp - 0x34c]
push eax
lea eax, [ebp - 0x460]
mov dword [ebp - 0x498], ebx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x101010b5
lea eax, [ebp - 0x334]
mov ecx, 0x102fca50
push eax
call fcn.1002e7e0
or ebx, 8
mov dword [ebp - 4], 1
lea eax, [ebp - 0x334]
or ebx, 2
cmp dword [ebp - 0x320], 0xf
push 2
cmova eax, dword [ebp - 0x334]
push eax
lea eax, [ebp - 0x460]
mov dword [ebp - 0x498], ebx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
mov byte [ebp - 0x48d], 0
test eax, eax
jne 0x101010bc
mov byte [ebp - 0x48d], 1
test bl, 2
je 0x101010cf
lea ecx, [ebp - 0x334]
and ebx, 0xfffffffd
call fcn.1001d970
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x101010e9
lea ecx, [ebp - 0x34c]
and ebx, 0xfffffffe
call fcn.1001d970
cmp byte [ebp - 0x48d], 0
jne 0x101011f7
test byte [ebp - 0x48c], 0x10
je 0x101011f7
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x114]
push eax
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x101012b7
mov edx, dword [ebp - 0x494]
lea ecx, [ebp - 0x460]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x10101131
lea eax, [ebp - 0x34c]
mov ecx, 0x102fcae8
push eax
call fcn.1002e900
or ebx, 0x20
lea edx, [ebp - 0x34c]
cmp dword [ebp - 0x338], 0xf
cmova edx, dword [ebp - 0x34c]
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10101170
lea edi, [ebp - 0x114]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10101180
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x34c]
call fcn.1001d970
lea edx, [ebp - 0x218]
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x101011b0
lea edi, [ebp - 0x114]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x101011c0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, fcn.101012c0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 1
lea ecx, [ebp - 0x114]
call fcn.10100ef0
mov edi, dword [ebp - 0x49c]
add esp, 4
mov esi, dword [ebp - 0x4a0]
lea eax, [ebp - 0x48c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10101010
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [ebp - 0x48c]
push eax
push edi
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x10101296
test byte [ebp - 0x48c], 0x10
jne 0x1010127d
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x104
push edi
call ebx
test eax, eax
je 0x101012b7
mov eax, dword [ebp - 0x494]
lea edx, [ebp - 0x460]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x10101260
lea eax, [ebp - 0x460]
push eax
call fcn.101012c0
add esp, 4
lea eax, [ebp - 0x48c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10101231
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
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.101c8fef
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x1010129b