Function at 0x10001dd0
Capabilities:
Enumerate files on windows
Get disk information
Get file attributes

Disassembly:
sub esp, 0x2b4
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x80]
push 0
push 0x1009
push eax
mov dword [esp + 0x28], esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
mov ecx, esi
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CWnd::UpdateData
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x261]
mov byte [esp + 0x260], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x260]
push ecx
push 0x64
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
lea ebp, [esp + 0x260]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [ebp + 1]
test al, al
jne 0x10001e66
mov al, byte [ebp + 2]
test al, al
je 0x100022f0
push ebp
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x100022e8
movsx edx, byte [ebp]
push edx
lea eax, [esp + 0x20]
push str._c:JdvrFileCapFile_
push eax
mov byte [ebp + 1], 0
call ebx
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x100022e8
mov edx, dword [esi + 0xc0]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push edx
call edi
test eax, eax
mov ecx, esi
push 0x1774
jne 0x10001f3a
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push 0
push 0
push 0xf0
push eax
call edi
lea edi, [esi + 0xe0]
test eax, eax
mov ecx, edi
je 0x10001f0b
call sub.MFC42.DLL_COleDateTime::GetMonth
push eax
mov ecx, edi
call sub.MFC42.DLL_COleDateTime::GetYear
movsx ecx, byte [ebp]
push eax
push ecx
lea edx, [esp + 0x28]
push str._c:JdvrFileCapFile_.4d_.2d_____________.
push edx
call ebx
add esp, 0x14
jmp 0x10001fc8
call sub.MFC42.DLL_COleDateTime::GetDay
push eax
mov ecx, edi
call sub.MFC42.DLL_COleDateTime::GetMonth
push eax
mov ecx, edi
call sub.MFC42.DLL_COleDateTime::GetYear
push eax
lea ecx, [esp + 0x28]
movsx eax, byte [ebp]
push eax
push str._c:JdvrFileCapFile_.4d_.2d_.2d___________.
push ecx
call ebx
add esp, 0x18
jmp 0x10001fc8
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edx, dword [eax + 0x20]
push 0
push 0
push 0xf0
push edx
call edi
push 0
push 0
test eax, eax
mov eax, dword [esi + 0xc0]
push 0x147
lea edi, [esi + 0xe0]
push eax
je 0x10001f95
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov ecx, edi
call sub.MFC42.DLL_COleDateTime::GetMonth
push eax
mov ecx, edi
call sub.MFC42.DLL_COleDateTime::GetYear
movsx ecx, byte [ebp]
push eax
push ecx
lea edx, [esp + 0x2c]
push str._c:JdvrFileCapFile_.4d_.2d____________.2d.
push edx
call ebx
add esp, 0x18
jmp 0x10001fc8
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov ecx, edi
call sub.MFC42.DLL_COleDateTime::GetDay
push eax
mov ecx, edi
call sub.MFC42.DLL_COleDateTime::GetMonth
push eax
mov ecx, edi
call sub.MFC42.DLL_COleDateTime::GetYear
movsx ecx, byte [ebp]
push eax
push ecx
lea edx, [esp + 0x30]
push str._c:JdvrFileCapFile_.4d_.2d_.2d__________.2d.
push edx
call ebx
add esp, 0x1c
lea eax, [esp + 0x120]
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x100022e8
mov dl, byte [esp + 0x15d]
mov al, byte [esp + 0x15e]
push 0
push 0
mov byte [esp + 0x24], dl
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x28]
push 0
add esi, 0x60
push ecx
push edx
push 1
mov ecx, esi
mov byte [esp + 0x39], al
mov byte [esp + 0x3a], 0
call sub.MFC42.DLL_CListCtrl::InsertItem
mov dl, byte [esp + 0x14e]
mov cl, byte [esp + 0x14d]
mov byte [esp + 0x1e], dl
mov dl, byte [esp + 0x151]
mov edi, eax
mov al, byte [esp + 0x14c]
mov byte [esp + 0x1d], cl
mov cl, byte [esp + 0x150]
mov byte [esp + 0x22], dl
mov dl, byte [esp + 0x154]
mov byte [esp + 0x1c], al
mov al, byte [esp + 0x14f]
mov byte [esp + 0x21], cl
mov cl, byte [esp + 0x153]
mov byte [esp + 0x27], dl
mov dl, byte [esp + 0x157]
mov byte [esp + 0x1f], al
mov al, byte [esp + 0x152]
mov byte [esp + 0x25], cl
mov cl, byte [esp + 0x156]
push 0
mov byte [esp + 0x2f], dl
push 0
mov byte [esp + 0x2c], al
mov al, byte [esp + 0x15d]
push 0
lea edx, [esp + 0x28]
mov byte [esp + 0x36], cl
mov cl, byte [esp + 0x165]
push 0
push edx
mov byte [esp + 0x3c], al
mov al, byte [esp + 0x16c]
push 1
mov byte [esp + 0x46], cl
push 1
push edi
mov ecx, esi
mov byte [esp + 0x40], 0x2d
mov byte [esp + 0x43], 0x2d
mov byte [esp + 0x46], 0x20
mov byte [esp + 0x49], 0x3a
mov byte [esp + 0x4c], 0x3a
mov byte [esp + 0x4d], al
mov byte [esp + 0x4f], 0
call sub.MFC42.DLL_CListCtrl::SetItem
movsx ecx, byte [ebp]
lea eax, [esp + 0x14c]
lea edx, [esp + 0x1c]
push eax
push ecx
push str._c:JdvrFileCapFile_s
push edx
call ebx
add esp, 0x10
lea eax, [esp + 0x1c]
push 0
push 0
push 0
push 0
push eax
push 1
push 2
push edi
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItem
push edi
push 0
push 0
push 0
push 0
push 4
push 0
push edi
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItem
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x120]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x100022d9
mov al, byte [esp + 0x15d]
mov cl, byte [esp + 0x15e]
push 0
push 0
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x18]
push 0
lea edx, [esp + 0x28]
push 0
push edx
mov byte [esp + 0x31], cl
push eax
push 1
mov ecx, esi
mov byte [esp + 0x3a], 0
call sub.MFC42.DLL_CListCtrl::InsertItem
mov cl, byte [esp + 0x14c]
mov dl, byte [esp + 0x14d]
mov edi, eax
mov al, byte [esp + 0x14e]
mov byte [esp + 0x1e], al
mov al, byte [esp + 0x151]
mov byte [esp + 0x1c], cl
mov cl, byte [esp + 0x14f]
mov byte [esp + 0x22], al
mov al, byte [esp + 0x154]
mov byte [esp + 0x1d], dl
mov dl, byte [esp + 0x150]
mov byte [esp + 0x1f], cl
mov cl, byte [esp + 0x152]
mov byte [esp + 0x27], al
mov al, byte [esp + 0x157]
mov byte [esp + 0x21], dl
mov dl, byte [esp + 0x153]
mov byte [esp + 0x24], cl
mov cl, byte [esp + 0x155]
push 0
mov byte [esp + 0x2f], al
push 0
mov byte [esp + 0x2d], dl
mov dl, byte [esp + 0x15e]
push 0
lea eax, [esp + 0x28]
mov byte [esp + 0x34], cl
mov cl, byte [esp + 0x164]
push 0
push eax
mov byte [esp + 0x3e], dl
mov dl, byte [esp + 0x16d]
push 1
mov byte [esp + 0x45], cl
push 1
push edi
mov ecx, esi
mov byte [esp + 0x40], 0x2d
mov byte [esp + 0x43], 0x2d
mov byte [esp + 0x46], 0x20
mov byte [esp + 0x49], 0x3a
mov byte [esp + 0x4c], 0x3a
mov byte [esp + 0x4e], dl
mov byte [esp + 0x4f], 0
call sub.MFC42.DLL_CListCtrl::SetItem
movsx edx, byte [ebp]
lea ecx, [esp + 0x14c]
lea eax, [esp + 0x1c]
push ecx
push edx
push str._c:JdvrFileCapFile_s
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x1c]
push 0
push 0
push 0
push 0
push ecx
push 1
push 2
push edi
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItem
push edi
push 0
push 0
push 0
push 0
push 4
push 0
push edi
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItem
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x120]
inc eax
push edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10002162
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x18]
add ebp, 4
jmp 0x10001e54
mov edx, dword [esi + 0x80]
push 0x10001c80
push esi
push 0x1030
push edx
mov dword [esi + 0x1f0], 1
mov dword [esi + 0x1f4], 0
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2b4
ret