Function at 0x140025f40
Capabilities:
Connect socket
Convert ip address from string
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x14007c030]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov esi, edx
mov r14, rcx
mov qword [rbp - 0x60], rcx
mov qword [rbp + 8], rcx
xor edi, edi
mov dword [rsp + 0x70], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov r12d, 2
mov r8d, r12d
lea rdx, [0x140070e24]
lea rcx, [rsp + 0x50]
call fcn.14000b050
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.14001f750
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], rdi
mov qword [rbp + 0xa0], socket
mov byte [rbp + 0x88], dil
mov dword [rsp + 0x70], reloc.WS2_32.dll_recv
cmp byte [rax], 3
jne 0x140026805
mov rdx, qword [rax + 8]
lea rcx, [rbp + 0x88]
call fcn.14001efb0
nop
lea r15d, [rdi + 0xc]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
movups xmmword [rbp + 0xb8], xmm0
lea rbx, [rbp + 0x88]
cmp qword [rbp + 0xa0], 0x10
cmovae rbx, qword [rbp + 0x88]
mov qword [rbp + 0xa8], rbx
mov dword [rbp + 0xb0], esi
mov qword [rbp + 0xc0], 0x1000
mov ecx, 0x202
lea rdx, [rbp + 0xd0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140026071
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor esi, esi
jmp 0x1400260f8
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
mov qword [rbp + 0xb8], rax
mov word [rbp + 0x68], r12w
movzx ecx, si
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x6a], ax
lea r8, [rbp + 0x6c]
mov rdx, rbx
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_inet_pton]
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x68]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14002620e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor esi, esi
mov qword [rbp + 0xb8], rsi
mov byte [rbp + 0xb4], sil
test ebx, ebx
je 0x140026217
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [rbp + 0xb8], rsi
mov byte [rbp + 0xb4], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.srcn:connect
lea rcx, [rsp + 0x50]
call fcn.14000b050
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x48]
call fcn.14002c6c0
mov rcx, qword [rax]
mov dword [rcx + 0x40], esi
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140026190
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002618a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002684a
call fcn.140035d80
nop
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x1400261da
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400261d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400267ff
call fcn.140035d80
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], socket
mov byte [rbp + 0x88], 0
mov rcx, r14
call fcn.140009fd0
lea rcx, [r14 + 8]
movzx edx, byte [r14]
call fcn.140009b90
nop
jmp 0x1400267cf
mov byte [rbp + 0xb4], 1
xor esi, esi
lea rdx, [0x14007f568]
lea rcx, [rbp + 0x68]
call fcn.140008740
nop
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.scrn:connect
lea rcx, [rsp + 0x50]
call fcn.14000b050
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x10]
call fcn.14002c6c0
mov rcx, qword [rax]
mov ebx, dword [rcx + 0x40]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400262ab
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400262a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026850
call fcn.140035d80
test ebx, ebx
je 0x1400266a3
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
mov r8d, 7
lea rdx, str.quality
lea rcx, [rbp - 0x80]
call fcn.14000b050
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x68]
call fcn.14001f750
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.140008520
or r15d, 1
mov dword [rsp + 0x70], r15d
call fcn.140041b88
mov rdi, rax
lea rbx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rbx, qword [rbp - 0x38]
mov dword [rax], esi
mov r8d, 0xa
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.140041268
cmp rbx, qword [rbp + 0x60]
je 0x14002688f
cmp dword [rdi], 0x22
je 0x140026882
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov byte [rsp + 0x20], 0
mov r9d, eax
mov edx, 0x7bc
mov r8d, 0x438
lea rcx, [rbp - 0x58]
call fcn.140007a00
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14002639f
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002639a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026856
call fcn.140035d80
mov r13, qword [rbp - 0x58]
test r13, r13
je 0x1400266a3
mov qword [rsp + 0x78], rsi
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0xa8]
call fcn.140030450
nop
cmp qword [rbp + 0x80], 0
je 0x140026658
mov r15, qword [rsp + 0x78]
lea rax, [r15 - 1]
cmp rax, 0x5f5e0ff
ja 0x140026658
mov rcx, r15
call fcn.1400362b0
mov r12, rax
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.1400383c0
mov r14, r12
mov rdi, qword [rbp + 0x78]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140026447
nop dword [rax + rax]
mov rsi, qword [rbx + 0x10]
mov r8, rsi
mov rdx, qword [rbx + 0x18]
mov rcx, r14
call fcn.140037d00
add r14, rsi
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x140026420
mov rdi, qword [rbp + 0x78]
xor esi, esi
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14002646d
nop
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14002645e
call fcn.140035d80
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x140026450
mov rdi, qword [rbp + 0x78]
mov rax, qword [rdi + 8]
mov qword [rax], rsi
mov rcx, qword [rdi]
test rcx, rcx
je 0x140026495
nop dword [rax]
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.140035d80
mov rcx, rbx
test rbx, rbx
jne 0x140026480
mov rax, qword [rbp + 0x78]
mov qword [rax], rax
mov rax, qword [rbp + 0x78]
mov qword [rax + 8], rax
mov qword [rbp + 0x80], rsi
mov r8, r15
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.140007230
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.140008740
mov rdi, rax
mov rcx, rax
call fcn.140009fd0
movzx edx, byte [rbp + 0x68]
movzx ecx, byte [rdi]
mov byte [rbp + 0x68], cl
mov byte [rdi], dl
mov rdx, qword [rbp + 0x70]
mov r9, qword [rdi + 8]
mov qword [rbp + 0x70], r9
mov qword [rdi + 8], rdx
lea rcx, [rbp + 0x68]
call fcn.140009fd0
nop
mov rcx, rdi
call fcn.140009fd0
movzx edx, byte [rdi]
lea rcx, [rdi + 8]
call fcn.140009b90
nop
mov r8, r13
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp + 0xa8]
call fcn.140030480
mov rcx, qword [rbp - 0x50]
call fcn.140035d80
mov rcx, qword [rsp + 0x60]
call fcn.140035d80
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
mov r8d, 3
lea rdx, [0x140070e70]
lea rcx, [rbp - 0x80]
call fcn.14000b050
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x68]
call fcn.14001f750
lea rdx, [rbp - 0x18]
mov rcx, rax
call fcn.140008520
mov r15d, dword [rsp + 0x70]
or r15d, 2
call fcn.140041b88
mov rdi, rax
lea rbx, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rbx, qword [rbp - 0x18]
mov dword [rax], esi
mov r8d, 0xa
lea rdx, [rbp + 0x58]
mov rcx, rbx
call fcn.140041268
cmp rbx, qword [rbp + 0x58]
je 0x14002686f
cmp dword [rdi], 0x22
je 0x140026862
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1400265ff
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400265f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002685c
call fcn.140035d80
nop
lea rcx, [rsp + 0x50]
call fcn.140009fd0
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140009b90
nop
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx + 8]
mov qword [rax], rsi
mov rcx, qword [rcx]
test rcx, rcx
je 0x140026645
nop dword [rax]
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.140035d80
mov rcx, rbx
test rbx, rbx
jne 0x140026630
mov edx, 0x20
mov rcx, qword [rbp + 0x78]
call fcn.140035d80
jmp 0x140026230
mov rcx, qword [rbp - 0x50]
call fcn.140035d80
nop
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx + 8]
mov qword [rax], rsi
mov rcx, qword [rcx]
test rcx, rcx
je 0x140026695
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x20
call fcn.140035d80
mov rcx, rbx
test rbx, rbx
jne 0x140026680
mov edx, 0x20
mov rcx, qword [rbp + 0x78]
call fcn.140035d80
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [rbp + 0xb8], rsi
mov byte [rbp + 0xb4], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.scrn:connect
lea rcx, [rsp + 0x50]
call fcn.14000b050
nop
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x10]
call fcn.14002c6c0
mov rcx, qword [rax]
mov dword [rcx + 0x40], esi
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140026740
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002673a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002687c
call fcn.140035d80
nop
lea rcx, [rbp + 0x68]
call fcn.140009fd0
movzx edx, byte [rbp + 0x68]
lea rcx, [rbp + 0x70]
call fcn.140009b90
nop
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0x10
jb 0x14002679d
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026798
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400267ff
call fcn.140035d80
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], socket
mov byte [rbp + 0x88], 0
mov rbx, qword [rbp - 0x60]
mov rcx, rbx
call fcn.140009fd0
lea rcx, [rbx + 8]
movzx edx, byte [rbx]
call fcn.140009b90
nop
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140035d60
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140047b50
nop
mov rcx, rax
call fcn.14001a100
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x78]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp - 0x80]
call fcn.14001f530
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rbp + 0x20]
call fcn.14000bb10
lea rdx, [0x14007a490]
lea rcx, [rbp + 0x20]
call fcn.140037c24
nop
call fcn.140047b50
nop
call fcn.140047b50
int3
call fcn.140047b50
nop
call fcn.140047b50
nop
lea rcx, str.stoi_argument_out_of_range
call fcn.1400338ec
int3
lea rcx, str.invalid_stoi_argument
call fcn.1400338a4
nop
call fcn.140047b50
nop
lea rcx, str.stoi_argument_out_of_range
call fcn.1400338ec
int3
lea rcx, str.invalid_stoi_argument
call fcn.1400338a4
int3