Function at 0x18003ec90
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 - 0x360]
sub rsp, 0x460
mov rax, qword [0x18011b040]
xor rax, rsp
mov qword [rbp + 0x350], rax
xor r12d, r12d
mov edx, dword [0x18011b0e0]
lea rcx, [rsp + 0x40]
call fcn.18001d6d0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
lea r8d, [r12 + 0x19]
lea rdx, str.Selected_port_by_config:
lea rcx, [rbp + 0xa0]
call fcn.18001d5d0
nop
lea r8d, [r12 + 1]
lea rdx, [0x1800f1788]
lea rcx, [rbp + 0xa0]
call fcn.18001f5f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
mov r9, rbx
lea r8, [rsp + 0x20]
lea rcx, [rbp + 0x120]
call fcn.18001f200
nop
lea r8d, [r12 + 1]
lea rdx, [0x1800f1788]
lea rcx, [rbp + 0x120]
call fcn.18001f5f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x170], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1801046e0]
movdqu xmmword [rsp + 0x70], xmm1
mov byte [rsp + 0x60], r12b
lea rcx, [rsp + 0x60]
call fcn.18001faf0
lea rcx, [rbp + 0x160]
call fcn.18001faf0
nop
lea rcx, [rbp + 0x120]
call fcn.18001faf0
nop
lea rcx, [rsp + 0x20]
call fcn.18001faf0
nop
lea rcx, [rbp + 0xa0]
call fcn.18001faf0
nop
lea rcx, [rsp + 0x40]
call fcn.18001faf0
lea r14, str.127.0.0.1
mov rdi, r14
cmp qword [0x18011b4f0], 0xf
cmova rdi, qword [str.127.0.0.1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea r8d, [r12 + 0x1d]
lea rdx, str.Selected_URL_Host_by_config:
lea rcx, [rsp + 0x60]
call fcn.18001d5d0
nop
lea r8d, [r12 + 1]
lea rdx, [0x1800f1788]
lea rcx, [rsp + 0x60]
call fcn.18001f5f0
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], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdi + r8], 0
jne 0x18003ee86
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.18001f5f0
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], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x1800f1788]
lea rcx, [rbp - 0x80]
call fcn.18001f5f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x170], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x1801046e0]
movdqu xmmword [rsp + 0x30], xmm1
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.18001faf0
lea rcx, [rbp + 0x160]
call fcn.18001faf0
nop
lea rcx, [rbp - 0x80]
call fcn.18001faf0
nop
lea rcx, [rbp - 0x60]
call fcn.18001faf0
nop
lea rcx, [rsp + 0x60]
call fcn.18001faf0
mov ecx, 0x202
lea rdx, [rbp + 0x180]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov r15d, 2
test eax, eax
je 0x18003ef82
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.18004be80
jmp 0x18003f272
mov word [rbp + 0x140], r15w
mov edi, 0x15db
mov ecx, edi
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x142], ax
lea rcx, [0x1800f2600]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x144], eax
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r15d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x18003f26c
movsxd rsi, eax
mov r8d, 0x10
lea rdx, [rbp + 0x140]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x18003f26c
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 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 0x18003f010
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x150], xmm1
lea rax, [rbp + 0x335]
cmp r9, rax
jne 0x18003f071
movdqa xmm0, xmmword [0x1801046e0]
movdqu xmmword [rbp + 0x150], xmm0
mov byte [rbp + 0x140], dl
jmp 0x18003f08b
lea r8, [rbp + 0x335]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x140]
call fcn.18001d5d0
nop
lea rdi, [rbp + 0x140]
cmp qword [rbp + 0x158], 0xf
cmova rdi, qword [rbp + 0x140]
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
mov r8d, 1
lea rdx, [0x1800f1788]
lea rcx, [rbp + 0xc0]
call fcn.18001d5d0
nop
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_Backend_on_Port:
xor edx, edx
lea rcx, [rbp + 0xc0]
call fcn.18001d990
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], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x18003f120
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.18001f5f0
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], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, r15
lea rdx, [0x1800f99e8]
lea rcx, [rbp - 0x40]
call fcn.18001f5f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x170], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp - 0x40]
call fcn.18001faf0
nop
lea rcx, [rbp - 0x20]
call fcn.18001faf0
nop
lea rcx, [rbp + 0xc0]
call fcn.18001faf0
nop
lea rcx, [rbp + 0x140]
call fcn.18001faf0
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x40]
call fcn.18001ed20
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x1801046e0]
movdqu xmmword [rsp + 0x30], xmm1
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.18001faf0
mov rcx, rbx
call fcn.18001faf0
mov rax, qword [0x18011b510]
lea rcx, [0x18011b4f8]
cmp rax, 4
jb 0x18003f241
cmp rax, 0xf
cmova rcx, qword [0x18011b4f8]
mov qword [0x18011b508], 4
mov dword [rcx], 0x35393535
mov byte [rcx + 4], 0
jmp 0x18003f252
lea r9, str.5595
mov edx, 4
call fcn.18000eec0
mov byte [0x18011e608], 1
lea rcx, [rbp + 0x160]
call fcn.18001faf0
mov al, 1
jmp 0x18003f859
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 0x18003f29b
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.18004be80
jmp 0x18003f582
mov word [rbp + 0x140], r15w
mov edi, 0xddf
mov ecx, edi
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x142], ax
lea rcx, [0x1800f2600]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x144], eax
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r15d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x18003f57c
movsxd rsi, eax
mov r8d, 0x10
lea rdx, [rbp + 0x140]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x18003f57c
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 + 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 0x18003f320
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x150], xmm1
lea rax, [rbp + 0x34d]
cmp r9, rax
jne 0x18003f381
movdqa xmm0, xmmword [0x1801046e0]
movdqu xmmword [rbp + 0x150], xmm0
mov byte [rbp + 0x140], dl
jmp 0x18003f39b
lea r8, [rbp + 0x34d]
sub r8, r9
mov rdx, r9
lea rcx, [rbp + 0x140]
call fcn.18001d5d0
nop
lea rdi, [rbp + 0x140]
cmp qword [rbp + 0x158], 0xf
cmova rdi, qword [rbp + 0x140]
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
mov r8d, 1
lea rdx, [0x1800f1788]
lea rcx, [rbp + 0xe0]
call fcn.18001d5d0
nop
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_Backend_on_Port:
xor edx, edx
lea rcx, [rbp + 0xe0]
call fcn.18001d990
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], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x18003f430
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.18001f5f0
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], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, r15
lea rdx, [0x1800f99e8]
lea rcx, [rbp]
call fcn.18001f5f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x170], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp]
call fcn.18001faf0
nop
lea rcx, [rbp + 0x20]
call fcn.18001faf0
nop
lea rcx, [rbp + 0xe0]
call fcn.18001faf0
nop
lea rcx, [rbp + 0x140]
call fcn.18001faf0
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x40]
call fcn.18001ed20
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x1801046e0]
movdqu xmmword [rsp + 0x30], xmm1
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.18001faf0
mov rcx, rbx
call fcn.18001faf0
mov rax, qword [0x18011b510]
lea rcx, [0x18011b4f8]
cmp rax, 4
jb 0x18003f551
cmp rax, 0xf
cmova rcx, qword [0x18011b4f8]
mov qword [0x18011b508], 4
mov dword [rcx], 0x31353533
mov byte [rcx + 4], 0
jmp 0x18003f562
lea r9, str.3551
mov edx, 4
call fcn.18000eec0
mov byte [0x18011e608], 1
lea rcx, [rbp + 0x160]
call fcn.18001faf0
mov al, 1
jmp 0x18003f859
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp qword [0x18011b4f0], 0xf
cmova r14, qword [str.127.0.0.1]
movzx edi, word [0x18011b0e0]
mov ecx, 0x202
lea rdx, [rbp + 0x180]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x18003f5c2
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.18004be80
jmp 0x18003f800
mov word [rbp + 0x140], r15w
movzx ecx, di
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x142], ax
mov rcx, r14
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rbp + 0x144], eax
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r15d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x18003f7fa
movsxd rdi, eax
mov r8d, 0x10
lea rdx, [rbp + 0x140]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x18003f7fa
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x18011b0e0]
lea rcx, [rbp + 0x80]
call fcn.18001d6d0
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x18003f652
mov rdi, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x110], xmm1
mov r8d, 1
lea rdx, [0x1800f1788]
lea rcx, [rbp + 0x100]
call fcn.18001d5d0
nop
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_Backend_on_Port:
xor edx, edx
lea rcx, [rbp + 0x100]
call fcn.18001d990
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], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x18003f6d0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.18001f5f0
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], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, r15
lea rdx, [0x1800f99e8]
lea rcx, [rbp + 0x40]
call fcn.18001f5f0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x160], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x170], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp + 0x40]
call fcn.18001faf0
nop
lea rcx, [rbp + 0x60]
call fcn.18001faf0
nop
lea rcx, [rbp + 0x100]
call fcn.18001faf0
nop
lea rcx, [rbp + 0x80]
call fcn.18001faf0
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x40]
call fcn.18001ed20
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x1801046e0]
movdqu xmmword [rsp + 0x30], xmm1
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.18001faf0
mov rcx, rbx
call fcn.18001faf0
mov edx, dword [0x18011b0e0]
lea rcx, [rsp + 0x40]
call fcn.18001d6d0
mov rdx, rax
lea rcx, [0x18011b4f8]
call fcn.18001f6e0
lea rcx, [rsp + 0x40]
call fcn.18001faf0
mov byte [0x18011e608], 1
lea rcx, [rbp + 0x160]
call fcn.18001faf0
mov al, 1
jmp 0x18003f859
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp byte [0x18011e608], 0
jne 0x18003f857
lea rdx, str.Couldnt_find_the_set_Port_
lea rcx, [rbp + 0x80]
call fcn.18001fa20
xor edx, edx
mov rcx, rax
call fcn.18008ec00
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.18001fa20
mov dl, 1
mov rcx, rax
call fcn.18008ec00
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
xor al, al
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.1800c68f0
lea r11, [rsp + 0x460]
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