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

Disassembly:
push ebp
lea ebp, [esp - 0x254]
sub esp, 0x254
push 0xffffffffffffffff
push 0x567b85
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5d8024]
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 - 0x50], ecx
mov ecx, dword [ebp + 0x25c]
mov edi, dword [ebp + 0x264]
mov eax, dword [ebp + 0x268]
mov ebx, dword [ebp + 0x260]
mov ecx, dword [ecx]
sub ecx, 0x10
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x40], eax
call fcn.00408b20
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
mov edx, dword [eax - 0xc]
test edx, edx
jle 0x4cd995
lea ecx, [edx - 1]
test ecx, ecx
js 0x4cdf46
cmp ecx, edx
jg 0x4cdf46
cmp word [eax + ecx*2], 0x5c
je 0x4cd995
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.00490c80
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x54], eax
call fcn.00408b20
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
mov eax, dword [ebx]
push dword [eax - 0xc]
push eax
call fcn.00418fd0
lea eax, [ebp]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x28], 0x5916bc
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 4
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
or ebx, 0xffffffff
cmp eax, 1
jne 0x4cdd5a
nop
call fcn.00409310
test eax, eax
je 0x4cdf50
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
lea eax, [ebp + 0x2c]
test eax, 0xffff0000
jne 0x4cda26
movzx eax, ax
lea ecx, [ebp - 0x10]
push eax
call fcn.00415200
jmp 0x4cda4c
lea ecx, [ebp + 0x2c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cda30
sub ecx, edx
lea eax, [ebp + 0x2c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00408e90
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x10]
push 0x2e
push esi
mov edi, dword [esi - 0xc]
call fcn.0052324a
add esp, 8
test eax, eax
jne 0x4cda6a
or eax, 0xffffffff
jmp 0x4cda6e
sub eax, esi
sar eax, 1
sub edi, eax
lea ecx, [ebp - 0x10]
push edi
lea eax, [ebp - 0x20]
push eax
call fcn.0040d1c0
mov byte [ebp - 4], 7
push str..pack
push dword [ebp - 0x20]
call fcn.0052b174
add esp, 8
test eax, eax
jne 0x4cdd00
push 0x2e
push esi
call fcn.0052324a
add esp, 8
test eax, eax
jne 0x4cdaad
or eax, 0xffffffff
jmp 0x4cdab1
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d100
mov byte [ebp - 4], 8
lea edi, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4cdb12
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4cdb03
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4cdb03
call fcn.00408b20
mov dword [ebp - 0x34], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4cdafb
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x34]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x4cdb12
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.00408e90
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cdb30
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi - 0xc]
push 0x2e
push esi
call fcn.0052324a
add esp, 8
test eax, eax
jne 0x4cdb47
or eax, 0xffffffff
jmp 0x4cdb4b
sub eax, esi
sar eax, 1
sub edi, eax
lea ecx, [ebp - 0x10]
push edi
lea eax, [ebp - 0x48]
push eax
call fcn.0040d1c0
mov byte [ebp - 4], 0xa
mov edx, dword [eax]
mov edi, dword [ebp - 0x20]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4cdbae
cmp dword [edi + 0xc], 0
jl 0x4cdba2
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4cdba2
call fcn.00408b20
mov dword [ebp - 0x34], eax
lea edx, [edi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4cdb9a
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov dword [ebp - 0x20], eax
jmp 0x4cdbae
push dword [edx - 0xc]
lea ecx, [ebp - 0x20]
push edx
call fcn.00408e90
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cdbcc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x598020
push dword [ebp - 0x20]
call fcn.0052b174
add esp, 8
test eax, eax
jne 0x4cdd00
lea eax, [ebp + 0x2c]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.0047c5f0
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00408b20
add eax, 0x10
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 4]
mov edi, dword [edx + 8]
cmp ecx, edi
jne 0x4cdc7c
mov edx, dword [edx]
lea eax, [ebp - 0x3c]
cmp eax, edx
jb 0x4cdc47
lea ebx, [ebp - 0x3c]
lea eax, [edx + edi*8]
cmp ebx, eax
mov ebx, 0xffffffff
jb 0x4cdf50
test edi, edi
jne 0x4cdc52
mov edi, 1
jmp 0x4cdc61
lea edi, [ecx + ecx]
test edi, edi
js 0x4cdcba
cmp edi, 0xfffffff
ja 0x4cdcba
push 8
push edi
push edx
call fcn.00529895
add esp, 0xc
test eax, eax
je 0x4cdcba
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 4]
mov dword [edx + 8], edi
mov dword [edx], eax
mov eax, dword [edx]
mov dword [ebp - 0x34], ecx
lea edi, [eax + ecx*8]
mov dword [ebp - 0x60], edi
mov byte [ebp - 4], 0x10
test edi, edi
je 0x4cdcb3
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], edi
lea ecx, [ecx - 0x10]
call fcn.00408b20
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x38]
mov dword [edi + 4], eax
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xf
inc dword [edx + 4]
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0xc
mov eax, ebx
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cdce2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cdd00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
sete byte [ebp - 0x15]
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cdd32
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4cdd4d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x15], 0
jne 0x4cd9f0
mov edi, dword [ebp - 0x14]
call fcn.00409310
mov ecx, eax
test ecx, ecx
je 0x4cdf50
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x19
mov eax, 0x59282c
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x4cdd92
movzx eax, ax
push eax
call fcn.00415200
jmp 0x4cdd9c
push 0x59282c
call fcn.00493bd0
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.00490a80
add esp, 4
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x30]
push eax
call fcn.00478220
mov byte [ebp - 4], 0x1a
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cdddd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cddfb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4cde10
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x30]
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
cmp eax, ecx
je 0x4cde37
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call dword [edx + 4]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
lea eax, [ebp]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
jne 0x4cdeca
mov esi, dword [ebp - 0x40]
nop
test byte [ebp], 0x10
je 0x4cdeb5
cmp word [ebp + 0x2c], 0x2e
jne 0x4cde73
mov ax, word [ebp + 0x2e]
test ax, ax
je 0x4cdeb5
cmp ax, 0x2e
jne 0x4cde73
cmp word [ebp + 0x30], 0
je 0x4cdeb5
lea eax, [ebp + 0x2c]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
call fcn.0047c5f0
add esp, 4
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x50]
push esi
push edi
push dword [ebp - 0x4c]
push eax
call fcn.004cd8f0
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4cdeb5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
je 0x4cde50
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], 0x5916bc
test eax, eax
je 0x4cdeea
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4cdf05
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x54]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4cdf21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.00521781
lea esp, [ebp + 0x254]
pop ebp
ret 0x10
push 0x80070057
call fcn.00408fe0
push 0x80004005
call fcn.00408fe0
int3