Function at 0x18003d640
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 [0x18011f040]
xor rax, rsp
mov qword [rbp + 0x370], rax
xor r15d, r15d
mov edx, dword [0x18011f0d8]
lea rcx, [rsp + 0x20]
call fcn.18001d1a0
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.18001d0a0
nop
lea r8d, [r15 + 1]
lea rdx, [0x1800f5908]
lea rcx, [rbp + 0xa0]
call fcn.18001f0c0
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.18001ecd0
nop
lea r8d, [r15 + 1]
lea rdx, [0x1800f5908]
lea rcx, [rbp + 0x140]
call fcn.18001f0c0
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.18008f2a0
nop
lea rcx, [rbp + 0x140]
call fcn.18001f2b0
nop
lea rcx, [rbp + 0x180]
call fcn.18001f2b0
nop
lea rcx, [rbp + 0xa0]
call fcn.18001f2b0
nop
lea rcx, [rsp + 0x20]
call fcn.18001f2b0
lea r14, str.127.0.0.1
mov rdi, r14
cmp qword [0x18011f4e0], 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.18001d0a0
nop
lea r8d, [r15 + 1]
lea rdx, [0x1800f5908]
lea rcx, [rbp + 0xc0]
call fcn.18001f0c0
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 0x18003d830
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.18001f0c0
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, [0x1800f5908]
lea rcx, [rbp - 0x80]
call fcn.18001f0c0
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.18008f2a0
nop
lea rcx, [rbp - 0x80]
call fcn.18001f2b0
nop
lea rcx, [rbp - 0x60]
call fcn.18001f2b0
nop
lea rcx, [rbp + 0xc0]
call fcn.18001f2b0
mov ecx, 0x202
lea rdx, [rbp + 0x1a0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov r12d, 2
test eax, eax
je 0x18003d915
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.18004b5d0
jmp 0x18003dbda
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, [0x1800f67b0]
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 0x18003dbd4
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 0x18003dbd4
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 0x18003d9a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x170], xmm1
lea rax, [rbp + 0x355]
cmp r9, rax
jne 0x18003da01
movdqa xmm0, xmmword [0x180108dd0]
movdqu xmmword [rbp + 0x170], xmm0
mov byte [rbp + 0x160], dl
jmp 0x18003da1b
lea r8, [rbp + 0x355]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x160]
call fcn.18001d0a0
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, [0x1800f5908]
lea rcx, [rbp + 0xe0]
call fcn.18001d0a0
nop
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_Backend_on_Port:
xor edx, edx
lea rcx, [rbp + 0xe0]
call fcn.18001d460
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 0x18003dab0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.18001f0c0
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, [0x1800fd5a8]
lea rcx, [rbp - 0x40]
call fcn.18001f0c0
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.18001f2b0
nop
lea rcx, [rbp - 0x20]
call fcn.18001f2b0
nop
lea rcx, [rbp + 0xe0]
call fcn.18001f2b0
nop
lea rcx, [rbp + 0x160]
call fcn.18001f2b0
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x20]
call fcn.18001e7f0
mov rcx, rax
call fcn.18008f120
mov rax, qword [0x18011f500]
lea rcx, [0x18011f4e8]
cmp rax, 4
jb 0x18003dba9
cmp rax, 0xf
cmova rcx, qword [0x18011f4e8]
mov qword [0x18011f4f8], 4
mov dword [rcx], 0x35393535
mov byte [rcx + 4], 0
jmp 0x18003dbba
lea r9, str.5595
mov edx, 4
call fcn.18000e980
mov byte [0x180121ee8], 1
lea rcx, [rbp + 0x180]
call fcn.18001f2b0
mov al, 1
jmp 0x18003e165
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 0x18003dc03
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.18004b5d0
jmp 0x18003deca
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, [0x1800f67b0]
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 0x18003dec4
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 0x18003dec4
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 0x18003dc90
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x170], xmm1
lea rax, [rbp + 0x36d]
cmp r9, rax
jne 0x18003dcf1
movdqa xmm0, xmmword [0x180108dd0]
movdqu xmmword [rbp + 0x170], xmm0
mov byte [rbp + 0x160], dl
jmp 0x18003dd0b
lea r8, [rbp + 0x36d]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x160]
call fcn.18001d0a0
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, [0x1800f5908]
lea rcx, [rbp + 0x100]
call fcn.18001d0a0
nop
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_Backend_on_Port:
xor edx, edx
lea rcx, [rbp + 0x100]
call fcn.18001d460
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 0x18003dda0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.18001f0c0
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, [0x1800fd5a8]
lea rcx, [rbp]
call fcn.18001f0c0
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.18001f2b0
nop
lea rcx, [rbp + 0x20]
call fcn.18001f2b0
nop
lea rcx, [rbp + 0x100]
call fcn.18001f2b0
nop
lea rcx, [rbp + 0x160]
call fcn.18001f2b0
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x20]
call fcn.18001e7f0
mov rcx, rax
call fcn.18008f120
mov rax, qword [0x18011f500]
lea rcx, [0x18011f4e8]
cmp rax, 4
jb 0x18003de99
cmp rax, 0xf
cmova rcx, qword [0x18011f4e8]
mov qword [0x18011f4f8], 4
mov dword [rcx], 0x31353533
mov byte [rcx + 4], 0
jmp 0x18003deaa
lea r9, str.3551
mov edx, 4
call fcn.18000e980
mov byte [0x180121ee8], 1
lea rcx, [rbp + 0x180]
call fcn.18001f2b0
mov al, 1
jmp 0x18003e165
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp qword [0x18011f4e0], 0xf
cmova r14, qword [str.127.0.0.1]
movzx edi, word [0x18011f0d8]
mov ecx, 0x202
lea rdx, [rbp + 0x1a0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x18003df0a
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.18004b5d0
jmp 0x18003e119
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 0x18003e113
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 0x18003e113
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x18011f0d8]
lea rcx, [rbp + 0x80]
call fcn.18001d1a0
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x18003df9a
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, [0x1800f5908]
lea rcx, [rbp + 0x120]
call fcn.18001d0a0
nop
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_Backend_on_Port:
xor edx, edx
lea rcx, [rbp + 0x120]
call fcn.18001d460
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 0x18003e011
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.18001f0c0
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, [0x1800fd5a8]
lea rcx, [rbp + 0x40]
call fcn.18001f0c0
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.18001f2b0
nop
lea rcx, [rbp + 0x60]
call fcn.18001f2b0
nop
lea rcx, [rbp + 0x120]
call fcn.18001f2b0
nop
lea rcx, [rbp + 0x80]
call fcn.18001f2b0
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x20]
call fcn.18001e7f0
mov rcx, rax
call fcn.18008f120
mov edx, dword [0x18011f0d8]
lea rcx, [rsp + 0x20]
call fcn.18001d1a0
mov rdx, rax
lea rcx, [0x18011f4e8]
call fcn.18001f1b0
lea rcx, [rsp + 0x20]
call fcn.18001f2b0
mov byte [0x180121ee8], 1
lea rcx, [rbp + 0x180]
call fcn.18001f2b0
mov al, 1
jmp 0x18003e165
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp byte [0x180121ee8], 0
jne 0x18003e163
lea rdx, str.Couldnt_find_the_set_Port_
lea rcx, [rbp + 0x80]
call fcn.18001f260
xor edx, edx
mov rcx, rax
call fcn.18008f420
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.18001f260
mov dl, 1
mov rcx, rax
call fcn.18008f420
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.1800cb0c0
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