Function at 0x14005a660
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 [0x140184c80]
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, [0x1401bb160]
call fcn.14005e4c0
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.1400569e0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x1400f80c0]
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 0x14005acc8
mov dword [rsp + 0x70], r12d
mov rsi, qword [rbp - 0x38]
movabs r13, 0x7fffffffffffffff
mov rax, r13
sub rax, rsi
cmp rax, 2
jb 0x14005ad5a
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 0x14005a800
mov rbx, r14
or rbx, 0xf
cmp rbx, r13
jbe 0x14005a7c7
mov rbx, r13
add rax, 0x27
mov rcx, rax
call fcn.1400c4590
test rax, rax
je 0x14005acbc
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14005a7fc
cmp rbx, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x14005a7dc
mov rdi, r12
jmp 0x14005a7fc
cmp rcx, 0x1000
jb 0x14005a7f4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005ad48
jmp 0x14005a7a8
call fcn.1400c4590
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 0x14005ac8a
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 0x14005ac7e
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 0x14005a8b2
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 8]
call fcn.1400569e0
nop
mov rax, r13
mov r15, qword [rbp + 8]
sub rax, r15
cmp rax, 0x16
jb 0x14005ad60
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 0x14005a9a8
mov rdi, r12
or rdi, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rdi, rcx
jbe 0x14005a964
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400c4590
test rax, rax
je 0x14005ac27
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14005a99e
cmp rdi, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14005a97e
xor esi, esi
jmp 0x14005a9a3
cmp rcx, 0x1000
jb 0x14005a996
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005ad4e
jmp 0x14005a945
call fcn.1400c4590
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 [0x1400f5058]
movups xmmword [r15 + rsi], xmm0
mov eax, dword [0x1400f5068]
mov dword [r15 + rsi + 0x10], eax
movzx eax, word [0x1400f506c]
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.14005f700
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.1400569e0
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.1400569e0
nop
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.14005f210
mov rdx, qword [rbp - 0x78]
mov qword [rsp + 0x30], rdx
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rdx
cmp rax, 8
jb 0x14005ad42
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 0x14005ab44
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x14005aafa
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400c4590
test rax, rax
je 0x14005ab2c
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14005ab3b
cmp rdi, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14005ab14
xor esi, esi
jmp 0x14005ab40
cmp rcx, 0x1000
jb 0x14005ab33
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005ad54
jmp 0x14005aadf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c4590
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 0x14005ab94
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.1400569e0
lea rcx, [rsp + 0x38]
call fcn.14005e920
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14005abf4
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005abee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005abee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c45cc
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x14005ac33
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ac2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ac2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c45cc
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
cmp r13, 0xf
jbe 0x14005ac7e
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14005ac76
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ac76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400c45cc
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14005acc8
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005acc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005acc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c45cc
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14005ad12
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ad0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ad0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c45cc
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400c4570
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.14005e3d0
nop
call fcn.14005e370
nop
call fcn.14005e370
nop
call fcn.14005e370
nop
call fcn.14005e3d0
nop
call fcn.14005e3d0
int3