Function at 0x57f7d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b3601
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x759990]
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.0057fb80
cmp byte [ebx], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x57f82c
xor ecx, ecx
jmp 0x57f83a
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57f831
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.0045fd50
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x57f871
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x57f871
push 0x5c
push 1
lea ecx, [ebp - 0x28]
call fcn.0045ee60
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.0045ffb0
push 3
push 0x6d4e08
lea ecx, [ebp - 0x40]
call fcn.00460060
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 0x57fb26
lea ebx, [edi + 0x30]
cmp byte [ebx], 0x2e
je 0x57fa60
mov ecx, edi
call fcn.0057fbd0
test al, al
je 0x57f90c
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 0x57fa60
xor bl, bl
jmp 0x57fb28
push 0x2e
push ebx
call fcn.00626500
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x57fa5d
cmp dword [ebp + 0x10], 0
je 0x57fad2
push esi
lea ecx, [ebp - 0x70]
call fcn.0045fe90
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.004ff150
mov dword [ebp - 0xc0], eax
push esi
test eax, eax
jle 0x57faf8
lea ecx, [ebp - 0x88]
call fcn.0045fe90
push dword [ebp - 0xc0]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
push 0
push ecx
mov ecx, eax
call fcn.004ffb20
cmp dword [ebp - 0x74], 0x10
mov byte [ebp - 4], 5
jb 0x57f99e
push dword [ebp - 0x88]
call fcn.00460bc0
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 0x57f9b6
push dword [ebp - 0xc4]
sub esi, ecx
lea ecx, [ebp - 0xa0]
call fcn.0045fe90
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.004ffb20
cmp dword [ebp - 0x8c], 0x10
mov byte [ebp - 4], 8
jb 0x57fa03
push dword [ebp - 0xa0]
call fcn.00460bc0
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.004a9300
test eax, eax
je 0x57fa83
push esi
lea ecx, [ebp - 0x58]
call fcn.004a9300
test eax, eax
je 0x57fa83
lea ecx, [ebp - 0x58]
call fcn.00460780
lea ecx, [ebp - 0xb8]
call fcn.00460780
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00460780
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 0x57fb26
mov esi, dword [ebp - 0xc4]
jmp 0x57f8d2
cmp dword [ebp - 0x44], 0x10
jb 0x57fa94
push dword [ebp - 0x58]
call fcn.00460bc0
add esp, 4
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jb 0x57fabd
push dword [ebp - 0xb8]
call fcn.00460bc0
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov byte [ebp - 4], 1
jb 0x57fad2
push dword [ebp - 0x70]
call fcn.00460bc0
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 0x57f905
jmp 0x57fa60
lea eax, [ebx + 1]
push eax
call fcn.00624e8e
add esp, 8
test eax, eax
je 0x57fabd
cmp dword [ebp - 0x5c], 0x10
mov byte [ebp - 4], 1
jb 0x57fa5d
push dword [ebp - 0x70]
call fcn.00460bc0
add esp, 4
jmp 0x57fa5d
mov bl, 1
cmp dword [ebp - 0x2c], 0x10
jb 0x57fb39
push dword [ebp - 0x40]
call fcn.00460bc0
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x57fb5c
push dword [ebp - 0x28]
call fcn.00460bc0
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.00622d3e
mov esp, ebp
pop ebp
ret 0xc