Function at 0x140004ee0
Capabilities:
Get storage device properties
Hash data using sha256

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x14011c728]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r15, rcx
mov qword [rsp + 0x58], rcx
xor r12d, r12d
mov dword [rsp + 0x50], r12d
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], r12b
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x1400054ad
lea rdx, str.NtOpenFile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
lea rdx, str.NtDeviceIoControlFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, str.RtlInitUnicodeString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test r14, r14
je 0x140005486
test rdi, rdi
je 0x140005486
test rax, rax
je 0x140005486
lea rdx, str.DeviceHarddisk0DR0
lea rcx, [rbp + 0x80]
call rax
mov dword [rsp + 0x68], 0x30
mov qword [rsp + 0x70], r12
mov esi, 0x40
mov dword [rbp - 0x80], esi
lea rax, [rbp + 0x80]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x90]
lea r8, [rsp + 0x68]
lea edx, [rsi + 0x40]
lea rcx, [rsp + 0x60]
call r14
test eax, eax
js 0x1400054d4
mov qword [rbp + 0x70], r12
xor eax, eax
mov dword [rbp + 0x78], eax
mov dword [rsp + 0x48], 0x12c
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], recv
lea rax, [rbp + 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2d1400
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call rdi
test eax, eax
js 0x1400054fb
mov eax, dword [rbp + 0xe8]
lea rbx, [rbp + 0xd0]
add rbx, rax
cmp byte [rbx], 0x20
jne 0x140005088
nop dword [rax + rax]
inc rbx
cmp byte [rbx], 0x20
je 0x140005080
mov eax, dword [rbp + 0xe0]
lea rdx, [rbp + 0xd0]
add rdx, rax
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x1400050c0
lea rcx, [rbp - 0x48]
call fcn.140003f40
nop
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov r8, rdi
inc r8
cmp byte [rbx + r8], 0
jne 0x1400050f3
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140003f40
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xor eax, eax
xor ecx, ecx
cpuid
mov dword [rbp + 0xb0], eax
mov dword [rbp + 0xb0], ebx
mov dword [rbp + 0xb4], edx
mov dword [rbp + 0xb8], ecx
mov byte [rbp + 0xbc], 0
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
lea rcx, [rbp - 0x28]
call fcn.140003ca0
mov r8d, 1
lea rdx, [0x1400eb7c8]
mov rcx, rax
call fcn.140003ca0
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
mov rcx, rax
call fcn.140003ca0
mov r8d, 1
lea rdx, [0x1400eb7c8]
mov rcx, rax
call fcn.140003ca0
lea rcx, [rbp + 0xb0]
nop
inc rdi
cmp byte [rcx + rdi], 0
jne 0x1400051a0
mov r8, rdi
lea rdx, [rbp + 0xb0]
mov rcx, rax
call fcn.140003ca0
mov eax, r12d
mov dword [rbp + 0x40], eax
mov qword [rbp + 0x48], r12
mov dword [rbp + 0x50], 0x6a09e667
mov dword [rbp + 0x54], 0xbb67ae85
mov dword [rbp + 0x58], 0x3c6ef372
mov dword [rbp + 0x5c], 0xa54ff53a
mov dword [rbp + 0x60], 0x510e527f
mov dword [rbp + 0x64], 0x9b05688c
mov dword [rbp + 0x68], 0x1f83d9ab
mov dword [rbp + 0x6c], 0x5be0cd19
lea rdi, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdi, qword [rbp - 0x28]
mov rbx, r12
mov r14, qword [rbp - 0x18]
test r14, r14
je 0x140005256
nop word [rax + rax]
mov ecx, eax
movzx eax, byte [rbx + rdi]
mov byte [rbp + rcx], al
mov eax, dword [rbp + 0x40]
inc eax
mov dword [rbp + 0x40], eax
cmp eax, 0x40
jne 0x14000524e
lea rcx, [rbp]
call fcn.14002cd20
add qword [rbp + 0x48], 0x200
mov eax, r12d
mov dword [rbp + 0x40], eax
inc rbx
cmp rbx, r14
jb 0x140005220
mov byte [rbp + rax], 0x80
lea rcx, [rax + 1]
mov edx, gethostname
cmp eax, edx
cmovb rsi, rdx
cmp rcx, rsi
jae 0x140005283
sub rsi, rcx
lea rax, [rbp]
add rcx, rax
mov r8, rsi
xor edx, edx
call fcn.1400937e0
mov eax, dword [rbp + 0x40]
cmp eax, 0x38
jb 0x1400052ac
lea rcx, [rbp]
call fcn.14002cd20
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
mov eax, dword [rbp + 0x40]
lea edx, [rax*8]
add rdx, qword [rbp + 0x48]
mov qword [rbp + 0x48], rdx
movzx eax, dl
mov byte [rbp + 0x3f], dl
mov rax, rdx
shr rax, 8
mov byte [rbp + 0x3e], al
mov rax, rdx
shr rax, 0x10
mov byte [rbp + 0x3d], al
mov rax, rdx
shr rax, 0x18
mov byte [rbp + 0x3c], al
mov rax, rdx
shr rax, 0x20
mov byte [rbp + 0x3b], al
mov rax, rdx
shr rax, 0x28
mov byte [rbp + 0x3a], al
mov rax, rdx
shr rax, 0x30
mov byte [rbp + 0x39], al
shr rdx, 0x38
mov byte [rbp + 0x38], dl
lea rcx, [rbp]
call fcn.14002cd20
xor r9b, r9b
lea r8, [rbp + 0xb0]
lea rax, [rbp + 0x50]
sub r8, rax
nop
movzx eax, r9b
mov ecx, 3
sub ecx, eax
shl ecx, 3
lea rax, [rbp + 0x50]
mov ebx, 8
nop word [rax + rax]
mov edx, dword [rax]
shr edx, cl
mov byte [r8 + rax], dl
lea rax, [rax + 4]
sub rbx, 1
jne 0x140005340
inc r9b
inc r8
cmp r9b, 4
jb 0x140005320
lea rdx, [rbp + 0xb0]
mov rcx, r15
call fcn.14002cf40
mov dword [rsp + 0x50], 1
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x1400053b0
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400053ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005522
call fcn.140091704
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x1400053fb
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400053f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005528
call fcn.140091704
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140005442
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000543d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005480
call fcn.140091704
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
mov rax, r15
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140091380
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140097df4
nop
lea rdx, str.Failed_to_find_procedures
lea rcx, [rbp + 0xb0]
call fcn.140004e20
lea rdx, [0x14011a1e0]
lea rcx, [rbp + 0xb0]
call fcn.140093e74
int3
lea rdx, str.Failed_to_find_ntdll
lea rcx, [rbp + 0xb0]
call fcn.140004e20
lea rdx, [0x14011a1e0]
lea rcx, [rbp + 0xb0]
call fcn.140093e74
int3
lea rdx, str.Failed_to_open_drive
lea rcx, [rbp + 0xb0]
call fcn.140004e20
lea rdx, [0x14011a1e0]
lea rcx, [rbp + 0xb0]
call fcn.140093e74
int3
lea rdx, str.Failed_to_query_drive
lea rcx, [rbp + 0xb0]
call fcn.140004e20
lea rdx, [0x14011a1e0]
lea rcx, [rbp + 0xb0]
call fcn.140093e74
nop
call fcn.140097df4
nop
call fcn.140097df4
int3