Function at 0x180057900
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 [0x180149040]
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 [0x1801490bc]
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, [0x18014bfd8]
mov qword [rsp + 0x20], r15
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x34]
call fcn.180028480
nop
lea rcx, [rsp + 0x60]
call fcn.18002d3d0
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 [0x180149548], 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, [0x18014bfc8]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x34]
call fcn.180028480
nop
lea rcx, [rsp + 0x60]
call fcn.18002d3d0
mov ecx, 0x202
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
lea rbx, [0x180149550]
mov r14d, 2
test eax, eax
je 0x180057aea
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.180060a60
jmp 0x180057b9c
mov word [rbp - 0x80], r14w
mov ecx, 0x15db
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x7e], ax
lea rcx, [0x180121280]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp - 0x7c], eax
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x180057b96
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 0x180057b96
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [0x180149568]
cmp rcx, 4
jb 0x180057b8a
mov rax, rbx
cmp rcx, 0xf
cmova rax, qword [0x180149550]
mov qword [0x180149560], 4
mov dword [rax], 0x35393535
mov byte [rax + 4], 0
mov byte [0x18014c518], 1
jmp 0x180057d67
lea r9, str.5595
jmp 0x180057c6d
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 0x180057bc2
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.180060a60
jmp 0x180057c8c
mov word [rbp - 0x80], r14w
mov ecx, 0xddf
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x7e], ax
lea rcx, [0x180121280]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp - 0x7c], eax
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x180057c86
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 0x180057c86
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [0x180149568]
cmp rcx, 4
jb 0x180057c66
mov rax, rbx
cmp rcx, 0xf
cmova rax, qword [0x180149550]
mov qword [0x180149560], 4
mov dword [rax], 0x31353533
mov byte [rax + 4], 0
mov byte [0x18014c518], 1
jmp 0x180057d67
lea r9, str.3551
mov edx, 4
mov rcx, rbx
call fcn.180013610
mov byte [0x18014c518], 1
jmp 0x180057d67
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp qword [0x180149548], 0xf
cmova rsi, qword [str.127.0.0.1]
movzx edi, word [0x1801490bc]
mov ecx, 0x202
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x180057cc9
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.180060a60
jmp 0x180057d5a
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
lea edx, [r8 + 1]
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x180057d54
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 0x180057d54
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x1801490bc]
lea rcx, [rsp + 0x60]
call fcn.180016250
mov rdx, rax
mov rcx, rbx
call fcn.180024bf0
lea rcx, [rsp + 0x60]
call fcn.18002d3d0
mov byte [0x18014c518], 1
jmp 0x180057d67
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp byte [0x18014c518], 0
je 0x180057e56
lea rax, str.Found_Backend_on_Port:__
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x1c
cmp qword [0x180149568], 0xf
cmova rbx, qword [0x180149550]
mov qword [rsp + 0x40], rbx
mov rax, qword [0x180149560]
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, [0x18014bfc8]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x34]
call fcn.180028480
nop
lea rcx, [rsp + 0x60]
call fcn.18002d3d0
mov al, 1
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1800ed2f0
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.18002cf20
nop
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.180029b60
nop
lea rcx, [rsp + 0x60]
call fcn.180029910
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.18002cf20
nop
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.180029b60
nop
lea rcx, [rsp + 0x60]
call fcn.180029910
xor ecx, ecx
call fcn.18005d3c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3