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

Disassembly:
push 0xffffffffffffffff
push 0x40e0db
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 0x4090de
jb 0x408c97
mov edx, dword [esp + 0x20]
cmp edx, eax
ja 0x4090de
mov esi, dword [ebx + 0x18c0]
inc esi
cmp esi, 0x17
jle 0x408ca5
xor esi, esi
mov eax, dword [ebx + esi*4 + 0x18c4]
test eax, eax
je 0x408cf6
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 0x408d4a
jb 0x408cf6
mov edx, dword [esp + 0x20]
cmp edx, eax
ja 0x408d4a
inc ebp
cmp ebp, 0x17
jl 0x408c9d
mov eax, dword [ebx + 0x1924]
test eax, eax
je 0x408d8e
mov eax, dword [ebx + 0x290]
xor edi, edi
test eax, eax
jle 0x408d38
lea esi, [ebx + 0x1acc]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x408d2a
mov ecx, esi
call fcn.0040c6c0
mov eax, dword [ebx + 0x290]
inc edi
add esi, 0x7c
cmp edi, eax
jl 0x408d1c
push 0x413454
call fcn.00402fb0
add esp, 4
jmp 0x4090de
mov eax, dword [ebx + 0x290]
xor edi, edi
test eax, eax
mov dword [ebx + 0x18c0], esi
jle 0x4090de
lea esi, [ebx + 0x1acc]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x408d7b
mov ecx, esi
call fcn.0040c6c0
mov ecx, esi
call fcn.0040c460
mov eax, dword [ebx + 0x290]
inc edi
add esi, 0x7c
cmp edi, eax
jl 0x408d66
jmp 0x4090de
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 0x408df1
xor ebx, ebx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ebx*4 + 0x18c4]
test eax, eax
je 0x408ef6
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 0x408ef6
lea ecx, [esp + 0x140]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x408eef
lea edi, [esp + 0x16c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 8
jne 0x408ed8
lea esi, [esp + 0x16c]
lea eax, [esp + 0x280]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x408e98
test cl, cl
je 0x408e94
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x408e98
add eax, 2
add esi, 2
test cl, cl
jne 0x408e74
xor eax, eax
jmp 0x408e9d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jle 0x408ed8
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 0x408e50
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x408de9
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x40900d
mov dword [esp + 0x10], 0
inc ebx
cmp ebx, 0x17
jle 0x408f21
xor ebx, ebx
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ebx*4 + 0x18c4]
test eax, eax
je 0x408ffb
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 0x408ffb
lea ecx, [esp + 0x140]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x408fec
lea edi, [esp + 0x16c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 8
jne 0x408fd9
lea esi, [esp + 0x16c]
lea eax, [esp + 0x280]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x408fc4
test cl, cl
je 0x408fc0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x408fc4
add eax, 2
add esi, 2
test cl, cl
jne 0x408fa0
xor eax, eax
jmp 0x408fc9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408fd9
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 0x408f7c
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x40900d
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x17
mov dword [esp + 0x10], eax
jl 0x408f19
lea ecx, [esp + 0x14]
call fcn.0040d2da
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.00409100
lea edx, [esp + 0x3c]
test eax, eax
push edx
je 0x409064
push 0x8032
jmp 0x409069
push 0x8033
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
call fcn.00402fb0
mov eax, dword [esi + 0x18c0]
add esp, 4
cmp edi, eax
je 0x4090ca
mov eax, dword [esi + 0x290]
mov dword [esi + 0x18c0], edi
xor edi, edi
test eax, eax
jle 0x4090ca
add esi, 0x1acc
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4090ba
mov ecx, esi
call fcn.0040c6c0
mov ecx, esi
call fcn.0040c460
mov edx, dword [esp + 0x18]
inc edi
add esi, 0x7c
cmp edi, dword [edx + 0x290]
jl 0x4090a5
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