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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x57
push 0
push 0
dec ecx
jne 0x5ed46d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0xd], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a78c
lea eax, [ebp - 0xc]
mov edx, dword [0x5ef330]
call fcn.0040bc08
mov edi, dword [0x6043a8]
xor eax, eax
push ebp
push 0x5eda09
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 4]
mov eax, edx
test eax, eax
je 0x5ed4c9
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x5ed988
mov eax, edx
test eax, eax
je 0x5ed4dc
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x5ed4f4
lea eax, [ebp - 4]
mov edx, 0x5eda2c
call fcn.0040b6d0
mov eax, dword [0x6047b4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
lea eax, [edi + 8]
mov ecx, dword [ebp - 4]
mov edx, 0x5eda3c
call fcn.0040b728
mov eax, dword [0x6047b4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 4]
lea eax, [ebp - 0x278]
mov edx, dword [ebp - 4]
call fcn.0040b5c8
mov eax, dword [ebp - 0x278]
call fcn.005ed328
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
mov edx, dword [0x5ef2fc]
call fcn.0040d96c
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x5ef2fc]
call fcn.0040d848
add esp, 4
xor ebx, ebx
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x284]
mov ecx, 0x5eda70
mov edx, dword [ebp - 4]
call fcn.0040b728
mov edx, dword [ebp - 0x284]
lea eax, [ebp - 0x280]
call fcn.0040b5c8
mov eax, dword [ebp - 0x280]
lea edx, [ebp - 0x27c]
call fcn.005d4710
mov eax, dword [ebp - 0x27c]
call fcn.0040b26c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x5ed988
jmp 0x5ed5c7
push 0x1f4
call sub.kernel32.dll_Sleep
cmp byte [edi], 0
jne 0x5ed5bd
cmp byte [edi + 1], 0
je 0x5ed5e0
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_FindClose
jmp 0x5ed988
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x5ed7ed
cmp eax, ebx
jle 0x5ed7ed
lea eax, [ebp - 0x288]
lea edx, [ebp - 0x248]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 0x288]
mov edx, 0x5eda78
call fcn.0040b43c
je 0x5ed7cf
lea eax, [ebp - 0x28c]
lea edx, [ebp - 0x248]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 0x28c]
mov edx, 0x5eda80
call fcn.0040b43c
je 0x5ed7cf
lea eax, [ebp - 0x290]
lea edx, [ebp - 0x248]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 0x290]
call fcn.005ed24c
test al, al
jne 0x5ed7cf
mov eax, dword [ebp - 0x274]
mov edx, eax
and edx, 0x10
cmp edx, 0x10
jne 0x5ed7a0
and eax, 0x400
cmp eax, 0x400
jne 0x5ed76f
push dword [ebp - 4]
lea eax, [ebp - 0x2a0]
lea edx, [ebp - 0x248]
mov ecx, 0x104
call fcn.0040b578
push dword [ebp - 0x2a0]
push 0x5eda2c
lea eax, [ebp - 0x29c]
mov edx, 3
call fcn.0040b7b0
mov edx, dword [ebp - 0x29c]
lea eax, [ebp - 0x298]
call fcn.0040b5c8
mov eax, dword [ebp - 0x298]
lea edx, [ebp - 0x294]
call fcn.00425314
mov eax, dword [ebp - 0x294]
call fcn.005eb574
test al, al
jne 0x5ed7cf
lea eax, [ebp - 0x2a8]
lea edx, [ebp - 0x248]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 0x2a8]
lea edx, [ebp - 0x2a4]
call fcn.004252d8
mov eax, dword [ebp - 0x2a4]
mov edx, dword [ebp - 0x14]
call fcn.005eb4b0
test al, al
jne 0x5ed7cf
lea esi, [ebx + ebx*2]
mov eax, dword [ebp - 8]
lea eax, [eax + esi*4]
lea edx, [ebp - 0x248]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x274]
mov dword [eax + esi*4 + 4], edx
mov eax, dword [ebp - 8]
mov byte [eax + esi*4 + 8], 1
inc ebx
jmp 0x5ed7cf
lea esi, [ebx + ebx*2]
mov eax, dword [ebp - 8]
lea eax, [eax + esi*4]
lea edx, [ebp - 0x248]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x274]
mov dword [eax + esi*4 + 4], edx
mov eax, dword [ebp - 8]
mov byte [eax + esi*4 + 8], 1
inc ebx
jmp 0x5ed7cf
lea esi, [ebx + ebx*2]
mov eax, dword [ebp - 8]
lea eax, [eax + esi*4]
lea edx, [ebp - 0x248]
mov ecx, 0x104
call fcn.0040b230
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x274]
mov dword [eax + esi*4 + 4], edx
mov eax, dword [ebp - 8]
mov byte [eax + esi*4 + 8], 0
inc ebx
lea eax, [ebp - 0x274]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_FindNextFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x5ed5c7
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_FindClose
mov dword [ebp - 0xc], ebx
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x5ed842
inc esi
xor ebx, ebx
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 8]
cmp byte [edx + eax*4 + 8], 0
jne 0x5ed83e
jmp 0x5ed81d
push 0x1f4
call sub.kernel32.dll_Sleep
cmp byte [edi], 0
jne 0x5ed813
cmp byte [edi + 1], 0
jne 0x5ed988
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add eax, 1
adc edx, 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
inc ebx
dec esi
jne 0x5ed804
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jl 0x5ed95d
inc esi
xor ebx, ebx
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 8]
cmp byte [edx + eax*4 + 8], 0
je 0x5ed955
jmp 0x5ed86e
push 0x1f4
call sub.kernel32.dll_Sleep
cmp byte [edi], 0
jne 0x5ed864
cmp byte [edi + 1], 0
jne 0x5ed988
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 4]
and eax, 0x400
cmp eax, 0x400
jne 0x5ed907
lea eax, [ebp - 0x2ac]
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx*4]
call fcn.0040b5b4
mov edx, dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
push dword [ebp - 4]
lea eax, [ebp - 0x2b4]
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx*4]
call fcn.0040b5b4
push dword [ebp - 0x2b4]
push 0x5eda2c
lea eax, [ebp - 0x2b0]
mov edx, 3
call fcn.0040b7b0
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0x14]
mov dl, 1
call fcn.005ed464
add eax, dword [ebp - 0x20]
adc edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
jmp 0x5ed955
push dword [ebp - 4]
lea eax, [ebp - 0x2bc]
lea edx, [ebx + ebx*2]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx*4]
call fcn.0040b5b4
push dword [ebp - 0x2bc]
push 0x5eda2c
lea eax, [ebp - 0x2b8]
mov edx, 3
call fcn.0040b7b0
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x14]
xor edx, edx
call fcn.005ed464
add eax, dword [ebp - 0x20]
adc edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
inc ebx
dec esi
jne 0x5ed851
lea eax, [ebp - 8]
mov edx, dword [0x5ef2fc]
call fcn.0040d96c
cmp byte [ebp - 0xd], 0
je 0x5ed988
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5eda10
lea eax, [ebp - 0x2bc]
mov edx, 5
call fcn.0040a6f8
lea eax, [ebp - 0x2a8]
mov edx, 2
call fcn.0040a768
lea eax, [ebp - 0x2a0]
mov edx, 2
call fcn.0040a6f8
lea eax, [ebp - 0x298]
mov edx, 5
call fcn.0040a768
lea eax, [ebp - 0x284]
call fcn.0040a698
lea eax, [ebp - 0x280]
mov edx, 3
call fcn.0040a768
lea eax, [ebp - 0xc]
mov edx, dword [0x5ef330]
call fcn.0040bfd4
lea eax, [ebp - 4]
call fcn.0040a698
pop eax
jmp eax