Function at 0x180048530
Capabilities:
Connect socket
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x360]
sub rsp, 0x460
mov rax, qword [0x18012c040]
xor rax, rsp
mov qword [rbp + 0x350], rax
xor r15d, r15d
mov edx, dword [0x18012c0d8]
lea rcx, [rbp + 0xf8]
call fcn.180013410
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x68], xmm1
mov r8d, 0x19
lea rdx, str.Selected_port_by_config:
lea rcx, [rbp + 0x58]
call fcn.180013310
nop
mov r8d, 1
lea rdx, [0x1800fbcc8]
lea rcx, [rbp + 0x58]
call fcn.180027770
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x158], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x168], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
mov byte [rax], r15b
mov r9, rbx
lea r8, [rbp + 0x158]
lea rcx, [rsp + 0x38]
call fcn.18003ebf0
nop
mov r8d, 1
lea rdx, [0x1800fbcc8]
lea rcx, [rsp + 0x38]
call fcn.180027770
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x138], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x148], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov byte [rsp + 0x30], r15b
mov dword [rsp + 0x34], 3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r13, [0x18012f3e8]
mov qword [rsp + 0x20], r13
lea r9, [0x18012f3d8]
lea r8, [rbp + 0x138]
lea rdx, [rsp + 0x34]
call fcn.180025bb0
nop
lea rcx, [rbp + 0x138]
call fcn.180027960
nop
lea rcx, [rsp + 0x38]
call fcn.180027960
nop
lea rcx, [rbp + 0x158]
call fcn.180027960
nop
lea rcx, [rbp + 0x58]
call fcn.180027960
nop
lea rcx, [rbp + 0xf8]
call fcn.180027960
lea r14, str.127.0.0.1
mov rdi, r14
cmp qword [0x18012c548], 0xf
cmova rdi, qword [str.127.0.0.1]
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x88], xmm1
mov r8d, 0x1d
lea rdx, str.Selected_URL_Host_by_config:
lea rcx, [rbp + 0x78]
call fcn.180013310
nop
mov r8d, 1
lea rdx, [0x1800fbcc8]
lea rcx, [rbp + 0x78]
call fcn.180027770
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
mov byte [rax], r15b
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x180048740
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.180027770
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x1800fbcc8]
lea rcx, [rsp + 0x58]
call fcn.180027770
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x158], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x168], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x34], 3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [0x18012f3d8]
lea r8, [rbp + 0x158]
lea rdx, [rsp + 0x34]
call fcn.180025bb0
nop
lea rcx, [rbp + 0x158]
call fcn.180027960
nop
lea rcx, [rsp + 0x58]
call fcn.180027960
nop
lea rcx, [rsp + 0x78]
call fcn.180027960
nop
lea rcx, [rbp + 0x78]
call fcn.180027960
mov ecx, 0x202
lea rdx, [rbp + 0x180]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov r12d, 2
test eax, eax
je 0x180048853
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.180050210
jmp 0x180048b03
mov word [rbp + 0x138], r12w
mov edi, 0x15db
mov ecx, edi
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x13a], ax
lea rcx, [0x180101b58]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x13c], eax
xor r8d, r8d
mov edx, 1
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x180048afd
movsxd rsi, eax
mov r8d, 0x10
lea rdx, [rbp + 0x138]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x180048afd
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
lea r9, [rbp + 0x335]
nop dword [rax]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul edi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub dil, cl
add dil, 0x30
mov byte [r9], dil
mov edi, edx
test edx, edx
jne 0x1800488e0
xorps xmm0, xmm0
movups xmmword [rbp + 0x138], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x148], xmm1
lea rax, [rbp + 0x335]
cmp r9, rax
jne 0x180048941
movdqa xmm0, xmmword [0x180114870]
movdqu xmmword [rbp + 0x148], xmm0
mov byte [rbp + 0x138], dl
jmp 0x18004895b
lea r8, [rbp + 0x335]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x138]
call fcn.180013310
nop
lea rdi, [rbp + 0x138]
cmp qword [rbp + 0x150], 0xf
cmova rdi, qword [rbp + 0x138]
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa8], xmm1
mov r8d, 1
lea rdx, [0x1800fbcc8]
lea rcx, [rbp + 0x98]
call fcn.180013310
nop
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_Backend_on_Port:
xor edx, edx
lea rcx, [rbp + 0x98]
call fcn.18001fb60
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
mov byte [rax], 0
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1800489f0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.180027770
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
mov byte [rax], 0
mov r8, r12
lea rdx, [0x1801089d8]
lea rcx, [rbp - 0x68]
call fcn.180027770
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x158], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x168], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x68]
call fcn.180027960
nop
lea rcx, [rbp - 0x48]
call fcn.180027960
nop
lea rcx, [rbp + 0x98]
call fcn.180027960
nop
lea rcx, [rbp + 0x138]
call fcn.180027960
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x34], r15d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [0x18012f3d8]
lea r8, [rbp + 0x158]
lea rdx, [rsp + 0x34]
call fcn.180025bb0
mov r8d, 4
lea rdx, str.5595
lea rcx, [0x18012c550]
call fcn.1800105e0
mov byte [0x18012f408], 1
lea rcx, [rbp + 0x158]
call fcn.180027960
mov al, 1
jmp 0x1800490a8
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 0x202
lea rdx, [rbp + 0x180]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x180048b2c
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.180050210
jmp 0x180048dd3
mov word [rbp + 0x138], r12w
mov edi, 0xddf
mov ecx, edi
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x13a], ax
lea rcx, [0x180101b58]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x13c], eax
xor r8d, r8d
mov edx, 1
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x180048dcd
movsxd rsi, eax
mov r8d, 0x10
lea rdx, [rbp + 0x138]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x180048dcd
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
lea r9, [rbp + 0x34d]
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul edi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub dil, cl
add dil, 0x30
mov byte [r9], dil
mov edi, edx
test edx, edx
jne 0x180048bb0
xorps xmm0, xmm0
movups xmmword [rbp + 0x138], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x148], xmm1
lea rax, [rbp + 0x34d]
cmp r9, rax
jne 0x180048c11
movdqa xmm0, xmmword [0x180114870]
movdqu xmmword [rbp + 0x148], xmm0
mov byte [rbp + 0x138], dl
jmp 0x180048c2b
lea r8, [rbp + 0x34d]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x138]
call fcn.180013310
nop
lea rdi, [rbp + 0x138]
cmp qword [rbp + 0x150], 0xf
cmova rdi, qword [rbp + 0x138]
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc8], xmm1
mov r8d, 1
lea rdx, [0x1800fbcc8]
lea rcx, [rbp + 0xb8]
call fcn.180013310
nop
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_Backend_on_Port:
xor edx, edx
lea rcx, [rbp + 0xb8]
call fcn.18001fb60
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
mov byte [rax], 0
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x180048cc0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 8]
call fcn.180027770
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
mov byte [rax], 0
mov r8, r12
lea rdx, [0x1801089d8]
lea rcx, [rbp - 0x28]
call fcn.180027770
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x158], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x168], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x28]
call fcn.180027960
nop
lea rcx, [rbp - 8]
call fcn.180027960
nop
lea rcx, [rbp + 0xb8]
call fcn.180027960
nop
lea rcx, [rbp + 0x138]
call fcn.180027960
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x34], r15d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [0x18012f3d8]
lea r8, [rbp + 0x158]
lea rdx, [rsp + 0x34]
call fcn.180025bb0
mov r8d, 4
lea rdx, str.3551
lea rcx, [0x18012c550]
call fcn.1800105e0
mov byte [0x18012f408], 1
lea rcx, [rbp + 0x158]
call fcn.180027960
mov al, 1
jmp 0x1800490a8
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp qword [0x18012c548], 0xf
cmova r14, qword [str.127.0.0.1]
movzx edi, word [0x18012c0d8]
mov ecx, 0x202
lea rdx, [rbp + 0x180]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x180048e13
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.180050210
jmp 0x180049044
mov word [rbp + 0x138], r12w
movzx ecx, di
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x13a], ax
mov rcx, r14
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x13c], eax
xor r8d, r8d
mov edx, 1
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x18004903e
movsxd rdi, eax
mov r8d, 0x10
lea rdx, [rbp + 0x138]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x18004903e
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x18012c0d8]
lea rcx, [rbp + 0x118]
call fcn.180013410
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x180048ea4
mov rdi, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe8], xmm1
mov r8d, 1
lea rdx, [0x1800fbcc8]
lea rcx, [rbp + 0xd8]
call fcn.180013310
nop
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_Backend_on_Port:
xor edx, edx
lea rcx, [rbp + 0xd8]
call fcn.18001fb60
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x48], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
mov byte [rax], 0
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x180048f20
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x38]
call fcn.180027770
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x28], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
mov byte [rax], 0
mov r8, r12
lea rdx, [0x1801089d8]
lea rcx, [rbp + 0x18]
call fcn.180027770
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x158], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x168], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp + 0x18]
call fcn.180027960
nop
lea rcx, [rbp + 0x38]
call fcn.180027960
nop
lea rcx, [rbp + 0xd8]
call fcn.180027960
nop
lea rcx, [rbp + 0x118]
call fcn.180027960
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x34], r15d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [0x18012f3d8]
lea r8, [rbp + 0x158]
lea rdx, [rsp + 0x34]
call fcn.180025bb0
mov edx, dword [0x18012c0d8]
lea rcx, [rbp + 0xf8]
call fcn.180013410
mov rdx, rax
lea rcx, [0x18012c550]
call fcn.180027860
lea rcx, [rbp + 0xf8]
call fcn.180027960
mov byte [0x18012f408], 1
lea rcx, [rbp + 0x158]
call fcn.180027960
mov al, 1
jmp 0x1800490a8
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp byte [0x18012f408], 0
jne 0x1800490a6
lea rdx, str.Couldnt_find_the_set_Port_
lea rcx, [rsp + 0x38]
call fcn.180027910
nop
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.18000edb0
nop
lea rcx, [rsp + 0x38]
call fcn.180006920
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 + 0x38]
call fcn.180027910
nop
mov dl, 1
lea rcx, [rsp + 0x38]
call fcn.18000edb0
nop
lea rcx, [rsp + 0x38]
call fcn.180006920
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
xor al, al
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.1800d4da0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret