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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x448
lea rbp, [rsp + 0x80]
vmovaps xmmword [rbp + 0x3b0], xmm6
mov qword [rbp + 0x3a8], 0xfffffffffffffffe
lea rcx, str.SPOOFING_DISKS________________________________________________________________________
call fcn.14001f484
lea rax, [rbp + 0x300]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400451c2]
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rcx, [0x1400517b0]
test eax, eax
je 0x140009ca7
lea rdx, str._X__Failed_to_open_registry_key:_HARDWAREDEVICEMAPScsi
call fcn.140008e50
mov rcx, rax
call fcn.140009240
jmp 0x140009d34
lea rdx, str.___Successfully_opened_registry_key:_HARDWAREDEVICEMAPScsi
call fcn.140008e50
mov rcx, rax
call fcn.140009240
mov dword [rbp + 0x39c], 0
mov rcx, qword [rbp + 0x300]
vxorps xmm6, xmm6, xmm6
vmovups xmmword [rsp + 0x48], xmm6
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0x28], ymm0
lea rax, [rbp + 0x39c]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], 0
xor edi, edi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
vzeroupper
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x140009d50
lea rcx, [0x1400517b0]
lea rdx, str._X__Error_querying_subkey_count
call fcn.140008e50
mov rcx, rax
call fcn.140009240
mov rcx, qword [rbp + 0x300]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
vmovaps xmm6, xmmword [rbp + 0x3b0]
add rsp, 0x448
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r15, [0x1400517b0]
lea rdx, str.___Number_of_subkeys:
mov rcx, r15
call fcn.140008e50
mov edx, dword [rbp + 0x39c]
mov rcx, rax
call fcn.14000ae80
mov rcx, rax
call fcn.140009240
lea r12, [rbp - 0x20]
mov r13, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x140009d92
call fcn.140011440
nop
inc edi
cmp edi, dword [rbp + 0x39c]
jae 0x140009d27
mov dword [rbp + 0x2f0], 0x100
mov rcx, qword [rbp + 0x300]
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0x20], ymm0
mov edx, edi
mov r8, r12
lea r9, [rbp + 0x2f0]
vzeroupper
call r13
test eax, eax
jne 0x140009d90
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rbp + 0xe0], ymm0
mov rcx, r12
vzeroupper
call fcn.140020170
test rax, rax
js 0x14000ac3b
mov rbx, rax
cmp rax, 0xf
ja 0x140009e24
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], 0xf
lea rcx, [rbp + 0xe0]
mov rdx, r12
mov r8, rbx
call fcn.140039610
add rbx, rbp
add rbx, 0xe0
jmp 0x140009e8a
mov rsi, rbx
or rsi, 0xf
cmp rsi, 0x17
mov eax, 0x16
cmovb rsi, rax
cmp rsi, 0xfff
jb 0x140009e58
lea rcx, [rsi + 0x28]
call fcn.1400113fc
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140009e64
lea rcx, [rsi + 1]
call fcn.1400113fc
mov r14, rax
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xf0], rbx
mov qword [rbp + 0xf8], rsi
mov rcx, r14
mov rdx, r12
mov r8, rbx
call fcn.140039610
add rbx, r14
mov byte [rbx], 0
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rbp + 0x1e0], ymm0
mov ecx, 0x20
vzeroupper
call fcn.1400113fc
mov qword [rbp + 0x1e0], rax
mov qword [rbp + 0x1f0], 0x18
mov qword [rbp + 0x1f8], 0x1f
vmovups xmm0, xmmword [str.HARDWAREDEVICEMAPScsi_]
vmovups xmmword [rax], xmm0
movabs rcx, 0x5c697363535c5041
mov qword [rax + 0x10], rcx
mov byte [rax + 0x18], 0
lea rcx, [rbp + 0x350]
lea r8, [rbp + 0x1e0]
lea rbx, [rbp + 0xe0]
mov r9, rbx
call fcn.14000ba50
mov rax, qword [rbp + 0x1f8]
cmp rax, 0x10
jb 0x140009f43
mov rcx, qword [rbp + 0x1e0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140009f3e
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000ac29
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140011440
mov qword [rbp + 0x2e0], rdi
mov rax, qword [rbp + 0xf8]
cmp rax, 0x10
jb 0x140009f8f
mov rcx, qword [rbp + 0xe0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140009f8a
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000ac29
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140011440
mov rcx, r15
lea rdx, str.___Found_port:
call fcn.140008e50
cmp qword [rbp + 0x368], 0x10
lea rdx, [rbp + 0x350]
jb 0x140009fb6
mov rdx, qword [rbp + 0x350]
mov r8, qword [rbp + 0x360]
mov rcx, rax
call fcn.14000d500
mov rcx, rax
call fcn.140009240
cmp qword [rbp + 0x368], 0x10
lea rdx, [rbp + 0x350]
jb 0x140009fe5
mov rdx, qword [rbp + 0x350]
lea rax, [rbp + 0x308]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14000a04e
mov rcx, r15
lea rdx, str._X__Failed_to_open_port_key:
call fcn.140008e50
cmp qword [rbp + 0x368], 0x10
lea rdx, [rbp + 0x350]
jb 0x14000a032
mov rdx, qword [rbp + 0x350]
mov r8, qword [rbp + 0x360]
mov rcx, rax
call fcn.14000d500
mov rcx, rax
call fcn.140009240
jmp 0x14000a0fb
mov rcx, r15
lea rdx, str.___Successfully_opened_port_key:
call fcn.140008e50
cmp qword [rbp + 0x368], 0x10
lea rdx, [rbp + 0x350]
jb 0x14000a075
mov rdx, qword [rbp + 0x350]
mov r8, qword [rbp + 0x360]
mov rcx, rax
call fcn.14000d500
mov rcx, rax
call fcn.140009240
mov dword [rbp + 0x3a0], 0
mov rcx, qword [rbp + 0x308]
vmovups xmmword [rsp + 0x48], xmm6
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0x28], ymm0
lea rax, [rbp + 0x3a0]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], 0
xor edx, edx
xor r8d, r8d
xor r9d, r9d
vzeroupper
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x14000a153
mov rcx, r15
lea rdx, str._X__Error_querying_bus_subkey_count
call fcn.140008e50
mov rcx, rax
call fcn.140009240
mov rcx, qword [rbp + 0x308]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rbp + 0x368]
cmp rax, 0x10
mov rdi, qword [rbp + 0x2e0]
lea r12, [rbp - 0x20]
jb 0x140009d90
mov rcx, qword [rbp + 0x350]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140009d89
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000ac29
add rax, 0x28
mov rdx, rax
mov rcx, r8
jmp 0x140009d89
mov rcx, r15
lea rdx, str.___Number_of_bus_subkeys:
call fcn.140008e50
mov edx, dword [rbp + 0x3a0]
mov rcx, rax
call fcn.14000ae80
mov rcx, rax
call fcn.140009240
xor edi, edi
jmp 0x14000a192
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140011440
nop dword [rax + rax]
inc edi
cmp edi, dword [rbp + 0x3a0]
jae 0x14000a0ee
mov dword [rbp + 0x2f4], 0x100
mov rcx, qword [rbp + 0x308]
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rsp + 0x20], ymm0
mov edx, edi
mov r8, rbx
lea r9, [rbp + 0x2f4]
vzeroupper
call r13
test eax, eax
jne 0x14000a190
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rbp + 0x370], ymm0
mov rcx, rbx
vzeroupper
call fcn.140020170
test rax, rax
js 0x14000ac31
mov r14, rax
cmp rax, 0xf
ja 0x14000a228
mov qword [rbp + 0x380], r14
mov qword [rbp + 0x388], 0xf
lea rcx, [rbp + 0x370]
mov rdx, rbx
mov r8, r14
call fcn.140039610
add r14, rbp
add r14, 0x370
jmp 0x14000a292
mov rsi, r14
or rsi, 0xf
cmp rsi, 0x17
mov eax, 0x16
cmovb rsi, rax
cmp rsi, 0xfff
jb 0x14000a260
lea rcx, [rsi + 0x28]
call fcn.1400113fc
mov r12, rax
add r12, 0x27
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
jmp 0x14000a26c
lea rcx, [rsi + 1]
call fcn.1400113fc
mov r12, rax
mov qword [rbp + 0x370], r12
mov qword [rbp + 0x380], r14
mov qword [rbp + 0x388], rsi
mov rcx, r12
mov rdx, rbx
mov r8, r14
call fcn.140039610
add r14, r12
mov dword [rbp + 0x2fc], edi
mov byte [r14], 0
mov r14, qword [rbp + 0x360]
movabs rax, 0x7fffffffffffffff
cmp r14, rax
je 0x14000ac36
mov rbx, r13
mov r13, qword [rbp + 0x350]
mov rax, qword [rbp + 0x368]
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rbp + 0x310], ymm0
lea rsi, [r14 + 1]
mov edi, 0xf
lea r12, [rbp + 0x310]
cmp rsi, 0x10
jb 0x14000a358
mov qword [rbp + 0x2e8], rax
movabs rdi, 0x7fffffffffffffff
cmp r14, 0xffffffffffffffff
jl 0x14000a31d
mov rdi, rsi
or rdi, 0xf
cmp rdi, 0x17
mov eax, 0x16
cmovb rdi, rax
cmp rdi, 0xfff
jb 0x14000a33b
lea rcx, [rdi + 0x28]
vzeroupper
call fcn.1400113fc
mov r12, rax
add r12, 0x27
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
jmp 0x14000a34a
lea rcx, [rdi + 1]
vzeroupper
call fcn.1400113fc
mov r12, rax
mov rax, qword [rbp + 0x2e8]
mov qword [rbp + 0x310], r12
cmp rax, 0x10
lea rax, [rbp + 0x350]
cmovb r13, rax
mov qword [rbp + 0x320], rsi
mov qword [rbp + 0x328], rdi
mov rcx, r12
mov rdx, r13
mov r8, r14
vzeroupper
call fcn.140039610
mov word [r12 + r14], 0x5c
lea rcx, [rbp + 0x1e0]
lea r8, [rbp + 0x310]
lea r9, [rbp + 0x370]
call fcn.14000ba50
mov rax, qword [rbp + 0x1f0]
mov rcx, qword [rbp + 0x1f8]
mov rdx, rcx
sub rdx, rax
cmp rdx, 0x1e
mov r13, rbx
mov edi, dword [rbp + 0x2fc]
jae 0x14000a3f4
mov qword [rsp + 0x20], 0x1e
mov edx, 0x1e
lea rcx, [rbp + 0x1e0]
lea r9, [0x1400460ea]
call fcn.140007c30
lea rbx, [rbp + 0xe0]
jmp 0x14000a441
lea rdx, [rax + 0x1e]
mov qword [rbp + 0x1f0], rdx
lea rdx, [rbp + 0x1e0]
cmp rcx, 0x10
lea rbx, [rbp + 0xe0]
jb 0x14000a41a
mov rdx, qword [rbp + 0x1e0]
vmovups xmm0, xmmword [0x1400460f8]
vmovups xmmword [rdx + rax + 0xe], xmm0
vmovups xmm0, xmmword [0x1400460ea]
vmovups xmmword [rdx + rax], xmm0
mov byte [rdx + rax + 0x1e], 0
lea rax, [rbp + 0x1e0]
vmovups ymm0, ymmword [rax]
vmovups ymmword [rbp + 0x330], ymm0
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rax, qword [rbp + 0x1f8]
cmp rax, 0x10
jb 0x14000a4a8
mov rcx, qword [rbp + 0x1e0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000a4a0
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000ac29
add rax, 0x28
mov rdx, rax
mov rcx, r8
vzeroupper
call fcn.140011440
mov qword [rbp + 0x1f0], 0
mov qword [rbp + 0x1f8], 0xf
mov byte [rbp + 0x1e0], 0
mov rax, qword [rbp + 0x328]
cmp rax, 0x10
jb 0x14000a50d
mov rcx, qword [rbp + 0x310]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000a505
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000ac29
add rax, 0x28
mov rdx, rax
mov rcx, r8
vzeroupper
call fcn.140011440
mov rax, qword [rbp + 0x388]
cmp rax, 0x10
jb 0x14000a555
mov rcx, qword [rbp + 0x370]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000a54d
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000ac29
add rax, 0x28
mov rdx, rax
mov rcx, r8
vzeroupper
call fcn.140011440
mov rcx, r15
lea rdx, str.___Found_bus:
vzeroupper
call fcn.140008e50
cmp qword [rbp + 0x348], 0x10
lea rdx, [rbp + 0x330]
jb 0x14000a57f
mov rdx, qword [rbp + 0x330]
mov r8, qword [rbp + 0x340]
mov rcx, rax
call fcn.14000d500
mov rcx, rax
call fcn.140009240
cmp qword [rbp + 0x348], 0x10
lea rdx, [rbp + 0x330]
jb 0x14000a5ae
mov rdx, qword [rbp + 0x330]
lea rax, [rbp + 0x310]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14000a617
mov rcx, r15
lea rdx, str._X__Failed_to_open_bus_key:
call fcn.140008e50
cmp qword [rbp + 0x348], 0x10
lea rdx, [rbp + 0x330]
jb 0x14000a5fb
mov rdx, qword [rbp + 0x330]
mov r8, qword [rbp + 0x340]
mov rcx, rax
call fcn.14000d500
mov rcx, rax
call fcn.140009240
jmp 0x14000a751
mov rcx, r15
lea rdx, str.___Successfully_opened_bus_key:
call fcn.140008e50
cmp qword [rbp + 0x348], 0x10
lea rdx, [rbp + 0x330]
jb 0x14000a63e
mov rdx, qword [rbp + 0x330]
mov r8, qword [rbp + 0x340]
mov rcx, rax
call fcn.14000d500
mov rcx, rax
call fcn.140009240
mov rcx, qword [rbp + 0x310]
lea rax, [rbp + 0x2f8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea rdx, str.DeviceType
xor r8d, r8d
lea r9, [rbp + 0x3a4]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14000a6a8
mov rcx, r15
lea rdx, str._X__Error_querying_DeviceType_value
call fcn.140008e50
mov rcx, rax
call fcn.140009240
jmp 0x14000a744
mov rcx, r15
lea rdx, str.___DeviceType_data_type:
call fcn.140008e50
mov edx, dword [rbp + 0x3a4]
mov rcx, rax
call fcn.14000ae80
mov rcx, rax
call fcn.140009240
cmp dword [rbp + 0x3a4], 1
jne 0x14000a72d
mov rcx, qword [rbp + 0x310]
lea rax, [rbp + 0x2f8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x20], rax
lea rdx, str.DeviceType
xor r8d, r8d
lea r9, [rbp + 0x3a4]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14000a794
mov rcx, r15
lea rdx, str._X__Failed_to_read_DeviceType_value
call fcn.140008e50
mov rcx, rax
call fcn.140009240
jmp 0x14000a744
mov rcx, r15
lea rdx, str._X__DeviceType_is_not_REG_SZ
call fcn.140008e50
mov rcx, rax
call fcn.140009240
mov rcx, qword [rbp + 0x310]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rbp + 0x348]
cmp rax, 0x10
jb 0x14000a190
mov rcx, qword [rbp + 0x330]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000a186
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jb 0x14000a17c
jmp 0x14000ac29
mov rcx, r15
lea rdx, str.___DeviceType:
call fcn.140008e50
mov rcx, rax
lea rdx, [rbp + 0x1e0]
call fcn.140008e50
mov rcx, rax
call fcn.140009240
vxorps xmm0, xmm0, xmm0
vmovups ymmword [rbp + 0x370], ymm0
lea rcx, [rbp + 0x1e0]
vzeroupper
call fcn.140020170
test rax, rax
js 0x14000ac40
mov r14, rax
cmp rax, 0xf
ja 0x14000a81b
mov qword [rbp + 0x380], r14
mov qword [rbp + 0x388], 0xf
lea rcx, [rbp + 0x370]
lea rdx, [rbp + 0x1e0]
mov r8, r14
call fcn.140039610
add r14, rbp
add r14, 0x370
jmp 0x14000a889
mov rsi, r14
or rsi, 0xf
cmp rsi, 0x17
mov eax, 0x16
cmovb rsi, rax
cmp rsi, 0xfff
jb 0x14000a853
lea rcx, [rsi + 0x28]
call fcn.1400113fc
mov r12, rax
add r12, 0x27
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
jmp 0x14000a85f
lea rcx, [rsi + 1]
call fcn.1400113fc
mov r12, rax
mov qword [rbp + 0x370], r12
mov qword [rbp + 0x380], r14
mov qword [rbp + 0x388], rsi
mov rcx, r12
lea rdx, [rbp + 0x1e0]
mov r8, r14
call fcn.140039610
add r14, r12
mov byte [r14], 0
mov rax, qword [rbp + 0x388]
cmp qword [rbp + 0x380], 0xe
jne 0x14000a8e2
lea rcx, [rbp + 0x370]
cmp rax, 0x10
jb 0x14000a8b2
mov rcx, qword [rbp + 0x370]
mov rdx, qword [rcx]
movabs r8, 0x697265506b736944
xor rdx, r8
mov rcx, qword [rcx + 6]
movabs r8, 0x6c61726568706972
xor rcx, r8
or rcx, rdx
sete sil
cmp rax, 0x10
jae 0x14000a8ea
jmp 0x14000a922
xor esi, esi
cmp rax, 0x10
jb 0x14000a922
mov rcx, qword [rbp + 0x370]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000a91d
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000ac29
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140011440
test sil, sil
je 0x14000aa82
mov rcx, r15
lea rdx, str.___DiskPeripheral_found
call fcn.140008e50
mov rcx, rax
call fcn.140009240
cmp byte [0x1400514e8], 0
je 0x14000aa1e
lea rcx, [rbp + 0x370]
mov edx, 0xe
call fcn.140008b40
mov rax, qword [0x140050058]
cmp rax, 0x10
jb 0x14000a9a5
mov rcx, qword [0x140050040]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000a9a0
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000ac29
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140011440
vmovups ymm0, ymmword [rbp + 0x370]
vmovups ymmword [0x140050040], ymm0
lea rcx, [rbp + 0x370]
mov edx, 0xe
vzeroupper
call fcn.140008b40
mov rax, qword [0x140050038]
cmp rax, 0x10
jb 0x14000aa0e
mov rcx, qword [0x140050020]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14000aa09
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000ac29
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.140011440
vmovups ymm0, ymmword [rbp + 0x370]
vmovups ymmword [0x140050020], ymm0
mov eax, dword [0x140050030]
cmp qword [0x140050038], 0x10
lea rdx, [0x140050020]
jb 0x14000aa3c
mov rdx, qword [0x140050020]
mov rcx, qword [rbp + 0x310]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
lea rdx, [0x14004598b]
xor r8d, r8d
mov r9d, 3
vzeroupper
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14000aa9e
mov rcx, r15
lea rdx, str._X__Failed_to_set_DeviceIdentifierPage
call fcn.140008e50
mov rcx, rax
call fcn.140009240
jmp 0x14000aab5
mov rcx, r15
lea rdx, str.___DeviceType_is_not_DiskPeripheral
call fcn.140008e50
mov rcx, rax
call fcn.140009240
jmp 0x14000a744
mov rcx, r15
lea rdx, str.___Set_DeviceIdentifierPage
call fcn.140008e50
mov rcx, rax
call fcn.140009240
cmp qword [0x140050058], 0x10
lea rax, [0x140050040]
jb 0x14000aacd
mov rax, qword [0x140050040]
mov edx, dword [0x140050050]
inc edx
mov rcx, qword [rbp + 0x310]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rax
lea rdx, [0x1400442e0]
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14000ab18
mov rcx, r15
lea rdx, str._X__Failed_to_set_Identifier
call fcn.140008e50
mov rcx, rax
call fcn.140009240
jmp 0x14000ab2f
mov rcx, r15
lea rdx, str.___Set_Identifier
call fcn.140008e50
mov rcx, rax
call fcn.140009240
cmp qword [0x140050058], 0x10
lea rax, [0x140050040]
jb 0x14000ab47
mov rax, qword [0x140050040]
mov edx, dword [0x140050050]
mov rcx, qword [rbp + 0x310]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rax
lea rdx, [0x140045c1c]
xor r8d, r8d
mov r9d, 3
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14000ab90
mov rcx, r15
lea rdx, str._X__Failed_to_set_InquiryData
call fcn.140008e50
mov rcx, rax
call fcn.140009240
jmp 0x14000aba7
mov rcx, r15
lea rdx, str.___Set_InquiryData
call fcn.140008e50
mov rcx, rax
call fcn.140009240
cmp qword [0x140050038], 0x10
lea rax, [0x140050020]
jb 0x14000abbf
mov rax, qword [0x140050020]
mov edx, dword [0x140050030]
inc edx
mov rcx, qword [rbp + 0x310]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rax
lea rdx, [0x140044312]
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x14000ac0d
mov rcx, r15
lea rdx, str._X__Failed_to_set_SerialNumber
call fcn.140008e50
mov rcx, rax
call fcn.140009240
jmp 0x14000a744
mov rcx, r15
lea rdx, str.___Set_SerialNumber
call fcn.140008e50
mov rcx, rax
call fcn.140009240
jmp 0x14000a744
vzeroupper
call fcn.14001d5e8
call fcn.140007a90
call fcn.140007a90
call fcn.140007a90
call fcn.140007a90
int3