Function at 0x406b90
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x409ef6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0xc
call sub.MFC42.DLL_operatornew
xor esi, esi
push 0xa
mov ebx, eax
mov dword [esp + 0x28], esi
call sub.MFC42.DLL_operatornew
add esp, 8
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x1c]
push 0xa
push eax
lea eax, [esp + 0x28]
push eax
push ecx
push edx
push 0xc
push ebx
push 0x40d7cc
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov edi, dword [ebp]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x130], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x28]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
push ecx
push 0x40d7c8
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x148]
add esp, 0xc
cmp eax, 1
jne 0x406c87
push str.E0A466DE165D4033BDEC2267EC81D1C9
lea ecx, [esp + 0x14]
call fcn.0040990c
mov eax, dword [esp + 0x140]
lea ecx, [esp + 0x10]
push eax
call fcn.0040990c
push str.6FAA7DF847084537B3FA62AD4B0BD017
lea ecx, [esp + 0x14]
call fcn.0040990c
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.0040990c
push str.8B8FF90F5EBF4394B051FC8EE34BD151
jmp 0x406ccc
cmp eax, 2
jne 0x406cd5
push str.CE09F0C251C74ae790E83BAD8D035F85
lea ecx, [esp + 0x14]
call fcn.0040990c
mov edx, dword [esp + 0x140]
lea ecx, [esp + 0x10]
push edx
call fcn.0040990c
push str.F249ABD05040462596646D5759A6DCB7
lea ecx, [esp + 0x14]
call fcn.0040990c
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
call fcn.0040990c
push str.93ACF8CB5D544c96900B96917AE73AC1
lea ecx, [esp + 0x14]
call fcn.0040990c
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.00406b10
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 8]
cmp ecx, 0x80
jle 0x406d37
lea eax, [esp + 0x14]
push 0x80
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 0
call sub.MFC42.DLL_CString::CString
jmp 0x406d57
jge 0x406d57
mov eax, 0x80
sub eax, ecx
test eax, eax
jle 0x406d57
mov esi, eax
push 0x40d6ec
lea ecx, [esp + 0x14]
call fcn.0040990c
dec esi
jne 0x406d46
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::GetBuffer
mov esi, eax
mov eax, dword [esp + 0x138]
mov ecx, 0x20
mov edi, eax
rep movsd dword es:[edi], dword [esi]
push 0x80
push 0
lea ecx, [esp + 0x18]
mov byte [eax + 0x80], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
mov ecx, ebp
call fcn.00406b10
push ebx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x130], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret 0xc