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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
mov eax, dword [0x10160380]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov ecx, 0x101a157e
mov dword [ebp - 0x4a4], edi
mov dword [ebp - 0x4a0], ebx
call fcn.10138266
push 0x140
lea eax, [ebp - 0x494]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
add esp, 0xc
cmp dword [ebp + 8], ebx
je 0x100a24cf
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x324]
push eax
push 0x104
push edi
call esi
test eax, eax
je 0x100a256c
mov ecx, dword [ebp - 0x49c]
lea edx, [ebp - 0x21c]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x100a2280
lea eax, [ebp - 0x33c]
mov ecx, 0x1018b408
push eax
call fcn.1005fb70
cmp dword [ebp - 0x328], 0xf
lea ecx, [ebp - 0x33c]
mov edx, dword [ebp - 0x49c]
cmova ecx, dword [ebp - 0x33c]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x100a22b8
lea ecx, [ebp - 0x33c]
call fcn.1001b490
lea eax, [ebp - 0x494]
mov dword [ebp - 0x494], 0x10
push eax
lea eax, [ebp - 0x324]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x4a0], eax
cmp eax, 0xffffffff
je 0x100a24c8
nop
lea eax, [ebp - 0x354]
mov ecx, 0x1018b1e0
push eax
or ebx, 1
call fcn.100506a0
cmp dword [ebp - 0x340], 0xf
lea eax, [ebp - 0x354]
push 1
cmova eax, dword [ebp - 0x354]
push eax
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x100a2385
lea eax, [ebp - 0x33c]
mov ecx, 0x1018b838
push eax
or ebx, 2
call fcn.1005fa80
cmp dword [ebp - 0x328], 0xf
lea eax, [ebp - 0x33c]
push 2
cmova eax, dword [ebp - 0x33c]
push eax
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
mov byte [ebp - 0x495], 0
test eax, eax
jne 0x100a238c
mov byte [ebp - 0x495], 1
test bl, 2
je 0x100a239f
lea ecx, [ebp - 0x33c]
and ebx, 0xfffffffd
call fcn.1001b490
lea ecx, [ebp - 0x354]
and ebx, 0xfffffffe
call fcn.1001b490
cmp byte [ebp - 0x495], 0
jne 0x100a24a7
test byte [ebp - 0x494], 0x10
je 0x100a24a7
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x114]
push eax
push 0x104
push edi
call esi
test eax, eax
je 0x100a256c
mov edx, dword [ebp - 0x49c]
lea ecx, [ebp - 0x468]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x100a23f1
lea eax, [ebp - 0x354]
mov ecx, 0x1018b868
push eax
call fcn.100506a0
cmp dword [ebp - 0x340], 0xf
lea edx, [ebp - 0x354]
cmova edx, dword [ebp - 0x354]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x100a2426
lea edi, [ebp - 0x114]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100a2436
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 - 0x354]
call fcn.1001b490
lea edx, [ebp - 0x21c]
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x100a2460
lea edi, [ebp - 0x114]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100a2470
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, fcn.100a2580
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 1
lea ecx, [ebp - 0x114]
call fcn.100a2200
mov edi, dword [ebp - 0x4a4]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [ebp - 0x494]
push eax
push dword [ebp - 0x4a0]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100a2300
mov eax, dword [ebp - 0x4a0]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x494]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100a2556
mov ebx, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
nop
test byte [ebp - 0x494], 0x10
jne 0x100a253d
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x104
push edi
call ebx
test eax, eax
je 0x100a256c
mov eax, dword [ebp - 0x49c]
lea edx, [ebp - 0x468]
nop
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x100a2520
lea eax, [ebp - 0x468]
push eax
call fcn.100a2580
add esp, 4
lea eax, [ebp - 0x494]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100a24f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100dfe28
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100dfe28
mov esp, ebp
pop ebp
ret