Function at 0x140130a40
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x1404c39e8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], rdx
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r15 + 3]
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140130ac5
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x18], rsi
mov byte [rbx], r15b
jmp 0x140130d4b
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
lea rax, [0x140130a00]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x74], r15
mov dword [rsp + 0x70], r15d
mov qword [rsp + 0x80], r15
mov dword [rsp + 0x68], r15d
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x70]
mov edx, 0x2d1400
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140130b56
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x18], rsi
mov byte [rbx], al
jmp 0x140130d3c
mov esi, dword [rsp + 0x84]
mov ecx, esi
call fcn.140382dc0
mov r14, rax
test rax, rax
je 0x140130b7b
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.1403850b0
jmp 0x140130b7e
mov r14, r15
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x70]
mov edx, 0x2d1400
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140130be0
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x18], rsi
mov byte [rbx], al
test r14, r14
je 0x140130bdb
mov rcx, r14
call fcn.140382774
nop
jmp 0x140130d3c
mov eax, dword [r14 + 0x18]
test eax, eax
jne 0x140130c08
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x18], rsi
mov byte [rbx], al
mov rcx, r14
call fcn.140382774
nop
jmp 0x140130d3c
lea r13, [r14 + rax]
mov r8, 0xffffffffffffffff
mov rdi, r8
inc rdi
cmp byte [rdi + r13], 0
jne 0x140130c16
mov rcx, qword [r12 + 0x10]
mov qword [rsp + 0x50], rcx
movabs rdx, 0x7fffffffffffffff
mov rax, rdx
sub rax, rcx
cmp rax, rdi
jb 0x140130d87
mov qword [rsp + 0x48], r12
cmp qword [r12 + 0x18], 0x10
jb 0x140130c59
mov rax, qword [r12]
mov qword [rsp + 0x48], rax
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
lea rax, [rcx + rdi]
mov qword [rsp + 0x40], rax
mov esi, reloc.WS2_32.dll_ntohs
mov r15, rbx
cmp rax, rsi
jbe 0x140130d00
mov rsi, rax
or rsi, 0xf
cmp rsi, rdx
jbe 0x140130c8f
mov rsi, rdx
jmp 0x140130c9b
mov ecx, reloc.WS2_32.dll_shutdown
cmp rsi, rcx
cmovb rsi, rcx
mov rcx, rsi
add rcx, 1
cmovb rcx, r8
cmp rcx, 0x1000
jb 0x140130ce0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140130d8d
mov rcx, rax
call fcn.140382738
test rax, rax
je 0x140130d81
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
mov rax, qword [rsp + 0x40]
jmp 0x140130cf7
test rcx, rcx
je 0x140130cf4
call fcn.140382738
mov r15, rax
mov rax, qword [rsp + 0x40]
jmp 0x140130cf7
xor r15d, r15d
mov qword [rbx], r15
nop word [rax + rax]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rsi
mov r8, rdi
mov rdx, r13
mov rcx, r15
call fcn.140384a00
lea rcx, [r15 + rdi]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
call fcn.140384a00
mov rax, qword [rsp + 0x40]
mov byte [r15 + rax], 0
mov rcx, r14
call fcn.140382774
nop
test rbp, rbp
je 0x140130d4b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, r12
call fcn.140129eb0
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140382da0
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140389824
nop
call fcn.140129fa0
int3
call fcn.140129f80
int3