Function at 0x4954f0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589ed6
mov eax, dword fs:[0]
push eax
sub esp, 0x6dc
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x298]
call fcn.00406230
mov byte [ebp - 4], 1
push 0x59e304
lea ecx, [ebp - 0x298]
push ecx
call fcn.00407c10
add esp, 8
movzx edx, al
test edx, edx
jne 0x495586
push 0x59e30c
lea eax, [ebp - 0x298]
push eax
call fcn.00407c10
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x495586
push 0x59e310
lea edx, [ebp - 0x298]
push edx
call fcn.00407c10
add esp, 8
movzx eax, al
test eax, eax
je 0x4955b9
mov dword [ebp - 0x4b0], 3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x298]
call fcn.00406270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004060d0
mov eax, dword [ebp - 0x4b0]
jmp 0x495c50
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4b4], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00406090
mov dword [ebp - 0x654], eax
mov eax, dword [ebp - 0x654]
mov dword [ebp - 0x658], eax
mov byte [ebp - 4], 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4b8], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00406230
mov dword [ebp - 0x65c], eax
mov byte [ebp - 4], 1
call fcn.00495360
add esp, 0x38
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, eax
je 0x495620
mov ecx, 0x10
test ecx, ecx
jne 0x495653
mov dword [ebp - 0x4bc], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x298]
call fcn.00406270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004060d0
mov eax, dword [ebp - 0x4bc]
jmp 0x495c50
mov dword [ebp - 0x4a8], 0xffffffff
lea edx, [ebp - 0x4ac]
push edx
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.00495310
cmp dword [ebp - 0x4ac], 0x101
jbe 0x4956b1
mov dword [ebp - 0x4c0], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x298]
call fcn.00406270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004060d0
mov eax, dword [ebp - 0x4c0]
jmp 0x495c50
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x4a4]
push edx
call fcn.004139c0
push 0x59e314
push 0x104
lea eax, [ebp - 0x4a4]
push eax
call fcn.00492150
lea ecx, [ebp - 0x27c]
push ecx
lea edx, [ebp - 0x4a4]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x4a8], eax
cmp dword [ebp - 0x4a8], 0xffffffff
jne 0x495732
mov dword [ebp - 0x4c4], 2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x298]
call fcn.00406270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004060d0
mov eax, dword [ebp - 0x4c4]
jmp 0x495c50
push 0x59e31c
lea ecx, [ebp - 0x2c]
call fcn.00406230
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x27c]
and eax, 0x10
je 0x495aa8
lea ecx, [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x4e0]
call fcn.00406230
mov dword [ebp - 0x660], eax
mov edx, dword [ebp - 0x660]
mov dword [ebp - 0x664], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x664]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042b7d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4e0]
call fcn.00406270
push 0x59e320
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00407c10
add esp, 8
movzx edx, al
test edx, edx
jne 0x4957c8
push 0x59e324
lea eax, [ebp - 0x2c]
push eax
call fcn.00407c10
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4957cd
jmp 0x495bed
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4e4], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00406090
mov dword [ebp - 0x668], eax
mov eax, dword [ebp - 0x668]
mov dword [ebp - 0x66c], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x504]
call fcn.00406230
mov dword [ebp - 0x670], eax
mov edx, dword [ebp - 0x670]
mov dword [ebp - 0x674], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x520]
call fcn.00406230
mov dword [ebp - 0x678], eax
mov ecx, dword [ebp - 0x678]
mov dword [ebp - 0x67c], ecx
mov byte [ebp - 4], 7
push 0x59e32c
mov edx, dword [ebp - 0x67c]
push edx
lea eax, [ebp - 0x53c]
push eax
call fcn.00407af0
add esp, 0xc
mov dword [ebp - 0x680], eax
mov ecx, dword [ebp - 0x680]
mov dword [ebp - 0x684], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x674]
push edx
mov eax, dword [ebp - 0x684]
push eax
lea ecx, [ebp - 0x558]
push ecx
call fcn.00407b80
add esp, 0xc
mov dword [ebp - 0x688], eax
mov edx, dword [ebp - 0x688]
mov dword [ebp - 0x68c], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x68c]
call fcn.00406290
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4e8], esp
push eax
call fcn.00406230
mov dword [ebp - 0x690], eax
mov byte [ebp - 4], 0xd
call fcn.00495360
add esp, 0x38
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x558]
call fcn.00406270
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x53c]
call fcn.00406270
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x520]
call fcn.00406270
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x504]
call fcn.00406270
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x560], esp
lea eax, [ebp + 0xc]
push eax
call fcn.00406090
mov dword [ebp - 0x694], eax
mov ecx, dword [ebp - 0x694]
mov dword [ebp - 0x698], ecx
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x250]
push edx
lea ecx, [ebp - 0x57c]
call fcn.00406230
mov dword [ebp - 0x69c], eax
mov eax, dword [ebp - 0x69c]
mov dword [ebp - 0x6a0], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x598]
call fcn.00406230
mov dword [ebp - 0x6a4], eax
mov edx, dword [ebp - 0x6a4]
mov dword [ebp - 0x6a8], edx
mov byte [ebp - 4], 0x10
push 0x59e330
mov eax, dword [ebp - 0x6a8]
push eax
lea ecx, [ebp - 0x5b4]
push ecx
call fcn.00407af0
add esp, 0xc
mov dword [ebp - 0x6ac], eax
mov edx, dword [ebp - 0x6ac]
mov dword [ebp - 0x6b0], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x6a0]
push eax
mov ecx, dword [ebp - 0x6b0]
push ecx
lea edx, [ebp - 0x5d0]
push edx
call fcn.00407b80
add esp, 0xc
mov dword [ebp - 0x6b4], eax
mov eax, dword [ebp - 0x6b4]
mov dword [ebp - 0x6b8], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x6b8]
call fcn.00406290
push eax
mov byte [ebp - 4], 0x16
call fcn.004954f0
add esp, 0x20
mov dword [ebp - 0x6bc], eax
xor ecx, ecx
cmp dword [ebp - 0x6bc], 2
sete cl
mov byte [ebp - 0x559], cl
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x5d0]
call fcn.00406270
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x5b4]
call fcn.00406270
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x598]
call fcn.00406270
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x57c]
call fcn.00406270
movzx edx, byte [ebp - 0x559]
test edx, edx
je 0x495aa3
mov dword [ebp - 0x5d4], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00406270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x298]
call fcn.00406270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004060d0
mov eax, dword [ebp - 0x5d4]
jmp 0x495c50
jmp 0x495bed
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x5d8], esp
lea eax, [ebp + 0xc]
push eax
call fcn.00406090
mov dword [ebp - 0x6c0], eax
mov ecx, dword [ebp - 0x6c0]
mov dword [ebp - 0x6c4], ecx
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x250]
push edx
lea ecx, [ebp - 0x5f8]
call fcn.00406230
mov dword [ebp - 0x6c8], eax
mov eax, dword [ebp - 0x6c8]
mov dword [ebp - 0x6cc], eax
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x614]
call fcn.00406230
mov dword [ebp - 0x6d0], eax
mov edx, dword [ebp - 0x6d0]
mov dword [ebp - 0x6d4], edx
mov byte [ebp - 4], 0x19
push 0x59e334
mov eax, dword [ebp - 0x6d4]
push eax
lea ecx, [ebp - 0x630]
push ecx
call fcn.00407af0
add esp, 0xc
mov dword [ebp - 0x6d8], eax
mov edx, dword [ebp - 0x6d8]
mov dword [ebp - 0x6dc], edx
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x6cc]
push eax
mov ecx, dword [ebp - 0x6dc]
push ecx
lea edx, [ebp - 0x64c]
push edx
call fcn.00407b80
add esp, 0xc
mov dword [ebp - 0x6e0], eax
mov eax, dword [ebp - 0x6e0]
mov dword [ebp - 0x6e4], eax
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x6e4]
call fcn.00406290
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x5dc], esp
push eax
call fcn.00406230
mov dword [ebp - 0x6e8], eax
mov byte [ebp - 4], 0x1f
call fcn.00495360
add esp, 0x38
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x64c]
call fcn.00406270
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x630]
call fcn.00406270
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x614]
call fcn.00406270
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5f8]
call fcn.00406270
lea ecx, [ebp - 0x27c]
push ecx
mov edx, dword [ebp - 0x4a8]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x495743
mov eax, dword [ebp - 0x4a8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x650], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00406270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x298]
call fcn.00406270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004060d0
mov eax, dword [ebp - 0x650]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret