Function at 0x430ba0
Capabilities:
Get disk size
Get volume information via ioctl

Disassembly:
push 0xffffffffffffffff
push 0x55338c
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x5b3890]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x304]
mov edi, dword [esp + 0x2f8]
mov ebx, dword [esp + 0x2fc]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x17], 0
test esi, esi
jne 0x430c04
lea esi, [esp + 0xdc]
push 0
push edi
push 0x104
push esi
call fcn.004b7850
add esp, 0x10
test al, al
je 0x430c46
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430c20
sub eax, edx
sar eax, 1
je 0x430d8d
cmp word [esi + eax*2 - 2], 0x5c
jne 0x430c81
xor ecx, ecx
mov word [esi + eax*2 - 2], cx
jmp 0x430c81
lea edx, [esp + 0x18]
push edx
push edi
mov byte [esp + 0x1f], 1
call fcn.0042ffc0
add esp, 8
test al, al
je 0x430d8d
push 1
push 0x104
push str..A:
push esi
call fcn.004ae920
mov eax, dword [esp + 0x28]
add esp, 0x10
add eax, 0x41
mov word [esi + 8], ax
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
push esi
call fcn.004b5ff0
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x1c
mov edi, eax
call ebp
cmp edi, 0xffffffff
jne 0x430db7
push 0
push 0
push 3
push 0
push 3
push 0
push esi
call fcn.004b5ff0
add esp, 0x1c
mov edi, eax
call ebp
mov ebp, eax
cmp edi, 0xffffffff
jne 0x430db7
push edi
push 0
lea ecx, [esp + 0x38]
call fcn.0049eff0
mov dword [esp + 0x30], vtable.cWCStr.0
cmp byte [esp + 0x17], 0
mov dword [esp + 0x2f0], 0
mov eax, str.___GetVolumeName_return_error
jne 0x430d00
mov eax, 0x56ba1c
mov ecx, dword [esp + 0x1c]
push ebp
push str.Second_try
push eax
push ecx
push esi
lea edx, [esp + 0x44]
push str.Error_in_opening_volume__s_nDrive_name__s_s_s_nError_number__d
push edx
call fcn.00401080
add esp, 0x1c
cmp dword [esp + 0x300], 0
mov esi, vtable.cWCS.0
jne 0x430d75
mov eax, dword [str.Get_disk_information]
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x30]
call fcn.00402f20
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x34]
push 0x10
push ecx
push edx
push 0
mov byte [esp + 0x300], 1
call fcn.004b3720
add esp, 0x10
lea ecx, [esp + 0x20]
mov byte [esp + 0x2f0], 0
mov dword [esp + 0x20], esi
call fcn.0049ee80
mov dword [esp + 0x2f0], 0xffffffff
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x30]
call fcn.0049ee80
xor eax, eax
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.0051916c
add esp, 0x2e0
ret
mov eax, dword [0x5b698c]
test eax, eax
je 0x430d8d
push 0x60
push ebx
push 0
push 0
push 0x90064
lea ecx, [esp + 0x68]
push ecx
push 0
push 0
push 0
push edi
call eax
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
push 0x7e
push edx
lea eax, [esp + 0x66]
push eax
mov word [esp + 0x68], dx
call fcn.00519500
xor eax, eax
add esp, 0xc
test ebp, ebp
sete al
test eax, eax
jne 0x430f4d
push 0x60
push eax
push ebx
call fcn.00519500
mov ebp, dword [esp + 0x28]
push 0
push 0x40
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x5c]
push eax
push ebx
push 0x104
push esi
push ebp
call fcn.004b2f80
add esp, 0x30
mov edx, str.NTFS
lea ecx, [esp + 0x5c]
mov si, word [ecx]
cmp si, word [edx]
jne 0x430e68
test si, si
je 0x430e64
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x430e68
add ecx, 4
add edx, 4
test si, si
jne 0x430e42
xor ecx, ecx
jmp 0x430e6d
sbb ecx, ecx
sbb ecx, 0xffffffff
mov edi, dword [esp + 0x300]
test ecx, ecx
je 0x430e81
test edi, edi
je 0x430eaf
jmp 0x430d8d
test eax, eax
je 0x430eaf
lea ecx, [ebx + 0x10]
push ecx
lea edx, [ebx + 0x18]
push edx
lea esi, [ebx + 0x28]
push esi
lea eax, [esp + 0x24]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov ecx, dword [esi]
imul ecx, dword [esp + 0x18]
mov dword [ebx + 0x2c], ecx
test eax, eax
jne 0x430f4d
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x28]
call fcn.0049eff0
mov dword [esp + 0x20], vtable.cWCStr.0
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x24]
push str.Error_in_obtaining_NTFS_information_n_s
push eax
mov dword [esp + 0x2fc], 2
call fcn.00401080
add esp, 0xc
mov esi, vtable.cWCS.0
test edi, edi
jne 0x430f35
mov ecx, dword [str.Get_disk_information]
push 0xffffffffffffffff
push edi
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x54]
call fcn.00402f20
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x24]
push 0x10
push edx
push eax
push edi
mov byte [esp + 0x300], 3
call fcn.004b3720
add esp, 0x10
lea ecx, [esp + 0x44]
mov byte [esp + 0x2f0], 2
mov dword [esp + 0x44], esi
call fcn.0049ee80
mov dword [esp + 0x2f0], 0xffffffff
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
jmp 0x430d88
mov eax, 1
jmp 0x430d8f