Function at 0x180046460
Capabilities:
Connect socket
Create thread
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 - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x180126040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor r15d, r15d
mov edx, dword [0x1801260e0]
lea rcx, [rbp - 0x80]
call fcn.180020150
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], socket
lea ecx, [r15 + 0x20]
call fcn.1800d2d00
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0x19
mov qword [rsp + 0x58], 0x1f
movups xmm0, xmmword [str.Selected_port_by_config:]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x180106628]
movsd qword [rax + 0x10], xmm0
movzx ecx, byte [0x180106630]
mov byte [rax + 0x18], cl
mov byte [rax + 0x19], r15b
lea r8d, [r15 + 1]
lea rdx, [0x1800fdcf8]
lea rcx, [rsp + 0x40]
call fcn.1800220b0
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 r9, rbx
lea r8, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.180021cb0
nop
lea r8d, [r15 + 1]
lea rdx, [0x1800fdcf8]
lea rcx, [rbp - 0x40]
call fcn.1800220b0
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], r15b
lea rcx, [rsp + 0x60]
call fcn.180097ef0
nop
lea rcx, [rbp - 0x40]
call fcn.180022640
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1800465e7
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800465e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800465e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180046627
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046622
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046622
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], socket
mov byte [rsp + 0x40], 0
lea rcx, [rbp - 0x80]
call fcn.180022640
lea r14, str.127.0.0.1
mov rdi, r14
cmp qword [0x1801264f0], 0xf
cmova rdi, qword [str.127.0.0.1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], socket
mov ecx, 0x20
call fcn.1800d2d00
mov rdx, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0x1d
mov qword [rsp + 0x78], 0x1f
movups xmm0, xmmword [str.Selected_URL_Host_by_config:]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x180106648]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x180106650]
mov dword [rax + 0x18], ecx
movzx eax, byte [0x180106654]
mov byte [rdx + 0x1c], al
mov byte [rdx + 0x1d], 0
mov r8d, 1
lea rdx, [0x1800fdcf8]
lea rcx, [rsp + 0x60]
call fcn.1800220b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
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 rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rdi + r8], 0
jne 0x180046713
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.1800220b0
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], 0
mov r8d, 1
lea rdx, [0x1800fdcf8]
lea rcx, [rsp + 0x40]
call fcn.1800220b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
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], 0
lea rcx, [rbp - 0x60]
call fcn.180097ef0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1800467e9
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800467e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800467e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], socket
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x18004683a
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046835
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046835
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18004688a
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046885
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046885
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
mov ecx, 0x202
lea rdx, [rbp]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov r12d, 2
test eax, eax
je 0x1800468b6
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.1800540e0
jmp 0x180046c74
mov word [rsp + 0x40], r12w
mov edi, 0x15db
mov ecx, edi
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x42], ax
lea rcx, [0x1800ff1e0]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x44], eax
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x180046c6e
movsxd rsi, eax
mov r8d, 0x10
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x180046c6e
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
lea r9, [rbp + 0x1b5]
nop
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 0x180046930
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
lea rax, [rbp + 0x1b5]
cmp r9, rax
jne 0x18004698b
mov qword [rsp + 0x50], r15
mov eax, 0xf
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x40], dl
jmp 0x1800469a7
lea r8, [rbp + 0x1b5]
sub r8, r9
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.180020040
mov rax, qword [rsp + 0x58]
lea rdi, [rsp + 0x40]
cmp rax, 0xf
cmova rdi, qword [rsp + 0x40]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x78], socket
movzx eax, word [0x1800fdcf8]
mov byte [rsp + 0x60], al
mov byte [rsp + 0x61], 0
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_Backend_on_Port:
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1800203f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
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], 0
inc rbx
cmp byte [rdi + rbx], 0
jne 0x180046a26
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1800220b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
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 r8, r12
lea rdx, [0x180106658]
lea rcx, [rbp - 0x80]
call fcn.1800220b0
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 rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x180046ada
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046ad5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046ad5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x180046b28
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046b23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046b23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x180046b78
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046b73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046b73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], socket
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180046bcb
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046bc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046bc6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.1800217d0
mov rcx, rax
call fcn.180097d70
mov r8d, 4
lea rdx, str.5595
lea rcx, [0x1801264f8]
call fcn.180010420
mov byte [0x180128c78], 1
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x180046c3c
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046c37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180047326
call fcn.1800d2cf0
mov al, 1
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1800d2960
lea r11, [rsp + 0x2e0]
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
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 0x202
lea rdx, [rbp]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x180046c9a
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.1800540e0
jmp 0x180046ffc
mov word [rsp + 0x40], r12w
mov edi, 0xddf
mov ecx, edi
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x42], ax
lea rcx, [0x1800ff1e0]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x44], eax
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x180046ff6
movsxd rsi, eax
mov r8d, 0x10
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x180046ff6
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
lea r9, [rbp + 0x1cd]
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 0x180046d20
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
lea rax, [rbp + 0x1cd]
cmp r9, rax
jne 0x180046d7b
mov qword [rsp + 0x50], r15
mov eax, 0xf
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x40], dl
jmp 0x180046d97
lea r8, [rbp + 0x1cd]
sub r8, r9
mov rdx, r9
lea rcx, [rsp + 0x40]
call fcn.180020040
mov rax, qword [rsp + 0x58]
lea rdi, [rsp + 0x40]
cmp rax, 0xf
cmova rdi, qword [rsp + 0x40]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 1
mov qword [rbp - 0x68], 0xf
movzx eax, word [0x1800fdcf8]
mov byte [rbp - 0x80], al
mov byte [rbp - 0x7f], 0
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_Backend_on_Port:
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1800203f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
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], 0
inc rbx
cmp byte [rdi + rbx], 0
jne 0x180046e10
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1800220b0
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
mov r8, r12
lea rdx, [0x180106658]
lea rcx, [rsp + 0x60]
call fcn.1800220b0
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 rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x180046ecc
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046ec7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046ec7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], socket
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x180046f1d
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046f18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046f18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x180046f6b
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046f66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046f66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180046fbb
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046fb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046fb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.1800217d0
mov rcx, rax
call fcn.180097d70
mov r8d, 4
lea rdx, str.3551
lea rcx, [0x1801264f8]
call fcn.180010420
mov byte [0x180128c78], 1
jmp 0x180046c01
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp qword [0x1801264f0], 0xf
cmova r14, qword [str.127.0.0.1]
movzx edi, word [0x1801260e0]
mov ecx, 0x202
lea rdx, [rbp]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x180047039
mov edx, eax
lea rcx, str.WSAStartup_function_failed_with_error:__d_n
call fcn.1800540e0
jmp 0x180047333
mov word [rsp + 0x40], r12w
movzx ecx, di
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x42], ax
mov rcx, r14
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x44], eax
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x18004732d
movsxd rdi, eax
mov r8d, 0x10
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x18004732d
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x1801260e0]
lea rcx, [rsp + 0x40]
call fcn.180020150
mov rdi, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1800470bf
mov rdi, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], 1
mov qword [rbp - 0x68], 0xf
movzx eax, word [0x1800fdcf8]
mov byte [rbp - 0x80], al
mov byte [rbp - 0x7f], 0
mov r9d, reloc.WS2_32.dll_socket
lea r8, str.Found_Backend_on_Port:
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1800203f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
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], 0
nop dword [rax]
inc rbx
cmp byte [rdi + rbx], 0
jne 0x180047130
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1800220b0
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
mov r8, r12
lea rdx, [0x180106658]
lea rcx, [rsp + 0x60]
call fcn.1800220b0
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 rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1800471ec
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800471e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800471e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], socket
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x18004723d
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180047238
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180047238
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x18004728b
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180047286
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180047286
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d2cf0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.180022640
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1800217d0
mov rcx, rax
call fcn.180097d70
mov edx, dword [0x1801260e0]
lea rcx, [rbp - 0x20]
call fcn.180020150
mov rdx, rax
lea rcx, [0x1801264f8]
call fcn.1800221a0
lea rcx, [rbp - 0x20]
call fcn.180022640
mov byte [0x180128c78], 1
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x180046c3c
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180046c37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180046c37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp byte [0x180128c78], 0
jne 0x180046c3e
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], socket
mov ecx, 0x20
call fcn.1800d2d00
mov r8, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 0x1b
mov qword [rsp + 0x78], 0x1f
movups xmm0, xmmword [str.Couldnt_find_the_set_Port_]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x180106698]
movsd qword [rax + 0x10], xmm0
movzx edx, word [0x1801066a0]
mov word [rax + 0x18], dx
movzx eax, byte [0x1801066a2]
mov byte [r8 + 0x1a], al
mov byte [r8 + 0x1b], 0
lea rcx, [rsp + 0x60]
call fcn.180097d70
mov ecx, 0x10
call fcn.1800d2d00
lea rcx, 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_run.bat_and_try_again___nInside_If_you_still_experience_issues_contact_support.
mov qword [rax], rcx
lea rcx, [0x1800484b0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x18004d200]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x180047439
cmp dword [rsp + 0x48], 0
je 0x18004742d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x18004742d
jmp 0x180046c3e
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3