Function at 0x140001340
Capabilities:
Acquire debug privileges
Create thread
Enumerate processes
Inject thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x770
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x760], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x550]
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0xa8]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000140b
lea r8, [rsp + 0x2f0]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x14000140b
mov dword [rsp + 0x2f8], 1
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x2fc], rax
mov dword [rsp + 0x304], 2
xor r14d, r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 0x10]
lea r8, [rsp + 0x2f8]
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
jmp 0x14000140e
xor r14d, r14d
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0xb0]
call fcn.1400024d0
mov rax, qword [rsp + 0xb0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0xb0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
movzx ebx, al
mov rcx, qword [rsp + 0xb0]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rdx + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rsp + rdx + 0xac], r8d
lea rcx, [rsp + 0xc0]
call fcn.1400023f0
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x160]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
test bl, bl
je 0x14000175e
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400017cd
mov dword [rsp + 0xb0], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0xb4]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x310]
lea rax, [rsp + 0xb0]
mov edx, 4
nop dword [rax]
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x140001510
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
mov rax, qword [rax + 0x30]
mov qword [rcx + 0x30], rax
lea rdx, [rsp + 0x310]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400017c4
lea rbx, str.COLDY.exe
lea rdx, [rsp + 0x33c]
mov rax, r14
nop dword [rax + rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [rbx + rax*2]
jne 0x140001711
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rbx + rax*2 + 2]
jne 0x140001711
add rax, 2
cmp rax, 0xa
jne 0x1400015b0
mov ebx, dword [rsp + 0x318]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, ebx
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140001780
mov r8d, 0x104
lea rdx, str.Library.dll
lea rcx, [rsp + 0x550]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wfullpath]
mov dword [rsp + 0x2f0], r14d
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x1400016ff
lea rax, [rsp + 0x550]
mov r9, 0xffffffffffffffff
lea r9, [r9 + 1]
cmp word [rax + r9*2], 0
jne 0x140001661
lea r9, [r9*2 + 2]
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x550]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400016ea
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rsi
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
je 0x1400016ea
mov edx, 0xfa0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400016e1
lea rdx, [rsp + 0x2f0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp dword [rsp + 0x2f0], 0
je 0x1400017a2
xor eax, eax
jmp 0x140001734
lea rdx, [rsp + 0x310]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400017c4
jmp 0x1400015a0
mov rcx, qword [rsp + 0x760]
xor rcx, rsp
call fcn.140002ff0
lea r11, [rsp + 0x770]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
lea rdx, str.AntiCheat_Library_not_found.
lea rcx, [rsp + 0x48]
call fcn.1400011d0
lea rdx, [0x1400068b0]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Failed_to_open_process.
lea rcx, [rsp + 0x60]
call fcn.1400011d0
lea rdx, [0x1400068b0]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Failed_to_restruction_DLL.
lea rcx, [rsp + 0x78]
call fcn.1400011d0
lea rdx, [0x1400068b0]
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.COLDY.exe_is_not_running.
lea rcx, [rsp + 0x90]
call fcn.1400011d0
lea rdx, [0x1400068b0]
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
int3