Function at 0x140030dc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400a3f38]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesmssmbiosdata
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140030e3b
lea rdx, [0x140086ae0]
mov rcx, qword [rsp + 0xc0]
call fcn.1400075d0
mov rax, qword [rsp + 0xc0]
jmp 0x140031180
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x54]
xor r8d, r8d
lea rdx, str.SMBiosData
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140030eaf
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x140086ae0]
mov rcx, qword [rsp + 0xc0]
call fcn.1400075d0
mov rax, qword [rsp + 0xc0]
jmp 0x140031180
cmp dword [rsp + 0x34], 0
jne 0x140030ee2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x140086ae0]
mov rcx, qword [rsp + 0xc0]
call fcn.1400075d0
mov rax, qword [rsp + 0xc0]
jmp 0x140031180
mov eax, dword [rsp + 0x34]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140030f2c
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x140086ae0]
mov rcx, qword [rsp + 0xc0]
call fcn.1400075d0
mov rax, qword [rsp + 0xc0]
jmp 0x140031180
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
xor r8d, r8d
lea rdx, str.SMBiosData
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140030f9c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x140086ae0]
mov rcx, qword [rsp + 0xc0]
call fcn.1400075d0
mov rax, qword [rsp + 0xc0]
jmp 0x140031180
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x34]
mov r8d, eax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x52]
call fcn.14002f410
lea rax, [rsp + 0x53]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140008b20
lea r9, str.INNOTEK_GMBH
mov r8d, dword [rsp + 0x34]
mov rdx, rax
lea rcx, [rsp + 0x31]
call fcn.14002e900
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140008b20
lea r9, str.VIRTUALBOX
mov r8d, dword [rsp + 0x34]
mov rdx, rax
lea rcx, [rsp + 0x31]
call fcn.14002e900
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140008b20
lea r9, str.SUN_MICROSYSTEMS
mov r8d, dword [rsp + 0x34]
mov rdx, rax
lea rcx, [rsp + 0x31]
call fcn.14002e900
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140008b20
lea r9, str.VBOXVER
mov r8d, dword [rsp + 0x34]
mov rdx, rax
lea rcx, [rsp + 0x31]
call fcn.14002e900
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140008b20
lea r9, str.VIRTUAL_MACHINE
mov r8d, dword [rsp + 0x34]
mov rdx, rax
lea rcx, [rsp + 0x31]
call fcn.14002e900
mov qword [rsp + 0x78], rax
lea rdx, [0x140086ae0]
lea rcx, [rsp + 0x80]
call fcn.1400075d0
mov byte [rsp + 0x32], 0
cmp qword [rsp + 0x58], 0
jne 0x140031107
cmp qword [rsp + 0x60], 0
jne 0x140031107
cmp qword [rsp + 0x68], 0
jne 0x140031107
cmp qword [rsp + 0x70], 0
jne 0x140031107
cmp qword [rsp + 0x78], 0
je 0x14003110c
mov byte [rsp + 0x32], 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x140031157
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0xc0]
call fcn.140007500
lea rcx, [rsp + 0x80]
call fcn.1400085a0
mov rax, qword [rsp + 0xc0]
jmp 0x140031180
lea rdx, [0x140086ae0]
mov rcx, qword [rsp + 0xc0]
call fcn.1400075d0
lea rcx, [rsp + 0x80]
call fcn.1400085a0
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14005d690
add rsp, 0xb0
pop rdi
ret