Function at 0x140001230
Capabilities:
Check if file exists
Create http request
Create thread
Enumerate processes
Inject thread

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 - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0xd8], rax
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400012c2
lea r9d, [r12 + 0x10]
lea r8, str.Anti_Debug
lea rdx, str._t.me_lpsopg__Debugger_detected_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov rcx, qword [rbp + 0xd8]
xor rcx, rsp
call fcn.140001e60
lea r11, [rsp + 0x1e0]
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 qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
lea rdx, str.Primordial_CS:2_Free
call qword [sym.imp.USER32.dll_SetWindowTextA]
lea rdx, str._t.me_lpsopg:_Primo_Crack__Press_any_key_to_Start_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001a20
call qword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getwch]
lea rdx, str._n_t.me_lpsopg__Waiting_for_Game__please_start_CS:2_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001a20
lea rcx, str.TEMP
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wgetenv]
mov r14, rax
test rax, rax
jne 0x140001322
lea eax, [r14 + 1]
jmp 0x140001292
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r15, 0xffffffffffffffff
mov rbx, r15
nop
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x140001340
movabs r13, 0x7ffffffffffffffe
cmp rbx, r13
ja 0x14000193d
movabs rdi, 0x7fffffffffffffff
mov ecx, 0xa
mov qword [rsp + 0x58], 7
cmp rbx, 8
jae 0x14000139e
mov qword [rsp + 0x50], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x40], r12w
jmp 0x140001439
mov rax, rbx
or rax, 7
cmp rax, r13
jbe 0x1400013b0
lea rcx, [rdi + rdi]
jmp 0x1400013d3
mov r13, rax
cmp rax, rcx
cmovb r13, rcx
lea rcx, [r13 + 1]
cmp rcx, rdi
ja 0x140001937
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001402
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001937
mov rcx, rax
call fcn.140001e80
test rax, rax
je 0x1400013fb
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001414
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140001411
call fcn.140001e80
mov rsi, rax
jmp 0x140001414
mov rsi, r12
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r13
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rsi + rbx], r12w
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, rsi
cmp rax, 0xa
jb 0x14000148a
lea rax, [rsi + 0xa]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x40]
lea rcx, [rbx + rsi*2]
mov r8d, 0x14
lea rdx, str.TMP_235CV
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rsi*2 + 0x14], r12w
lea rax, [rsp + 0x40]
jmp 0x1400014a2
mov qword [rsp + 0x20], 0xa
mov edx, 0xa
lea rcx, [rsp + 0x40]
call fcn.140001c00
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140001515
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001510
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001510
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001ebc
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov ebx, 1
mov edx, ebx
lea rcx, str.WinHTTP_Example
call qword [sym.imp.WININET.dll_InternetOpenA]
test rax, rax
je 0x1400018e1
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r8, qword [rbp - 0x80]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, r15d
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r14, eax
mov rbx, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
cmp r14, rdi
ja 0x14000192b
mov qword [rsp + 0x78], 0xf
cmp rbx, 0x10
jae 0x1400015d2
mov qword [rsp + 0x70], rbx
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov byte [rsp + r14 + 0x60], 0
jmp 0x140001669
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x14000160b
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140001e80
test rax, rax
je 0x1400018c2
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140001648
mov rdi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140001636
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001931
jmp 0x1400015ec
test rcx, rcx
je 0x140001645
call fcn.140001e80
mov rsi, rax
jmp 0x140001648
mov rsi, r12
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov byte [rsi + r14], 0
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae r8, qword [rbp - 0x80]
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop dword [rax]
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400016f0
mov ecx, 0x384
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
lea rcx, str._n____Error__wait...
call fcn.140001010
jmp 0x1400016b0
mov edi, r12d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001746
mov dword [rbp - 0x60], 0x130
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140001746
lea rdx, str.cs2.exe
lea rcx, [rbp - 0x34]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140001743
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x14000171b
mov edi, dword [rbp - 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x384
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str._n_t.me_lpsopg__Waiting_for_Game__please_start_CS:2_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001a20
test edi, edi
je 0x1400016f0
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000188b
cmp rax, 0xffffffffffffffff
je 0x140001882
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtOpenFile
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400017ed
mov ecx, dword [rax]
mov dword [rbp + 0xd0], ecx
movzx ecx, byte [rax + 4]
mov byte [rbp + 0xd4], cl
mov qword [rsp + 0x20], r12
mov r9d, 5
lea r8, [rbp + 0xd0]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae r9, qword [rsp + 0x60]
lea r8, [rsp + 0x60]
cmovae r8, qword [rsp + 0x60]
nop dword [rax + rax]
lea r15, [r15 + 1]
cmp byte [r9 + r15], 0
jne 0x140001830
lea r9, [r15 + 1]
mov qword [rsp + 0x20], r12
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rdi
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x140001882
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, r12d
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400018ce
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001ebc
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140001924
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000191f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000191f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001ebc
mov eax, ebx
jmp 0x140001292
call fcn.140001210
int3
call fcn.140001170
nop
call fcn.140001170
int3
call fcn.140001210
int3