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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x452074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1030
push 1
mov edi, edx
mov ebx, ecx
call dword [sym.imp.msvcrt.dll_calloc]
mov esi, eax
add esp, 8
test esi, esi
je 0x41136e
push 0
lea eax, [ebp - 0x2c]
mov dword [esi], 0x32
push eax
push 0x1030
push esi
mov dword [esi + 4], 0
push 0x1030
push esi
push 0x2d1400
push edi
mov dword [esi + 8], 3
mov dword [esi + 0xc], 2
mov dword [esi + 0x10], 2
mov dword [esi + 0x14], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x18], 0x28
mov dword [esi + 0x1c], 0x200
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x411364
cmp dword [esi], 0x30
jb 0x411364
cmp dword [esi + 4], 0x30
jb 0x411364
mov edi, dword [esi + 0x18]
cmp edi, 0x28
jb 0x411364
cmp dword [esi + 0x1c], 0x200
jb 0x411364
movzx eax, word [edi + esi + 9]
sub eax, 0x111
push eax
push 0x444d3c
push 0x200
push str.Temperature__C_
push ebx
call fcn.00407f50
mov eax, dword [edi + esi + 0x2d]
add esp, 0x14
mov dword [ebp - 0x1c], 0x444e54
mov dword [ebp - 0x18], 0x444e58
mov dword [ebp - 0x14], 0x444e5c
push 0x800
push ecx
mov ecx, 0x7d
mov dword [ebp - 0x10], 0x444e60
mul ecx
mov edx, 0x7d
mov dword [ebp - 0xc], 0x44b298
mov ecx, eax
mov dword [ebp - 8], 0x44b29c
mov eax, dword [edi + esi + 0x29]
mul edx
push 0
add ecx, edx
push 0x400
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040a530
add esp, 0x14
mov edx, str.Total_Read
mov ecx, ebx
push eax
call fcn.00407d00
mov eax, dword [edi + esi + 0x3d]
add esp, 8
push 0x800
push ecx
mov ecx, 0x7d
mul ecx
mov edx, 0x7d
mov ecx, eax
mov eax, dword [edi + esi + 0x39]
mul edx
push 0
add ecx, edx
push 0x400
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040a530
add esp, 0x14
mov edx, str.Total_Written
mov ecx, ebx
push eax
call fcn.00407d00
push dword [edi + esi + 0x7c]
push dword [edi + esi + 0x78]
push str._llu
push 0x200
push str.Power_On_Count
push ebx
call fcn.00407f50
push dword [edi + esi + 0x8c]
push dword [edi + esi + 0x88]
push str._llu
push 0x200
push str.Power_On_Time__Hours_
push ebx
call fcn.00407f50
movzx eax, byte [edi + esi + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
push dword [ebp - 0x24]
mov byte [ebp - 0x28], al
push dword [ebp - 0x28]
push str._014llX
push 0
push str._01__Critical_Warning
push ebx
call fcn.00407f50
movzx eax, word [edi + esi + 9]
add esp, 0x50
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push str._014llX
push 0
push str._02__Composite_Temperature
push ebx
call fcn.00407f50
movzx eax, byte [edi + esi + 0xb]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
push dword [ebp - 0x24]
mov byte [ebp - 0x28], al
push dword [ebp - 0x28]
push str._014llX
push 0
push str._03__Available_Spare
push ebx
call fcn.00407f50
movzx eax, byte [edi + esi + 0xc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
push dword [ebp - 0x24]
mov byte [ebp - 0x28], al
push dword [ebp - 0x28]
push str._014llX
push 0
push str._04__Available_Spare_Threshold
push ebx
call fcn.00407f50
movzx eax, byte [edi + esi + 0xd]
add esp, 0x48
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov byte [ebp - 0x28], al
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push str._014llX
push 0
push str._05__Percentage_Used
push ebx
call fcn.00407f50
movzx eax, word [edi + esi + 0x2c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov word [ebp - 0x24], ax
movzx eax, byte [edi + esi + 0x2e]
mov byte [ebp - 0x22], al
push dword [ebp - 0x24]
push dword [edi + esi + 0x28]
push str._014llX
push 0
push str._06__Data_Units_Read
push ebx
call fcn.00407f50
movzx eax, word [edi + esi + 0x3c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov word [ebp - 0x24], ax
movzx eax, byte [edi + esi + 0x3e]
mov byte [ebp - 0x22], al
push dword [ebp - 0x24]
push dword [edi + esi + 0x38]
push str._014llX
push 0
push str._07__Data_Units_Written
push ebx
call fcn.00407f50
movzx eax, word [edi + esi + 0x4c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
add esp, 0x48
mov word [ebp - 0x24], ax
movzx eax, byte [edi + esi + 0x4e]
mov byte [ebp - 0x22], al
push dword [ebp - 0x24]
push dword [edi + esi + 0x48]
push str._014llX
push 0
push str._08__Host_Read_Commands
push ebx
call fcn.00407f50
movzx eax, word [edi + esi + 0x5c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov word [ebp - 0x24], ax
movzx eax, byte [edi + esi + 0x5e]
mov byte [ebp - 0x22], al
push dword [ebp - 0x24]
push dword [edi + esi + 0x58]
push str._014llX
push 0
push str._09__Host_Written_Commands
push ebx
call fcn.00407f50
movzx eax, word [edi + esi + 0x6c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov word [ebp - 0x24], ax
movzx eax, byte [edi + esi + 0x6e]
mov byte [ebp - 0x22], al
push dword [ebp - 0x24]
push dword [edi + esi + 0x68]
push str._014llX
push 0
push str._0A__Controller_Busy_Time
push ebx
call fcn.00407f50
movzx eax, word [edi + esi + 0x7c]
add esp, 0x48
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov word [ebp - 0x24], ax
movzx eax, byte [edi + esi + 0x7e]
mov byte [ebp - 0x22], al
push dword [ebp - 0x24]
push dword [edi + esi + 0x78]
push str._014llX
push 0
push str._0B__Power_Cycles
push ebx
call fcn.00407f50
movzx eax, word [edi + esi + 0x8c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov word [ebp - 0x24], ax
movzx eax, byte [edi + esi + 0x8e]
mov byte [ebp - 0x22], al
push dword [ebp - 0x24]
push dword [edi + esi + 0x88]
push str._014llX
push 0
push str._0C__Power_On_Hours
push ebx
call fcn.00407f50
movzx eax, word [edi + esi + 0x9c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov word [ebp - 0x24], ax
movzx eax, byte [edi + esi + 0x9e]
mov byte [ebp - 0x22], al
push dword [ebp - 0x24]
push dword [edi + esi + 0x98]
push str._014llX
push 0
push str._0D__Unsafe_Shutdowns
push ebx
call fcn.00407f50
movzx eax, word [edi + esi + 0xac]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
add esp, 0x48
mov word [ebp - 0x24], ax
movzx eax, byte [edi + esi + 0xae]
mov byte [ebp - 0x22], al
push dword [ebp - 0x24]
push dword [edi + esi + 0xa8]
push str._014llX
push 0
push str._0E__Media_and_Data_Integrity_Errors
push ebx
call fcn.00407f50
movzx eax, word [edi + esi + 0xbc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov word [ebp - 0x24], ax
movzx eax, byte [edi + esi + 0xbe]
mov byte [ebp - 0x22], al
push dword [ebp - 0x24]
push dword [edi + esi + 0xb8]
push str._014llX
push 0
push str._0F__Number_of_Error_Information_Log_Entries
push ebx
call fcn.00407f50
add esp, 0x30
push esi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041abcf
mov esp, ebp
pop ebp
ret