Function at 0x4c3ee0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd40
mov eax, dword [0x6feae4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor bl, bl
mov dword [ebp - 0xd3c], edx
push edi
mov dword [ebp - 0xd38], ecx
xor esi, esi
mov dword [ebp - 0xd40], eax
nop
test bl, bl
jne 0x4c42bf
push 0x200
lea eax, [ebp - 0x50c]
push 0
push eax
call fcn.0062b160
add esp, 0xc
lea eax, [ebp - 0x50c]
push esi
push 0x6eab74
push 0xffffffffffffffff
push 0xff
push eax
call fcn.004c3620
add esp, 0x14
lea eax, [ebp - 0x50c]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4c42b5
push 0x800
lea eax, [ebp - 0xd0c]
mov dword [ebp - 0xd10], 0
push 0
push eax
mov dword [ebp - 0xd14], 0
mov dword [ebp - 0xd1c], 0
mov dword [ebp - 0xd18], 0
call fcn.0062b160
add esp, 0xc
lea eax, [ebp - 0xd10]
push 0
push eax
push 0x800
lea eax, [ebp - 0xd0c]
push eax
push 0xc
lea eax, [ebp - 0xd1c]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4c42a8
push 0x100
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.0062b160
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x100
push 0
push eax
call fcn.0062b160
add esp, 0xc
lea eax, [ebp - 0x30c]
push 0x100
push 0
push eax
call fcn.0062b160
mov edx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x20c]
add esp, 0xc
lea ecx, [ebp - 0xd0c]
push eax
push 0
call fcn.004c37c0
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0x30c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.004c37c0
mov edx, dword [ebp - 0xcf4]
lea eax, [ebp - 0x10c]
push eax
push 1
lea ecx, [ebp - 0xd0c]
call fcn.004c37c0
movsx eax, byte [ebp - 0x10c]
push eax
call fcn.0062f236
add esp, 0x1c
test eax, eax
jne 0x4c409a
movsx eax, byte [ebp - 0xf9]
push eax
call fcn.0062f236
add esp, 4
test eax, eax
je 0x4c42ae
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0xd24], 0
mov dword [ebp - 0xd20], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0xd34], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c40c0
sub ecx, edx
lea eax, [ebp - 0x10c]
push ecx
push eax
lea ecx, [ebp - 0xd34]
call fcn.00447110
mov ebx, dword [ebp - 0xd38]
lea eax, [ebp - 0xd34]
cmp ebx, eax
je 0x4c410c
mov ecx, ebx
call fcn.00446fe0
movups xmm0, xmmword [ebp - 0xd34]
movups xmmword [ebx], xmm0
movq xmm0, qword [ebp - 0xd24]
movq qword [ebx + 0x10], xmm0
jmp 0x4c4146
mov edx, dword [ebp - 0xd20]
cmp edx, 0x10
jb 0x4c4146
mov ecx, dword [ebp - 0xd34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c413c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c42d2
push edx
push ecx
call fcn.0060967c
add esp, 8
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0xd24], 0
mov dword [ebp - 0xd20], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0xd34], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c4170
sub ecx, edx
lea eax, [ebp - 0x20c]
push ecx
push eax
lea ecx, [ebp - 0xd34]
call fcn.00447110
mov ebx, dword [ebp - 0xd3c]
lea eax, [ebp - 0xd34]
cmp ebx, eax
je 0x4c41bc
mov ecx, ebx
call fcn.00446fe0
movups xmm0, xmmword [ebp - 0xd34]
movups xmmword [ebx], xmm0
movq xmm0, qword [ebp - 0xd24]
movq qword [ebx + 0x10], xmm0
jmp 0x4c41f6
mov edx, dword [ebp - 0xd20]
cmp edx, 0x10
jb 0x4c41f6
mov ecx, dword [ebp - 0xd34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c41ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c42d2
push edx
push ecx
call fcn.0060967c
add esp, 8
lea eax, [ebp - 0x30c]
mov dword [ebp - 0xd24], 0
mov dword [ebp - 0xd20], 0xf
lea edx, [eax + 1]
mov byte [ebp - 0xd34], 0
nop word [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c4220
sub eax, edx
lea ecx, [ebp - 0xd34]
push eax
lea eax, [ebp - 0x30c]
push eax
call fcn.00447110
mov ebx, dword [ebp - 0xd40]
lea eax, [ebp - 0xd34]
cmp ebx, eax
je 0x4c426e
mov ecx, ebx
call fcn.00446fe0
movups xmm0, xmmword [ebp - 0xd34]
movups xmmword [ebx], xmm0
movq xmm0, qword [ebp - 0xd24]
movq qword [ebx + 0x10], xmm0
mov bl, 1
jmp 0x4c42ae
mov edx, dword [ebp - 0xd20]
cmp edx, 0x10
jb 0x4c42a4
mov ecx, dword [ebp - 0xd34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c429a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c42d2
push edx
push ecx
call fcn.0060967c
add esp, 8
mov bl, 1
jmp 0x4c42ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x4c3f10
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0060963b
mov esp, ebp
pop ebp
ret
call fcn.0062eee9
int3