Function at 0x140041970
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x550]
sub rsp, 0x650
mov rax, qword [0x1401137c0]
xor rax, rsp
mov qword [rbp + 0x540], rax
movzx eax, word [0x140101768]
mov r15, 0xffffffffffffffff
movaps xmm0, xmmword [str.HARDWAREDEVICEMAPScsiScsi_Port_0Scsi_Bus_0Target_Id_0Logical_Unit_Id_0]
mov rdi, r15
movaps xmm1, xmmword [0x1401016e0]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [0x1401016f0]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [0x140101710]
movaps xmmword [rbp - 0x60], xmm0
movaps xmm0, xmmword [0x140101730]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmmword [0x140101750]
movaps xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [0x140101760]
movsd qword [rbp - 0x10], xmm0
movaps xmm0, xmmword [str.HARDWAREDEVICEMAPScsiScsi_Port_1Scsi_Bus_0Target_Id_0Logical_Unit_Id_0]
movaps xmmword [rbp], xmm0
movaps xmm0, xmmword [0x140101900]
movaps xmmword [rbp + 0x20], xmm0
movaps xmm0, xmmword [0x140101920]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm1, xmmword [0x140101700]
movaps xmmword [rbp + 0x40], xmm0
movaps xmm0, xmmword [0x140101940]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm1, xmmword [0x140101720]
movaps xmmword [rbp + 0x60], xmm0
movaps xmm0, xmmword [0x140101960]
movaps xmmword [rbp - 0x50], xmm1
movaps xmm1, xmmword [0x140101740]
movaps xmmword [rbp + 0x80], xmm0
movsd xmm0, qword [0x140101970]
movaps xmmword [rbp - 0x30], xmm1
movaps xmm1, xmmword [0x1401018f0]
mov word [rbp - 8], ax
movzx eax, word [0x140101978]
movsd qword [rbp + 0x90], xmm0
movaps xmm0, xmmword [str.HARDWAREDEVICEMAPScsiScsi_Port_2Scsi_Bus_0Target_Id_0Logical_Unit_Id_0]
movaps xmmword [rbp + 0x10], xmm1
movaps xmm1, xmmword [0x140101910]
mov word [rbp + 0x98], ax
movzx eax, word [0x140101a18]
movaps xmmword [rbp + 0xa0], xmm0
movaps xmm0, xmmword [0x1401019a0]
movaps xmmword [rbp + 0x30], xmm1
movaps xmm1, xmmword [0x140101930]
mov word [rbp + 0x138], ax
mov eax, dword [0x140101780]
movaps xmmword [rbp + 0xc0], xmm0
movaps xmm0, xmmword [0x1401019c0]
movaps xmmword [rbp + 0x50], xmm1
movaps xmm1, xmmword [0x140101950]
mov dword [rsp + 0x58], eax
movzx eax, word [0x140101784]
movaps xmmword [rbp + 0xe0], xmm0
movaps xmm0, xmmword [0x1401019e0]
movaps xmmword [rbp + 0x70], xmm1
movaps xmm1, xmmword [0x140101990]
mov word [rsp + 0x5c], ax
mov eax, dword [str.VMWARE]
movaps xmmword [rbp + 0x100], xmm0
movaps xmm0, xmmword [0x140101a00]
movaps xmmword [rbp + 0xb0], xmm1
movaps xmm1, xmmword [0x1401019b0]
mov dword [rsp + 0x3c], eax
movzx eax, word [0x140101a20]
movaps xmmword [rbp + 0x120], xmm0
movsd xmm0, qword [0x140101a10]
movaps xmmword [rbp + 0xd0], xmm1
movaps xmm1, xmmword [0x1401019d0]
mov word [rsp + 0x40], ax
movzx eax, byte [0x140101a22]
movsd qword [rbp + 0x130], xmm0
movups xmm0, xmmword [str.Identifier]
mov byte [rsp + 0x42], al
lea rax, [rsp + 0x3c]
movaps xmmword [rbp + 0xf0], xmm1
movaps xmm1, xmmword [0x1401019f0]
movups xmmword [rsp + 0x48], xmm0
movaps xmmword [rbp + 0x110], xmm1
inc rdi
cmp byte [rax + rdi], 0
jne 0x140041b93
mov rcx, rdi
add rcx, 1
cmovb rcx, r15
call fcn.1400ba69c
lea rdx, [rdi + 1]
mov r9, r15
lea r8, [rsp + 0x3c]
mov rcx, rax
mov r14, rax
call fcn.1400ba1e8
mov dword [rsp + 0x38], 0x400
call fcn.14003cde0
xor r8d, r8d
lea rdx, [rsp + 0x60]
test eax, eax
mov rcx, 0xffffffff80000002
lea rax, [rsp + 0x30]
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
jne 0x140041bf9
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
test eax, eax
jne 0x140041ccd
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x48]
lea rax, [rbp + 0x140]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140041ccd
mov ebx, esi
lea rcx, [rbp + 0x140]
mov rax, r15
inc rax
cmp byte [rcx + rax], bl
jne 0x140041c56
test rax, rax
je 0x140041c92
movsx ecx, byte [rbp + rbx + 0x140]
call fcn.1400ba1bc
mov byte [rbp + rbx + 0x140], al
lea rcx, [rbp + 0x140]
inc rbx
mov rax, r15
inc rax
cmp byte [rcx + rax], sil
jne 0x140041c84
cmp rbx, rax
jb 0x140041c63
test rdi, rdi
je 0x140041cb4
mov rbx, r14
nop word [rax + rax]
movsx ecx, byte [rbx]
call fcn.1400ba1bc
mov byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x140041ca0
mov rdx, r14
lea rcx, [rbp + 0x140]
call fcn.1400a8994
mov ebx, 1
test rax, rax
jne 0x140041ccf
mov ebx, esi
mov rcx, r14
call fcn.1400b838c
test ebx, ebx
jne 0x140041f77
lea rax, [rsp + 0x3c]
mov rdi, r15
inc rdi
cmp byte [rax + rdi], sil
jne 0x140041ce7
mov rcx, rdi
add rcx, 1
cmovb rcx, r15
call fcn.1400ba69c
lea rdx, [rdi + 1]
mov r9, r15
lea r8, [rsp + 0x3c]
mov rcx, rax
mov r14, rax
call fcn.1400ba1e8
mov dword [rsp + 0x38], 0x400
call fcn.14003cde0
xor r8d, r8d
lea rdx, [rbp]
test eax, eax
mov rcx, 0xffffffff80000002
lea rax, [rsp + 0x30]
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
jne 0x140041d4c
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140041e24
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x48]
lea rax, [rbp + 0x140]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140041e24
mov rbx, rsi
lea rcx, [rbp + 0x140]
mov rax, r15
inc rax
cmp byte [rcx + rax], bl
jne 0x140041da8
test rax, rax
je 0x140041def
nop word [rax + rax]
movsx ecx, byte [rbp + rbx + 0x140]
call fcn.1400ba1bc
mov byte [rbp + rbx + 0x140], al
lea rcx, [rbp + 0x140]
inc rbx
mov rax, r15
inc rax
cmp byte [rcx + rax], sil
jne 0x140041de1
cmp rbx, rax
jb 0x140041dc0
test rdi, rdi
je 0x140041e0b
mov rbx, r14
movsx ecx, byte [rbx]
call fcn.1400ba1bc
mov byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x140041df7
mov rdx, r14
lea rcx, [rbp + 0x140]
call fcn.1400a8994
mov ebx, 1
test rax, rax
jne 0x140041e26
mov ebx, esi
mov rcx, r14
call fcn.1400b838c
test ebx, ebx
jne 0x140041f77
lea rax, [rsp + 0x3c]
mov rdi, r15
nop
inc rdi
cmp byte [rax + rdi], sil
jne 0x140041e40
mov rcx, rdi
add rcx, 1
cmovb rcx, r15
call fcn.1400ba69c
lea rdx, [rdi + 1]
mov r9, r15
lea r8, [rsp + 0x3c]
mov rcx, rax
mov r14, rax
call fcn.1400ba1e8
mov dword [rsp + 0x38], 0x400
call fcn.14003cde0
xor r8d, r8d
lea rdx, [rbp + 0xa0]
test eax, eax
mov rcx, 0xffffffff80000002
lea rax, [rsp + 0x30]
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
jne 0x140041ea8
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140041fa8
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x48]
lea rax, [rbp + 0x140]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140041fa8
lea rcx, [rbp + 0x140]
mov rax, r15
inc rax
cmp byte [rcx + rax], sil
jne 0x140041f01
test rax, rax
je 0x140041f3f
nop
movsx ecx, byte [rbp + rsi + 0x140]
call fcn.1400ba1bc
mov byte [rbp + rsi + 0x140], al
lea rcx, [rbp + 0x140]
inc rsi
mov rax, r15
inc rax
cmp byte [rcx + rax], 0
jne 0x140041f31
cmp rsi, rax
jb 0x140041f10
test rdi, rdi
je 0x140041f5b
mov rbx, r14
movsx ecx, byte [rbx]
call fcn.1400ba1bc
mov byte [rbx], al
lea rbx, [rbx + 1]
sub rdi, 1
jne 0x140041f47
mov rdx, r14
lea rcx, [rbp + 0x140]
call fcn.1400a8994
test rax, rax
je 0x140041fa8
mov rcx, r14
call fcn.1400b838c
mov eax, 1
mov rcx, qword [rbp + 0x540]
xor rcx, rsp
call fcn.1400a6610
lea r11, [rsp + 0x650]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, r14
call fcn.1400b838c
xor eax, eax
jmp 0x140041f7c