Function at 0x427570
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x44c898
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x468110]
xor eax, esp
mov dword [esp + 0x48c], eax
push ebx
push ebp
push esi
mov eax, dword [0x468110]
xor eax, esp
push eax
lea eax, [esp + 0x4a0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4b4]
mov ebp, dword [esp + 0x4b0]
mov esi, edx
mov dword [esp + 0x38], eax
mov eax, esi
mov dword [esp + 0x40], ecx
lea edx, [eax + 1]
xor ebx, ebx
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4275d0
sub eax, edx
jne 0x4275e2
xor al, al
jmp 0x4277e4
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov eax, esi
mov dword [esp + 0x4a8], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4275f8
sub eax, edx
lea edx, [esp + 0x44]
push edx
push eax
push esi
call fcn.0043c5a6
mov eax, dword [esp + 0x54]
mov esi, 8
add esp, 0xc
cmp dword [esp + 0x5c], esi
jae 0x427623
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [edi], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x5c], esi
jae 0x427642
lea eax, [esp + 0x48]
push 0x105
lea ecx, [esp + 0x290]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x2c]
push ecx
push ebx
push 0x105
lea edx, [esp + 0x94]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4277cd
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0x7c]
mov byte [esp + 0x4a8], 1
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x427690
sub eax, edx
sar eax, 1
cmp eax, 0x105
jae 0x4276f0
lea eax, [esp + 0x7c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4276b0
sub eax, edx
lea ecx, [esp + 0x60]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x84]
push edx
call fcn.0043c531
mov edx, dword [esp + 0x70]
add esp, 0xc
cmp dword [esp + 0x78], 0x10
jae 0x4276e4
lea edx, [esp + 0x64]
mov ecx, ebp
mov al, byte [edx]
mov byte [ecx], al
inc edx
inc ecx
cmp al, bl
jne 0x4276e6
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x5c], esi
jae 0x42770e
lea eax, [esp + 0x48]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4277bc
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push ebx
push 0x6666666
push eax
push ecx
call fcn.00449cc0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, edx
and edx, 0x7fffffff
mov dword [esp + 0x18], edx
fild qword [esp + 0x14]
mov edx, dword [esp + 0x38]
and eax, 0x80000000
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ebx
fild qword [esp + 0x14]
push ebx
push 0x6666666
push eax
fchs
push ecx
faddp st(1)
fld qword [0x4598c8]
fmul st(1), st(0)
fxch st(1)
fstp qword [edx]
call fcn.00449cc0
mov dword [esp + 0x14], eax
mov eax, edx
and edx, 0x7fffffff
mov dword [esp + 0x18], edx
fild qword [esp + 0x14]
mov edx, dword [esp + 0x40]
and eax, 0x80000000
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
fild qword [esp + 0x14]
fchs
faddp st(1)
fmulp st(1)
fstp qword [edx]
lea ecx, [esp + 0x60]
mov byte [esp + 0x4a8], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x44]
mov dword [esp + 0x4a8], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0x4a0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48c]
xor ecx, esp
call fcn.00436772
add esp, 0x49c
ret 8