Function at 0x1404e1f9e
Capabilities:
Get storage device properties

Disassembly:
adc eax, 0x9bb571
mov rbx, rax
test rax, rax
jne 0x1400047ed
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [r14 + 0x10], xmm1
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], send
mov byte [rsp + 0x50], al
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x1400047d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400049a6
call fcn.140052aa4
nop
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], send
mov byte [rsp + 0x50], 0
mov rax, r14
jmp 0x140004973
mov dword [rsp + 0xa0], esi
mov ecx, 0x9661cbb4
call fcn.1400024e0
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0x1028
mov qword [rsp + 0x20], rbx
mov r9d, recv
lea r8, [rsp + 0x90]
mov edx, 0x2d1400
mov rcx, rdi
call rax
test eax, eax
jne 0x140004853
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rbx + 0x18]
lea eax, [rcx - 1]
cmp eax, 0xfff
ja 0x1400048a6
lea rdx, [rbx + rcx]
inc r15
cmp byte [rdx + r15], 0
jne 0x140004864
mov r8, r15
lea rcx, [rsp + 0x50]
call fcn.140001f50
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x70]
call fcn.1400049c0
nop
jmp 0x140004940
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [r14 + 0x10], xmm1
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], send
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x140004911
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000490c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400049a6
call fcn.140052aa4
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], 7
mov word [rsp + 0x70], si
lea rcx, [rsp + 0x50]
call fcn.140001dc0
mov rax, r14
jmp 0x140004973
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [r14 + 0x10], xmm1
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], send
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call fcn.140001dc0
mov rax, r14
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140052a40
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14005ee60
int3
mov qword [rsp + 0x28], rbp
setae cl
lea rsi, [rsi + 0x269efc1c]
mov rdi, qword [rsp + 0x10]
mov rdi, qword [rdi]
test rsi, 0x7710b82e
setns r15b
neg r14w
sub r14w, 0xb589
lea rdi, [rdi - 0x494a4362]
cmove rsi, r14
not r14
sub r14d, 0x4ea2569a
mov qword [rsp + 0x10], r15
xchg qword [rsp + r14*4 - 0x515d7e68], rdi
call fcn.1402db9bb
iretd
lea rdi, [rdi - 0x7e6191c8]
not r9d
not r9w
xchg qword [rsp + 0x60], rdi
mov r11, qword [rsp + 0x30]
sub r8, r9
setb byte [rsp + 8]
sets byte [rsp + 8]
jl 0x1405315fb
je 0x140427db6
jb 0x1403d66d7
mov r8, qword [rsp + 0x58]
setge byte [rsp + 8]
not qword [rsp + 8]
lea r9, [r9*2 - 0x17eabefd]
shr byte [rsp + 8], 0xbe
neg word [rsp + 8]
and r9b, byte [rsp + 0xa]
mov r9, qword [rsp + 0x38]
shr word [rsp + 8], 0xd
cmp byte [rsp + 8], 0x89
jo 0x1403a5b67
and byte [rsp + 8], 0x8a
jl 0x140004756
push qword [rsp + 0x48]
popfq
lea rsp, [rsp + 0x60]
ret
mov qword [rsp + 0x10], 0xffffffff89b4e3ad
push qword [rsp + 0x68]
popfq
lea rsp, [rsp + 0x70]
ret