Function at 0x140053b20
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2c90]
mov eax, 0x2d90
call fcn.140012280
sub rsp, rax
xor ebx, ebx
mov esi, ebx
lea rdx, str.SmaBS15QuDNQZ56R49NQrLM9_1
lea rcx, [rsp + 0x70]
call fcn.140054f30
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140048220
cmp qword [rax + 0x18], 8
jb 0x140053b76
mov rax, qword [rax]
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x380]
call fcn.140003f10
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140053bca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053bc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053ea0
call fcn.140011b00
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140053c19
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053c14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140053e9a
call fcn.140011b00
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 3]
lea rcx, [rbp + 0x380]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140053e7b
mov dword [rbp + 0x2cb0], ebx
mov qword [rsp + 0x44], rbx
mov dword [rsp + 0x40], ebx
xor edx, edx
mov r8d, 0x2710
lea rcx, [rbp + 0x580]
call fcn.140014220
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x2cb0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2710
lea rax, [rbp + 0x580]
mov qword [rsp + 0x20], rax
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x40]
mov edx, 0x2d1400
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea r14, [0x140000000]
test eax, eax
je 0x140053d97
xor edx, edx
mov r8d, 0x3e8
lea rcx, [rbp - 0x70]
call fcn.140014220
lea r9, [0x1400b2290]
xor r8d, r8d
mov edx, dword [rbp + 0x58c]
lea rcx, [rbp + 0x580]
call fcn.140053eb0
lea r15, [0x1400b2690]
mov r9, r15
xor r8d, r8d
mov edx, dword [rbp + 0x590]
lea rcx, [rbp + 0x580]
call fcn.140053eb0
lea r9, [rbp - 0x70]
mov r8d, 1
mov edx, dword [rbp + 0x598]
lea rcx, [rbp + 0x580]
call fcn.140053eb0
mov rcx, rbx
nop dword [rax + rax]
movzx eax, byte [rcx + r15]
mov byte [rcx + r14 + 0xb2a90], al
lea rcx, [rcx + 1]
test al, al
jne 0x140053d30
cmp byte [0x1400b1c80], al
jne 0x140053d87
movzx ecx, byte [rbp - 0x70]
call fcn.140020954
test eax, eax
jne 0x140053d67
movzx ecx, byte [rbp - 0x5d]
call fcn.140020954
test eax, eax
je 0x140053d87
mov rcx, rbx
nop word [rax + rax]
movzx eax, byte [rbp + rcx - 0x70]
mov byte [rcx + r14 + 0xb1c80], al
lea rcx, [rcx + 1]
test al, al
jne 0x140053d70
jmp 0x140053d9d
cmp byte [0x1400b2a90], 0
je 0x140053d9d
mov esi, 1
jmp 0x140053d9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
mov r8d, 0x2710
lea rcx, [rbp + 0x580]
call fcn.140014220
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x2cb0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2710
lea rax, [rbp + 0x580]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d0c10
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140053e6c
xor edx, edx
mov r8d, 0x3e8
lea rcx, [rbp - 0x70]
call fcn.140014220
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + rcx + 0x590]
mov byte [rbp + rcx - 0x70], al
lea rcx, [rcx + 1]
test al, al
jne 0x140053e10
cmp byte [0x1400b1c80], al
jne 0x140053e72
movsx ecx, byte [rbp - 0x70]
call fcn.140020954
test eax, eax
jne 0x140053e50
movsx ecx, byte [rbp - 0x5d]
call fcn.140020954
test eax, eax
je 0x140053e72
nop word [rax + rax]
movzx eax, byte [rbp + rbx - 0x70]
mov byte [rbx + r14 + 0xb1c80], al
lea rbx, [rbx + 1]
test al, al
jne 0x140053e50
mov esi, 1
jmp 0x140053e72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
lea r11, [rsp + 0x2d90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140018100
nop
call fcn.140018100
nop
int3