Function at 0x180057820
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x180148040]
xor rax, rsp
mov qword [rbp + 0x140], rax
lea rax, str.Selected_port_by_config:_
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x1d
mov eax, dword [0x1801480dc]
mov dword [rbp - 0x78], eax
movabs rax, 0x1000000000000000
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x50], 1
lea rax, [rbp - 0x80]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180022d80
nop
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x34], 3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r15, [0x18014aff8]
mov qword [rsp + 0x20], r15
lea r9, [0x18014afe8]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x34]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x60]
call fcn.18002d710
lea rax, str.Selected_URL_Host_by_config:_
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x21
lea rsi, str.127.0.0.1
mov rax, rsi
cmp qword [0x180148568], 0xf
cmova rax, qword [str.127.0.0.1]
mov qword [rsp + 0x40], rax
mov rax, qword [reloc.WS2_32.dll_htons]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x78], xmm0
movabs r13, 0xc000000000000000
mov qword [rbp - 0x80], r13
mov qword [rsp + 0x40], 1
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.180022d80
nop
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x34], 3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [0x18014afe8]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x34]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x60]
call fcn.18002d710
mov ecx, 0x202
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea rbx, [0x180148570]
mov r14d, 2
test eax, eax
je 0x180057a0a
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.180060040
jmp 0x180057a95
mov word [rbp - 0x80], r14w
mov ecx, 0x15db
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x7e], ax
lea rcx, [0x180120300]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp - 0x7c], eax
xor r8d, r8d
mov edx, 1
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x180057a8f
movsxd rdi, eax
mov r8d, 0x10
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x180057a8f
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov r8d, 4
lea rdx, str.5595
mov rcx, rbx
call fcn.180013b90
mov byte [0x18014b538], 1
jmp 0x180057c22
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 0x202
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x180057abb
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.180060040
jmp 0x180057b46
mov word [rbp - 0x80], r14w
mov ecx, 0xddf
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x7e], ax
lea rcx, [0x180120300]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp - 0x7c], eax
xor r8d, r8d
mov edx, 1
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x180057b40
movsxd rdi, eax
mov r8d, 0x10
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x180057b40
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov r8d, 4
lea rdx, str.3551
mov rcx, rbx
call fcn.180013b90
mov byte [0x18014b538], 1
jmp 0x180057c22
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp qword [0x180148568], 0xf
cmova rsi, qword [str.127.0.0.1]
movzx edi, word [0x1801480dc]
mov ecx, 0x202
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x180057b83
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.180060040
jmp 0x180057c15
mov word [rbp - 0x80], r14w
movzx ecx, di
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x7e], ax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp - 0x7c], eax
xor r8d, r8d
mov edx, 1
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x180057c0f
movsxd rdi, eax
mov r8d, 0x10
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x180057c0f
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x1801480dc]
lea rcx, [rsp + 0x60]
call fcn.180016850
mov rdx, rax
mov rcx, rbx
call fcn.180024bb0
lea rcx, [rsp + 0x60]
call fcn.18002d710
mov byte [0x18014b538], 1
jmp 0x180057c22
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp byte [0x18014b538], 0
je 0x180057d11
lea rax, str.Found_Backend_on_Port:__
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x1c
cmp qword [0x180148588], 0xf
cmova rbx, qword [0x180148570]
mov qword [rsp + 0x40], rbx
mov rax, qword [0x180148580]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x80], r13
mov qword [rsp + 0x40], 1
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.180022d80
nop
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [0x18014afe8]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x34]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x60]
call fcn.18002d710
mov al, 1
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1800ec360
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rdx, str.Couldnt_find_the_set_Port_
lea rcx, [rsp + 0x60]
call fcn.18002d260
nop
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.180029e20
nop
lea rcx, [rsp + 0x60]
call fcn.180029bd0
lea rdx, str.No_backend_found___nPlease_make_sure_the_backend_is_listening_to_port_5595___3551_or_check_the_CraniumV1_Settings_file_for_the_custom_Port_setting._n_nCarbon_provides_NeoniteV2_pre_installed_with_the_ZIP_File._nExecute_the_Start_Neonite_file_and_try_again___nInside_If_you_still_experience_issues_contact_support.
lea rcx, [rsp + 0x60]
call fcn.18002d260
nop
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.180029e20
nop
lea rcx, [rsp + 0x60]
call fcn.180029bd0
xor ecx, ecx
call fcn.18005c980
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3