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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f660f
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
sub esp, 8
mov ebx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x2d8], eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x6249f8
push eax
call fcn.005dc520
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
call fcn.005dc5e0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005dc3a0
cmp eax, 4
jge 0x50edfc
mov ecx, edi
call fcn.0050db30
test al, al
sete bl
jmp 0x50ef1d
push 0x260
lea eax, [ebp - 0x288]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push 0x250
mov esi, eax
lea eax, [ebp - 0x288]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea eax, [ebp - 0x288]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x38], eax
cmp eax, 0xffffffff
je 0x50ee5a
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x34], 1
call fcn.004011a0
push 0x4c
lea eax, [ebp - 0x2d4]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea ecx, [ebp - 0x2d4]
call fcn.005e9520
mov byte [ebp - 4], 3
cmp dword [ebp - 0x38], 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
je 0x50eefb
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
mov ecx, edi
call fcn.0050db30
test al, al
jne 0x50eef5
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x25c]
push eax
push 0x624284
push dword [ebp - 0x2d8]
lea ecx, [ebp - 0x1c]
call fcn.005dc200
test byte [ebp - 0x288], 0x10
je 0x50ef4d
cmp byte [ebp + 0x10], 0
je 0x50efb3
push 1
push ebx
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
mov ecx, edi
call fcn.0050ed50
test al, al
jne 0x50efb3
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, edi
call fcn.0050db30
test al, al
lea ecx, [ebp - 0x2d4]
sete bl
call fcn.005e9080
mov eax, dword [ebp - 0x38]
cmp eax, 0xffffffff
je 0x50ef1d
push eax
call esi
lea ecx, [ebp - 0x28]
call fcn.005dc430
lea ecx, [ebp - 0x1c]
call fcn.005dc430
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0xc
xor edx, edx
lea eax, [ebp - 0x25c]
cmp word [ebp - 0x25c], dx
je 0x50ef75
nop
movzx ecx, word [eax + 2]
add eax, 2
cmp ecx, 0x2e
jne 0x50ef70
mov edx, eax
jmp 0x50ef60
test cx, cx
jne 0x50ef60
push 1
push edx
lea ecx, [ebp - 0x28]
call fcn.005dc260
push 0x630518
lea ecx, [ebp - 0x28]
call fcn.005dc4c0
test al, al
jne 0x50efa4
push ecx
push dword [edi + 0x1a4]
lea ecx, [ebp - 0x28]
call fcn.005d98d0
test al, al
je 0x50efb3
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
push ebx
call fcn.0050ecd0
mov eax, dword [ebp - 0x38]
cmp eax, 0xffffffff
je 0x50eef5
lea ecx, [ebp - 0x288]
push ecx
push eax
call esi
test eax, eax
je 0x50f059
mov edx, dword [ebp - 0x38]
cmp edx, 0xffffffff
je 0x50eef5
nop dword [eax]
cmp word [ebp - 0x25c], 0x2e
jne 0x50f006
mov ax, word [ebp - 0x25a]
test ax, ax
je 0x50f046
cmp ax, 0x2e
jne 0x50f006
cmp word [ebp - 0x258], 0
je 0x50f046
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x50ee90
mov ecx, dword [ebp - 0x288]
test al, 1
je 0x50f023
test ecx, 0x400
jne 0x50f046
test al, 2
je 0x50f032
test cl, 0x10
je 0x50ee90
jmp 0x50f046
test al, 4
je 0x50ee90
test ecx, 0x10
jne 0x50ee90
lea eax, [ebp - 0x288]
push eax
push edx
call esi
test eax, eax
je 0x50f059
mov edx, dword [ebp - 0x38]
jmp 0x50efe0
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
call esi
mov dword [ebp - 0x38], 0xffffffff
jmp 0x50eefb