Function at 0x1400750e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub rsp, 0x658
mov rax, qword [0x140155080]
xor rax, rsp
mov qword [rsp + 0x640], rax
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWAREDEVICEMAPScsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140075579
mov dword [rsp + 0x1c4], 0x100
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x1c4]
lea r8, [rsp + 0x240]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14007556b
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x240]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14007555b
mov dword [rsp + 0x1c0], 0x100
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x1c0]
lea r8, [rsp + 0x340]
mov edx, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14007554d
lea rax, [rsp + 0x198]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, [rsp + 0x340]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14007553d
lea rax, [rsp + 0x190]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.Target_Id_0Logical_Unit_Id_0
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14007552f
mov dword [rsp + 0x1cc], 0x100
lea rax, [rsp + 0x1cc]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x440]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1d0]
xor r8d, r8d
lea rdx, str.DeviceType
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140075521
cmp dword [rsp + 0x1d0], 1
jne 0x140075521
lea rax, [rsp + 0x440]
lea rcx, str.DiskPeripheral
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14007532a
inc rax
test dl, dl
jne 0x140075317
xor eax, eax
jmp 0x14007532f
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140075521
mov edx, reloc.WS2_32.dll_ntohl
lea rcx, [rsp + 0x1f8]
call fcn.140075050
nop
mov edx, reloc.WS2_32.dll_ntohl
lea rcx, [rsp + 0x1d8]
call fcn.140075050
lea rcx, [rsp + 0x1d8]
call fcn.14006ca40
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x1d8]
call fcn.14006ca50
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.DeviceIdentifierPage
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x1f8]
call fcn.14006ca40
inc rax
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x1f8]
call fcn.14006ca50
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140113f58]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x1f8]
call fcn.14006ca40
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x1f8]
call fcn.14006ca50
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.InquiryData
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x1d8]
call fcn.14006ca40
inc rax
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x1d8]
call fcn.14006ca50
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x100], rax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140113f78]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rsp + 0x1d8]
call fcn.14006cd30
nop
lea rcx, [rsp + 0x1f8]
call fcn.14006cd30
mov rcx, qword [rsp + 0x190]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x1c0], 0x100
jmp 0x1400751e4
mov rcx, qword [rsp + 0x1a0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x1c4], 0x100
jmp 0x14007513e
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystemMultifunctionAdapter0DiskController0DiskPeripheral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14007581b
mov dword [rsp + 0x1c8], 0x100
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x1c8]
lea r8, [rsp + 0x540]
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14007580d
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, [rsp + 0x540]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400757fd
mov edx, 8
lea rcx, [rsp + 0x170]
call fcn.140075050
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x90], rax
mov edx, 8
lea rcx, [rsp + 0x150]
call fcn.140075050
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x78], rax
lea r8, reloc.WLDAP32.dll_Ordinal_45
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x130]
call fcn.14007d2f0
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x110]
call fcn.14007d340
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
lea r8, [0x140113fe4]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x218]
call fcn.14007d2f0
nop
lea rcx, [rsp + 0x110]
call fcn.14006cd30
nop
lea rcx, [rsp + 0x130]
call fcn.14006cd30
nop
lea rcx, [rsp + 0x150]
call fcn.14006cd30
nop
lea rcx, [rsp + 0x170]
call fcn.14006cd30
lea rcx, [rsp + 0x218]
call fcn.14006ca40
inc rax
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0x218]
call fcn.14006ca50
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.Identifier
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x1b8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x218]
call fcn.14006cd30
mov dword [rsp + 0x1c8], 0x100
jmp 0x1400755be
mov rcx, qword [rsp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x640]
xor rcx, rsp
call fcn.1400ea150
add rsp, 0x658
ret