Function at 0x1400497b0
Capabilities:
Create thread
Execute command
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1400f7080]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edi, edi
lea rcx, str.Growtopia_Proxy
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea edx, [rdi + 1]
lea rcx, [0x1400452c0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea rcx, str.Color_a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140045a40
lea rcx, str.New_Features_by_Joakim_Meriko._n
call fcn.140008180
lea rcx, str.Any_questions_dm_me_discord_joakimmer1k00230_n
call fcn.140008180
call fcn.140045410
lea ecx, [rdi + 8]
call fcn.1400c17e8
lea rcx, [0x1400446f0]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1400584f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140049a35
cmp dword [rsp + 0x48], edi
je 0x140049a29
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140049a29
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, str._HTTPS__HTTPS_server_is_running._n
call fcn.140008180
call fcn.140007fd0
mov rbx, qword [0x140100d10]
lea rdx, str.0.0.0.0
lea rcx, [rsp + 0x30]
call fcn.140008060
movzx eax, word [rbx + 0x6c]
mov word [rsp + 0x34], ax
mov edx, 0x400
lea r8d, [rdi + 0xa]
lea rcx, [rsp + 0x30]
call fcn.140003280
mov qword [rbx], rax
mov qword [rax + 0x2b10], rdi
mov rax, qword [rbx]
test rax, rax
jne 0x140049916
lea rcx, str._SERVER_:_failed_to_start_the_proxy_server__n
call fcn.140008180
lea rcx, str.Failed_to_start_server_or_proxy._n
call fcn.140008180
nop
cmp dword [rsp + 0x48], 0
je 0x140049a0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
lea rcx, [0x140003ea0]
mov qword [rax + 0xa90], rcx
mov rcx, qword [rbx]
call fcn.1400031e0
test eax, eax
je 0x14004993c
lea rcx, str._SERVER_:_enet_host_compressing_failed_n
call fcn.140008180
lea rcx, str._SERVER_:_started_the_enet_server._n
call fcn.140008180
mov rcx, rbx
call fcn.14005db80
test al, al
je 0x1400498f7
lea rcx, str._SERVER__Server__client_proxy_is_running._n
call fcn.140008180
movabs rsi, 0x7ffffffffff0bdbf
movabs rdi, 0x7fffffffffffffff
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [0x140100d10]
mov rcx, rbx
call fcn.14005cf00
cmp qword [rbx + 8], 0
je 0x14004999e
mov rcx, rbx
call fcn.14005d550
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1400499bc
imul rax, rax, 0x64
jmp 0x1400499da
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
imul rcx, rcx, 0x3b9aca00
add rax, rcx
cmp rax, rsi
jge 0x1400499f6
add rax, 0xf4240
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.14002c310
jmp 0x140049980
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x30]
call fcn.14002c310
jmp 0x140049980
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400c16a0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3