Function at 0x408bf0
Capabilities:
Enumerate files on windows
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x40df8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x374
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x18c0]
push edi
add eax, 0x43
lea ecx, [esp + 0x3c]
push eax
push str._c:_
push ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
add esp, 0xc
xor ebp, ebp
lea edx, [esp + 0x20]
push ebp
push ebp
lea eax, [esp + 0x44]
push edx
push eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
call edi
mov eax, dword [ebx + 0x290]
mov ecx, dword [esp + 0x24]
lea eax, [eax + eax*4]
shl eax, 0x15
cdq
cmp ecx, edx
ja 0x4090bb
jb 0x408c77
mov edx, dword [esp + 0x20]
cmp edx, eax
ja 0x4090bb
mov esi, dword [ebx + 0x18c0]
inc esi
cmp esi, 0x17
jle 0x408c85
xor esi, esi
mov eax, dword [ebx + esi*4 + 0x18c4]
test eax, eax
je 0x408cd6
lea eax, [esi + 0x43]
lea ecx, [esp + 0x3c]
push eax
push str._c:_
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x20]
lea eax, [esp + 0x3c]
push 0
push 0
push edx
push eax
call edi
mov eax, dword [ebx + 0x290]
mov ecx, dword [esp + 0x24]
lea eax, [eax + eax*4]
shl eax, 0x15
cdq
cmp ecx, edx
ja 0x408d2a
jb 0x408cd6
mov edx, dword [esp + 0x20]
cmp edx, eax
ja 0x408d2a
inc ebp
cmp ebp, 0x17
jl 0x408c7d
mov eax, dword [ebx + 0x1924]
test eax, eax
je 0x408d6e
mov eax, dword [ebx + 0x290]
xor edi, edi
test eax, eax
jle 0x408d18
lea esi, [ebx + 0x1acc]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x408d0a
mov ecx, esi
call fcn.0040c5b0
mov eax, dword [ebx + 0x290]
inc edi
add esi, 0x7c
cmp edi, eax
jl 0x408cfc
push 0x413454
call fcn.00402f90
add esp, 4
jmp 0x4090bb
mov eax, dword [ebx + 0x290]
xor edi, edi
test eax, eax
mov dword [ebx + 0x18c0], esi
jle 0x4090bb
lea esi, [ebx + 0x1acc]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x408d5b
mov ecx, esi
call fcn.0040c5b0
mov ecx, esi
call fcn.0040c350
mov eax, dword [ebx + 0x290]
inc edi
add esi, 0x7c
cmp edi, eax
jl 0x408d46
jmp 0x4090bb
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [esp + 0x32]
mov edx, dword [esp + 0x2e]
mov eax, dword [esp + 0x2c]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esp + 0x28c]
push str._04d_02d_02d
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ebx, dword [ebx + 0x18c0]
add esp, 0x14
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0x18
inc ebx
cmp ebx, 0x17
jle 0x408dd1
xor ebx, ebx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ebx*4 + 0x18c4]
test eax, eax
je 0x408ed6
lea eax, [ebx + 0x43]
lea ecx, [esp + 0x3c]
push eax
push str._c:JdvrFile.
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x140]
lea eax, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x408ed6
lea ecx, [esp + 0x140]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x408ecf
lea edi, [esp + 0x16c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 8
jne 0x408eb8
lea esi, [esp + 0x16c]
lea eax, [esp + 0x280]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x408e78
test cl, cl
je 0x408e74
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x408e78
add eax, 2
add esi, 2
test cl, cl
jne 0x408e54
xor eax, eax
jmp 0x408e7d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jle 0x408eb8
lea edi, [esp + 0x16c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x280]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x28], ebx
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x1c], 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x140]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x408e30
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x408dc9
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x408fed
mov dword [esp + 0x10], 0
inc ebx
cmp ebx, 0x17
jle 0x408f01
xor ebx, ebx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ebx*4 + 0x18c4]
test eax, eax
je 0x408fdb
lea eax, [ebx + 0x43]
lea ecx, [esp + 0x3c]
push eax
push str._c:JdvrFile.
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x140]
lea eax, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x408fdb
lea ecx, [esp + 0x140]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x408fcc
lea edi, [esp + 0x16c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 8
jne 0x408fb9
lea esi, [esp + 0x16c]
lea eax, [esp + 0x280]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x408fa4
test cl, cl
je 0x408fa0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x408fa4
add eax, 2
add esi, 2
test cl, cl
jne 0x408f80
xor eax, eax
jmp 0x408fa9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408fb9
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], 1
lea eax, [esp + 0x140]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x408f5c
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x408fed
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x17
mov dword [esp + 0x10], eax
jl 0x408ef9
lea ecx, [esp + 0x14]
call fcn.0040d18a
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x280]
push ecx
lea eax, [esp + 0x40]
lea edx, [edi + 0x43]
mov dword [esp + 0x390], 0
push edx
push str._c:JdvrFile_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov esi, dword [esp + 0x28]
add esp, 0x10
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.004090e0
lea edx, [esp + 0x3c]
test eax, eax
push edx
je 0x409044
push 0x8032
jmp 0x409049
push 0x8033
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00402f90
mov eax, dword [esi + 0x18c0]
add esp, 0x10
cmp edi, eax
je 0x4090a7
mov eax, dword [esi + 0x290]
mov dword [esi + 0x18c0], edi
xor edi, edi
test eax, eax
jle 0x4090a7
add esi, 0x1acc
mov eax, dword [esi + 0x44]
test eax, eax
je 0x409097
mov ecx, esi
call fcn.0040c5b0
mov ecx, esi
call fcn.0040c350
mov edx, dword [esp + 0x18]
inc edi
add esi, 0x7c
cmp edi, dword [edx + 0x290]
jl 0x409082
lea ecx, [esp + 0x14]
mov dword [esp + 0x38c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x384]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x380
ret