Function at 0x4206c0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e71d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b5200]
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 0x420b32
test eax, eax
je 0x420b32
test edi, edi
je 0x420710
mov eax, dword [esi + 0x10]
mov dword [edi], eax
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
jne 0x420b35
call fcn.0041f220
mov ecx, eax
test ecx, ecx
je 0x420761
movzx eax, word [ecx + 0x1b2]
mov dword [esi + 0x10], eax
cmp eax, 0x3e8
jbe 0x42074c
test edi, edi
je 0x42073e
mov dword [edi], eax
mov dword [esi + 0xc], 0
xor eax, eax
jmp 0x420b35
cmp eax, 1
je 0x42075a
test byte [ecx + 0x152], 1
je 0x420761
mov dword [esi + 0xc], 2
xorps xmm0, xmm0
mov dword [esi + 0x10], 0
push 0xc
movlpd qword [ebp - 0x1c], xmm0
call fcn.0046b90c
mov ebx, eax
mov dword [ebp - 0x18], 0xc
add esp, 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x230]
cmp ecx, 0xffffffff
je 0x4207eb
test ecx, ecx
je 0x4207eb
push 0
lea eax, [esi + 4]
mov dword [ebx], 7
push eax
push 0xc
push ebx
push 0xc
push ebx
mov dword [ebx + 4], 0
push 0x2d1400
push dword [esi + 0x230]
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4207eb
cmp byte [ebx + 8], 0
je 0x4207f6
xor edi, edi
push ebx
mov dword [esi + 0xc], edi
call fcn.0046b303
add esp, 4
mov eax, edi
jmp 0x420b35
mov ecx, esi
call fcn.004205c0
test al, al
je 0x4207fd
mov dword [esi + 0xc], 2
cmp dword [esi + 0xc], 0xffffffff
jne 0x420ab3
cmp byte [esi + 0x15], 0
je 0x420ab3
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x42083e
xor eax, eax
add ecx, 2
nop dword [eax]
cmp eax, 0x29
jg 0x42083e
test ecx, ecx
je 0x42083e
cmp byte [ecx], 3
je 0x420834
inc eax
add ecx, 0xc
jmp 0x420820
cmp dword [ecx + 5], 0
jne 0x420994
cmp byte [esi + 0x15], 0
je 0x420ab3
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x420872
xor eax, eax
add ecx, 2
cmp eax, 0x29
jg 0x420872
test ecx, ecx
je 0x420872
cmp byte [ecx], 0xce
je 0x420868
inc eax
add ecx, 0xc
jmp 0x420854
cmp dword [ecx + 5], 0
jne 0x420994
cmp byte [esi + 0x15], 0
je 0x420ab3
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4208a6
xor eax, eax
add ecx, 2
cmp eax, 0x29
jg 0x4208a6
test ecx, ecx
je 0x4208a6
cmp byte [ecx], 0xbd
je 0x42089c
inc eax
add ecx, 0xc
jmp 0x420888
cmp dword [ecx + 5], 0
jne 0x420994
cmp byte [esi + 0x15], 0
je 0x420ab3
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x420902
xor ecx, ecx
add eax, 2
nop dword [eax]
cmp ecx, 0x29
jg 0x4208d8
test eax, eax
je 0x4208d8
cmp byte [eax], 0xa
je 0x420994
inc ecx
add eax, 0xc
jmp 0x4208c0
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x420902
xor eax, eax
add ecx, 2
cmp eax, 0x29
jg 0x420902
test ecx, ecx
je 0x420902
cmp byte [ecx], 0xcf
je 0x4208f8
inc eax
add ecx, 0xc
jmp 0x4208e4
cmp dword [ecx + 5], 0
jne 0x420994
cmp byte [esi + 0x15], 0
je 0x420ab3
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4209a0
xor ecx, ecx
add eax, 2
nop dword [eax]
cmp ecx, 0x29
jg 0x420934
test eax, eax
je 0x420934
cmp byte [eax], 8
je 0x420994
inc ecx
add eax, 0xc
jmp 0x420920
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4209a0
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x420954
test eax, eax
je 0x420954
cmp byte [eax], 0xb
je 0x420994
inc ecx
add eax, 0xc
jmp 0x420940
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4209a0
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x420974
test eax, eax
je 0x420974
cmp byte [eax], 0xd0
je 0x420994
inc ecx
add eax, 0xc
jmp 0x420960
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4209a0
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x4209a0
test eax, eax
je 0x4209a0
cmp byte [eax], 0xbf
je 0x420994
inc ecx
add eax, 0xc
jmp 0x420980
mov dword [esi + 0xc], 0
jmp 0x420ab3
cmp byte [esi + 0x15], 0
je 0x420ab3
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x420ab3
xor ecx, ecx
add eax, 2
nop word [eax + eax]
cmp ecx, 0x29
jg 0x4209d8
test eax, eax
je 0x4209d8
cmp byte [eax], 0xaa
je 0x420aac
inc ecx
add eax, 0xc
jmp 0x4209c0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x420ab3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x420a00
test eax, eax
je 0x420a00
cmp byte [eax], 0xe7
je 0x420aac
inc ecx
add eax, 0xc
jmp 0x4209e8
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x420ab3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x420a28
test eax, eax
je 0x420a28
cmp byte [eax], 0xe9
je 0x420aac
inc ecx
add eax, 0xc
jmp 0x420a10
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x420ab3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x420a4c
test eax, eax
je 0x420a4c
cmp byte [eax], 0xca
je 0x420aac
inc ecx
add eax, 0xc
jmp 0x420a38
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x420ab3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x420a6c
test eax, eax
je 0x420a6c
cmp byte [eax], 0x20
je 0x420aac
inc ecx
add eax, 0xc
jmp 0x420a58
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x420ab3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x420a8c
test eax, eax
je 0x420a8c
cmp byte [eax], 0xf2
je 0x420aac
inc ecx
add eax, 0xc
jmp 0x420a78
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x420ab3
xor ecx, ecx
add eax, 2
cmp ecx, 0x29
jg 0x420ab3
test eax, eax
je 0x420ab3
cmp byte [eax], 0xf1
je 0x420aac
inc ecx
add eax, 0xc
jmp 0x420a98
mov dword [esi + 0xc], 2
mov edi, dword [esi + 0xc]
cmp edi, 2
jne 0x420aee
mov ecx, esi
call fcn.0041f890
mov byte [esi + 0x16], al
test al, al
je 0x420ade
mov edi, 4
push ebx
mov dword [esi + 0xc], edi
call fcn.0046b303
add esp, 4
mov eax, edi
jmp 0x420b35
mov edi, dword [esi + 0xc]
push ebx
call fcn.0046b303
add esp, 4
mov eax, edi
jmp 0x420b35
test edi, edi
je 0x420b25
mov ecx, esi
call fcn.0041e8d0
test eax, eax
je 0x420b1c
cmp dword [eax + 4], 7
jne 0x420b1c
push ebx
mov dword [esi + 0xc], 1
mov edi, 1
call fcn.0046b303
add esp, 4
mov eax, edi
jmp 0x420b35
mov dword [esi + 0xc], 0
xor edi, edi
push ebx
call fcn.0046b303
add esp, 4
mov eax, edi
jmp 0x420b35
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.0046b2f5
mov esp, ebp
pop ebp
ret 4