Function at 0x4303e9
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push SysStringLen
push 0
push 0x9a414f
push 1
mov ebx, 4
mov eax, 0x4e33f0
call fcn.004d72c0
add esp, 0x10
mov dword [ebp - 0x24], eax
push SysStringLen
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x430463
mov eax, 0x53707a
push eax
push 1
mov ebx, 0x168
call fcn.004d79c0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x430489
push ebx
call fcn.004d5797
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x43049d
push ebx
call fcn.004d5797
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 1
push 2
mov ebx, 0xc8
call fcn.004d8e60
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push 0
push 0
push 3
push 0
push dword [ebp - 0x24]
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x430516
push 0x223
push 0x41523d3
push 6
call fcn.004d5785
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x43052d
mov eax, 0
jmp 0x4306c7
mov dword [ebp - 0xc], 0x400
push 0x80000301
push 0
push 0xc
push 1
mov ebx, 0x1bc
call fcn.004d8dd0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x430569
push ebx
call fcn.004d5797
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x1bc
call fcn.004d8dd0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4305a0
push ebx
call fcn.004d5797
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esp
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4305b6
add eax, 8
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4305c1
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4305e8
push 0x38a
push 0x41523d3
push 6
call fcn.004d5785
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4305fd
add eax, 8
push eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x430608
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x43062f
push 0x3bd
push 0x41523d3
push 6
call fcn.004d5785
add esp, 0xc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x30]
push 0xc
push dword [ebp - 0x28]
push 0x2d1400
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x43067a
push 0x3bd
push 0x41523d3
push 6
call fcn.004d5785
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x430693
lea eax, [ebp - 0x14]
push eax
call fcn.004306fd
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 8]
xor eax, eax
call dword [0x9b8f3b]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4306bf
push 0x46c
push 0x41523d3
push 6
call fcn.004d5785
add esp, 0xc
mov eax, dword [ebp - 0x20]
jmp 0x4306c7
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4306d8
push ebx
call fcn.004d5797
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4306e8
push ebx
call fcn.004d5797
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4306f8
push ebx
call fcn.004d5797
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret