Function at 0x41dba0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d725
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 0x41e0ca
test eax, eax
je 0x41e0ca
test edi, edi
je 0x41dbf0
mov eax, dword [esi + 0x10]
mov dword [edi], eax
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
jne 0x41e0cd
call fcn.0041cb00
mov ecx, eax
test ecx, ecx
je 0x41dc41
movzx eax, word [ecx + 0x1b2]
mov dword [esi + 0x10], eax
cmp eax, 0x3e8
jbe 0x41dc2c
test edi, edi
je 0x41dc1e
mov dword [edi], eax
mov dword [esi + 0xc], 0
xor eax, eax
jmp 0x41e0cd
cmp eax, 1
je 0x41dc3a
test byte [ecx + 0x152], 1
je 0x41dc41
mov dword [esi + 0xc], 2
xorps xmm0, xmm0
mov dword [esi + 0x10], 0
push 0xc
movlpd qword [ebp - 0x1c], xmm0
call fcn.0048a2cb
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 0x41dcd3
test ecx, ecx
je 0x41dcd3
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 0x41dcd3
cmp byte [edi + 8], 0
je 0x41dd84
xor edi, edi
mov dword [esi + 0xc], edi
push dword [ebp - 0x1c]
call fcn.00489f13
add esp, 4
mov eax, edi
jmp 0x41e0cd
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x41dce5
test eax, eax
setne bl
jmp 0x41dd80
push 0xc
call fcn.0048a2cb
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x230]
cmp eax, 0xffffffff
je 0x41dd3b
test eax, eax
je 0x41dd3b
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 0x41dd3b
xor eax, eax
cmp byte [edi + 8], al
setne al
mov dword [esi + 8], eax
cmp dword [esi + 8], 1
je 0x41dd5c
mov ecx, esi
call fcn.0041cb00
test eax, eax
je 0x41dd5c
test byte [eax + 0x152], 1
je 0x41dd5c
mov dword [esi + 8], 1
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
jne 0x41dd6d
mov dword [esi + 8], 0
xor eax, eax
cmp eax, 1
mov byte [ebp - 4], 0
push edi
sete bl
call fcn.00489f13
add esp, 4
test bl, bl
je 0x41dd8b
mov dword [esi + 0xc], 2
cmp dword [esi + 0xc], 0xffffffff
jne 0x41e043
cmp byte [esi + 0x15], 0
je 0x41e043
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x41ddce
xor eax, eax
add ecx, 2
nop dword [eax + eax]
cmp eax, 0x29
jg 0x41ddce
test ecx, ecx
je 0x41ddce
cmp byte [ecx], 3
je 0x41ddc4
inc eax
add ecx, 0xc
jmp 0x41ddb0
cmp dword [ecx + 5], 0
jne 0x41df24
cmp byte [esi + 0x15], 0
je 0x41e043
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x41de02
xor eax, eax
add ecx, 2
cmp eax, 0x29
jg 0x41de02
test ecx, ecx
je 0x41de02
cmp byte [ecx], 0xce
je 0x41ddf8
inc eax
add ecx, 0xc
jmp 0x41dde4
cmp dword [ecx + 5], 0
jne 0x41df24
cmp byte [esi + 0x15], 0
je 0x41e043
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x41de36
xor eax, eax
add ecx, 2
cmp eax, 0x29
jg 0x41de36
test ecx, ecx
je 0x41de36
cmp byte [ecx], 0xbd
je 0x41de2c
inc eax
add ecx, 0xc
jmp 0x41de18
cmp dword [ecx + 5], 0
jne 0x41df24
cmp byte [esi + 0x15], 0
je 0x41e043
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41de92
xor ecx, ecx
add eax, 2
nop dword [eax]
cmp ecx, 0x29
jg 0x41de68
test eax, eax
je 0x41de68
cmp byte [eax], 0xa
je 0x41df24
inc ecx
add eax, 0xc
jmp 0x41de50
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], 0xcf
je 0x41de88
inc eax
add ecx, 0xc
jmp 0x41de74
cmp dword [ecx + 5], 0
jne 0x41df24
cmp byte [esi + 0x15], 0
je 0x41e043
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41df30
xor ecx, ecx
add eax, 2
nop dword [eax]
cmp ecx, 0x29
jg 0x41dec4
test eax, eax
je 0x41dec4
cmp byte [eax], 8
je 0x41df24
inc ecx
add eax, 0xc
jmp 0x41deb0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41df30
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41dee4
test eax, eax
je 0x41dee4
cmp byte [eax], 0xb
je 0x41df24
inc ecx
add eax, 0xc
jmp 0x41ded0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41df30
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41df04
test eax, eax
je 0x41df04
cmp byte [eax], 0xd0
je 0x41df24
inc ecx
add eax, 0xc
jmp 0x41def0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41df30
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41df30
test eax, eax
je 0x41df30
cmp byte [eax], 0xbf
je 0x41df24
inc ecx
add eax, 0xc
jmp 0x41df10
mov dword [esi + 0xc], 0
jmp 0x41e043
cmp byte [esi + 0x15], 0
je 0x41e043
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41e043
xor ecx, ecx
add eax, 2
nop word [eax + eax]
cmp ecx, 0x29
jg 0x41df68
test eax, eax
je 0x41df68
cmp byte [eax], 0xaa
je 0x41e03c
inc ecx
add eax, 0xc
jmp 0x41df50
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41e043
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41df90
test eax, eax
je 0x41df90
cmp byte [eax], 0xe7
je 0x41e03c
inc ecx
add eax, 0xc
jmp 0x41df78
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41e043
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41dfb8
test eax, eax
je 0x41dfb8
cmp byte [eax], 0xe9
je 0x41e03c
inc ecx
add eax, 0xc
jmp 0x41dfa0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41e043
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41dfdc
test eax, eax
je 0x41dfdc
cmp byte [eax], 0xca
je 0x41e03c
inc ecx
add eax, 0xc
jmp 0x41dfc8
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41e043
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41dffc
test eax, eax
je 0x41dffc
cmp byte [eax], 0x20
je 0x41e03c
inc ecx
add eax, 0xc
jmp 0x41dfe8
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41e043
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41e01c
test eax, eax
je 0x41e01c
cmp byte [eax], 0xf2
je 0x41e03c
inc ecx
add eax, 0xc
jmp 0x41e008
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41e043
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x41e043
test eax, eax
je 0x41e043
cmp byte [eax], 0xf1
je 0x41e03c
inc ecx
add eax, 0xc
jmp 0x41e028
mov dword [esi + 0xc], 2
mov edi, dword [esi + 0xc]
cmp edi, 2
jne 0x41e082
mov ecx, esi
call fcn.0041d1c0
mov byte [esi + 0x16], al
test al, al
je 0x41e070
mov edi, 4
mov dword [esi + 0xc], edi
push dword [ebp - 0x1c]
call fcn.00489f13
add esp, 4
mov eax, edi
jmp 0x41e0cd
push dword [ebp - 0x1c]
mov edi, dword [esi + 0xc]
call fcn.00489f13
add esp, 4
mov eax, edi
jmp 0x41e0cd
test edi, edi
je 0x41e0bb
mov ecx, esi
call fcn.0041c2e0
test eax, eax
je 0x41e0b2
cmp dword [eax + 4], 7
jne 0x41e0b2
push dword [ebp - 0x1c]
mov dword [esi + 0xc], 1
mov edi, 1
call fcn.00489f13
add esp, 4
mov eax, edi
jmp 0x41e0cd
mov dword [esi + 0xc], 0
xor edi, edi
push dword [ebp - 0x1c]
call fcn.00489f13
add esp, 4
mov eax, edi
jmp 0x41e0cd
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.00489f05
mov esp, ebp
pop ebp
ret 4