Function at 0x43288c
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x432895
mov eax, dword [ebp - 4]
add esp, 0xfffff868
xor edx, edx
mov dword [ebp - 0x2798], edx
mov dword [ebp - 0x279c], edx
mov dword [ebp - 0x2790], edx
mov dword [ebp - 0x2794], edx
mov dword [ebp - 0x2788], edx
mov dword [ebp - 0x278c], edx
mov dword [ebp - 0x2784], edx
mov dword [ebp - 0x2780], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x30]
mov edx, dword [0x430ef0]
call fcn.00405a48
mov ecx, 4
lea eax, [ebp - 0x60]
mov edx, dword [0x430ef0]
call fcn.00405a78
xor eax, eax
push ebp
push 0x432d3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov byte [ebp - 6], 0
mov byte [ebp - 7], 0
mov ecx, 4
lea eax, [ebp - 0x60]
mov edx, dword [0x430ef0]
call fcn.00405b64
call fcn.00430f5c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 4
call fcn.004036c0
xor eax, eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004314a8
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x2780]
mov ecx, dword [ebp - 0x24]
mov edx, 0x432d54
call fcn.00405350
mov eax, dword [ebp - 0x2780]
call fcn.00405504
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4329be
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x2784]
mov ecx, dword [ebp - 0x24]
mov edx, 0x432d70
call fcn.00405350
mov eax, dword [ebp - 0x2784]
call fcn.00405504
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x432ce7
xor eax, eax
push ebp
push 0x432ce0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov edx, 0xc
call fcn.004036c0
xor eax, eax
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x277c]
xor ecx, ecx
mov edx, 0x2710
call fcn.004036c0
xor eax, eax
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0x2710
lea eax, [ebp - 0x277c]
push eax
push 0xc
lea eax, [ebp - 0x6c]
push eax
push 0x2d1400
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
jne 0x432a3a
call fcn.00404a60
jmp 0x432ce7
mov edx, dword [0x430ef0]
lea eax, [ebp - 0x30]
call fcn.00405b18
call fcn.00430f24
lea eax, [ebp - 0x277c]
cmp dword [eax + 0x10], 0
jbe 0x432a9d
push 0
lea eax, [ebp - 0x2788]
push eax
lea eax, [ebp - 0x278c]
lea edx, [ebp - 0x277c]
mov edx, dword [edx + 0x10]
lea edx, [ebp + edx - 0x277c]
call fcn.0040523c
mov eax, dword [ebp - 0x278c]
xor ecx, ecx
mov edx, 3
call fcn.00431248
mov edx, dword [ebp - 0x2788]
lea eax, [ebp - 0x30]
call fcn.004050dc
lea eax, [ebp - 0x277c]
cmp dword [eax + 0x14], 0
jbe 0x432aed
push 0
lea eax, [ebp - 0x2790]
push eax
lea eax, [ebp - 0x2794]
lea edx, [ebp - 0x277c]
mov edx, dword [edx + 0x14]
lea edx, [ebp + edx - 0x277c]
call fcn.0040523c
mov eax, dword [ebp - 0x2794]
xor ecx, ecx
mov edx, 3
call fcn.00431248
mov edx, dword [ebp - 0x2790]
lea eax, [ebp - 0x2c]
call fcn.004050dc
lea eax, [ebp - 0x277c]
cmp dword [eax + 0x18], 0
jbe 0x432b33
lea eax, [ebp - 0x279c]
lea edx, [ebp - 0x277c]
mov edx, dword [edx + 0x18]
lea edx, [ebp + edx - 0x277c]
call fcn.0040523c
mov eax, dword [ebp - 0x279c]
lea edx, [ebp - 0x2798]
call fcn.004318d0
mov edx, dword [ebp - 0x2798]
lea eax, [ebp - 0x28]
call fcn.004050dc
mov dword [ebp - 0x14], 0xffffffff
cmp dword [ebp - 0x30], 0
je 0x432bab
cmp byte [ebp - 6], 0
jne 0x432b5c
mov byte [ebp - 6], 1
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x60]
xor eax, eax
call fcn.00431e7c
pop ecx
mov byte [ebp - 7], al
cmp byte [ebp - 7], 0
je 0x432bab
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
cmp dword [ebp + eax*4 - 0x60], 0
je 0x432ba2
mov eax, dword [ebp - 0x10]
cmp byte [ebp + eax - 0x20], 0
jne 0x432ba2
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov eax, dword [ebp + eax*4 - 0x60]
mov edx, dword [ebp - 0x30]
call fcn.00405450
jne 0x432ba2
mov eax, dword [ebp - 0x10]
mov byte [ebp + eax - 0x20], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x432bab
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x432b67
cmp dword [ebp - 0x30], 0
jne 0x432bc1
cmp dword [ebp - 0x2c], 0
jne 0x432bc1
cmp dword [ebp - 0x28], 0
je 0x432cc9
cmp dword [ebp - 0x14], 0
jge 0x432c14
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
cmp dword [edx + eax*4], 0
jne 0x432c06
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
cmp dword [edx + eax*4 + 4], 0
jne 0x432c06
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
cmp dword [edx + eax*4 + 8], 0
jne 0x432c06
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jmp 0x432ca5
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x432bcc
jmp 0x432ca5
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
cmp dword [edx + eax*4], 0
jne 0x432c43
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
cmp dword [edx + eax*4 + 4], 0
jne 0x432c43
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
cmp dword [edx + eax*4 + 8], 0
je 0x432ca5
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
cmp dword [edx + eax*4], 0
jne 0x432c9c
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
cmp dword [edx + eax*4 + 4], 0
jne 0x432c9c
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
cmp dword [edx + eax*4 + 8], 0
jne 0x432c9c
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x14]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 4]
lea edx, [ecx + edx*4]
mov ecx, dword [0x430ef0]
call fcn.00405d7c
jmp 0x432ca5
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x432c48
cmp dword [ebp - 0x14], 0
jl 0x432cc9
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4]
lea edx, [ebp - 0x30]
mov ecx, dword [0x430ef0]
call fcn.00405d7c
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432ce7
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jne 0x432947
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432d42
lea eax, [ebp - 0x279c]
mov edx, 8
call fcn.00405068
lea eax, [ebp - 0x60]
mov ecx, 4
mov edx, dword [0x430ef0]
call fcn.00405b64
lea eax, [ebp - 0x30]
mov edx, dword [0x430ef0]
call fcn.00405b18
lea eax, [ebp - 0x24]
call fcn.00405044
ret