Function at 0x140051740
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 r12
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x14017ac80]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor r12d, r12d
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.Opening_Emulator...
lea rcx, [0x1401b10f0]
call fcn.1400557c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov r8d, Ordinal_46
lea rdx, str.SOFTWAREWOW6432NodeTencentMobileGamePC_
lea rcx, [rbp - 0x48]
call fcn.14004e510
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x1400ee6d0]
movdqu xmmword [rbp + 0x40], xmm1
mov byte [rbp + 0x30], r12b
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
mov qword [rbp + 0x28], r12
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rdx, qword [rbp - 0x48]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140051da8
mov dword [rsp + 0x70], r12d
mov rsi, qword [rbp - 0x38]
movabs r13, 0x7fffffffffffffff
mov rax, r13
sub rax, rsi
cmp rax, 2
jb 0x140051e3a
lea r15, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova r15, qword [rbp - 0x48]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
lea r14, [rsi + 2]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rbp - 0x28]
movabs rax, 0x8000000000000000
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp r14, rbx
jbe 0x1400518e0
mov rbx, r14
or rbx, 0xf
cmp rbx, r13
jbe 0x1400518a7
mov rbx, r13
add rax, 0x27
mov rcx, rax
call fcn.1400baa50
test rax, rax
je 0x140051d9c
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400518dc
cmp rbx, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400518bc
mov rdi, r12
jmp 0x1400518dc
cmp rcx, 0x1000
jb 0x1400518d4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140051e28
jmp 0x140051888
call fcn.1400baa50
mov rdi, rax
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rbx
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rsi], 0x4955
mov byte [rdi + r14], 0
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rdx, qword [rbp - 0x28]
lea r8, [rsp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140051d6a
mov dword [rsp + 0x70], 0xff
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.InstallPath
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140051d5e
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
lea rax, [rbp + 0x50]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140051992
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 8]
call fcn.14004e510
nop
mov rax, r13
mov r15, qword [rbp + 8]
sub rax, r15
cmp rax, 0x16
jb 0x140051e40
lea rax, [rbp - 8]
mov r14, qword [rbp - 8]
mov r13, qword [rbp + 0x10]
cmp r13, 0xf
cmova rax, r14
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
lea r12, [r15 + 0x16]
mov edi, reloc.WS2_32.dll_ntohs
lea rsi, [rsp + 0x78]
cmp r12, rdi
jbe 0x140051a88
mov rdi, r12
or rdi, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rdi, rcx
jbe 0x140051a44
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400baa50
test rax, rax
je 0x140051d07
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140051a7e
cmp rdi, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140051a5e
xor esi, esi
jmp 0x140051a83
cmp rcx, 0x1000
jb 0x140051a76
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140051e2e
jmp 0x140051a25
call fcn.1400baa50
mov rsi, rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], rdi
mov r8, r15
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.AndroidEmulatorEn.exe]
movups xmmword [r15 + rsi], xmm0
mov eax, dword [0x1400ebd28]
mov dword [r15 + rsi + 0x10], eax
movzx eax, word [0x1400ebd2c]
mov word [r15 + rsi + 0x14], ax
mov byte [rsi + r12], 0
mov r9b, Ordinal_35
xor edx, edx
mov r8d, 1
lea rcx, [rsp + 0x78]
call fcn.140056a00
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xor edi, edi
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rdi
mov r8d, 5
lea rdx, str..exe_
lea rcx, [rbp - 0x68]
call fcn.14004e510
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov r8d, 4
lea rdx, str..exe
lea rcx, [rsp + 0x38]
call fcn.14004e510
nop
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.140056510
mov rdx, qword [rbp - 0x78]
mov qword [rsp + 0x30], rdx
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rdx
cmp rax, 8
jb 0x140051e22
lea r12, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova r12, qword [rsp + 0x78]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea r15, [rdx + 8]
mov edi, reloc.WS2_32.dll_ntohs
lea rsi, [rbp - 0x68]
cmp r15, rdi
jbe 0x140051c24
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x140051bda
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400baa50
test rax, rax
je 0x140051c0c
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140051c1b
cmp rdi, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140051bf4
xor esi, esi
jmp 0x140051c20
cmp rcx, 0x1000
jb 0x140051c13
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140051e34
jmp 0x140051bbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400baa50
mov rsi, rax
mov rdx, qword [rsp + 0x30]
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], rdi
mov r8, rdx
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movabs rcx, 0x303031206d762d20
mov rax, qword [rsp + 0x30]
mov qword [rsi + rax], rcx
mov byte [rsi + r15], 0
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
inc rbx
cmp byte [rdx + rbx], dil
jne 0x140051c74
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.14004e510
lea rcx, [rsp + 0x38]
call fcn.140055c20
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140051cd4
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051cce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051cce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400baa8c
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140051d13
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051d0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051d0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400baa8c
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
cmp r13, 0xf
jbe 0x140051d5e
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140051d56
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051d56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400baa8c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140051da8
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051da3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051da3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400baa8c
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140051df2
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051ded
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051ded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400baa8c
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400baa30
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400556d0
nop
call fcn.140055670
nop
call fcn.140055670
nop
call fcn.140055670
nop
call fcn.1400556d0
nop
call fcn.1400556d0
int3