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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd267
mov eax, dword fs:[0]
push eax
sub esp, 0x280
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 dword [ebp - 0x288], edx
mov dword [ebp - 0x28c], ecx
sub esp, 8
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x284], eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x6249f8
push ecx
lea ecx, [ebp - 0x20]
call fcn.005dc520
push 0x260
lea eax, [ebp - 0x280]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00420090
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.005dc190
push 0x250
mov esi, eax
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, eax
mov dword [ebp - 0x30], edx
cmp edx, 0xffffffff
je 0x57da4d
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x2c], 1
call fcn.004011a0
mov edx, dword [ebp - 0x30]
xor ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], ebx
cmp edx, 0xffffffff
je 0x57dc04
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, dword [ebp - 0x284]
nop dword [eax + eax]
test esi, esi
je 0x57da7d
cmp byte [esi], 0
jne 0x57dbf8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x254]
push eax
push 0x624284
push dword [ebp - 0x28c]
lea ecx, [ebp - 0x20]
call fcn.005dc200
test byte [ebp - 0x280], 0x10
je 0x57dacc
push esi
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov edx, dword [ebp - 0x288]
mov ecx, eax
call fcn.0057d970
add ebx, eax
jmp 0x57db44
xor esi, esi
lea eax, [ebp - 0x254]
cmp word [ebp - 0x254], si
je 0x57daf5
nop dword [eax]
movzx ecx, word [eax + 2]
add eax, 2
cmp ecx, 0x2e
jne 0x57daf0
mov esi, eax
jmp 0x57dae0
test cx, cx
jne 0x57dae0
push 0
mov edx, str..inf
mov ecx, esi
call fcn.005d8ad0
test eax, eax
jne 0x57db3e
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
push 0
call fcn.005dc190
push eax
push 0
call dword [sym.imp.newdev.dll_DiInstallDriverW]
add ebx, eax
cmp dword [ebp - 0x14], 0
je 0x57db3e
mov eax, dword [ebp - 0x288]
mov esi, dword [ebp - 0x284]
test eax, eax
je 0x57db44
mov byte [eax], 1
jmp 0x57db44
mov esi, dword [ebp - 0x284]
mov eax, dword [ebp - 0x30]
cmp eax, 0xffffffff
je 0x57dc04
lea ecx, [ebp - 0x280]
push ecx
push eax
call edi
test eax, eax
je 0x57dc2c
mov edx, dword [ebp - 0x30]
cmp edx, 0xffffffff
je 0x57dc04
nop
cmp word [ebp - 0x254], 0x2e
jne 0x57db96
mov ax, word [ebp - 0x252]
test ax, ax
je 0x57dbd6
cmp ax, 0x2e
jne 0x57db96
cmp word [ebp - 0x250], 0
je 0x57dbd6
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x57da70
mov ecx, dword [ebp - 0x280]
test al, 1
je 0x57dbb3
test ecx, 0x400
jne 0x57dbd6
test al, 2
je 0x57dbc2
test cl, 0x10
je 0x57da70
jmp 0x57dbd6
test al, 4
je 0x57da70
test ecx, 0x10
jne 0x57da70
lea eax, [ebp - 0x280]
push eax
push edx
call edi
test eax, eax
je 0x57dbe9
mov edx, dword [ebp - 0x30]
jmp 0x57db70
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_FindClose]
or edx, 0xffffffff
mov dword [ebp - 0x30], edx
cmp edx, 0xffffffff
je 0x57dc04
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x20]
call fcn.005dc430
mov eax, ebx
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 4
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x30], 0xffffffff
jmp 0x57dc04