Function at 0x140007d40
Capabilities:
Connect socket
Convert ip address from string

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140084060]
xor rax, rsp
mov qword [rbp + 0x80], rax
movzx esi, dx
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov ebx, 2
mov word [rbp - 0x60], bx
movzx ecx, si
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x5e], ax
lea r8, [rbp - 0x5c]
mov rdx, rdi
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x14000822d
xor r8d, r8d
mov edx, eax
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000822d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x140007de7
mov rax, rbx
jmp 0x140008234
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
xor r12d, r12d
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], select
mov byte [rsp + 0x20], r12b
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], r12b
jne 0x140007e12
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140002550
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
lea rcx, [rbp - 0x30]
call fcn.14000fff0
nop
lea r8, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae r8, qword [rsp + 0x20]
mov r9, qword [rsp + 0x30]
add r9, r8
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140010960
nop
lea rcx, [rbp - 0x30]
call fcn.14000ff00
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140007ec6
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ec1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000826b
call fcn.14003ba0c
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], select
mov byte [rsp + 0x20], 0
mov r8d, esi
lea r9, [rbp + 0x7a]
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x140007ee0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r12w
lea rax, [rbp + 0x7a]
cmp r9, rax
je 0x140007f4a
lea r8, [rbp + 0x7a]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x60]
call fcn.1400023b0
nop
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
lea r14, [rbp - 0x50]
mov rbx, qword [rbp - 0x50]
mov r15, qword [rbp - 0x38]
cmp r15, 8
cmovae r14, rbx
mov rsi, qword [rbp - 0x40]
cmp rsi, 8
jae 0x140007f8e
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x58], 7
jmp 0x140008024
mov rdi, rsi
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140008265
add rcx, rcx
cmp rcx, 0x1000
jb 0x140007ff8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140008265
mov rcx, rax
call fcn.14003b9d0
mov rcx, rax
test rax, rax
je 0x14000827d
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140008007
test rcx, rcx
je 0x140008004
call fcn.14003b9d0
jmp 0x140008007
mov rax, r12
mov qword [rsp + 0x40], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.14003dae0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rsi
lea r8, [rsp + 0x40]
lea rdx, [0x140078e18]
lea rcx, [rbp - 0x80]
call fcn.140006570
nop
mov r8d, 1
lea rdx, [0x140078e14]
mov rcx, rax
call fcn.140006a70
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], 7
mov word [rax], r12w
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x20]
lea rcx, [rbp + 0x50]
call fcn.140006860
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400080cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400080c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008271
call fcn.14003ba0c
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14000810c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008107
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008277
call fcn.14003ba0c
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000815f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000815a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000827d
call fcn.14003ba0c
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x1400081b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400081b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008283
call fcn.14003ba0c
mov rdx, qword [rbp + 0x68]
cmp rdx, 8
jb 0x1400081f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400081f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008289
call fcn.14003ba0c
nop
cmp r15, 8
jb 0x14000822d
lea rdx, [r15*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140008225
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000825f
mov rcx, rbx
call fcn.14003ba0c
mov rax, 0xffffffffffffffff
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14003b9b0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140042fc0
nop
call fcn.140001920
nop
call fcn.140042fc0
nop
call fcn.140042fc0
nop
call fcn.140042fc0
nop
call fcn.140042fc0
nop
call fcn.140042fc0
int3
call fcn.140042fc0
int3