Function at 0x140063630
Capabilities:
Encode data using xor
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 - 0x190]
sub rsp, 0x290
mov rax, qword [0x140170e40]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor r12d, r12d
movdqa xmm0, xmmword [0x140116b30]
movdqu xmmword [rbp - 0x68], xmm0
mov dword [rbp - 0x58], 0x323534
mov byte [rbp - 0x54], 1
mov ecx, r12d
nop word [rax + rax]
lea eax, [rcx + 0xa]
xor byte [rbp + rcx - 0x68], al
inc rcx
cmp rcx, 0x13
jb 0x140063690
mov byte [rbp - 0x54], r12b
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x55]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x38]
call fcn.140056e10
lea rdx, [rsp + 0x38]
lea rcx, [0x1401a75a8]
call fcn.140061630
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x14006370c
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063707
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063707
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e47ac
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov r8d, Ordinal_46
lea rdx, str.SOFTWAREWOW6432NodeTencentMobileGamePC_
lea rcx, [rbp - 0x40]
call fcn.140057450
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
movdqa xmm1, xmmword [0x140115d70]
movdqu xmmword [rbp + 0x68], xmm1
mov byte [rbp + 0x58], 0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov qword [rbp + 0x50], r12
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rax, [rbp - 0x70]
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 0x140063d49
mov dword [rbp - 0x48], r12d
mov rsi, qword [rbp - 0x30]
movabs r13, 0x7fffffffffffffff
mov rax, r13
sub rax, rsi
cmp rax, 2
jb 0x140063dda
lea r15, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r15, qword [rbp - 0x40]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
lea r14, [rsi + 2]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rbp]
movabs rax, 0x8000000000000000
lea ecx, [rbx + 7]
cmp r14, rbx
jbe 0x140063854
mov rbx, r14
or rbx, 0xf
cmp rbx, r13
jbe 0x14006381b
mov rbx, r13
add rax, 0x27
mov rcx, rax
call fcn.1400e4770
test rax, rax
je 0x140063d3d
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140063850
cmp rbx, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14006383e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140063dc8
jmp 0x1400637fc
test rcx, rcx
je 0x14006384d
call fcn.1400e4770
mov rdi, rax
jmp 0x140063850
mov rdi, r12
mov qword [rbp], rdi
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], 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]
cmp qword [rbp + 0x18], 0xf
cmova rdx, qword [rbp]
lea r8, [rbp - 0x78]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140063d0b
mov dword [rbp - 0x48], 0xff
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.InstallPath
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140063d00
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], r12
lea rax, [rbp + 0x80]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140063910
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x20]
call fcn.140057450
nop
mov rax, r13
mov r15, qword [rbp + 0x30]
sub rax, r15
cmp rax, 0x16
jb 0x140063de0
lea r13, [rbp + 0x20]
mov r14, qword [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova r13, r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
lea r12, [r15 + 0x16]
mov ebx, reloc.WS2_32.dll_ntohs
lea rsi, [rbp - 0x68]
cmp r12, rbx
jbe 0x1400639f9
mov rbx, r12
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x1400639bb
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400e4770
test rax, rax
je 0x140063ca6
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400639f5
cmp rbx, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400639e4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140063dce
jmp 0x14006399c
test rcx, rcx
je 0x1400639f3
call fcn.1400e4770
mov rsi, rax
jmp 0x1400639f5
xor esi, esi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], rbx
mov r8, r15
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [0x140114c50]
movups xmmword [r15 + rsi], xmm0
mov eax, dword [0x140114c60]
mov dword [r15 + rsi + 0x10], eax
movzx eax, word [0x140114c64]
mov word [r15 + rsi + 0x14], ax
mov byte [rsi + r12], 0
mov rcx, qword [rbp - 0x50]
mov rax, rcx
mov r8, qword [rbp - 0x58]
sub rax, r8
cmp rax, 1
jb 0x140063a71
inc r8
mov qword [rbp - 0x58], r8
lea rbx, [rbp - 0x68]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x68]
lea rcx, [rbx + 1]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx], Ordinal_35
jmp 0x140063a92
mov byte [rsp + 0x28], Ordinal_35
mov qword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rbp - 0x68]
call fcn.140059700
lea rax, [rsp + 0x60]
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
lea r8d, [rbx + 5]
lea rdx, str..exe_
lea rcx, [rsp + 0x60]
call fcn.140057450
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
lea r8d, [rbx + 4]
lea rdx, str..exe
lea rcx, [rsp + 0x38]
call fcn.140057450
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.14007cda0
mov r13, qword [rbp - 0x58]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 8
jb 0x140063dc2
lea r12, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova r12, qword [rbp - 0x68]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
lea r15, [r13 + 8]
mov ebx, reloc.WS2_32.dll_ntohs
lea rsi, [rbp - 0x20]
cmp r15, rbx
jbe 0x140063bca
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x140063b85
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400e4770
test rax, rax
je 0x140063bae
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140063bc6
cmp rbx, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140063bb5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140063dd4
jmp 0x140063b6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140063bc4
call fcn.1400e4770
mov rsi, rax
jmp 0x140063bc6
xor esi, esi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], rbx
mov r8, r13
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movabs rax, 0x303031206d762d20
mov qword [rsi + r13], rax
mov byte [rsi + r15], 0
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rdx, qword [rbp - 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
inc rdi
cmp byte [rdx + rdi], bl
jne 0x140063c15
mov r8, rdi
lea rcx, [rsp + 0x38]
call fcn.140057450
lea rcx, [rsp + 0x38]
call fcn.140074700
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140063c74
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063c6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063c6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e47ac
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140063cb2
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063cad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063cad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e47ac
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x68], 0
mov rax, qword [rbp + 0x38]
cmp rax, 0xf
jbe 0x140063d00
lea rdx, [rax + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140063cf8
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063cf8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400e47ac
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140063d49
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063d44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063d44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e47ac
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140063d92
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063d8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063d8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e47ac
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400e4750
lea r11, [rsp + 0x290]
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.1400736b0
nop
call fcn.140073500
nop
call fcn.140073500
nop
call fcn.140073500
nop
call fcn.1400736b0
nop
call fcn.1400736b0
int3