Function at 0x1800136f0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x15d0]
mov eax, 0x16d0
call fcn.180017de0
sub rsp, rax
mov rax, qword [0x1800470b8]
xor rax, rsp
mov qword [rbp + 0x15c0], rax
xor r15d, r15d
lea r8, [0x180040068]
mov edx, 0x400
lea rcx, [0x1800495f0]
mov ebx, r15d
call fcn.18002104c
xor edx, edx
lea rcx, [rbp - 0x6c]
mov r8d, 0x110
call fcn.1800195f0
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x70], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rbp - 0x60], 2
jne 0x180013caf
mov qword [rsp + 0x1700], r13
lea r12, [0x180049c08]
lea r13, [0x1800499f0]
mov r14d, r15d
nop dword [rax + rax]
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
lea rcx, [rbp + 0x14c0]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800138ed
xor eax, eax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x70], rax
xor r9d, r9d
mov qword [rsp + 0x78], rax
xor r8d, r8d
mov qword [rbp - 0x80], rax
mov edx, 0x74080
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x30], rax
mov rcx, rdi
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movzx esi, byte [rsp + 0x73]
test sil, sil
je 0x1800138e4
xor eax, eax
xor edx, edx
mov r8d, 0x210
mov qword [rsp + 0x48], rax
mov rcx, r13
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x68], al
call fcn.1800195f0
movzx eax, bl
mov qword [rsp + 0x38], r15
and al, 1
mov byte [rsp + 0x4d], 1
or al, 0xfa
mov word [rsp + 0x4f], r15w
shl al, 4
lea r8, [rsp + 0x48]
mov byte [rsp + 0x51], al
movzx ecx, bl
shr sil, cl
mov eax, 0xec
mov ecx, 0xa1
mov byte [rsp + 0x54], bl
test sil, 0x10
mov dword [rsp + 0x48], 0x200
mov r9d, 0x20
mov edx, 0x7c088
cmovne eax, ecx
mov rcx, rdi
mov byte [rsp + 0x52], al
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x210
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1800138e4
lea rcx, [rbp + 0x10d0]
lea rax, [0x180049a08]
add rax, 0x20
lea rcx, [rcx + 0x40]
cmp rax, r12
jl 0x1800138d1
mov r14d, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, 0x10
jl 0x180013790
mov r13, qword [rsp + 0x1700]
test r14d, r14d
jne 0x180013de3
mov edi, r15d
mov r14d, r15d
movabs r12, 0x4b53494449534353
nop dword [rax]
mov r8d, r14d
lea rdx, str..Scsi_d:
lea rcx, [rbp + 0x14c0]
call fcn.180013fc0
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
lea rcx, [rbp + 0x14c0]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180013ad5
mov ebx, r15d
xor edx, edx
lea rcx, [rbp + 0xb0]
mov r8d, 0x22d
call fcn.1800195f0
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0xb0]
lea rax, [rbp + 0xb0]
mov dword [rsp + 0x28], 0x22d
mov r9d, 0x3c
mov qword [rsp + 0x20], rax
mov edx, 0x4d008
mov dword [rbp + 0xb0], 0x1c
mov rcx, rsi
mov dword [rbp + 0xbc], 0x2710
mov dword [rbp + 0xc8], 0x211
mov dword [rbp + 0xc0], 0x1b0501
mov qword [rbp + 0xb4], r12
mov byte [rbp + 0xd6], 0xec
mov byte [rbp + 0xd8], bl
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x180013ac1
cmp byte [rbp + 0x112], r15b
je 0x180013ac1
lea rdx, [rbp + 0x10c0]
mov rcx, r15
lea rax, [rbp + 0x2da]
cmp rdx, rax
ja 0x180013a4e
lea rdx, [rbp + 0x14bc]
lea rax, [rbp + 0xdc]
cmp rdx, rax
jb 0x180013a4e
nop dword [rax]
inc rcx
cmp rcx, 0x100
jl 0x180013a40
jmp 0x180013abc
lea rax, [rbp + 0xec]
nop word [rax + rax]
movq xmm1, qword [rax - 0x10]
xorps xmm0, xmm0
movq xmm2, qword [rax - 8]
lea rax, [rax + 0x20]
punpcklwd xmm1, xmm0
movdqu xmmword [rbp + rcx*4 + 0x10c0], xmm1
movq xmm1, qword [rax - 0x20]
punpcklwd xmm2, xmm0
movdqu xmmword [rbp + rcx*4 + 0x10d0], xmm2
movq xmm2, qword [rax - 0x18]
punpcklwd xmm1, xmm0
movdqu xmmword [rbp + rcx*4 + 0x10e0], xmm1
punpcklwd xmm2, xmm0
movdqu xmmword [rbp + rcx*4 + 0x10f0], xmm2
add rcx, 0x10
cmp rcx, 0x100
jl 0x180013a60
mov edi, 1
inc ebx
cmp ebx, 2
jl 0x180013971
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r14d
cmp r14d, 0x10
jl 0x180013920
test edi, edi
jne 0x180013de3
call fcn.180013460
test eax, eax
jne 0x180013de3
mov esi, r15d
nop word [rax + rax]
mov r8d, esi
lea rdx, str..PhysicalDrive_d
lea rcx, [rbp + 0x14c0]
call fcn.180013fc0
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
lea rcx, [rbp + 0x14c0]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180013c9f
xor eax, eax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x70], rax
xor r9d, r9d
mov qword [rsp + 0x78], rax
xor r8d, r8d
mov qword [rbp - 0x80], rax
mov edx, 0x74080
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x30], rax
mov rcx, rdi
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x180013c9f
mov ecx, 0x221
call fcn.18001c8b8
mov rbx, rax
mov qword [rsp + 0x38], r15
mov r9d, 0x21
mov r8, rbx
mov edx, 0x7c088
mov rcx, rdi
mov byte [rax + 0xa], 0xec
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x221
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x44], r15d
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x180013c8e
lea rdx, [rbx + 0x10]
mov rcx, r15
lea rax, [rdx + 0x1fe]
lea r8, [rbp + 0x10c0]
cmp r8, rax
ja 0x180013c2e
lea rax, [rbp + 0x14bc]
cmp rax, rdx
jb 0x180013c2e
nop word [rax + rax]
inc rcx
cmp rcx, 0x100
jl 0x180013c20
jmp 0x180013c8e
add rdx, 0x10
movq xmm1, qword [rdx - 0x10]
xorps xmm0, xmm0
movq xmm2, qword [rdx - 8]
lea rdx, [rdx + 0x20]
punpcklwd xmm1, xmm0
movdqu xmmword [rbp + rcx*4 + 0x10c0], xmm1
movq xmm1, qword [rdx - 0x20]
punpcklwd xmm2, xmm0
movdqu xmmword [rbp + rcx*4 + 0x10d0], xmm2
movq xmm2, qword [rdx - 0x18]
punpcklwd xmm1, xmm0
movdqu xmmword [rbp + rcx*4 + 0x10e0], xmm1
punpcklwd xmm2, xmm0
movdqu xmmword [rbp + rcx*4 + 0x10f0], xmm2
add rcx, 0x10
cmp rcx, 0x100
jl 0x180013c32
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.18001f67c
inc esi
cmp esi, 0x10
jl 0x180013b00
jmp 0x180013de3
mov esi, r15d
test ebx, ebx
jne 0x180013de3
cmp byte [0x1800495f0], r15b
jne 0x180013de3
mov ebx, r15d
mov dword [rsp + 0x44], r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x100
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
xor edx, edx
lea rcx, [rbp + 0xb0]
mov r8d, 0x100c
call fcn.1800195f0
mov qword [rsp + 0x30], r15
lea rcx, str..IDE21201.VXD
mov dword [rsp + 0x28], 0x4000000
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r15d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180013d66
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rbp + 0xb0]
mov dword [rsp + 0x28], 8
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, r15d
lea r10, [rbp + 0xb4]
mov r11, r15
cmp byte [r10], r15b
je 0x180013db5
mov rax, r11
shr rax, 1
cmp byte [rbp + rax + 0xb0], r15b
je 0x180013db5
mov eax, r9d
mov r8, r15
shl eax, 8
inc eax
nop dword [rax]
nop word [rax + rax]
add r8, 2
lea eax, [rax + 2]
cmp r8, 0x100
jl 0x180013da0
mov ebx, 1
inc r9d
inc r11
inc r10
cmp r9d, 8
jb 0x180013d73
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x20
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
inc esi
cmp esi, 0xa
jl 0x180013cb2
lea rax, [0x1800495f0]
mov rcx, qword [rbp + 0x15c0]
xor rcx, rsp
call fcn.180017e50
lea r11, [rsp + 0x16d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret