Function at 0x140051e50
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 0x1400524b8
mov dword [rsp + 0x70], r12d
mov rsi, qword [rbp - 0x38]
movabs r13, 0x7fffffffffffffff
mov rax, r13
sub rax, rsi
cmp rax, 2
jb 0x14005254a
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 0x140051ff0
mov rbx, r14
or rbx, 0xf
cmp rbx, r13
jbe 0x140051fb7
mov rbx, r13
add rax, 0x27
mov rcx, rax
call fcn.1400baa50
test rax, rax
je 0x1400524ac
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140051fec
cmp rbx, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x140051fcc
mov rdi, r12
jmp 0x140051fec
cmp rcx, 0x1000
jb 0x140051fe4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140052538
jmp 0x140051f98
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 0x14005247a
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 0x14005246e
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 0x1400520a2
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 0x140052550
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 0x140052198
mov rdi, r12
or rdi, 0xf
movabs rcx, 0x7fffffffffffffff
cmp rdi, rcx
jbe 0x140052154
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400baa50
test rax, rax
je 0x140052417
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14005218e
cmp rdi, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x14005216e
xor esi, esi
jmp 0x140052193
cmp rcx, 0x1000
jb 0x140052186
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005253e
jmp 0x140052135
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.AndroidEmulatorEx.exe]
movups xmmword [r15 + rsi], xmm0
mov eax, dword [0x1400ebef8]
mov dword [r15 + rsi + 0x10], eax
movzx eax, word [0x1400ebefc]
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 0x140052532
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 0x140052334
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x1400522ea
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400baa50
test rax, rax
je 0x14005231c
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14005232b
cmp rdi, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140052304
xor esi, esi
jmp 0x140052330
cmp rcx, 0x1000
jb 0x140052323
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140052544
jmp 0x1400522cf
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 0x140052384
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 0x1400523e4
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400523de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400523de
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 0x140052423
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005241e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005241e
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 0x14005246e
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140052466
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052466
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 0x1400524b8
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400524b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400524b3
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 0x140052502
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400524fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400524fd
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