Function at 0x1400047f4
Capabilities:
Connect socket
Convert ip address from string
Initialize winsock library
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r13
push rbp
push r14
push r15
sub rsp, 0x4c0
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1405eaab8]
xor rax, rsp
mov qword [rbp + 0x460], rax
mov ecx, 0x202
lea rdx, [rbp + 0x1d0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
movabs rdx, 0x93e832bc6f7926f
movabs rbx, 0x9e73a1568445dff5
movabs r8, 0x68a593b6d52bba3d
movabs r9, 0xee538d33ea2cb393
movabs r10, 0x9238166e2d36478e
movabs r11, 0xfd1381352a37d756
movabs r14, 0x7f4ce658e692fa3b
movabs r15, 0xecab3c5bc0bc858
movabs r13, 0xe04c360b5e5722e2
or rsi, 0xffffffffffffffff
test eax, eax
je 0x140004b47
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
mov qword [rbp], r8
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
mov qword [rbp], r9
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
mov qword [rbp], r10
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
mov qword [rbp], r11
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
movabs rax, 0xc9d0b6c336254ea0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x400], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x408], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x410], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x418], rax
movabs rax, 0xdd7de8544d56f72f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x420], rax
movabs rax, 0xc9d098b153512fcc
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x428], rax
vmovdqu ymm0, ymmword [rbp + 0xc0]
vpxor ymm1, ymm0, ymmword [rbp + 0x400]
vmovdqa ymmword [rbp + 0xc0], ymm1
vmovdqa xmm0, xmmword [rbp + 0x420]
vxorps xmm0, xmm0, xmmword [rbp + 0xe0]
vmovdqa xmmword [rbp + 0xe0], xmm0
lea rax, [rbp + 0x90]
mov qword [rbp + 0x40], rax
movabs rax, 0x3d29813995e19f76
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
movabs rax, 0xecab3c5bc4ab037
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x3c0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x3c8], rax
vmovdqa xmm0, xmmword [rbp + 0x10]
vxorps xmm0, xmm0, xmmword [rbp + 0x3c0]
vmovdqa xmmword [rbp + 0x10], xmm0
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x90], xmm0
and qword [rbp + 0xa0], 0
and qword [rbp + 0xa8], 0
lea rax, [rbp + 0x10]
mov r8, rsi
vzeroupper
inc r8
cmp byte [rax + r8], 0
jne 0x140004a30
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x90]
call fcn.14000d5c4
nop
movabs rax, 0x7f3ee63de6e1fa4e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0xeaeb3ebbc39c86b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0x9e73a1568429df99
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x440], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x448], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x450], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x458], rax
vmovdqu ymm0, ymmword [rbp + 0x50]
vpxor ymm1, ymm0, ymmword [rbp + 0x440]
vmovdqu ymmword [rbp + 0x50], ymm1
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x140]
vzeroupper
call fcn.14000b7b0
nop
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [rbp + 0xc0]
xor r8d, r8d
lea rdx, [rbp + 0x90]
mov rcx, rax
call fcn.14000c6c4
mov eax, 1
mov qword [rbp + 8], rax
mov ecx, eax
mov qword [rbp + rcx*8 + 8], rax
mov rax, qword [rbp + 8]
add rax, 1
mov rcx, rax
mov qword [rbp + 8], rax
jne 0x140004b29
mov byte [0], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c0], xmm0
mov ebx, 2
mov word [rbp + 0x1c0], bx
mov ecx, 0x59ea
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x1c2], ax
movabs rax, 0x517bd269c8a3ce0a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0xecab3f28f3ae66c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x3d0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x3d8], rax
movdqa xmm0, xmmword [rbp + 0x3d0]
xorps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1b0], xmm1
lea rax, [rbp + 0x20]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140004be6
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x1a0]
call fcn.14000d5c4
lea rdx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 0x10
cmovae rdx, qword [rbp + 0x1a0]
lea r8, [rbp + 0x1c4]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_inet_pton]
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, rsi
je 0x140004c64
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0x1c0]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, esi
jne 0x140004f55
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0x10
jb 0x140004ca5
inc rdx
mov rcx, qword [rbp + 0x1a0]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140004ca0
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004f8d
call fcn.1401dc738
movdqa xmm0, xmmword [0x14044ae40]
movdqu xmmword [rbp + 0x1b0], xmm0
mov byte [rbp + 0x1a0], 0
movabs rax, 0x93e832bc6f7926f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movabs rax, 0x68a593b6d52bba3d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movabs rax, 0xee538d33ea2cb393
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
movabs rax, 0x9238166e2d36478e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
movabs rax, 0xfd1381352a37d756
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
movabs rax, 0xc9d0b6c336254ea0
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x128], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x380], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x388], rax
movabs rsi, 0x9e73a1568445dff5
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x390], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x398], rax
movabs rax, 0xdd7de8544d56f72f
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3a0], rax
movabs rax, 0xc9d098b153512fcc
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x3a8], rax
vmovdqu ymm0, ymmword [rbp + 0x100]
vpxor ymm1, ymm0, ymmword [rbp + 0x380]
vmovdqa ymmword [rbp + 0x100], ymm1
vmovdqa xmm0, xmmword [rbp + 0x3a0]
vxorps xmm0, xmm0, xmmword [rbp + 0x120]
vmovdqa xmmword [rbp + 0x120], xmm0
lea rax, [rbp + 0x160]
mov qword [rbp + 0x40], rax
movabs rax, 0x3d29813995e19f76
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0xecab3c5bc4ab037
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x3e0], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x3e8], rax
vmovdqa xmm0, xmmword [rbp + 0x3e0]
vxorps xmm0, xmm0, xmmword [rbp + 0x30]
vmovdqa xmmword [rbp + 0x30], xmm0
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x160]
vzeroupper
call fcn.14000bb34
mov rbx, rax
movabs rax, 0x7f3ee63de6e1fa4e
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x70], rcx
movabs rax, 0xeaeb3ebbc39c86b
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x78], rcx
movabs rax, 0x9e73a1568429df99
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x380], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x388], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x390], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x398], rax
vmovdqu ymm0, ymmword [rbp + 0x70]
vpxor ymm1, ymm0, ymmword [rbp + 0x380]
vmovdqu ymmword [rbp + 0x70], ymm1
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x180]
vzeroupper
call fcn.14000b7b0
nop
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [rbp + 0x100]
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.14000c6c4
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0x10
jb 0x140004f99
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004f94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401dc738
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.1401dc200
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov r13, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret