Function at 0x1400020c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
lea rdx, str.SOFTWAREWOW6432NodeTencentMobileGamePC_
lea rcx, [rsp + 0x70]
call fcn.140003440
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x140006810]
movdqu xmmword [rbp - 8], xmm1
mov word [rbp - 0x18], di
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov qword [rbp - 0x40], rdi
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400023b1
mov dword [rsp + 0x48], edi
lea r8, [0x140006698]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140003c40
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rdx, qword [rsp + 0x50]
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14000236c
mov dword [rsp + 0x48], 0x1fe
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.InstallPath
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140002360
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x38]
call fcn.140003440
nop
lea r8, str.AndroidEmulatorEx.exe
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x70]
call fcn.140003c40
nop
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.140001f10
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140002268
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002263
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002263
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000481c
movdqa xmm0, xmmword [0x140006810]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], di
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x1400022bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000481c
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140002302
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400022fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000481c
movdqa xmm0, xmmword [0x140006810]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], di
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140002416
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002411
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002411
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1400023b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000481c
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x140006571]
mov rcx, rbx
call fcn.140003ee0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140002416
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002411
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002411
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000481c
mov rax, rbx
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400047c0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret