Function at 0x41dc30
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d485
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4d7200]
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 0x41e15a
test eax, eax
je 0x41e15a
test edi, edi
je 0x41dc80
mov eax, dword [esi + 0x10]
mov dword [edi], eax
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
jne 0x41e15d
call fcn.0041cb90
mov ecx, eax
test ecx, ecx
je 0x41dcd1
movzx eax, word [ecx + 0x1b2]
mov dword [esi + 0x10], eax
cmp eax, 0x3e8
jbe 0x41dcbc
test edi, edi
je 0x41dcae
mov dword [edi], eax
mov dword [esi + 0xc], 0
xor eax, eax
jmp 0x41e15d
cmp eax, 1
je 0x41dcca
test byte [ecx + 0x152], 1
je 0x41dcd1
mov dword [esi + 0xc], 2
xorps xmm0, xmm0
mov dword [esi + 0x10], 0
push 0xc
movlpd qword [ebp - 0x1c], xmm0
call fcn.0048a02b
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 [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp ecx, 0xffffffff
je 0x41dd63
test ecx, ecx
je 0x41dd63
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 0x41dd63
cmp byte [edi + 8], 0
je 0x41de14
xor edi, edi
mov dword [esi + 0xc], edi
push dword [ebp - 0x1c]
call fcn.00489c73
add esp, 4
mov eax, edi
jmp 0x41e15d
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x41dd75
test eax, eax
setne bl
jmp 0x41de10
push 0xc
call fcn.0048a02b
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x230]
cmp eax, 0xffffffff
je 0x41ddcb
test eax, eax
je 0x41ddcb
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 0x41ddcb
xor eax, eax
cmp byte [edi + 8], al
setne al
mov dword [esi + 8], eax
cmp dword [esi + 8], 1
je 0x41ddec
mov ecx, esi
call fcn.0041cb90
test eax, eax
je 0x41ddec
test byte [eax + 0x152], 1
je 0x41ddec
mov dword [esi + 8], 1
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
jne 0x41ddfd
mov dword [esi + 8], 0
xor eax, eax
cmp eax, 1
mov byte [ebp - 4], 0
push edi
sete bl
call fcn.00489c73
add esp, 4
test bl, bl
je 0x41de1b
mov dword [esi + 0xc], 2
cmp dword [esi + 0xc], 0xffffffff
jne 0x41e0d3
cmp byte [esi + 0x15], 0
je 0x41e0d3
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x41de5e
xor eax, eax
add ecx, 2
nop dword [eax + eax]
cmp eax, 0x29
jg 0x41de5e
test ecx, ecx
je 0x41de5e
cmp byte [ecx], 3
je 0x41de54
inc eax
add ecx, 0xc
jmp 0x41de40
cmp dword [ecx + 5], 0
jne 0x41dfb4
cmp byte [esi + 0x15], 0
je 0x41e0d3
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x41de92
xor eax, eax
add ecx, 2
cmp eax, 0x29
jg 0x41de92
test ecx, ecx
je 0x41de92
cmp byte [ecx], 0xce
je 0x41de88
inc eax
add ecx, 0xc
jmp 0x41de74
cmp dword [ecx + 5], 0
jne 0x41dfb4
cmp byte [esi + 0x15], 0
je 0x41e0d3
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x41dec6
xor eax, eax
add ecx, 2
cmp eax, 0x29
jg 0x41dec6
test ecx, ecx
je 0x41dec6
cmp byte [ecx], 0xbd
je 0x41debc
inc eax
add ecx, 0xc
jmp 0x41dea8
cmp dword [ecx + 5], 0
jne 0x41dfb4
cmp byte [esi + 0x15], 0
je 0x41e0d3
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41df22
xor ecx, ecx
add eax, 2
nop dword [eax]
cmp ecx, 0x29
jg 0x41def8
test eax, eax
je 0x41def8
cmp byte [eax], 0xa
je 0x41dfb4
inc ecx
add eax, 0xc
jmp 0x41dee0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x41df22
xor eax, eax
add ecx, 2
cmp eax, 0x29
jg 0x41df22
test ecx, ecx
je 0x41df22
cmp byte [ecx], 0xcf
je 0x41df18
inc eax
add ecx, 0xc
jmp 0x41df04
cmp dword [ecx + 5], 0
jne 0x41dfb4
cmp byte [esi + 0x15], 0
je 0x41e0d3
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41dfc0
xor ecx, ecx
add eax, 2
nop dword [eax]
cmp ecx, 0x29
jg 0x41df54
test eax, eax
je 0x41df54
cmp byte [eax], 8
je 0x41dfb4
inc ecx
add eax, 0xc
jmp 0x41df40
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41dfc0
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41df74
test eax, eax
je 0x41df74
cmp byte [eax], 0xb
je 0x41dfb4
inc ecx
add eax, 0xc
jmp 0x41df60
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41dfc0
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41df94
test eax, eax
je 0x41df94
cmp byte [eax], 0xd0
je 0x41dfb4
inc ecx
add eax, 0xc
jmp 0x41df80
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41dfc0
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41dfc0
test eax, eax
je 0x41dfc0
cmp byte [eax], 0xbf
je 0x41dfb4
inc ecx
add eax, 0xc
jmp 0x41dfa0
mov dword [esi + 0xc], 0
jmp 0x41e0d3
cmp byte [esi + 0x15], 0
je 0x41e0d3
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41e0d3
xor ecx, ecx
add eax, 2
nop word [eax + eax]
cmp ecx, 0x29
jg 0x41dff8
test eax, eax
je 0x41dff8
cmp byte [eax], 0xaa
je 0x41e0cc
inc ecx
add eax, 0xc
jmp 0x41dfe0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41e0d3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41e020
test eax, eax
je 0x41e020
cmp byte [eax], 0xe7
je 0x41e0cc
inc ecx
add eax, 0xc
jmp 0x41e008
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41e0d3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41e048
test eax, eax
je 0x41e048
cmp byte [eax], 0xe9
je 0x41e0cc
inc ecx
add eax, 0xc
jmp 0x41e030
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41e0d3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41e06c
test eax, eax
je 0x41e06c
cmp byte [eax], 0xca
je 0x41e0cc
inc ecx
add eax, 0xc
jmp 0x41e058
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41e0d3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41e08c
test eax, eax
je 0x41e08c
cmp byte [eax], 0x20
je 0x41e0cc
inc ecx
add eax, 0xc
jmp 0x41e078
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41e0d3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41e0ac
test eax, eax
je 0x41e0ac
cmp byte [eax], 0xf2
je 0x41e0cc
inc ecx
add eax, 0xc
jmp 0x41e098
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41e0d3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41e0d3
test eax, eax
je 0x41e0d3
cmp byte [eax], 0xf1
je 0x41e0cc
inc ecx
add eax, 0xc
jmp 0x41e0b8
mov dword [esi + 0xc], 2
mov edi, dword [esi + 0xc]
cmp edi, 2
jne 0x41e112
mov ecx, esi
call fcn.0041d250
mov byte [esi + 0x16], al
test al, al
je 0x41e100
mov edi, 4
mov dword [esi + 0xc], edi
push dword [ebp - 0x1c]
call fcn.00489c73
add esp, 4
mov eax, edi
jmp 0x41e15d
push dword [ebp - 0x1c]
mov edi, dword [esi + 0xc]
call fcn.00489c73
add esp, 4
mov eax, edi
jmp 0x41e15d
test edi, edi
je 0x41e14b
mov ecx, esi
call fcn.0041c370
test eax, eax
je 0x41e142
cmp dword [eax + 4], 7
jne 0x41e142
push dword [ebp - 0x1c]
mov dword [esi + 0xc], 1
mov edi, 1
call fcn.00489c73
add esp, 4
mov eax, edi
jmp 0x41e15d
mov dword [esi + 0xc], 0
xor edi, edi
push dword [ebp - 0x1c]
call fcn.00489c73
add esp, 4
mov eax, edi
jmp 0x41e15d
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.00489c65
mov esp, ebp
pop ebp
ret 4