Function at 0x42afc0
Capabilities:
Get storage device properties
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x484d55
mov eax, dword fs:[0]
push eax
sub esp, 0xca0
mov eax, dword [0x49e058]
xor eax, esp
mov dword [esp + 0xc9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e058]
xor eax, esp
push eax
lea eax, [esp + 0xcb4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcc4]
mov ecx, dword [esp + 0xcc8]
mov edx, dword [esp + 0xccc]
xor ebx, ebx
mov dword [esp + 0x40], eax
xor al, al
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x17], al
mov dword [esp + 0x60], ebx
or ebp, 0xffffffff
lea esi, [ebx + 0xf]
lea edi, [ebx + 0x10]
cmp al, bl
jne 0x42b746
push 0x100
lea eax, [esp + 0x3b4]
push ebx
push eax
call fcn.0044dd90
mov ecx, dword [esp + 0x6c]
push ecx
push 0x48c3bc
lea edx, [esp + 0x3c4]
push 0xff
push edx
call fcn.0042f470
add esp, 0x1c
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [esp + 0x3c8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, ebp
mov dword [esp + 0x64], eax
je 0x42b72f
xor eax, eax
push 0x800
lea ecx, [esp + 0x4b4]
push ebx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
push ecx
mov dword [esp + 0x74], ebx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
call fcn.0044dd90
add esp, 0xc
push ebx
lea edx, [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push 0x800
lea eax, [esp + 0x4bc]
push eax
push 0xc
lea ecx, [esp + 0xb8]
push ecx
push 0x2d1400
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42b71e
push 0xff
lea eax, [esp + 0xb5]
push ebx
push eax
mov byte [esp + 0xbc], bl
call fcn.0044dd90
push 0xff
lea ecx, [esp + 0x2c1]
push ebx
push ecx
mov byte [esp + 0x2c8], bl
call fcn.0044dd90
push 0xff
lea edx, [esp + 0x1cd]
push ebx
push edx
mov byte [esp + 0x1d4], bl
call fcn.0044dd90
mov ecx, dword [esp + 0x4e4]
lea eax, [esp + 0x2d4]
push eax
push ebx
push ecx
lea edx, [esp + 0x4e0]
push edx
call fcn.00429c90
mov ecx, dword [esp + 0x4f8]
lea eax, [esp + 0x1e4]
push eax
push ebx
push ecx
lea edx, [esp + 0x4f0]
push edx
call fcn.00429c90
mov ecx, dword [esp + 0x50c]
add esp, 0x44
lea eax, [esp + 0xb0]
push eax
push 1
push ecx
lea edx, [esp + 0x4bc]
push edx
call fcn.00429c90
movsx eax, byte [esp + 0xc0]
push eax
call fcn.00450b9e
add esp, 0x14
test eax, eax
jne 0x42b1db
movsx ecx, byte [esp + 0xc3]
push ecx
call fcn.00450b9e
add esp, 4
test eax, eax
je 0x42b724
lea eax, [esp + 0xb0]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x42b1f1
sub eax, edx
push eax
lea edx, [esp + 0xb4]
push edx
lea ecx, [esp + 0x20]
call fcn.004049b0
mov ecx, dword [esp + 0x40]
push ebp
push ebx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0xcc8], ebx
call fcn.004048d0
cmp dword [esp + 0x30], edi
mov dword [esp + 0xcbc], ebp
jb 0x42b23f
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0044d7d9
add esp, 4
lea eax, [esp + 0x2b0]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x42b255
sub eax, edx
push eax
lea edx, [esp + 0x2b4]
push edx
lea ecx, [esp + 0x20]
call fcn.004049b0
mov ecx, dword [esp + 0x3c]
push ebp
push ebx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0xcc8], 1
call fcn.004048d0
cmp dword [esp + 0x30], edi
mov dword [esp + 0xcbc], ebp
jb 0x42b2a7
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0044d7d9
add esp, 4
lea eax, [esp + 0x1b0]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x42b2c0
sub eax, edx
push eax
lea edx, [esp + 0x1b4]
push edx
lea ecx, [esp + 0x20]
call fcn.004049b0
mov ecx, dword [esp + 0x34]
push ebp
push ebx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0xcc8], 2
call fcn.004048d0
cmp dword [esp + 0x30], edi
mov dword [esp + 0xcbc], ebp
jb 0x42b312
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004049b0
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x18]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push ebp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0xce8], 3
mov byte [ecx + 4], bl
call fcn.004048d0
lea ecx, [esp + 0x64]
push ecx
call fcn.0042a3c0
add esp, 0x24
mov ecx, dword [esp + 0x40]
push ebp
push ebx
push eax
mov byte [esp + 0xcc8], 4
call fcn.004048d0
cmp dword [esp + 0x5c], edi
jb 0x42b390
mov edx, dword [esp + 0x48]
push edx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0xcbc], ebp
jb 0x42b3b6
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004049b0
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x18]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push ebp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0xce8], 5
mov byte [ecx + 4], bl
call fcn.004048d0
lea eax, [esp + 0x64]
push eax
call fcn.0042a3c0
add esp, 0x24
mov ecx, dword [esp + 0x40]
push ebp
push ebx
push eax
mov byte [esp + 0xcc8], 6
call fcn.004048d0
cmp dword [esp + 0x5c], edi
jb 0x42b434
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0xcbc], ebp
jb 0x42b45a
mov edx, dword [esp + 0x1c]
push edx
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004049b0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x18]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push ebp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0xce8], 7
mov byte [ecx + 4], bl
call fcn.004048d0
lea eax, [esp + 0x64]
push eax
call fcn.0042a3c0
add esp, 0x24
mov ecx, dword [esp + 0x3c]
push ebp
push ebx
push eax
mov byte [esp + 0xcc8], 8
call fcn.004048d0
cmp dword [esp + 0x5c], edi
jb 0x42b4d8
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0xcbc], ebp
jb 0x42b4fe
mov edx, dword [esp + 0x1c]
push edx
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004049b0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x18]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push ebp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0xce8], 9
mov byte [ecx + 4], bl
call fcn.004048d0
lea eax, [esp + 0x64]
push eax
call fcn.0042a3c0
add esp, 0x24
mov ecx, dword [esp + 0x3c]
push ebp
push ebx
push eax
mov byte [esp + 0xcc8], 0xa
call fcn.004048d0
cmp dword [esp + 0x5c], edi
jb 0x42b57c
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0xcbc], ebp
jb 0x42b5a2
mov edx, dword [esp + 0x1c]
push edx
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.004049b0
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x18]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push ebp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0xce8], 0xb
mov byte [ecx + 4], bl
call fcn.004048d0
lea eax, [esp + 0x64]
push eax
call fcn.0042a3c0
add esp, 0x24
mov ecx, dword [esp + 0x34]
push ebp
push ebx
push eax
mov byte [esp + 0xcc8], 0xc
call fcn.004048d0
cmp dword [esp + 0x5c], edi
jb 0x42b620
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x30], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0xcbc], ebp
jb 0x42b646
mov edx, dword [esp + 0x1c]
push edx
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.004049b0
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x6c]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push ebp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0xce8], 0xd
mov byte [ecx + 4], bl
call fcn.004048d0
lea eax, [esp + 0xa8]
push eax
call fcn.0042a3c0
add esp, 0x24
mov ecx, dword [esp + 0x34]
push ebp
push ebx
push eax
mov byte [esp + 0xcc8], 0xe
call fcn.004048d0
cmp dword [esp + 0xa0], edi
jb 0x42b6d3
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x84], edi
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
mov dword [esp + 0xcbc], ebp
jb 0x42b705
mov edx, dword [esp + 0x70]
push edx
call fcn.0044d7d9
add esp, 4
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
mov byte [esp + 0x17], 1
jmp 0x42b724
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x60]
add eax, 1
mov dword [esp + 0x60], eax
cmp eax, edi
mov al, byte [esp + 0x17]
jl 0x42b031
mov ecx, dword [esp + 0xcb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc9c]
xor ecx, esp
call fcn.0044d7a0
add esp, 0xcac
ret