Function at 0x40df50
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get disk information

Disassembly:
sub esp, 0x6b4
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x6c8]
push 0x4207b8
mov ecx, edi
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x6cc]
cmp eax, 0xffffffff
je 0x40df89
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.004080b0
add esp, 8
jmp 0x40df93
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 2
shr eax, 2
mov dword [esp + 0x10], eax
je 0x40e16a
mov ebp, dword [sym.imp.MSVCRT.dll_swprintf]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [edi]
push 0x4207b8
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x40e16a
test byte [esp + 0x10], 1
je 0x40e14f
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x6d4]
add eax, 0x41
test cl, cl
jne 0x40e03d
mov ecx, dword [esp + 0x6d0]
and eax, 0xffff
push ecx
push eax
lea edx, [esp + 0x24]
push str._c:_s
push edx
call ebp
add esp, 0x10
lea eax, [esp + 0x224]
lea ecx, [esp + 0x1c]
push eax
push ecx
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x40e14f
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
call sub.MFC42u.DLL_CString::operator_2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40e14f
mov edi, eax
lea eax, [esp + 0x1c]
and edi, 0xffff
push edi
push str._c:.
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x224]
lea edx, [esp + 0x1c]
push ecx
push edx
call ebx
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
je 0x40e148
lea eax, [esp + 0x250]
push 0x41c170
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x40e105
lea ecx, [esp + 0x250]
push 0x41c168
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x40e105
lea edx, [esp + 0x250]
push str.RRUbackups
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40e105
test byte [esp + 0x224], 0x10
je 0x40e105
mov eax, dword [esp + 0x6d0]
lea ecx, [esp + 0x250]
push eax
push ecx
push edi
lea edx, [esp + 0x28]
push str._c:_s_s
push edx
call ebp
add esp, 0x14
lea eax, [esp + 0x474]
lea ecx, [esp + 0x1c]
push eax
push ecx
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x40e11d
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x224]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x40e141
jmp 0x40e073
mov ecx, dword [esp + 0x6c8]
lea eax, [esp + 0x1c]
push eax
call sub.MFC42u.DLL_CString::operator_2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x6c8]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
shr eax, 1
inc edx
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x14], edx
jne 0x40dfb8
mov ebx, dword [esp + 0x6d8]
test bl, bl
je 0x40e1b0
cmp dword [esp + 0x6cc], 0xffffffff
jne 0x40e1b0
mov ecx, dword [edi]
push 0x4207b8
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x40e1b0
mov edx, dword [esp + 0x6d4]
mov eax, dword [esp + 0x6d0]
push ebx
push edx
push eax
push 0xffffffffffffffff
push edi
call fcn.0040df50
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6b4
ret