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

Disassembly:
push ebp
lea ebp, [esp - 0x254]
sub esp, 0x254
push 0xffffffffffffffff
push 0x51af0a
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x57c080]
xor eax, ebp
mov dword [ebp + 0x250], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 0x264]
mov eax, dword [ebp + 0x25c]
mov ebx, dword [ebp + 0x260]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0x268]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x1c]
push eax
mov dword [ebp - 0x3c], ebx
call fcn.0040713a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004783b0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040713a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
mov eax, dword [ebx]
push dword [eax - 0xc]
push eax
call fcn.00410f2f
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [ebp - 0x28], 0x53ea34
mov dword [ebp - 0x24], ebx
lea eax, [ebp]
mov byte [ebp - 4], 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
jne 0x4a6c16
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d91c
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
push 0x2e
push eax
mov esi, dword [eax - 0xc]
call fcn.004dee47
pop ecx
pop ecx
test eax, eax
jne 0x4a6a69
or eax, 0xffffffff
jmp 0x4a6a6e
sub eax, dword [ebp - 0x10]
sar eax, 1
sub esi, eax
lea ecx, [ebp - 0x10]
push esi
lea eax, [ebp - 0x14]
push eax
call fcn.00406de8
mov byte [ebp - 4], 4
push str..pack
push dword [ebp - 0x14]
call fcn.004e5268
pop ecx
pop ecx
test eax, eax
jne 0x4a6be8
push 0x2e
push dword [ebp - 0x10]
call fcn.004dee47
pop ecx
pop ecx
test eax, eax
jne 0x4a6aad
or eax, 0xffffffff
jmp 0x4a6ab2
sub eax, dword [ebp - 0x10]
sar eax, 1
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406d83
mov byte [ebp - 4], 5
mov edx, dword [eax]
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4a6b00
cmp dword [edi + 0xc], 0
jl 0x4a6af4
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4a6af4
call fcn.004070e1
mov ecx, edi
mov esi, eax
call fcn.0040d635
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x4a6b00
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.0040d89e
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.0040d133
mov eax, dword [ebp - 0x10]
push 0x2e
push eax
mov esi, dword [eax - 0xc]
call fcn.004dee47
pop ecx
pop ecx
test eax, eax
jne 0x4a6b25
or eax, 0xffffffff
jmp 0x4a6b2a
sub eax, dword [ebp - 0x10]
sar eax, 1
sub esi, eax
lea ecx, [ebp - 0x10]
push esi
lea eax, [ebp - 0x38]
push eax
call fcn.00406de8
mov byte [ebp - 4], 6
mov edx, dword [eax]
mov edi, dword [ebp - 0x14]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4a6b7a
cmp dword [edi + 0xc], 0
jl 0x4a6b6e
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4a6b6e
call fcn.004070e1
mov ecx, edi
mov esi, eax
call fcn.0040d635
lea eax, [esi + 0x10]
mov dword [ebp - 0x14], eax
jmp 0x4a6b7a
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.0040d89e
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040d133
push 0x544ec0
push dword [ebp - 0x14]
call fcn.004e5268
pop ecx
pop ecx
test eax, eax
jne 0x4a6be8
lea eax, [ebp + 0x2c]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.00454aa6
pop ecx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.0040713a
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 9
call fcn.004950f2
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xa
call fcn.0040d133
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0040d133
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.0040d133
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040d133
cmp esi, 1
je 0x4a6a40
push 0x53fc0c
lea ecx, [ebp - 0x14]
call fcn.004890a7
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.00473860
pop ecx
mov byte [ebp - 4], 0xc
mov edx, dword [eax]
mov edi, dword [ebp - 0x18]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4a6c78
cmp dword [edi + 0xc], 0
jl 0x4a6c6c
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4a6c6c
call fcn.004070e1
mov ecx, edi
mov esi, eax
call fcn.0040d635
lea eax, [esi + 0x10]
mov dword [ebp - 0x18], eax
jmp 0x4a6c78
push dword [edx - 0xc]
lea ecx, [ebp - 0x18]
push edx
call fcn.0040d89e
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.0040d133
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040d133
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
je 0x4a6ca1
push ebx
call edi
and dword [ebp - 0x24], 0
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push eax
lea ecx, [ebp - 0x28]
call fcn.004532f1
mov esi, dword [ebp - 0x24]
lea eax, [ebp]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push eax
push esi
call ebx
cmp eax, 1
jne 0x4a6d1d
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp]
call fcn.0049a9df
test al, al
je 0x4a6d0b
lea eax, [ebp + 0x2c]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x20]
call fcn.00454aa6
pop ecx
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x40]
push edi
push dword [ebp - 0x3c]
mov byte [ebp - 4], 0xd
push eax
call fcn.004a697f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0040d133
lea eax, [ebp]
push eax
push esi
call ebx
cmp eax, 1
je 0x4a6ccf
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], 0x53ea34
test esi, esi
je 0x4a6d33
push esi
call edi
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0040d133
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040d133
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.004dab44
add ebp, 0x254
leave
ret 0x10