Function at 0x4145d0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e9622
mov eax, dword fs:[0]
push eax
mov eax, 0x37d0
call fcn.004ac030
mov eax, dword [0x5299c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x37d0], ecx
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x37dc], esi
mov dword [ebp - 0x37d4], 0
push 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x4f6751
mov dword [ebp - 4], 0
mov byte [esi], 0
call fcn.00403090
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x37d4], 1
push edi
push str..PhysicalDrive_d
lea eax, [ebp - 0x110]
push 0x100
push eax
call fcn.0041bab0
add esp, 0x10
lea eax, [ebp - 0x110]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4148a7
push 0x2710
lea eax, [ebp - 0x37c0]
mov dword [ebp - 0x37d8], 0
push 0
push eax
mov dword [ebp - 0x37c4], 0
mov dword [ebp - 0x37cc], 0
mov dword [ebp - 0x37c8], 0
call fcn.004c3810
add esp, 0xc
lea eax, [ebp - 0x37d8]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37c0]
push eax
push 0xc
lea eax, [ebp - 0x37cc]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x414896
push 0x3e8
lea eax, [ebp - 0x10b0]
push 0
push eax
call fcn.004c3810
push 0x3e8
lea eax, [ebp - 0x8e0]
push 0
push eax
call fcn.004c3810
push 0x3e8
lea eax, [ebp - 0x4f8]
push 0
push eax
call fcn.004c3810
push 0x3e8
lea eax, [ebp - 0xcc8]
push 0
push eax
call fcn.004c3810
mov ecx, dword [ebp - 0x37d0]
lea eax, [ebp - 0x4f8]
add esp, 0x30
push eax
lea eax, [ebp - 0x37c0]
push eax
push 0
push dword [ebp - 0x37b4]
call fcn.004143b0
mov ecx, dword [ebp - 0x37d0]
lea eax, [ebp - 0x8e0]
push eax
lea eax, [ebp - 0x37c0]
push eax
push 0
push dword [ebp - 0x37b0]
call fcn.004143b0
mov ecx, dword [ebp - 0x37d0]
lea eax, [ebp - 0xcc8]
push eax
lea eax, [ebp - 0x37c0]
push eax
push 0
push dword [ebp - 0x37ac]
call fcn.004143b0
mov ecx, dword [ebp - 0x37d0]
lea eax, [ebp - 0x10b0]
push eax
lea eax, [ebp - 0x37c0]
push eax
push 0
push dword [ebp - 0x37a8]
call fcn.004143b0
lea ecx, [ebp - 0x4f8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4147e0
sub ecx, edx
lea eax, [ebp - 0x4f8]
push ecx
push eax
mov ecx, esi
call fcn.00402f30
push 1
push 0x4f7da8
mov ecx, esi
call fcn.00402f30
lea ecx, [ebp - 0x8e0]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414810
sub ecx, edx
lea eax, [ebp - 0x8e0]
push ecx
push eax
mov ecx, esi
call fcn.00402f30
push 1
push 0x4f7da8
mov ecx, esi
call fcn.00402f30
lea ecx, [ebp - 0xcc8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414840
sub ecx, edx
lea eax, [ebp - 0xcc8]
push ecx
push eax
mov ecx, esi
call fcn.00402f30
push 1
push 0x4f7da8
mov ecx, esi
call fcn.00402f30
lea eax, [ebp - 0x10b0]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414870
sub eax, edx
mov ecx, esi
push eax
lea eax, [ebp - 0x10b0]
push eax
call fcn.00402f30
push 1
push 0x4f7da8
mov ecx, esi
call fcn.00402f30
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, 0xa
jl 0x414654
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ab970
mov esp, ebp
pop ebp
ret 4