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

Disassembly:
push 0x564
mov eax, 0x3ab481d7
call fcn.3ab359d8
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x548], ecx
push 0x3aa65ac4
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 0x550], esi
mov dword [ebp - 0x54c], edi
mov dword [ebp - 0x544], 1
call fcn.3ab3c1f6
lea eax, [ebp - 0x2e0]
push eax
push esi
lea eax, [ebp - 0x2a8]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.3ab1628c
xor eax, eax
mov byte [ebp - 4], 1
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
mov dword [ebp - 0x53c], ebx
mov byte [ebp - 0x535], 1
call fcn.3ab033f0
mov eax, dword [ebp - 0x2a4]
add esp, 0xc
cmp dword [ebp - 0x290], 8
jae 0x3aaa1bbe
lea eax, [ebp - 0x2a4]
push dword [ebp - 0x294]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.3ab3c1f6
add esp, 0x10
lea eax, [ebp - 0x534]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
push 0x3aa65a98
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x540], eax
call fcn.3ab3c1f6
push 0x3aa65ab4
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 2
call fcn.3ab3c1f6
push 0x3aa614f0
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 3
call fcn.3ab3c1f6
push 0xffffffffffffffff
push 0x3aa61348
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.3ab3c1f6
cmp eax, ebx
jbe 0x3aaa1cf1
mov ecx, dword [esi + 0x14]
lea edx, [ecx - 1]
cmp eax, edx
jae 0x3aaa1cf1
inc eax
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x270]
push eax
mov ecx, esi
call fcn.3ab3c1f6
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 5
call fcn.3ab3c1f6
push ebx
push 1
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 4
call fcn.3ab3c1f6
lea eax, [ebp - 0x560]
push eax
lea ecx, [ebp - 0x254]
call fcn.3ab3c1f6
mov esi, eax
lea eax, [ebp - 0x568]
push eax
lea ecx, [ebp - 0x254]
call fcn.3ab3c1f6
mov edi, eax
lea eax, [ebp - 0x558]
push eax
lea ecx, [ebp - 0x254]
call fcn.3ab3c1f6
push 0x3aafe11d
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x570]
push eax
call fcn.3ab3c1f6
mov edi, dword [ebp - 0x54c]
mov esi, dword [ebp - 0x550]
cmp dword [ebp - 0x540], 0xffffffff
je 0x3aaa1eb3
cmp dword [ebp - 0x544], ebx
je 0x3aaa1eb3
lea eax, [ebp - 0x508]
push eax
lea ecx, [ebp - 0x270]
call fcn.3ab3c1f6
lea eax, [ebp - 0x270]
push eax
push esi
lea eax, [ebp - 0x238]
push eax
mov byte [ebp - 4], 6
call fcn.3ab1628c
mov byte [ebp - 4], 7
cmp dword [ebp - 0x224], 0x104
jae 0x3aaa1e91
test byte [ebp - 0x534], 0x10
je 0x3aaa1e14
lea eax, [ebp - 0x508]
push 0x3aa64b94
push eax
call fcn.3ab3c1f6
pop ecx
pop ecx
test eax, eax
je 0x3aaa1e53
lea eax, [ebp - 0x508]
push 0x3aa64ba0
push eax
call fcn.3ab3c1f6
pop ecx
pop ecx
test eax, eax
je 0x3aaa1e53
cmp dword [ebp - 0x274], 8
mov eax, dword [ebp - 0x288]
jae 0x3aaa1da0
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x508]
push eax
call fcn.3ab3c1f6
pop ecx
pop ecx
test eax, eax
je 0x3aaa1df1
cmp dword [ebp - 0x2ac], 8
mov eax, dword [ebp - 0x2c0]
jae 0x3aaa1dc8
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x508]
push eax
call fcn.3ab3c1f6
pop ecx
pop ecx
test eax, eax
je 0x3aaa1df1
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x254]
call fcn.3ab3c1f6
test eax, eax
jne 0x3aaa1e53
mov ecx, dword [ebp - 0x548]
push edi
lea eax, [ebp - 0x238]
push eax
call fcn.3aaa1b20
cmp eax, ebx
jl 0x3aaa1e91
add dword [ebp - 0x53c], eax
jmp 0x3aaa1e53
test byte [ebp - 0x534], 2
jne 0x3aaa1e53
cmp dword [edi + 0x18], 8
jb 0x3aaa1e28
mov eax, dword [edi + 4]
jmp 0x3aaa1e2b
lea eax, [edi + 4]
cmp dword [ebp - 0x220], 8
mov ecx, dword [ebp - 0x234]
jae 0x3aaa1e40
lea ecx, [ebp - 0x234]
push eax
push ecx
call fcn.3ab3c1f6
pop ecx
pop ecx
test eax, eax
je 0x3aaa1e53
inc dword [ebp - 0x53c]
lea eax, [ebp - 0x534]
push eax
push dword [ebp - 0x540]
call dword [sym.imp.kernel32.dll_FindNextFileW]
push ebx
push 1
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x544], eax
call fcn.3ab3c1f6
push ebx
push 1
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 4
call fcn.3ab3c1f6
jmp 0x3aaa1cfe
push ebx
push 1
lea ecx, [ebp - 0x238]
mov byte [ebp - 0x535], bl
call fcn.3ab3c1f6
push ebx
push 1
lea ecx, [ebp - 0x270]
call fcn.3ab3c1f6
push dword [ebp - 0x540]
call dword [sym.imp.kernel32.dll_FindClose]
cmp byte [ebp - 0x535], bl
jne 0x3aaa1f18
or esi, 0xffffffff
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x254]
call fcn.3ab3c1f6
push ebx
push edi
lea ecx, [ebp - 0x2c4]
call fcn.3ab3c1f6
push ebx
push edi
lea ecx, [ebp - 0x28c]
call fcn.3ab3c1f6
push ebx
push edi
lea ecx, [ebp - 0x2a8]
call fcn.3ab3c1f6
push ebx
push edi
lea ecx, [ebp - 0x2e0]
call fcn.3ab3c1f6
mov eax, esi
call fcn.3ab35a6a
ret 8
mov esi, dword [ebp - 0x53c]
jmp 0x3aaa1eca