Function at 0x18004e040
Capabilities:
Create thread
Execute command
Set console window title
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x18009b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
cmp qword [0x1800c4728], 0xf
lea rcx, str._kiocode
cmova rcx, qword [str._kiocode]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x18008e65c]
lea rdx, str.CONOUT_
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rcx, [0x18008f308]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0xfffffff5
mov edi, 3
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, di
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [0x18008ef60]
call fcn.180001640
mov ecx, 0xfffffff5
lea ebx, [rdi - 1]
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str.___n_________________________________________________________________________t_n___________________________________________________._________t_n_________.________________________________________n______________________________________________________t_n____________________________________________________________________n_t
call fcn.180001640
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, di
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str._n_n
call fcn.180001640
mov ecx, 0xfffffff5
lea ebx, [rdi + 0xc]
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
cmp qword [0x1800c52a0], 0
jne 0x18004e17c
lea rcx, str.GameAssembly.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, 0x3e8
mov qword [0x1800c52a0], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [0x1800c52a0], 0
je 0x18004e153
call fcn.180003b00
lea rdx, [rsp + 0x30]
movups xmm0, xmmword [str._kiocode]
movups xmm1, xmmword [0x1800c4720]
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
test al, al
je 0x18004e327
lea rcx, str.___s___Il2Cpp_initialized_n
call fcn.180001640
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movups xmm0, xmmword [str._kiocode]
mov r8, rax
lea rdx, [rsp + 0x30]
movups xmm1, xmmword [0x1800c4720]
lea rcx, str.___s___Base_Address_____0x_llX_n
mov qword [0x1800c54a0], rax
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
call fcn.180001640
lea rcx, str.GameAssembly.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movups xmm0, xmmword [str._kiocode]
mov r8, rax
lea rdx, [rsp + 0x30]
movups xmm1, xmmword [0x1800c4720]
lea rcx, str.___s___GameAssembly_Base_Address_____0x_llX_n
mov qword [0x1800c54a8], rax
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
call fcn.180001640
lea rcx, str.UnityPlayer.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movups xmm0, xmmword [str._kiocode]
mov r8, rax
lea rdx, [rsp + 0x30]
movups xmm1, xmmword [0x1800c4720]
lea rcx, str.___s___UnityPlayer_Base_Address_____0x_llX_n
mov qword [0x1800c5498], rax
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
call fcn.180001640
lea rcx, str._n
call fcn.180001640
lea rcx, [0x180086e60]
call fcn.180001640
call fcn.180001360
call fcn.18004cc10
call fcn.180052cb0
mov rcx, rax
mov qword [0x1800c54f8], rax
call fcn.180054d20
call fcn.18004dca0
cmp dword [0x1800c5680], 0
je 0x18004e2d3
mov rax, qword [0x1800c5678]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call fcn.180045210
test eax, eax
jne 0x18004e2d3
lea edx, [rax + 1]
mov rcx, rbx
call fcn.180045570
xor ebx, ebx
lea r8, [0x18004ca40]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x18004dec0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18007bd10
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rcx, str.___s___Il2Cpp_initialize_failed__quitting...
call fcn.180001640
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3