Function at 0x45cd40
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ee05
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5bd200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x230]
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x45d26a
test eax, eax
je 0x45d26a
test edi, edi
je 0x45cd90
mov eax, dword [esi + 0x10]
mov dword [edi], eax
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
jne 0x45d26d
call fcn.0045b8b0
mov ecx, eax
test ecx, ecx
je 0x45cde1
movzx eax, word [ecx + 0x1b2]
mov dword [esi + 0x10], eax
cmp eax, 0x3e8
jbe 0x45cdcc
test edi, edi
je 0x45cdbe
mov dword [edi], eax
mov dword [esi + 0xc], 0
xor eax, eax
jmp 0x45d26d
cmp eax, 1
je 0x45cdda
test byte [ecx + 0x152], 1
je 0x45cde1
mov dword [esi + 0xc], 2
xorps xmm0, xmm0
mov dword [esi + 0x10], 0
push 0xc
movlpd qword [ebp - 0x1c], xmm0
call fcn.0053905f
mov edi, eax
mov dword [ebp - 0x18], 0xc
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x230]
mov ebx, dword [0x5563fc]
cmp ecx, 0xffffffff
je 0x45ce73
test ecx, ecx
je 0x45ce73
push 0
lea eax, [esi + 4]
mov dword [edi], 7
push eax
push 0xc
push edi
push 0xc
push edi
mov dword [edi + 4], 0
push 0x2d1400
push dword [esi + 0x230]
mov dword [eax], 0
call ebx
test eax, eax
je 0x45ce73
cmp byte [edi + 8], 0
je 0x45cf24
xor edi, edi
mov dword [esi + 0xc], edi
push dword [ebp - 0x1c]
call fcn.00538a53
add esp, 4
mov eax, edi
jmp 0x45d26d
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x45ce85
test eax, eax
setne bl
jmp 0x45cf20
push 0xc
call fcn.0053905f
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x230]
cmp eax, 0xffffffff
je 0x45cedb
test eax, eax
je 0x45cedb
push 0
lea eax, [esi + 4]
mov dword [edi], 8
push eax
push 0xc
push edi
push 0xc
push edi
mov dword [edi + 4], 0
push 0x2d1400
push dword [esi + 0x230]
mov dword [eax], 0
call ebx
test eax, eax
je 0x45cedb
xor eax, eax
cmp byte [edi + 8], al
setne al
mov dword [esi + 8], eax
cmp dword [esi + 8], 1
je 0x45cefc
mov ecx, esi
call fcn.0045b8b0
test eax, eax
je 0x45cefc
test byte [eax + 0x152], 1
je 0x45cefc
mov dword [esi + 8], 1
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
jne 0x45cf0d
mov dword [esi + 8], 0
xor eax, eax
cmp eax, 1
mov byte [ebp - 4], 0
push edi
sete bl
call fcn.00538a53
add esp, 4
test bl, bl
je 0x45cf2b
mov dword [esi + 0xc], 2
cmp dword [esi + 0xc], 0xffffffff
jne 0x45d1e3
cmp byte [esi + 0x15], 0
je 0x45d1e3
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x45cf6e
xor eax, eax
add ecx, 2
nop dword [eax + eax]
cmp eax, 0x29
jg 0x45cf6e
test ecx, ecx
je 0x45cf6e
cmp byte [ecx], 3
je 0x45cf64
inc eax
add ecx, 0xc
jmp 0x45cf50
cmp dword [ecx + 5], 0
jne 0x45d0c4
cmp byte [esi + 0x15], 0
je 0x45d1e3
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x45cfa2
xor eax, eax
add ecx, 2
cmp eax, 0x29
jg 0x45cfa2
test ecx, ecx
je 0x45cfa2
cmp byte [ecx], 0xce
je 0x45cf98
inc eax
add ecx, 0xc
jmp 0x45cf84
cmp dword [ecx + 5], 0
jne 0x45d0c4
cmp byte [esi + 0x15], 0
je 0x45d1e3
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x45cfd6
xor eax, eax
add ecx, 2
cmp eax, 0x29
jg 0x45cfd6
test ecx, ecx
je 0x45cfd6
cmp byte [ecx], 0xbd
je 0x45cfcc
inc eax
add ecx, 0xc
jmp 0x45cfb8
cmp dword [ecx + 5], 0
jne 0x45d0c4
cmp byte [esi + 0x15], 0
je 0x45d1e3
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45d032
xor ecx, ecx
add eax, 2
nop dword [eax]
cmp ecx, 0x29
jg 0x45d008
test eax, eax
je 0x45d008
cmp byte [eax], 0xa
je 0x45d0c4
inc ecx
add eax, 0xc
jmp 0x45cff0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x45d032
xor eax, eax
add ecx, 2
cmp eax, 0x29
jg 0x45d032
test ecx, ecx
je 0x45d032
cmp byte [ecx], 0xcf
je 0x45d028
inc eax
add ecx, 0xc
jmp 0x45d014
cmp dword [ecx + 5], 0
jne 0x45d0c4
cmp byte [esi + 0x15], 0
je 0x45d1e3
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45d0d0
xor ecx, ecx
add eax, 2
nop dword [eax]
cmp ecx, 0x29
jg 0x45d064
test eax, eax
je 0x45d064
cmp byte [eax], 8
je 0x45d0c4
inc ecx
add eax, 0xc
jmp 0x45d050
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45d0d0
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x45d084
test eax, eax
je 0x45d084
cmp byte [eax], 0xb
je 0x45d0c4
inc ecx
add eax, 0xc
jmp 0x45d070
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45d0d0
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x45d0a4
test eax, eax
je 0x45d0a4
cmp byte [eax], 0xd0
je 0x45d0c4
inc ecx
add eax, 0xc
jmp 0x45d090
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45d0d0
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x45d0d0
test eax, eax
je 0x45d0d0
cmp byte [eax], 0xbf
je 0x45d0c4
inc ecx
add eax, 0xc
jmp 0x45d0b0
mov dword [esi + 0xc], 0
jmp 0x45d1e3
cmp byte [esi + 0x15], 0
je 0x45d1e3
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45d1e3
xor ecx, ecx
add eax, 2
nop word [eax + eax]
cmp ecx, 0x29
jg 0x45d108
test eax, eax
je 0x45d108
cmp byte [eax], 0xaa
je 0x45d1dc
inc ecx
add eax, 0xc
jmp 0x45d0f0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45d1e3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x45d130
test eax, eax
je 0x45d130
cmp byte [eax], 0xe7
je 0x45d1dc
inc ecx
add eax, 0xc
jmp 0x45d118
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45d1e3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x45d158
test eax, eax
je 0x45d158
cmp byte [eax], 0xe9
je 0x45d1dc
inc ecx
add eax, 0xc
jmp 0x45d140
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45d1e3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x45d17c
test eax, eax
je 0x45d17c
cmp byte [eax], 0xca
je 0x45d1dc
inc ecx
add eax, 0xc
jmp 0x45d168
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45d1e3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x45d19c
test eax, eax
je 0x45d19c
cmp byte [eax], 0x20
je 0x45d1dc
inc ecx
add eax, 0xc
jmp 0x45d188
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45d1e3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x45d1bc
test eax, eax
je 0x45d1bc
cmp byte [eax], 0xf2
je 0x45d1dc
inc ecx
add eax, 0xc
jmp 0x45d1a8
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x45d1e3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x45d1e3
test eax, eax
je 0x45d1e3
cmp byte [eax], 0xf1
je 0x45d1dc
inc ecx
add eax, 0xc
jmp 0x45d1c8
mov dword [esi + 0xc], 2
mov edi, dword [esi + 0xc]
cmp edi, 2
jne 0x45d222
mov ecx, esi
call fcn.0045bfc0
mov byte [esi + 0x16], al
test al, al
je 0x45d210
mov edi, 4
mov dword [esi + 0xc], edi
push dword [ebp - 0x1c]
call fcn.00538a53
add esp, 4
mov eax, edi
jmp 0x45d26d
push dword [ebp - 0x1c]
mov edi, dword [esi + 0xc]
call fcn.00538a53
add esp, 4
mov eax, edi
jmp 0x45d26d
test edi, edi
je 0x45d25b
mov ecx, esi
call fcn.0045b0a0
test eax, eax
je 0x45d252
cmp dword [eax + 4], 7
jne 0x45d252
push dword [ebp - 0x1c]
mov dword [esi + 0xc], 1
mov edi, 1
call fcn.00538a53
add esp, 4
mov eax, edi
jmp 0x45d26d
mov dword [esi + 0xc], 0
xor edi, edi
push dword [ebp - 0x1c]
call fcn.00538a53
add esp, 4
mov eax, edi
jmp 0x45d26d
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00538a45
mov esp, ebp
pop ebp
ret 4