Function at 0x140045d80
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 [0x14006b028]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edi, edi
lea rcx, str.JMProxy
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea edx, [rdi + 1]
lea rcx, [0x140045610]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea rcx, str.color_5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.color_d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.JMProxy_by_Joakim_n
call fcn.140009040
call fcn.140045760
lea ecx, [rdi + 8]
call fcn.14004e200
lea rcx, [0x140044a10]
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, [0x140033b00]
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 0x140046008
cmp dword [rsp + 0x48], edi
jne 0x140045e3f
lea ecx, [rdi + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
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
je 0x140045e62
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, str.HTTPS_server_is_running._n
call fcn.140009040
call fcn.140008e90
mov rbx, qword [0x140074590]
lea rdx, str.0.0.0.0
lea rcx, [rsp + 0x30]
call fcn.140008f20
movzx eax, word [rbx + 0x6c]
mov word [rsp + 0x34], ax
mov edx, 0x400
mov r8d, 0xa
lea rcx, [rsp + 0x30]
call fcn.140004140
mov qword [rbx], rax
mov qword [rax + 0x2b10], rdi
mov rax, qword [rbx]
test rax, rax
jne 0x140045eef
lea rcx, str._SERVER_:_failed_to_start_the_proxy_server__n
call fcn.140009040
lea rcx, str.Failed_to_start_server_or_proxy._n
call fcn.140009040
nop
cmp dword [rsp + 0x48], 0
je 0x140045fe9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
lea rcx, [0x140004d70]
mov qword [rax + 0xa90], rcx
mov rcx, qword [rbx]
call fcn.1400040a0
test eax, eax
je 0x140045f15
lea rcx, str._SERVER_:_enet_host_compressing_failed_n
call fcn.140009040
lea rcx, str._SERVER_:_started_the_enet_server._n
call fcn.140009040
mov rcx, rbx
call fcn.14004cac0
test al, al
je 0x140045ed0
lea rcx, str.Server__client_proxy_is_running._n
call fcn.140009040
movabs rsi, 0x7ffffffffff0bdbf
movabs rdi, 0x7fffffffffffffff
nop dword [rax]
mov rbx, qword [0x140074590]
mov rcx, rbx
call fcn.14004bea0
cmp qword [rbx + 8], 0
je 0x140045f6e
mov rcx, rbx
call fcn.14004c4f0
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov r8, rax
cmp rbx, 0x989680
jne 0x140045f8f
imul rcx, r8, 0x64
jmp 0x140045fb5
cqo
idiv rbx
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
mov rcx, rax
mov rax, r8
cqo
idiv rbx
imul rdx, rax, 0x3b9aca00
add rcx, rdx
cmp rcx, rsi
jge 0x140045fd5
add rcx, 0xf4240
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
call fcn.14002ff90
jmp 0x140045f50
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x30]
call fcn.14002ff90
jmp 0x140045f50
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14004e1e0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov dword [rsp + 0x48], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3