Function at 0x140001000
Capabilities:
Acquire debug privileges
Create process on windows
Create thread
Get common file path
Inject dll
Inject thread

Disassembly:
push rbp
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x120], rax
cmp ecx, 1
jge 0x140001031
mov eax, 1
jmp 0x1400013f1
mov qword [rsp + 0x260], rbx
mov qword [rsp + 0x248], rdi
mov rdi, qword [rdx]
mov edx, 0x5c
mov rcx, rdi
mov qword [rsp + 0x240], r12
mov qword [rsp + 0x238], r14
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
xor r12d, r12d
mov rbx, rax
test rax, rax
je 0x140001095
sub rbx, rdi
inc rbx
lea rcx, [rbx + 0xb]
call fcn.140001750
mov r14, rax
test rbx, rbx
je 0x1400010a5
mov r8, rbx
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp 0x1400010a5
mov ecx, 0xb
mov rbx, r12
call fcn.140001750
mov r14, rax
movsd xmm0, qword [str.anubis.dll]
movsd qword [r14 + rbx], xmm0
movzx eax, word [0x140003480]
mov word [r14 + rbx + 8], ax
movzx eax, byte [0x140003482]
mov byte [r14 + rbx + 0xa], al
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x58]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000110b
lea r8, [rbp - 0x80]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x58]
test eax, eax
jne 0x140001135
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.failed_to_enable_debug_privilege_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001540
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov eax, 1
jmp 0x1400013d1
mov rax, qword [rbp - 0x80]
lea r8, [rbp - 0x78]
mov qword [rsp + 0x28], r12
mov r9d, 0x10
xor edx, edx
mov qword [rbp - 0x74], rax
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x6c], 2
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x58]
test eax, eax
je 0x140001105
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rbp + 0x10]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rcx, [rbp + 0x10]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], r12b
lea rcx, [rcx + 1]
jne 0x1400011a0
movups xmm0, xmmword [str.GrowtopiaGrowtopia.exe]
movzx eax, byte [0x1400034c8]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x1400034c0]
movsd qword [rcx + 0x10], xmm0
xorps xmm0, xmm0
mov byte [rcx + 0x18], al
xor eax, eax
mov qword [rbp], rax
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14000123f
lea rdx, str.failed_to_start_growtopia.exe_n
jmp 0x140001112
mov rcx, qword [rsp + 0x60]
mov edx, 0xffffffff
call qword [sym.imp.USER32.dll_WaitForInputIdle]
lea rdx, str.Growtopia
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x14000126f
lea rdx, str.failed_to_find_growtopia_window_n
jmp 0x140001112
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400014c4
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtSetInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 8
mov qword [rbp - 0x80], 2
lea r8, [rbp - 0x80]
mov edx, 0x34
mov rcx, rbx
call rax
mov rcx, rbx
test eax, eax
jne 0x1400014be
mov qword [rsp + 0x270], rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [r14 + rsi], r12b
jne 0x1400012f4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
jne 0x140001335
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.failed_to_load_dll_n
call fcn.140001540
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov eax, 1
jmp 0x1400013c9
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov ecx, 0x1fffff
mov qword [rsp + 0x230], r15
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rcx, str.ntdll.dll
mov dword [rsp + 0x78], 0xb8d18b4c
mov r15, rax
mov byte [rsp + 0x7c], 0x50
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtProtectVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9d, 5
mov qword [rsp + 0x20], r12
mov rdx, rax
lea r8, [rsp + 0x78]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001409
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.failed_to_restore_NtProtectVirtualMemory_original_bytes_n
call fcn.140001540
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov eax, 1
mov r15, qword [rsp + 0x230]
mov rsi, qword [rsp + 0x270]
mov rdi, qword [rsp + 0x248]
mov r12, qword [rsp + 0x240]
mov rbx, qword [rsp + 0x260]
mov r14, qword [rsp + 0x238]
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140001730
add rsp, 0x250
pop rbp
ret
inc rsi
mov dword [rsp + 0x20], 4
mov r8, rsi
mov r9d, 0x1000
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9, rsi
mov qword [rsp + 0x20], r12
mov rdx, rax
mov r8, r14
mov rcx, r15
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1400035d0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], r12
xor r8d, r8d
mov r9, rax
mov dword [rsp + 0x28], r12d
xor edx, edx
mov qword [rsp + 0x20], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
mov edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
mov r8, rsi
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400013c1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.failed_to_disable_BlockDynamicCode_mitigation_policy_n
jmp 0x140001112