Function at 0x54d4a0
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 [0x5c4738]
xor eax, ebp
mov dword [esp + 0x98], eax
xor esi, esi
dec esi
lea edi, [esp + 0x50]
mov dword [edi + 0x34], esi
mov dword [edi + 0x30], esi
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0x40]
push 0x22
push str..._.._components_metrics_machine_id_provider_win.cc
push str.GetMachineId
push ebx
call fcn.004c10c0
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.004c7be0
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov ecx, ebx
call fcn.0041a390
push ebx
push 7
call fcn.00428850
add esp, 8
test al, al
je 0x54d725
xor ebx, ebx
lea edi, [esp + 0x34]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
lea ecx, [esp + 0x40]
push edi
call fcn.0040e620
mov ecx, dword [edi]
cmp ecx, dword [edi + 4]
je 0x54d75c
lea ebx, [esp + 0x28]
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
push ecx
push str.._
push ebx
call fcn.0041e5b0
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x54d569
mov ebx, dword [esp + 0x28]
sub esp, 0x1c
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
movdqa xmm0, xmmword [0x58cf60]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, 0
test eax, eax
je 0x54d5b7
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp edi, 0xffffffff
je 0x54d7a3
call fcn.004bafe0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, edi
lea ecx, [esp + 0x88]
mov dword [ecx + 4], esi
mov dword [ecx], esi
mov dword [ecx + 8], esi
lea edx, [esp + 0x24]
mov dword [edx], 0xffffffff
lea eax, [esp + 0x1c]
mov dword [eax + 4], esi
mov dword [eax], esi
push esi
push edx
push 8
push eax
push 0xc
push ecx
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x54d76c
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
test ebx, ebx
je 0x54d77e
js 0x54d7aa
push ebx
call fcn.004cf0a6
add esp, 4
mov edi, eax
mov dword [esp + 0x10], eax
lea esi, [eax + ebx]
mov dword [esp + 0x18], esi
push ebx
push 0
push eax
call fcn.004d5a00
add esp, 0xc
mov dword [esp + 0x14], esi
sub esi, edi
push 0
lea eax, [esp + 0x28]
push eax
push esi
push edi
push 0xc
lea eax, [esp + 0x9c]
push eax
push 0x2d1400
mov ebx, dword [esp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x54d785
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 0x18]
mov esi, ecx
sub esi, eax
cmp edx, esi
mov edi, dword [ebp + 8]
jae 0x54d698
add eax, edx
cmp eax, ecx
je 0x54d698
mov edx, eax
cmp byte [edx], 0
je 0x54d78f
inc edx
cmp ecx, edx
jne 0x54d68a
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x54d6b7
mov dword [esp + 0x14], eax
push eax
call fcn.004cf0d6
add esp, 4
lea eax, [ebx + 1]
cmp eax, 2
jb 0x54d6cd
call fcn.004bafe0
push ebx
call fcn.004c1b90
add esp, 4
cmp byte [esp + 0x33], 0
jns 0x54d6e0
push dword [esp + 0x28]
call fcn.004cf0d6
add esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x54d732
mov eax, dword [esp + 0x38]
cmp eax, ecx
je 0x54d79c
lea esi, [eax - 0xc]
cmp byte [eax - 1], 0
jns 0x54d70c
push dword [eax - 0xc]
mov ebx, ecx
call fcn.004cf0d6
mov ecx, ebx
add esp, 4
mov eax, esi
cmp ecx, esi
jne 0x54d6f4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
push eax
call fcn.004cf0d6
add esp, 4
jmp 0x54d732
xor eax, eax
mov edi, dword [ebp + 8]
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], eax
lea ecx, [esp + 0x40]
call fcn.004c5e70
lea ecx, [esp + 0x50]
call fcn.004c7b60
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.004d25a3
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp + 8]
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 8], ebx
jmp 0x54d6e4
xor eax, eax
mov edi, dword [ebp + 8]
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], eax
jmp 0x54d6b7
xor edi, edi
jmp 0x54d63f
xor eax, eax
mov edi, dword [ebp + 8]
jmp 0x54d69a
mov ecx, edi
push eax
call fcn.004fc470
jmp 0x54d6a2
mov eax, ecx
jmp 0x54d716
xor edi, edi
jmp 0x54d5ae
lea ecx, [esp + 0x10]
call fcn.004ff350
int3