Function at 0x1400469b0
Capabilities:
Download url
Query or enumerate registry value
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x14019d080]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
xor r12d, r12d
lea rax, [rbp - 0x80]
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 [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r12w
lea rdx, [0x140185ce0]
lea rcx, [rsp + 0x40]
call fcn.140042460
nop
lea rdx, str.InstallPath
lea rcx, [rsp + 0x60]
call fcn.140042460
nop
mov r15, qword [rbp - 0x80]
lea r9, [rsp + 0x40]
mov rsi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x58]
cmp r14, 7
cmova r9, rsi
mov rdx, qword [rsp + 0x50]
mov rax, qword [rbp - 0x58]
cmp rdx, rax
ja 0x140046aa1
lea rdi, [rbp - 0x70]
cmp rax, 7
cmova rdi, qword [rbp - 0x70]
mov qword [rbp - 0x60], 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 0x140046ab4
lea rcx, [rbp - 0x70]
call fcn.14004a310
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x40]
mov dword [rbp - 0x78], 0x400
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
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 0x140046b4c
lea rax, [rbp - 0x30]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140046b00
mov rax, qword [rbp - 0x58]
cmp rdx, rax
ja 0x140046b3e
lea rdi, [rbp - 0x70]
cmp rax, 7
cmova rdi, qword [rbp - 0x70]
mov qword [rbp - 0x60], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x30]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], r12w
jmp 0x140046b4c
lea r9, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.14004a310
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140046b91
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046b8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046b8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140114244
movdqa xmm0, xmmword [0x140186570]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r12w
cmp r14, 7
jbe 0x140046be3
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140046bdb
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046bdb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140114244
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp - 0x60]
sub rax, rcx
cmp rax, 0x16
jb 0x140046e06
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_22
lea rax, str.AndroidEmulatorEx.exe
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x50]
call fcn.14004af50
nop
lea rbx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rbx, qword [rbp - 0x50]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, str.Patching_Gameloop_Ex
lea rcx, [rsp + 0x40]
call fcn.140003770
nop
lea rcx, [rsp + 0x40]
call fcn.140043d60
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140046caf
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046caa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046d31
call fcn.140114244
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, rbx
lea rdx, str.https:__github.com_NotName1999_HeliosSP_raw_main_AndroidEmulatorEx.exe
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0xa
lea rdx, str.Patch_Done
lea rcx, [rsp + 0x40]
call fcn.140003770
nop
lea rcx, [rsp + 0x40]
call fcn.140043d60
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140046d3e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046d38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046d38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140114244
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x140046d81
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046d7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046d7c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140114244
movdqa xmm0, xmmword [0x140186570]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r12w
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140046dd6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046dd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046dd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140114244
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.140113e80
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400023d0
nop
int3