Function at 0x50db50
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611191
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x6ae450]
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 esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc4], esi
call fcn.0050df00
cmp byte [ebx], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x50dbac
xor ecx, ecx
jmp 0x50dbba
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50dbb1
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.0043db40
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x50dbf1
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x50dbf1
push 0x5c
push 1
lea ecx, [ebp - 0x28]
call fcn.00442940
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.004411d0
push 3
push 0x65b294
lea ecx, [ebp - 0x40]
call fcn.004410a0
or dword [edi + 4], 0x10
lea ecx, [edi + 4]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [edi + 0x144], eax
cmp eax, 0xffffffff
je 0x50dea6
lea ebx, [edi + 0x30]
cmp byte [ebx], 0x2e
je 0x50dde0
mov ecx, edi
call fcn.0050df50
test al, al
je 0x50dc8c
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [edi]
cmovae ecx, dword [ebp - 0x28]
push ebx
push ecx
mov eax, dword [eax + 4]
mov ecx, edi
push esi
call eax
test al, al
jne 0x50dde0
xor bl, bl
jmp 0x50dea8
push 0x2e
push ebx
call fcn.005b6620
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x50dddd
cmp dword [ebp + 0x10], 0
je 0x50de52
push esi
lea ecx, [ebp - 0x70]
call fcn.00442030
push 1
push 0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 0xbc], 0x3b
call fcn.004506d0
mov dword [ebp - 0xc0], eax
push esi
test eax, eax
jle 0x50de78
lea ecx, [ebp - 0x88]
call fcn.00442030
push dword [ebp - 0xc0]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
push 0
push ecx
mov ecx, eax
call fcn.00488810
cmp dword [ebp - 0x74], 0x10
mov byte [ebp - 4], 5
jb 0x50dd1e
push dword [ebp - 0x88]
call fcn.004c3680
add esp, 4
mov dword [ebp - 0x74], 0xf
lea ecx, [esi + 1]
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
mov al, byte [esi]
inc esi
test al, al
jne 0x50dd36
push dword [ebp - 0xc4]
sub esi, ecx
lea ecx, [ebp - 0xa0]
call fcn.00442030
mov ecx, dword [ebp - 0xc0]
inc ecx
mov byte [ebp - 4], 6
push esi
push ecx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00488810
cmp dword [ebp - 0x8c], 0x10
mov byte [ebp - 4], 8
jb 0x50dd83
push dword [ebp - 0xa0]
call fcn.004c3680
add esp, 4
lea esi, [ebx + 1]
mov dword [ebp - 0x8c], 0xf
push esi
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.00451990
test eax, eax
je 0x50de03
push esi
lea ecx, [ebp - 0x58]
call fcn.00451990
test eax, eax
je 0x50de03
lea ecx, [ebp - 0x58]
call fcn.0043dc70
lea ecx, [ebp - 0xb8]
call fcn.0043dc70
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0043dc70
lea ebx, [edi + 0x30]
lea eax, [edi + 4]
push eax
push dword [edi + 0x144]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x50dea6
mov esi, dword [ebp - 0xc4]
jmp 0x50dc52
cmp dword [ebp - 0x44], 0x10
jb 0x50de14
push dword [ebp - 0x58]
call fcn.004c3680
add esp, 4
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jb 0x50de3d
push dword [ebp - 0xb8]
call fcn.004c3680
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov byte [ebp - 4], 1
jb 0x50de52
push dword [ebp - 0x70]
call fcn.004c3680
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [edi]
lea ebx, [edi + 0x30]
cmovae ecx, dword [ebp - 0x28]
push ebx
push ecx
mov eax, dword [eax + 8]
mov ecx, edi
call eax
test al, al
je 0x50dc85
jmp 0x50dde0
lea eax, [ebx + 1]
push eax
call fcn.005b767e
add esp, 8
test eax, eax
je 0x50de3d
cmp dword [ebp - 0x5c], 0x10
mov byte [ebp - 4], 1
jb 0x50dddd
push dword [ebp - 0x70]
call fcn.004c3680
add esp, 4
jmp 0x50dddd
mov bl, 1
cmp dword [ebp - 0x2c], 0x10
jb 0x50deb9
push dword [ebp - 0x40]
call fcn.004c3680
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x50dedc
push dword [ebp - 0x28]
call fcn.004c3680
add esp, 4
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.005b509b
mov esp, ebp
pop ebp
ret 0xc