Function at 0x140001240
Capabilities:
Execute command
Set registry value
Terminate process

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0xc
mov qword [rsp + 0x38], 0xf
movsd xmm0, qword [str.launcher.exe]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [0x1400034d0]
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x2c], bl
nop dword [rax]
lea rdx, str.Genshin_Impact
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test rax, rax
je 0x1400012e5
xor ebx, ebx
lea rdx, str.Genshin_Impact_is_running
call fcn.140001410
mov rcx, rax
lea rdx, [0x1400015e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str.reg_add__HKCUSoftwareMicrosoftWindowsCurrentVersionInternet_Settings___v_ProxyEnable__t_REG_DWORD__d_1__f__nul_2_nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.reg_add__HKCUSoftwareMicrosoftWindowsCurrentVersionInternet_Settings___v_ProxyServer__d__127.0.0.1:8888___f__nul_2_nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140001322
lea rdx, str.Genshin_Impact_is_not_running
call fcn.140001410
mov rcx, rax
lea rdx, [0x1400015e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str.reg_add__HKCUSoftwareMicrosoftWindowsCurrentVersionInternet_Settings___v_ProxyEnable__t_REG_DWORD__d_0__f__nul_2_nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.reg_add__HKCUSoftwareMicrosoftWindowsCurrentVersionInternet_Settings___v_ProxyServer__d_____f__nul_2_nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
inc ebx
cmp ebx, 3
je 0x140001355
lea rdx, str.Sleep_5000
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001410
mov rcx, rax
lea rdx, [0x1400015e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0xfa0
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001290
lea rdx, str.Killing_mihoyo.exe
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001410
mov rcx, rax
lea rdx, [0x1400015e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str.taskkill__f__im_mihoyo.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3