Function at 0x430b50
Capabilities:
Get storage device properties
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44ed52
mov eax, dword fs:[0]
push eax
mov eax, 0x3d10
call fcn.00435600
mov eax, dword [0x466d98]
xor eax, esp
mov dword [esp + 0x3d0c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466d98]
xor eax, esp
push eax
lea eax, [esp + 0x3d24]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
nop
lea ecx, [esp + 0x1a0]
call fcn.0042f190
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x34c]
push str..PhysicalDrive_d
push ecx
mov dword [esp + 0x3d38], ebx
call fcn.0043455d
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
lea edx, [esp + 0x360]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
je 0x4315ce
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x348]
push eax
lea ecx, [esp + 0x1a4]
push pe_nt_image_headers32
push ecx
mov dword [esp + 0x38], ebx
call fcn.0043859f
mov edx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x1a0]
push eax
mov ecx, esi
mov dword [esp + 0x348], edx
call fcn.0042ef10
lea ecx, [esp + 0x1a0]
push ecx
mov ecx, esi
call fcn.0042eda0
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ebx
lea edx, [esp + 0x30]
push edx
push 0x18
lea eax, [esp + 0x44]
push eax
push ebx
push ebx
push 0x74080
push edi
mov dword [esp + 0x44], 1
call ebp
test eax, eax
jne 0x430c9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x34c]
push ecx
push str.DFP_GET_VERSION_failed_for__s_terrno_d_n
call fcn.004381c0
add esp, 0xc
mov al, byte [esp + 0x3b]
cmp al, bl
mov dword [esp + 0x30], ebx
jbe 0x430e5a
mov cl, byte [esp + 0x18]
shr al, cl
push 0x210
lea edx, [esp + 0xc34]
push ebx
and al, 0x10
neg al
sbb al, al
and al, 0xb5
add al, 0xec
mov byte [esp + 0x27], al
xor eax, eax
push edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov byte [esp + 0xb0], al
call fcn.00435580
mov al, byte [esp + 0x24]
mov dl, byte [esp + 0x2b]
add esp, 0xc
mov cl, al
push ebx
and cl, 1
or cl, 0xfa
mov byte [esp + 0x94], al
shl cl, 4
lea eax, [esp + 0x30]
push eax
push 0x210
mov byte [esp + 0x99], cl
lea ecx, [esp + 0xc3c]
push ecx
push 0x20
mov byte [esp + 0xa2], dl
lea edx, [esp + 0x98]
push edx
push 0x7c088
push edi
mov byte [esp + 0xa8], bl
mov byte [esp + 0xa9], 1
mov byte [esp + 0xaa], 1
mov byte [esp + 0xab], bl
mov byte [esp + 0xac], bl
mov dword [esp + 0xa4], 0x200
call ebp
test eax, eax
je 0x430e43
xor eax, eax
movzx ecx, word [esp + eax*2 + 0xc40]
mov dword [esp + eax*4 + 0x830], ecx
add eax, 1
cmp eax, 0x100
jl 0x430da1
push 0x13
push 0xa
lea edx, [esp + 0x838]
push edx
lea eax, [esp + 0x74]
push eax
mov ecx, esi
call fcn.0042f7e0
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
mov byte [esp + 0x3d30], 1
call fcn.00430050
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x70]
push edx
lea ecx, [esi + 0x40]
call fcn.00404b70
lea eax, [esp + 0x1a0]
push eax
lea ecx, [esp + 0xc44]
push ecx
mov ecx, esi
call fcn.0042f8b0
lea edx, [esp + 0x1a0]
push edx
mov ecx, esi
call fcn.0042fc30
cmp dword [esp + 0x80], 0x10
mov byte [esp + 0x3d2c], bl
jb 0x4312e8
mov eax, dword [esp + 0x6c]
push eax
call fcn.00433d63
add esp, 4
jmp 0x4312e8
lea ecx, [esp + 0x348]
push ecx
push str.DoIDENTIFY_failed_for__s_n
call fcn.004381c0
add esp, 8
jmp 0x430e76
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x34c]
push edx
push str.VersionParams_failed_for__s_terrno_d_n
call fcn.004381c0
add esp, 0xc
xor eax, eax
push ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
lea eax, [esp + 0x24]
push eax
push 0x18
lea ecx, [esp + 0x5c]
push ecx
push ebx
push ebx
push 0x74080
push edi
mov dword [esp + 0x40], ebx
call ebp
test eax, eax
jne 0x430ed0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x34c]
push edx
push str.SMART_GET_VERSION_failed_for__s_terrno_d_n
call fcn.004381c0
add esp, 0xc
jmp 0x4310fa
push 0x221
call fcn.0043567a
mov ecx, dword [esp + 0x18]
add esp, 4
push ebx
mov edi, eax
lea eax, [esp + 0x38]
push eax
push 0x221
push edi
push 0x21
push edi
push 0x7c088
mov byte [edi + 0xa], 0xec
push ecx
mov dword [esp + 0x54], ebx
call ebp
test eax, eax
jne 0x430f20
lea edx, [esp + 0x348]
push edx
push str.SMART_RCV_DRIVE_DATA_failed_for__s_n
call fcn.004381c0
add esp, 8
jmp 0x4310e3
push 0x3fc
lea eax, [esp + 0x838]
push ebx
push eax
mov dword [esp + 0x83c], ebx
call fcn.00435580
add esp, 0xc
xor eax, eax
nop
movzx ecx, word [edi + eax*2 + 0x10]
mov dword [esp + eax*4 + 0x830], ecx
add eax, 1
cmp eax, 0x100
jl 0x430f40
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x834]
push eax
lea ecx, [esp + 0xbc]
push ecx
mov byte [esp + 0x3d38], 2
call fcn.0042fac0
add esp, 0xc
lea edx, [esp + 0xb4]
push edx
mov ecx, esi
mov byte [esp + 0x3d30], 3
call fcn.00430050
push 4
push ebx
push str.__t_r_n
lea ecx, [esp + 0xc0]
call fcn.00407d20
push eax
push ebx
lea ecx, [esp + 0xbc]
call fcn.00405c00
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push str.__t_r_n
lea ecx, [esp + 0xc4]
call fcn.00419440
add eax, 1
push eax
lea ecx, [esp + 0xbc]
call fcn.00405c00
push 4
push ebx
push str.__t_r_n
lea ecx, [esp + 0x74]
call fcn.00407d20
push eax
push ebx
lea ecx, [esp + 0x70]
call fcn.00405c00
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push str.__t_r_n
lea ecx, [esp + 0x78]
call fcn.00419440
add eax, 1
push eax
lea ecx, [esp + 0x70]
call fcn.00405c00
cmp dword [esp + 0xcc], 0x10
mov eax, dword [esp + 0xb8]
jae 0x431043
lea eax, [esp + 0xb8]
push 0x14
push eax
lea eax, [esp + 0x2ba]
push eax
call fcn.00436900
mov eax, dword [esp + 0x78]
add esp, 0xc
cmp dword [esp + 0x80], 0x10
jae 0x431068
lea eax, [esp + 0x6c]
push 0x28
push eax
lea ecx, [esp + 0x2d6]
push ecx
call fcn.00436900
add esp, 0xc
lea edx, [esp + 0x1a0]
push edx
mov ecx, esi
call fcn.0042fc30
cmp dword [esp + 0xcc], 0x10
mov dword [esp + 0x30], 1
jb 0x4310ac
mov eax, dword [esp + 0xb8]
push eax
call fcn.00433d63
add esp, 4
cmp dword [esp + 0x80], 0x10
mov dword [esp + 0xcc], 0xf
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
mov byte [esp + 0x3d2c], bl
jb 0x4310e3
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.00433d63
add esp, 4
push edi
call fcn.00433ee3
mov edi, dword [esp + 0x18]
add esp, 4
cmp dword [esp + 0x30], ebx
jne 0x4312e8
push 0x2710
lea edx, [esp + 0x1614]
push ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
call fcn.00435580
add esp, 0xc
push ebx
lea eax, [esp + 0x24]
push eax
push 0x2710
lea ecx, [esp + 0x161c]
push ecx
push 0xc
lea edx, [esp + 0xbc]
push edx
push 0x2d1400
push edi
call ebp
test eax, eax
je 0x4315b4
push 0x3e7
lea eax, [esp + 0x44d]
push ebx
push eax
mov byte [esp + 0x454], bl
call fcn.00435580
push 0x3e7
lea ecx, [esp + 0xe51]
push ebx
push ecx
mov byte [esp + 0xe58], bl
call fcn.00435580
push 0x3e7
lea edx, [esp + 0x1245]
push ebx
push edx
mov byte [esp + 0x124c], bl
call fcn.00435580
push 0x3e7
lea eax, [esp + 0x859]
push ebx
push eax
mov byte [esp + 0x860], bl
call fcn.00435580
mov edx, dword [esp + 0x164c]
lea ecx, [esp + 0x1258]
push ecx
push ebx
push edx
lea eax, [esp + 0x164c]
push eax
call fcn.0042eba0
mov edx, dword [esp + 0x1660]
add esp, 0x40
lea ecx, [esp + 0xe40]
push ecx
push ebx
push edx
lea eax, [esp + 0x161c]
push eax
call fcn.0042eba0
mov edx, dword [esp + 0x1634]
lea ecx, [esp + 0x840]
push ecx
push ebx
push edx
lea eax, [esp + 0x162c]
push eax
call fcn.0042eba0
mov edx, dword [esp + 0x1648]
lea ecx, [esp + 0x468]
push ecx
push 1
push edx
lea eax, [esp + 0x163c]
push eax
call fcn.0042eba0
add esp, 0x30
lea eax, [esp + 0x449]
mov edi, 0x1f4
mov cl, byte [eax - 1]
mov dl, byte [eax]
mov byte [eax - 1], dl
mov byte [eax], cl
add eax, 2
sub edi, 1
jne 0x431257
lea eax, [esp + 0x448]
push eax
lea ecx, [esp + 0x2b6]
push 0x4579c0
push ecx
call fcn.0043455d
lea edx, [esp + 0xe4c]
push edx
lea eax, [esp + 0x2de]
push 0x4579c0
push eax
call fcn.0043455d
movzx ecx, byte [esp + 0x460]
push ecx
call fcn.00438bb0
add esp, 0x1c
test eax, eax
jne 0x431537
movzx edx, byte [esp + 0x45b]
push edx
call fcn.00438bb0
add esp, 4
test eax, eax
jne 0x431537
lea eax, [esp + 0x348]
push eax
push str.isalnum_failed_for__s_n
call fcn.004381c0
add esp, 8
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1a0]
push edx
push eax
push edi
mov ecx, esi
call fcn.0042ead0
test eax, eax
jne 0x431316
lea ecx, [esp + 0x348]
push ecx
push 0x454ab4
call fcn.004381c0
add esp, 8
mov edi, dword [esi + 4]
mov eax, dword [edi + 4]
lea edx, [esp + 0x1a0]
push edx
push eax
push edi
mov ecx, esi
call fcn.0042fe70
push 1
mov ecx, esi
mov ebp, eax
call fcn.0042f4c0
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
lea ecx, [esp + 0xd0]
mov dword [eax], ebp
call fcn.0042f0d0
lea eax, [esp + 0x2ce]
mov byte [esp + 0x3d2c], 5
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x431360
sub eax, edi
push eax
lea ecx, [esp + 0x2d2]
push ecx
lea ecx, [esp + 0xd8]
call fcn.00405b30
push 4
push ebx
push str.__t_r_n
lea ecx, [esp + 0xdc]
call fcn.00407d20
push eax
push ebx
lea ecx, [esp + 0xd8]
call fcn.00405c00
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push str.__t_r_n
lea ecx, [esp + 0xe0]
call fcn.00419440
add eax, 1
push eax
lea ecx, [esp + 0xd8]
call fcn.00405c00
lea eax, [esp + 0x2b2]
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4313d3
sub eax, edi
push eax
lea edx, [esp + 0x2b6]
push edx
lea ecx, [esp + 0xf4]
call fcn.00405b30
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x320]
mov edx, dword [esp + 0x324]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x328]
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0x32c]
mov dword [esp + 0x114], edx
mov edx, dword [esp + 0x330]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x334]
mov dword [esp + 0x11c], ecx
mov ecx, dword [esp + 0x338]
mov dword [esp + 0x120], edx
mov edx, dword [esp + 0x33c]
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xd0]
push eax
mov dword [esp + 0x130], edx
mov edx, dword [esp + 0x18]
push ecx
push edx
mov ecx, esi
call fcn.00430150
test eax, eax
jne 0x4314a0
lea eax, [esp + 0x348]
push eax
push 0x454a8c
call fcn.004381c0
add esp, 8
mov ebp, dword [esi + 0x1c]
mov edx, dword [ebp + 4]
lea edi, [esi + 0x18]
lea ecx, [esp + 0xd0]
push ecx
push edx
push ebp
mov ecx, edi
call fcn.0042ffb0
push 1
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.0042f600
mov eax, dword [esp + 0x20]
mov dword [ebp + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0x10
cmp dword [esp + 0x104], edi
jb 0x4314fc
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.00433d63
add esp, 4
cmp dword [esp + 0xe8], edi
mov dword [esp + 0x104], 0xf
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
jb 0x4315d3
mov edx, dword [esp + 0xd4]
push edx
call fcn.00433d63
add esp, 4
jmp 0x4315d3
lea eax, [esp + 0x448]
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x431554
sub eax, edx
push eax
lea ecx, [esp + 0x44c]
push ecx
lea ecx, [esp + 0x70]
call fcn.00405b30
lea edx, [esp + 0x68]
push edx
mov ecx, esi
mov byte [esp + 0x3d30], 4
call fcn.00430050
cmp dword [esp + 0x80], 0x10
mov dword [esp + 0x24], 1
mov byte [esp + 0x3d2c], bl
jb 0x4312e4
mov eax, dword [esp + 0x6c]
push eax
call fcn.00433d63
add esp, 4
jmp 0x4312e4
lea ecx, [esp + 0x348]
push ecx
push str.IOCTL_STORAGE_QUERY_PROPERTY_failed_for__s_n
call fcn.004381c0
add esp, 8
jmp 0x4312e8
mov edi, 0x10
add dword [esp + 0x28], 1
cmp dword [esp + 0x310], edi
mov dword [esp + 0x3d2c], 0xffffffff
jb 0x4315fc
mov eax, dword [esp + 0x2fc]
push eax
call fcn.00433d63
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, 4
mov dword [esp + 0x18], eax
jl 0x430ba0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3d24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3d0c]
xor ecx, esp
call fcn.00433d68
add esp, 0x3d1c
ret