Function at 0x1400011c0
Capabilities:
Acquire debug privileges
Create process on windows
Create thread
Get common file path
Inject dll
Inject thread
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4a0]
sub rsp, 0x5a0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x490], rax
mov r13, rdx
mov r12d, ecx
xor esi, esi
lea rcx, str.Sakura
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp r12d, 2
je 0x140001249
lea rdx, str.sakura__growtopia_cheat_by_sxtoru_________n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001bd0
lea rdx, str.Injecting_dll...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001bd0
mov rcx, rax
lea rdx, [0x140001da0]
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]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x58]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov r14d, 1
test eax, eax
je 0x14000128e
lea r8, [rbp - 0x60]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x58]
test eax, eax
jne 0x1400012e1
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.140001bd0
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, r14d
mov rcx, qword [rbp + 0x490]
xor rcx, rsp
call fcn.1400020c0
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rbp - 0x80], r14d
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x7c], rax
mov dword [rbp - 0x74], 2
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 0x10
lea r8, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x58]
test eax, eax
je 0x140001288
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rbp + 0x170]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea rcx, [rbp + 0x170]
dec rcx
nop dword [rax + rax]
lea rcx, [rcx + 1]
cmp byte [rcx], sil
jne 0x140001350
movups xmm0, xmmword [str.GrowtopiaGrowtopia.exe]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x140003558]
movsd qword [rcx + 0x10], xmm1
movzx eax, byte [0x140003560]
mov byte [rcx + 0x18], al
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400013ef
lea rdx, str.failed_to_start_growtopia.exe_n
jmp 0x140001295
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
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 0x14000141f
lea rdx, str.failed_to_find_growtopia_window_n
jmp 0x140001295
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 rdi, rax
test rax, rax
je 0x140001a74
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 qword [rbp - 0x60], 2
mov r9d, 8
lea r8, [rbp - 0x60]
lea edx, [r9 + 0x2c]
mov rcx, rdi
call rax
mov ebx, esi
test eax, eax
cmove ebx, r14d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140001a74
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0x104
lea rdx, [rbp + 0x280]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
lea rax, [rbp + 0x280]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400014e0
lea rdx, [rbp + 0x280]
lea rcx, [rbp - 0x58]
call fcn.140001de0
nop
lea rbx, [rbp - 0x58]
mov r14, qword [rbp - 0x58]
mov r15, qword [rbp - 0x40]
cmp r15, 8
cmovae rbx, r14
mov rdi, qword [rbp - 0x48]
test rdi, rdi
je 0x1400015d2
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x1400035f8]
lea r8, [0x1400035fc]
mov edx, 0x100
movzx eax, word [rcx]
cmp ax, dx
jae 0x14000158b
movzx eax, al
mov byte [rbp + rax + 0x60], 1
add rcx, 2
cmp rcx, r8
jne 0x140001541
lea rcx, [rdi - 1]
mov rax, rsi
cmp rcx, rsi
cmovb rax, rcx
lea r8, [rbx + rax*2]
nop dword [rax]
movzx eax, word [r8]
cmp ax, dx
jae 0x140001580
cmp byte [rbp + rax + 0x60], 0
jne 0x1400015ca
cmp r8, rbx
je 0x1400015d2
sub r8, 2
jmp 0x140001570
lea rcx, [rdi - 1]
mov rax, rsi
cmp rcx, rsi
cmovb rax, rcx
lea r8, [rbx + rax*2]
nop dword [rax]
mov ecx, 2
lea rax, [0x1400035f8]
movzx edx, word [r8]
cmp word [rax], dx
je 0x1400015ca
add rax, 2
sub rcx, 1
jne 0x1400015b0
cmp r8, rbx
je 0x1400015d2
sub r8, 2
jmp 0x1400015a0
sub r8, rbx
sar r8, 1
jmp 0x1400015d5
mov r8, rsi
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rbp - 0x58]
cmp r15, 8
cmovae rdx, r14
lea rcx, [rbp - 0x38]
call fcn.140001de0
nop
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x28]
lea r14, [rdx + rax*2]
lea rdi, [rbp - 0x38]
cmovae rdi, qword [rbp - 0x38]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor r15d, r15d
cmp rdi, r14
jne 0x140001647
mov ecx, r15d
mov qword [rbp - 0x70], rcx
mov edx, 0xf
mov qword [rbp - 0x68], rdx
mov byte [rbp - 0x80], cl
jmp 0x140001747
mov rax, r14
sub rax, rdi
sar rax, 1
mov rdx, r15
mov qword [rbp - 0x70], rdx
mov ebx, 0xf
mov qword [rbp - 0x68], rbx
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x140001a86
cmp rax, 0x10
jb 0x140001700
mov rbx, rax
or rbx, 0xf
cmp rbx, rcx
jbe 0x14000168e
mov rbx, rcx
jmp 0x14000169a
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
cmovb rcx, rsi
cmp rcx, 0x1000
jb 0x1400016e1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001a80
mov rcx, rax
call fcn.1400020e0
mov rcx, rax
test rax, rax
je 0x140001839
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rbp - 0x70]
jmp 0x1400016f4
test rcx, rcx
je 0x1400016f1
call fcn.1400020e0
mov rdx, qword [rbp - 0x70]
jmp 0x1400016f4
mov rax, r15
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x68], rbx
nop dword [rax]
lea rcx, [rbp - 0x80]
cmp rbx, 0x10
cmovae rcx, qword [rbp - 0x80]
movzx eax, byte [rdi]
mov byte [rdx + rcx], al
mov rdx, qword [rbp - 0x70]
inc rdx
mov qword [rbp - 0x70], rdx
add rdi, 2
cmp rdi, r14
je 0x14000172d
mov rbx, qword [rbp - 0x68]
jmp 0x140001700
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rax, qword [rbp - 0x80]
mov byte [rdx + rax], r15b
mov rdx, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 0xb
jb 0x140001786
lea rax, [rcx + 0xb]
mov qword [rbp - 0x70], rax
lea rbx, [rbp - 0x80]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x80]
add rbx, rcx
mov r8d, 0xb
lea rdx, str.Sakura.dll
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xb], 0
jmp 0x14000179d
mov qword [rsp + 0x20], 0xb
mov edx, 0xb
lea rcx, [rbp - 0x80]
call fcn.140001f20
cmp r12d, 2
je 0x140001803
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rcx, qword [rbp - 0x80]
lea rdx, [rbp + 0x60]
sub rdx, rcx
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400017c0
lea rbx, [rbp + 0x60]
lea rdx, str.Default_Dll_Path_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001bd0
mov rcx, rax
lea rdx, [rbp + 0x60]
call fcn.140001bd0
mov rcx, rax
lea rdx, [0x140001da0]
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]
jmp 0x140001807
mov rbx, qword [r13 + 8]
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140001845
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001840
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001840
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000211c
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x140001898
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001893
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001893
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000211c
movdqa xmm0, xmmword [0x1400036c0]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r15w
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400018ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000211c
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], r15w
nop
inc rsi
cmp byte [rbx + rsi], 0
jne 0x140001900
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
jne 0x14000194d
lea rdx, str.failed_to_load_dll_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001bd0
mov rcx, rax
mov rdx, qword [r13]
call fcn.140001bd0
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 0x1400012b1
mov r8d, dword [rsp + 0x50]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
mov dword [rsp + 0x78], 0xb8d18b4c
mov byte [rsp + 0x7c], 0x50
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtProtectVirtualMemory
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov qword [rsp + 0x20], r15
mov r9d, 5
lea r8, [rsp + 0x78]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400019bf
lea rdx, str.failed_to_restore_NtProtectVirtualMemory_original_bytes_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
jmp 0x140001931
inc rsi
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8, rsi
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
mov qword [rsp + 0x20], r15
mov r9, rsi
mov r8, rbx
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x140003698]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rdi
mov r9, rax
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
mov edx, 0xffffffff
mov rcx, 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, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400012b1
lea rdx, str.failed_to_disable_BlockDynamicCode_mitigation_policy_n
jmp 0x140001295
call fcn.140001100
int3
call fcn.1400011a0
int3