Function at 0x140049790
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
lea rax, [rbp + 0x3c8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWOW6432NodeTencentMobileGamePCUI
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r12w
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov r8d, 3
lea rdx, [0x14007b780]
lea rcx, [rsp + 0x70]
call fcn.14005d740
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0xb
lea rdx, str.InstallPath
lea rcx, [rsp + 0x50]
call fcn.14005d740
nop
mov r15, qword [rbp + 0x3c8]
lea r9, [rsp + 0x70]
mov rsi, qword [rsp + 0x70]
mov r14, qword [rbp - 0x78]
cmp r14, 7
cmova r9, rsi
mov rdx, qword [rbp - 0x80]
mov rax, qword [rsp + 0x48]
cmp rdx, rax
ja 0x14004989f
lea rdi, [rsp + 0x30]
cmp rax, 7
cmova rdi, qword [rsp + 0x30]
mov qword [rsp + 0x40], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], r12w
jmp 0x1400498b2
lea rcx, [rsp + 0x30]
call fcn.14005d5d0
mov r14, qword [rbp - 0x78]
mov rsi, qword [rsp + 0x70]
mov dword [rbp + 0x3c0], 0x400
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rdx, qword [rsp + 0x50]
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140049951
lea rax, [rbp - 0x70]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140049900
mov rax, qword [rsp + 0x48]
cmp rdx, rax
ja 0x140049942
lea rdi, [rsp + 0x30]
cmp rax, 7
cmova rdi, qword [rsp + 0x30]
mov qword [rsp + 0x40], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x70]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx], r12w
jmp 0x140049951
lea r9, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.14005d5d0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140049996
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049991
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049991
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067308
movdqa xmm0, xmmword [0x14007c430]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r12w
cmp r14, 7
jbe 0x1400499e8
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400499e0
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400499e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140067308
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14005cbb0
mov rbx, rax
lea rax, [rsp + 0x30]
cmp rax, rbx
je 0x140049a77
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140049a42
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049a3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049ab0
call fcn.140067308
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r12w
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140049abc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049ab7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049ab7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067308
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova r8, qword [rsp + 0x30]
mov dword [rsp + 0x28], 0xa
mov qword [rsp + 0x20], r12
lea r9, str.__vm_100
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140049b36
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049b31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049b31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140067308
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret