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

Disassembly:
push 0xffffffffffffffff
push 0x44ecd7
mov eax, dword fs:[0]
push eax
mov eax, 0x1200
call fcn.00435600
mov eax, dword [0x466d98]
xor eax, esp
mov dword [esp + 0x11fc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466d98]
xor eax, esp
push eax
lea eax, [esp + 0x1214]
mov dword fs:[0], eax
lea edi, [ecx + 0xc]
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.00423f00
xor ebx, ebx
push 0xfff
lea eax, [esp + 0x215]
push ebx
push eax
mov byte [esp + 0x21c], bl
call fcn.00435580
add esp, 0xc
lea ecx, [esp + 0x210]
push ecx
push 0xfff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x430a5c
lea ebp, [esp + 0x210]
mov edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push ebp
call esi
cmp eax, 3
je 0x430807
cmp dword [esp + 0x1224], ebx
je 0x430a44
push ebp
call esi
cmp eax, 2
jne 0x430a44
mov dword [esp + 0xf4], 0xf
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
push 0x103
lea edx, [esp + 0x111]
push ebx
push edx
mov dword [esp + 0x1228], ebx
mov byte [esp + 0x118], bl
call fcn.00435580
movsx eax, byte [ebp]
push eax
lea ecx, [esp + 0x11c]
push 0x457bd8
push ecx
call fcn.004145d0
lea eax, [esp + 0x124]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x430865
sub eax, edx
push eax
lea edx, [esp + 0x110]
push edx
lea ecx, [esp + 0xe4]
call fcn.00405b30
fldz
lea eax, [esp + 0x30]
fstp qword [esp + 0x104]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x118]
push eax
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x430990
push 1
push 2
lea ecx, [esp + 0x64]
call fcn.00404370
push 0x4585d0
mov byte [esp + 0x1220], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x64]
push 0x454a40
push ecx
call fcn.004073a0
add esp, 8
mov ecx, eax
call fcn.00403e80
push eax
call fcn.004073a0
add esp, 8
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x60]
call fcn.004044d0
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x121c], 2
jb 0x430929
mov eax, dword [eax + 4]
jmp 0x43092c
add eax, 4
push eax
push str.CHardDiskInfo::GetDiskPartitionInfo
push 0x5a7
push str..commonGetHardInfo.cpp
push 0xf0000000
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x50], esi
jb 0x430960
mov eax, dword [esp + 0x3c]
push eax
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0xa8]
mov byte [esp + 0x121c], bl
call fcn.00404450
lea ecx, [esp + 0xa8]
push ecx
mov dword [esp + 0xac], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
jmp 0x4309ef
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ecx, eax
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
fild qword [esp + 0x18]
mov dword [esp + 0x20], ebx
fild qword [esp + 0x20]
shrd eax, ecx, 0x14
shr ecx, 0x14
fchs
mov dword [esp + 0xfc], eax
faddp st(1)
mov dword [esp + 0x100], ecx
fld qword [0x452718]
fmul st(1), st(0)
fmulp st(1)
fstp qword [esp + 0x104]
mov esi, dword [edi + 4]
mov eax, dword [esi + 4]
lea edx, [esp + 0xdc]
push edx
push eax
push esi
mov ecx, edi
call fcn.0042ff10
mov ecx, dword [esp + 0x14]
push 1
mov edi, eax
call fcn.0042f560
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
cmp dword [esp + 0xf4], 0x10
mov dword [esp + 0x121c], 0xffffffff
jb 0x430a40
mov ecx, dword [esp + 0xe0]
push ecx
call fcn.00433d63
add esp, 4
mov edi, dword [esp + 0x14]
mov dl, byte [ebp]
add ebp, 1
test dl, dl
jne 0x430a44
cmp byte [ebp], bl
jne 0x4307e0
jmp 0x430b24
push 1
push 2
lea ecx, [esp + 0x64]
call fcn.00404370
lea eax, [esp + 0x5c]
push 0x454a0c
push eax
mov dword [esp + 0x1224], 3
call fcn.004073a0
add esp, 8
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x60]
call fcn.004044d0
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x121c], 4
jb 0x430aab
mov eax, dword [eax + 4]
jmp 0x430aae
add eax, 4
push eax
push str.CHardDiskInfo::GetDiskPartitionInfo
push 0x5b9
push str..commonGetHardInfo.cpp
push 0xf0000000
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x50], esi
jb 0x430ae2
mov edx, dword [esp + 0x3c]
push edx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0xa8]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x121c], 0xffffffff
call fcn.00404450
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0xac], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
mov ecx, dword [esp + 0x1214]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x11fc]
xor ecx, esp
call fcn.00433d68
add esp, 0x120c
ret 4