Function at 0x1033134
Capabilities:
Get disk information via ioctl
Get storage device properties

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x106b508]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x1001ae0
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
push 0x1005398
xor ebx, ebx
push 0x5e
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], ebx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x28], 8
call sub.vdsutil.dll_public:_void___thiscall_CVdsCallTracer::constructor_unsigned_long_int__char_const__
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
push 0x44
xor esi, esi
push esi
push edi
mov dword [eax], 0xf423f
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp eax, esi
jne 0x10331ab
mov eax, 0x1005388
push eax
push 0x1005354
push 3
push 0x5e
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char__
add esp, 0x10
push esi
push esi
push 3
push esi
push 1
push 0xc0000000
push dword [ebp - 0x2c]
call dword [sym.imp.API_MS_Win_Core_File_L1_1_0.dll_CreateFileW]
mov dword [ebp - 0x2c], eax
cmp eax, esi
je 0x103362e
cmp eax, 0xffffffff
je 0x103362e
push esi
lea ecx, [ebp - 0x30]
push ecx
push 0xc
lea ecx, [ebp - 0x4c]
push ecx
push esi
push esi
push 0x2d1080
push eax
call dword [sym.imp.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl]
test eax, eax
jne 0x1033225
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
cmp eax, esi
jle 0x1033217
and eax, 0xffff
or eax, 0x80070000
push eax
mov dword [ebp - 0x24], eax
push 0x1005320
jmp 0x103364b
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
cmp ebx, esi
je 0x1033238
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ebx, eax
cmp ebx, esi
je 0x103328a
push dword [ebp - 0x28]
push esi
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push ebx
push 0xc
push eax
push 0x2d1400
push dword [ebp - 0x2c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl]
test eax, eax
je 0x103329d
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x28]
cmp edx, eax
jae 0x10332ce
mov dword [ebp - 0x28], eax
jmp 0x103322d
mov eax, 0x8007000e
push eax
mov dword [ebp - 0x24], eax
push 0x10052ec
jmp 0x103364b
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
mov edi, eax
push edi
push 0x10052b8
push esi
push 0x5e
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char__
add esp, 0x10
cmp edi, esi
jle 0x10332c6
and edi, 0xffff
or edi, 0x80070000
mov dword [ebp - 0x24], edi
jmp 0x1033656
cmp edx, 0x28
jae 0x10332e6
mov eax, 0x8007007a
push eax
mov dword [ebp - 0x24], eax
push 0x1005284
jmp 0x103364b
xor ecx, ecx
inc ecx
mov dword [edi], ecx
mov al, byte [ebx + 8]
mov byte [edi + 4], al
mov al, byte [ebx + 9]
mov byte [edi + 5], al
movzx eax, byte [ebx + 0xb]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0xc]
cmp eax, esi
je 0x1033339
cmp eax, edx
jae 0x1033339
cmp eax, 0x24
jb 0x1033339
push eax
push ebx
lea eax, [edi + 0x10]
push eax
call fcn.01032d82
cmp eax, esi
mov dword [ebp - 0x24], eax
jge 0x1033352
push eax
push 0x1005250
push esi
push 0x5e
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char__
add esp, 0x10
jmp 0x103334d
push 0x24
push edx
push eax
push 0x10051e8
push ecx
push 0x5e
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char__
add esp, 0x18
cmp dword [ebp - 0x24], esi
jl 0x1033388
mov eax, dword [ebx + 0x10]
cmp eax, esi
je 0x1033388
cmp eax, dword [ebp - 0x28]
jae 0x1033388
cmp eax, 0x24
jb 0x1033388
push eax
push ebx
lea eax, [edi + 0x14]
push eax
call fcn.01032d82
cmp eax, esi
mov dword [ebp - 0x24], eax
jge 0x10333a5
push eax
push 0x10051b0
push esi
push 0x5e
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char__
add esp, 0x10
jmp 0x10333a0
push 0x24
push dword [ebp - 0x28]
push dword [ebx + 0x10]
push 0x1005148
push esi
push 0x5e
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char__
add esp, 0x18
cmp dword [ebp - 0x24], esi
jl 0x10333db
mov eax, dword [ebx + 0x14]
cmp eax, esi
je 0x10333db
cmp eax, dword [ebp - 0x28]
jae 0x10333db
cmp eax, 0x24
jb 0x10333db
push eax
push ebx
lea eax, [edi + 0x18]
push eax
call fcn.01032d82
cmp eax, esi
mov dword [ebp - 0x24], eax
jge 0x10333f8
push eax
push 0x1005110
push esi
push 0x5e
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char__
add esp, 0x10
jmp 0x10333f3
push 0x24
push dword [ebp - 0x28]
push dword [ebx + 0x14]
push 0x10050a0
push esi
push 0x5e
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char__
add esp, 0x18
cmp dword [ebp - 0x24], esi
jl 0x103342e
mov eax, dword [ebx + 0x18]
cmp eax, esi
je 0x103342e
cmp eax, dword [ebp - 0x28]
jae 0x103342e
cmp eax, 0x24
jb 0x103342e
push eax
push ebx
lea eax, [edi + 0x1c]
push eax
call fcn.01032d82
cmp eax, esi
mov dword [ebp - 0x24], eax
jge 0x1033446
push eax
push 0x100506c
push esi
push 0x5e
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char__
add esp, 0x10
jmp 0x1033446
push 0x24
push dword [ebp - 0x28]
push dword [ebx + 0x18]
push 0x1005000
push esi
push 0x5e
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char__
add esp, 0x18
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ebx, eax
cmp ebx, esi
je 0x10334a4
push dword [ebp - 0x28]
push esi
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push ebx
push 0xc
push eax
push 0x2d1400
push dword [ebp - 0x2c]
mov dword [ebp - 0x10], 2
mov dword [ebp - 0xc], esi
call dword [sym.imp.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl]
mov dword [ebp - 0x34], eax
cmp eax, esi
je 0x10334b7
mov eax, dword [ebx + 4]
cmp dword [ebp - 0x28], eax
jae 0x10334ce
mov dword [ebp - 0x28], eax
jmp 0x1033446
mov eax, 0x8007000e
push eax
mov dword [ebp - 0x24], eax
push 0x1004fcc
jmp 0x103364b
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
push eax
push 0x1004f94
push esi
push 0x5e
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char__
add esp, 0x10
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x34], esi
je 0x10334f9
cmp eax, 0x10
jb 0x10334f9
cmp eax, dword [ebx + 4]
jne 0x10334f9
push edi
push ebx
call fcn.01032e62
cmp eax, esi
mov dword [ebp - 0x24], eax
jge 0x1033519
push eax
push 0x1004f60
jmp 0x103364b
push dword [ebp - 0x34]
mov dword [edi + 0x30], esi
push 0x10
push eax
mov dword [edi + 0x34], esi
push dword [ebx + 4]
push 0x1004f00
push 1
push 0x5e
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char__
add esp, 0x1c
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ebx, eax
cmp ebx, esi
je 0x1033571
push dword [ebp - 0x28]
push esi
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x28]
push ebx
push esi
push esi
push 0x70050
push dword [ebp - 0x2c]
call dword [sym.imp.API_MS_Win_Core_IO_L1_1_0.dll_DeviceIoControl]
cmp eax, esi
jne 0x1033584
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
cmp eax, 0x7a
jne 0x103360f
add dword [ebp - 0x28], 0x2400
jmp 0x1033519
mov eax, 0x8007000e
push eax
mov dword [ebp - 0x24], eax
push 0x1004ecc
jmp 0x103364b
mov edx, dword [ebp - 0x28]
cmp edx, 0x30
jb 0x10335ee
cmp dword [ebp - 0x30], 0x30
jb 0x10335ee
mov ecx, dword [ebx + 4]
imul ecx, ecx, 0x90
add ecx, 0x30
cmp edx, ecx
jae 0x10335c2
push ecx
push edx
mov eax, 0x8007007a
push eax
push 0x1004e78
push esi
push 0x5e
mov dword [ebp - 0x24], eax
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char__
add esp, 0x18
jmp 0x1033656
mov eax, dword [ebx]
sub eax, esi
je 0x10335da
dec eax
jne 0x10335e0
lea esi, [ebx + 8]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x38]
jmp 0x10335e0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x20], eax
add edi, 0x20
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
jmp 0x1033656
mov eax, 0x8007007a
push eax
push dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
push edx
push 0x30
push 0x1004e20
push esi
push 0x5e
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char__
add esp, 0x1c
jmp 0x1033656
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
cmp eax, esi
jle 0x1033623
and eax, 0xffff
or eax, 0x80070000
push eax
mov dword [ebp - 0x24], eax
push 0x1004dec
jmp 0x103364b
call dword [sym.imp.API_MS_Win_Core_ErrorHandling_L1_1_0.dll_GetLastError]
cmp eax, esi
jle 0x1033642
and eax, 0xffff
or eax, 0x80070000
push eax
mov dword [ebp - 0x24], eax
push 0x1004db8
push esi
push 0x5e
call sub.vdsutil.dll_void___cdecl_VdsTraceEx_unsigned_long_int__unsigned_long_int__char__
add esp, 0x10
cmp dword [ebp - 0x2c], esi
je 0x103366a
cmp dword [ebp - 0x2c], 0xffffffff
je 0x103366a
push dword [ebp - 0x2c]
call dword [sym.imp.API_MS_Win_Core_Handle_L1_1_0.dll_CloseHandle]
cmp ebx, esi
je 0x1033675
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 0x40]
call sub.vdsutil.dll_public:_void___thiscall_CVdsCallTracer::destructor_void_
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010634db
leave
ret 0xc