Function at 0x18003c8e0
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], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x180121040]
xor rax, rsp
mov qword [rbp + 0x370], rax
xor r15d, r15d
mov edx, dword [0x1801210b8]
lea rcx, [rsp + 0x20]
call fcn.18001af00
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
lea r8d, [r15 + 0x19]
lea rdx, str.Selected_port_by_config:
lea rcx, [rbp + 0xa0]
call fcn.18001ae00
nop
lea r8d, [r15 + 1]
lea rdx, [0x1800f7580]
lea rcx, [rbp + 0xa0]
call fcn.18001cc30
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x180], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x190], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov r9, rbx
lea r8, [rbp + 0x180]
lea rcx, [rbp + 0x140]
call fcn.1800313a0
nop
lea r8d, [r15 + 1]
lea rdx, [0x1800f7580]
lea rcx, [rbp + 0x140]
call fcn.18001cc30
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
lea rcx, [rsp + 0x40]
call fcn.18008f170
nop
lea rcx, [rbp + 0x140]
call fcn.18001ce20
nop
lea rcx, [rbp + 0x180]
call fcn.18001ce20
nop
lea rcx, [rbp + 0xa0]
call fcn.18001ce20
nop
lea rcx, [rsp + 0x20]
call fcn.18001ce20
lea r14, str.127.0.0.1
mov rdi, r14
cmp qword [0x1801214f0], 0xf
cmova rdi, qword [str.127.0.0.1]
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
lea r8d, [r15 + 0x1d]
lea rdx, str.Selected_URL_Host_by_config:
lea rcx, [rbp + 0xc0]
call fcn.18001ae00
nop
lea r8d, [r15 + 1]
lea rdx, [0x1800f7580]
lea rcx, [rbp + 0xc0]
call fcn.18001cc30
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x18003cad0
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.18001cc30
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x1800f7580]
lea rcx, [rbp - 0x80]
call fcn.18001cc30
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x60]
call fcn.18008f170
nop
lea rcx, [rbp - 0x80]
call fcn.18001ce20
nop
lea rcx, [rbp - 0x60]
call fcn.18001ce20
nop
lea rcx, [rbp + 0xc0]
call fcn.18001ce20
mov ecx, 0x202
lea rdx, [rbp + 0x1a0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov r12d, 2
test eax, eax
je 0x18003cbb5
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.18004a970
jmp 0x18003ce7a
mov word [rbp + 0x160], r12w
mov edi, 0x15db
mov ecx, edi
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x162], ax
lea rcx, [0x1800f8458]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x164], eax
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x18003ce74
movsxd rsi, eax
mov r8d, 0x10
lea rdx, [rbp + 0x160]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x18003ce74
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
lea r9, [rbp + 0x355]
nop word [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 0x18003cc40
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x170], xmm1
lea rax, [rbp + 0x355]
cmp r9, rax
jne 0x18003cca1
movdqa xmm0, xmmword [0x18010ac10]
movdqu xmmword [rbp + 0x170], xmm0
mov byte [rbp + 0x160], dl
jmp 0x18003ccbb
lea r8, [rbp + 0x355]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x160]
call fcn.18001ae00
nop
lea rdi, [rbp + 0x160]
cmp qword [rbp + 0x178], 0xf
cmova rdi, qword [rbp + 0x160]
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
mov r8d, 1
lea rdx, [0x1800f7580]
lea rcx, [rbp + 0xe0]
call fcn.18001ae00
nop
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_Backend_on_Port:
xor edx, edx
lea rcx, [rbp + 0xe0]
call fcn.18001b1c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x18003cd50
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.18001cc30
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, r12
lea rdx, [0x1800ff278]
lea rcx, [rbp - 0x40]
call fcn.18001cc30
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x180], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x190], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x40]
call fcn.18001ce20
nop
lea rcx, [rbp - 0x20]
call fcn.18001ce20
nop
lea rcx, [rbp + 0xe0]
call fcn.18001ce20
nop
lea rcx, [rbp + 0x160]
call fcn.18001ce20
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x20]
call fcn.18001be10
mov rcx, rax
call fcn.18008eff0
mov rax, qword [0x180121510]
lea rcx, [0x1801214f8]
cmp rax, 4
jb 0x18003ce49
cmp rax, 0xf
cmova rcx, qword [0x1801214f8]
mov qword [0x180121508], 4
mov dword [rcx], 0x35393535
mov byte [rcx + 4], 0
jmp 0x18003ce5a
lea r9, str.5595
mov edx, 4
call fcn.18000cb70
mov byte [0x180124380], 1
lea rcx, [rbp + 0x180]
call fcn.18001ce20
mov al, 1
jmp 0x18003d405
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 0x202
lea rdx, [rbp + 0x1a0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x18003cea3
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.18004a970
jmp 0x18003d16a
mov word [rbp + 0x160], r12w
mov edi, 0xddf
mov ecx, edi
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x162], ax
lea rcx, [0x1800f8458]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x164], eax
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x18003d164
movsxd rsi, eax
mov r8d, 0x10
lea rdx, [rbp + 0x160]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x18003d164
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
lea r9, [rbp + 0x36d]
nop dword [rax]
nop word [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 0x18003cf30
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x170], xmm1
lea rax, [rbp + 0x36d]
cmp r9, rax
jne 0x18003cf91
movdqa xmm0, xmmword [0x18010ac10]
movdqu xmmword [rbp + 0x170], xmm0
mov byte [rbp + 0x160], dl
jmp 0x18003cfab
lea r8, [rbp + 0x36d]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x160]
call fcn.18001ae00
nop
lea rdi, [rbp + 0x160]
cmp qword [rbp + 0x178], 0xf
cmova rdi, qword [rbp + 0x160]
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x110], xmm1
mov r8d, 1
lea rdx, [0x1800f7580]
lea rcx, [rbp + 0x100]
call fcn.18001ae00
nop
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_Backend_on_Port:
xor edx, edx
lea rcx, [rbp + 0x100]
call fcn.18001b1c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x18003d040
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.18001cc30
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, r12
lea rdx, [0x1800ff278]
lea rcx, [rbp]
call fcn.18001cc30
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x180], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x190], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp]
call fcn.18001ce20
nop
lea rcx, [rbp + 0x20]
call fcn.18001ce20
nop
lea rcx, [rbp + 0x100]
call fcn.18001ce20
nop
lea rcx, [rbp + 0x160]
call fcn.18001ce20
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x20]
call fcn.18001be10
mov rcx, rax
call fcn.18008eff0
mov rax, qword [0x180121510]
lea rcx, [0x1801214f8]
cmp rax, 4
jb 0x18003d139
cmp rax, 0xf
cmova rcx, qword [0x1801214f8]
mov qword [0x180121508], 4
mov dword [rcx], 0x31353533
mov byte [rcx + 4], 0
jmp 0x18003d14a
lea r9, str.3551
mov edx, 4
call fcn.18000cb70
mov byte [0x180124380], 1
lea rcx, [rbp + 0x180]
call fcn.18001ce20
mov al, 1
jmp 0x18003d405
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp qword [0x1801214f0], 0xf
cmova r14, qword [str.127.0.0.1]
movzx edi, word [0x1801210b8]
mov ecx, 0x202
lea rdx, [rbp + 0x1a0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x18003d1aa
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.18004a970
jmp 0x18003d3b9
mov word [rbp + 0x160], r12w
movzx ecx, di
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x162], ax
mov rcx, r14
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x164], eax
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x18003d3b3
movsxd rdi, eax
mov r8d, 0x10
lea rdx, [rbp + 0x160]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x18003d3b3
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x1801210b8]
lea rcx, [rbp + 0x80]
call fcn.18001af00
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x18003d23a
mov rdi, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x130], xmm1
mov r8d, 1
lea rdx, [0x1800f7580]
lea rcx, [rbp + 0x120]
call fcn.18001ae00
nop
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_Backend_on_Port:
xor edx, edx
lea rcx, [rbp + 0x120]
call fcn.18001b1c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
inc rbx
cmp byte [rdi + rbx], 0
jne 0x18003d2b1
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.18001cc30
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, r12
lea rdx, [0x1800ff278]
lea rcx, [rbp + 0x40]
call fcn.18001cc30
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x180], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x190], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp + 0x40]
call fcn.18001ce20
nop
lea rcx, [rbp + 0x60]
call fcn.18001ce20
nop
lea rcx, [rbp + 0x120]
call fcn.18001ce20
nop
lea rcx, [rbp + 0x80]
call fcn.18001ce20
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x20]
call fcn.18001be10
mov rcx, rax
call fcn.18008eff0
mov edx, dword [0x1801210b8]
lea rcx, [rsp + 0x20]
call fcn.18001af00
mov rdx, rax
lea rcx, [0x1801214f8]
call fcn.18001cd20
lea rcx, [rsp + 0x20]
call fcn.18001ce20
mov byte [0x180124380], 1
lea rcx, [rbp + 0x180]
call fcn.18001ce20
mov al, 1
jmp 0x18003d405
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp byte [0x180124380], 0
jne 0x18003d403
lea rdx, str.Couldnt_find_the_set_Port_
lea rcx, [rbp + 0x80]
call fcn.18001cdd0
xor edx, edx
mov rcx, rax
call fcn.18008f2f0
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, [rbp + 0x80]
call fcn.18001cdd0
mov dl, 1
mov rcx, rax
call fcn.18008f2f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
xor al, al
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.1800cc550
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret