Function at 0x1d54840
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov eax, dword [0x1d8f008]
xor eax, ebp
mov dword [esp + 0x98], eax
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x50]
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea edi, [esp + 0x40]
push 0x23
push str.machine_id_provider_win.cc
push str.GetMachineId
push edi
call fcn.01d38950
add esp, 0x10
mov ecx, ebx
push 0
push edi
call fcn.01d2c930
xor esi, esi
dec esi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov ecx, edi
call fcn.01d39710
push edi
push 1
call fcn.01d49480
add esp, 8
test al, al
je 0x1d54aa9
lea edi, [esp + 0x34]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
lea ecx, [esp + 0x40]
push edi
call fcn.01d39b40
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x1d54abd
lea ebx, [esp + 0x28]
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
push eax
push str.._
push ebx
call fcn.01d1f510
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x1d54901
mov ebx, dword [esp + 0x28]
sub esp, 0x1c
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
movdqa xmm0, xmmword [0x1d86ee0]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [esp + 0x24]
mov dword [ecx], edi
push eax
call fcn.01d014f0
lea ebx, [esp + 0x88]
mov dword [ebx + 4], edi
mov dword [ebx], edi
mov dword [ebx + 8], edi
lea ecx, [esp + 0x20]
mov dword [ecx], esi
lea eax, [esp + 0x18]
mov dword [eax + 4], edi
mov dword [eax], edi
push edi
push ecx
push 8
push eax
push 0xc
push ebx
push 0x2d1400
lea eax, [esp + 0x40]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1d54a99
lea edi, [esp + 0xc]
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov ecx, edi
push dword [esp + 0x1c]
call fcn.01cfcdc0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, eax
je 0x1d54ad4
push 0
lea edx, [esp + 0x24]
push edx
push ecx
push eax
push 0xc
push ebx
push 0x2d1400
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1d54a87
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov esi, eax
sub esi, ecx
je 0x1d54ad4
mov edx, dword [ecx + 0x18]
cmp edx, esi
jae 0x1d54a87
add edx, ecx
cmp edx, eax
je 0x1d54a80
add ecx, esi
mov esi, edx
cmp byte [esi], 0
je 0x1d549f1
inc esi
cmp esi, eax
jne 0x1d549e2
jmp 0x1d54a79
cmp esi, eax
je 0x1d54a87
mov esi, dword [ebp + 8]
mov ecx, esi
push edx
call fcn.01cf3330
lea ecx, [esp + 0x84]
mov dword [ecx], edi
call fcn.01d54c80
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 2
lea edi, [esp + 0x34]
jb 0x1d54a31
call fcn.01d38980
push dword [esp + 0x24]
call fcn.01d27710
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x1d54a44
push dword [esp + 0x28]
call fcn.01cc3180
add esp, 4
lea ecx, [esp + 0x28]
mov dword [ecx], edi
call fcn.01d1e130
lea ecx, [esp + 0x40]
call fcn.01d39820
lea ecx, [esp + 0x50]
call fcn.01d2c9b0
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.01cc3f9d
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, ecx
jmp 0x1d549f1
mov esi, eax
jmp 0x1d549f1
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
jmp 0x1d54a04
mov esi, dword [ebp + 8]
mov dword [esi + 4], edi
mov dword [esi], edi
mov dword [esi + 8], edi
jmp 0x1d54a12
call fcn.01d3ba90
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
jmp 0x1d54a4f
call fcn.01d3ba90
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
jmp 0x1d54a44
push str.vector___index_out_of_bounds
push str.__n___size__
push 0x601
push str....._third_partylibc_srcinclude_vector
push str._s:_d:_assertion__s_failed:__s_n
call fcn.01cfd380
int3