Function at 0x140076670
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Convert ip address from string
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov rax, qword [0x1401ba200]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r15, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], rdx
xor r13d, r13d
mov dword [rsp + 0x44], r13d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], recv
mov byte [rcx], r13b
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], r13
mov qword [rcx + 0x38], recv
mov byte [rcx + 0x20], r13b
lea r14, [rcx + 0x50]
movups xmmword [r14], xmm0
lea r12, [r14 + 0x10]
mov qword [r12], r13
mov qword [r14 + 0x18], recv
mov byte [r14], r13b
mov dword [rsp + 0x44], 1
movabs rax, 0x1e40ea9f7d3f9d51
mov qword [rbp + 0x280], rax
movabs rax, 0x76bdb2f6768f7a06
mov qword [rbp + 0x288], rax
movabs rax, 0x2c6ed8ac5308ad63
mov qword [rsp + 0x70], rax
movabs rax, 0x76bdb2c643a14337
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
xorps xmm0, xmmword [rbp + 0x280]
movdqa xmmword [rbp + 0x280], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x260], xmm0
mov qword [rbp + 0x270], r13
mov qword [rbp + 0x278], r13
lea rax, [rbp + 0x280]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140076781
lea rdx, [rbp + 0x280]
lea rcx, [rbp + 0x260]
call fcn.140003aa0
mov ecx, 0x202
lea rdx, [rbp + 0xb0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400767ba
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor r8d, r8d
lea edx, [r8 + 1]
mov ebx, 2
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov dword [rdi + 0x40], eax
lea rdx, [rbp + 0x260]
cmp qword [rbp + 0x278], 0xf
cmova rdx, qword [rbp + 0x260]
lea r8, [rsp + 0x74]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_pton]
mov word [rsp + 0x70], bx
mov ecx, 0x4d6
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x72], ax
movsxd rcx, dword [rdi + 0x40]
lea r8d, [rbx + 0xe]
lea rdx, [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rdi + 0x44], eax
lea rcx, [rbp + 0x260]
call fcn.140005280
movabs rdx, 0xfc5ccd92531a8d3
movabs rbx, 0x6989ea8f9e22948
movabs rcx, 0x773489fa1351f212
cmp dword [rdi + 0x44], 0
je 0x14007691a
movabs rax, 0x1e40ea9f7d3f9d51
mov qword [rbp + 0x260], rax
movabs rax, 0x76bdb2f6768f7a06
mov qword [rbp + 0x268], rax
mov qword [rbp + 0x270], rdx
mov qword [rbp + 0x278], rbx
mov qword [rbp + 0x290], rcx
movabs rax, 0x149dc1971eaf1469
mov qword [rbp + 0x298], rax
movabs rax, 0x7bb6a3b5055fcdb6
mov qword [rbp + 0x2a0], rax
movabs rax, 0x6989ea8f9e22969
mov qword [rbp + 0x2a8], rax
movups xmm0, xmmword [rbp + 0x290]
movups xmm1, xmmword [rbp + 0x2a0]
xorps xmm0, xmmword [rbp + 0x260]
movdqa xmmword [rbp + 0x2c0], xmm0
xorps xmm1, xmmword [rbp + 0x270]
movdqa xmmword [rbp + 0x2d0], xmm1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x2c0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
movsxd rcx, dword [rdi + 0x40]
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rdi
call fcn.140007390
lea rdx, [rbp + 0x70]
mov rcx, rdi
call fcn.140007950
nop
lea rax, [0x14010a9e9]
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x140076af5
mov dword [rsp + 0x40], recv
mov qword [rbp + 0x280], rax
mov qword [rbp + 0x288], r13
mov dword [rsp + 0x70], 1
lea rax, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rax, qword [rbp + 0x70]
mov qword [rbp + 0x250], rax
mov qword [rbp + 0x258], rcx
movaps xmm0, xmmword [rbp + 0x280]
movdqa xmmword [rbp + 0x260], xmm0
movaps xmm1, xmmword [rbp + 0x250]
movdqa xmmword [rbp + 0x250], xmm1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x260]
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x250]
lea rcx, [rbp - 0x80]
call fcn.140072a90
nop
movzx ebx, byte [rbp - 0x80]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x30]
call fcn.140004b70
nop
cmp bl, 6
je 0x140076aab
movabs rax, 0x1e40ea9f7d3f9d51
mov qword [rbp + 0x260], rax
movabs rax, 0x76bdb2f6768f7a06
mov qword [rbp + 0x268], rax
movabs rax, 0xfc5ccd92531a8d3
mov qword [rbp + 0x270], rax
movabs rbx, 0x6989ea8f9e22948
mov qword [rbp + 0x278], rbx
movabs rax, 0x773489fa1351f212
mov qword [rbp + 0x290], rax
movabs rax, 0x4d8c6981faf1469
mov qword [rbp + 0x298], rax
movabs rax, 0xfc5ccd92545d8a6
mov qword [rbp + 0x2a0], rax
mov qword [rbp + 0x2a8], rbx
movups xmm0, xmmword [rbp + 0x290]
movups xmm1, xmmword [rbp + 0x2a0]
xorps xmm0, xmmword [rbp + 0x260]
movdqa xmmword [rbp + 0x2c0], xmm0
xorps xmm1, xmmword [rbp + 0x270]
movdqa xmmword [rbp + 0x2d0], xmm1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x2c0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rdi
call fcn.140007f00
nop
lea rcx, [rbp - 0x30]
call fcn.140005280
nop
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rax, qword [rbp - 0x78]
mov qword [rbp - 0x68], r13
mov byte [rax], 0
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rax, qword [rbp - 0x58]
mov qword [rbp - 0x48], r13
mov byte [rax], 0
mov byte [rbp - 0x80], 0xff
lea rcx, [rbp - 0x58]
call fcn.140005280
lea rcx, [rbp - 0x78]
call fcn.140005280
mov dword [rsp + 0x70], 5
movabs rax, 0x1e40ea9f7d3f9d51
mov qword [rbp + 0x280], rax
movabs rcx, 0x76bdb2f6768f7a06
mov qword [rbp + 0x288], rcx
movabs rax, 0x1e348fc61851f21f
mov qword [rbp + 0x250], rax
mov qword [rbp + 0x258], rcx
movaps xmm0, xmmword [rbp + 0x250]
xorps xmm0, xmmword [rbp + 0x280]
movdqa xmmword [rbp + 0x250], xmm0
lea rax, [rbp + 0x250]
mov qword [rbp + 0x280], rax
lea rax, [rbp + 0x250]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140076b62
mov qword [rbp + 0x288], rsi
mov dword [rsp + 0x40], r13d
lea rdx, [rbp + 0x90]
call fcn.140007d40
mov rbx, rax
mov rdx, qword [r15 + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, 1
jb 0x14007714b
mov r9, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x140076bae
mov r9, qword [r15]
mov qword [rsp + 0x30], 1
lea rax, [0x140194084]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x30]
call fcn.140005e60
mov dword [rsp + 0x44], 3
mov r9, rbx
lea r8, [rbp - 0x30]
lea rcx, [rbp + 0x2c0]
call fcn.14000a910
mov dword [rsp + 0x44], 7
lea rax, [rbp + 0x2c0]
cmp qword [rbp + 0x2d8], 0xf
cmova rax, qword [rbp + 0x2c0]
mov qword [rbp + 0x260], rax
mov rax, qword [rbp + 0x2d0]
mov qword [rbp + 0x268], rax
movaps xmm0, xmmword [rbp + 0x280]
movdqa xmmword [rbp + 0x280], xmm0
movaps xmm1, xmmword [rbp + 0x260]
movdqa xmmword [rbp + 0x260], xmm1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x280]
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x260]
lea rcx, [rbp - 0x80]
call fcn.140072a90
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x290], xmm0
mov qword [rbp + 0x2a0], r13
mov qword [rbp + 0x2a8], r13
movups xmm0, xmmword [rax + 8]
movups xmmword [rbp + 0x290], xmm0
movups xmm1, xmmword [rax + 0x18]
movups xmmword [rbp + 0x2a0], xmm1
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], recv
mov byte [rax + 8], 0
lea rdx, [rbp + 0x290]
mov rcx, rdi
call fcn.140007b30
nop
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rax, qword [rbp - 0x78]
mov qword [rbp - 0x68], r13
mov byte [rax], 0
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rax, qword [rbp - 0x58]
mov qword [rbp - 0x48], r13
mov byte [rax], 0
mov byte [rbp - 0x80], 0xff
lea rcx, [rbp - 0x58]
call fcn.140005280
lea rcx, [rbp - 0x78]
call fcn.140005280
nop
lea rcx, [rbp + 0x2c0]
call fcn.140005280
nop
lea rcx, [rbp - 0x30]
call fcn.140005280
nop
lea rcx, [rbp + 0x90]
call fcn.140005280
mov ecx, 0x320
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbp + 0x50]
mov rcx, rdi
call fcn.140007950
nop
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x140077094
mov dword [rsp + 0x70], recv
lea rax, [0x14010a9e9]
mov qword [rbp + 0x260], rax
mov qword [rbp + 0x268], r13
mov dword [rsp + 0x40], 1
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rax, qword [rbp + 0x50]
mov qword [rbp + 0x250], rax
mov qword [rbp + 0x258], rcx
movaps xmm0, xmmword [rbp + 0x260]
movdqa xmmword [rbp + 0x260], xmm0
movaps xmm1, xmmword [rbp + 0x250]
movdqa xmmword [rbp + 0x250], xmm1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x260]
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x250]
lea rcx, [rbp]
call fcn.140072a90
nop
movzx esi, byte [rbp]
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x90]
call fcn.140004b70
nop
lea rax, [rbp + 0x28]
cmp r14, rax
je 0x140076e28
mov rbx, qword [rbp + 0x38]
lea r9, [rbp + 0x28]
cmp qword [rbp + 0x40], 0xf
cmova r9, qword [rbp + 0x28]
mov rax, qword [r14 + 0x18]
cmp rbx, rax
ja 0x140076e1d
cmp rax, 0xf
jbe 0x140076e04
mov r14, qword [r14]
mov qword [r12], rbx
mov r8, rbx
mov rdx, r9
mov rcx, r14
call fcn.1400f0850
mov byte [rbx + r14], 0
jmp 0x140076e28
mov rdx, rbx
mov rcx, r14
call fcn.140053fd0
cmp sil, 0xa
je 0x140077045
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
cmp sil, 4
jne 0x140076fd5
movabs rsi, 0x1e40ea9f7d3f9d51
mov qword [rbp + 0x290], rsi
movabs rbx, 0x76bdb2f6768f7a06
mov qword [rbp + 0x298], rbx
movabs r12, 0xfc5ccd92531a8d3
mov qword [rbp + 0x2a0], r12
movabs r14, 0x6989ea8f9e22948
mov qword [rbp + 0x2a8], r14
movabs rax, 0x6c608fec1c5af101
mov qword [rbp + 0x2c0], rax
movabs rax, 0x17d2de9801e01e63
mov qword [rbp + 0x2c8], rax
movabs rax, 0x60a9ecbc4d4588b7
mov qword [rbp + 0x2d0], rax
movabs rax, 0x6989e868b874d29
mov qword [rbp + 0x2d8], rax
movups xmm0, xmmword [rbp + 0x2c0]
movups xmm1, xmmword [rbp + 0x2d0]
xorps xmm0, xmmword [rbp + 0x290]
movdqa xmmword [rbp - 0x30], xmm0
xorps xmm1, xmmword [rbp + 0x2a0]
movdqa xmmword [rbp - 0x20], xmm1
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov qword [rbp + 0x2c0], rsi
mov qword [rbp + 0x2c8], rbx
mov qword [rbp + 0x2d0], r12
mov qword [rbp + 0x2d8], r14
movabs rax, 0x735f7ea33b1d8665
mov qword [rbp + 0x2e0], rax
movabs rax, 0xd114deda5958490a
mov qword [rbp + 0x2e8], rax
movabs rax, 0x6a28caeb0f5ee922
mov qword [rbp - 0x30], rax
movabs rax, 0xfce9dd94cfc0a72
mov qword [rbp - 0x28], rax
movabs rax, 0x66a2a2bc5d50dcbd
mov qword [rbp - 0x20], rax
movabs rax, 0x62b7f3c79acc4c26
mov qword [rbp - 0x18], rax
movabs rax, 0x5d3b1fcc5773f10a
mov qword [rbp - 0x10], rax
movabs rax, 0xd114deda35353d62
mov qword [rbp - 8], rax
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movups xmm2, xmmword [rbp - 0x10]
xorps xmm0, xmmword [rbp + 0x2c0]
movdqa xmmword [rbp + 0x290], xmm0
xorps xmm1, xmmword [rbp + 0x2d0]
movdqa xmmword [rbp + 0x2a0], xmm1
xorps xmm2, xmmword [rbp + 0x2e0]
movdqa xmmword [rbp + 0x2b0], xmm2
lea rcx, [rbp + 0x290]
call fcn.1400d09b0
jmp 0x14007703c
movabs rax, 0x1e40ea9f7d3f9d51
mov qword [rbp + 0x250], rax
movabs rax, 0x76bdb2f6768f7a06
mov qword [rbp + 0x258], rax
movabs rax, 0x6a6098fa0b4df802
mov qword [rbp + 0x260], rax
movabs rax, 0x769cc68319ea176f
mov qword [rbp + 0x268], rax
movaps xmm0, xmmword [rbp + 0x260]
xorps xmm0, xmmword [rbp + 0x250]
movdqa xmmword [rbp + 0x260], xmm0
lea rdx, [rbp + 0x260]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rdi
call fcn.140007f00
nop
lea rcx, [rbp + 0x90]
call fcn.140005280
nop
lea rax, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rax, qword [rbp + 8]
mov qword [rbp + 0x18], r13
mov byte [rax], 0
lea rax, [rbp + 0x28]
cmp qword [rbp + 0x40], 0xf
cmova rax, qword [rbp + 0x28]
mov qword [rbp + 0x38], r13
mov byte [rax], 0
mov byte [rbp], 0xff
lea rcx, [rbp + 0x28]
call fcn.140005280
lea rcx, [rbp + 8]
call fcn.140005280
jmp 0x140077102
movabs rax, 0x1e40ea9f7d3f9d51
mov qword [rbp + 0x250], rax
movabs rcx, 0x76bdb2f6768f7a06
mov qword [rbp + 0x258], rcx
movabs rax, 0x1e40eae6094ff034
mov qword [rbp + 0x260], rax
mov qword [rbp + 0x268], rcx
movaps xmm0, xmmword [rbp + 0x260]
xorps xmm0, xmmword [rbp + 0x250]
movdqa xmmword [rbp + 0x260], xmm0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x260]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rdi
call fcn.140007f00
nop
lea rcx, [rbp + 0x50]
call fcn.140005280
nop
lea rcx, [rbp + 0x70]
call fcn.140005280
nop
mov rcx, r15
call fcn.140005280
mov rax, rdi
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.1400b4820
mov rbx, qword [rsp + 0x450]
add rsp, 0x400
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001830
int3