Function at 0x1400628f0
Capabilities:
Connect socket
Encode data using xor
Hash data using fnv
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov rdi, rdx
mov r15, rcx
mov dword [rbp + 0xc0], 1
call fcn.140062730
nop
mov dword [rbp + 0xc0], 1
mov r8d, 4
lea rdx, [0x140160c48]
mov rcx, r15
call fcn.140057d60
mov edx, 1
lea ecx, [rdx + 1]
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov r14, rax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [0x14022a328]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
mov dword [0x14022a158], eax
cmp eax, 0xffffffff
jne 0x1400629d3
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
lea rcx, [rdi + 0xa0]
call fcn.140057d00
lea rcx, [rdi + 0x60]
call fcn.140062880
lea rcx, [rdi + 0x40]
call fcn.140057d00
lea rcx, [rdi + 0x20]
call fcn.140057d00
mov rcx, rdi
call fcn.140057d00
mov rax, r15
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140061a30
nop
cmp qword [rax + 0x18], 0xf
jbe 0x1400629eb
mov rax, qword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], r13b
jne 0x140062a10
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14005c140
mov ebx, r13d
mov r12d, 0x1000
cmp qword [rsp + 0x30], rbx
jbe 0x140062a7f
mov rcx, r13
nop dword [rax]
mov r8d, dword [rsp + 0x30]
sub r8d, ebx
cmp r8d, r12d
cmovg r8d, r12d
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
add rdx, rcx
xor r9d, r9d
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x140062ab8
add ebx, eax
movsxd rcx, ebx
cmp rcx, qword [rsp + 0x30]
jb 0x140062a40
xor bl, bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140062ac1
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, r12
jb 0x140062abc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062abc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov bl, 1
jmp 0x140062a81
call fcn.140110370
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], socket
mov byte [rsp + 0x20], r13b
lea rcx, [rsp + 0x40]
call fcn.140057d00
test bl, bl
je 0x140062af0
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14006298d
lea r13, [rdi + 0xa0]
mov rdx, r13
cmp qword [r13 + 0x18], 0xf
jbe 0x140062b05
mov rdx, qword [r13]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
nop dword [rax]
inc rsi
cmp byte [rdx + rsi], bl
jne 0x140062b20
mov r8, rsi
lea rcx, [rsp + 0x20]
call fcn.14005c140
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140062b80
xor edx, edx
sub ecx, ebx
cmp ecx, r12d
cmovg ecx, r12d
lea rax, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rax, qword [rsp + 0x20]
add rdx, rax
xor r9d, r9d
mov r8d, ecx
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x140062bb9
add ebx, eax
movsxd rdx, ebx
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jb 0x140062b41
xor bl, bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140062bc2
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, r12
jb 0x140062bbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062bbd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov bl, 1
jmp 0x140062b82
call fcn.140110370
test bl, bl
je 0x140062bd8
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rcx, r13
jmp 0x140062994
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
mov ecx, 0x1000027
call fcn.140110024
test rax, rax
je 0x14006304f
lea r12, [rax + 0x27]
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
mov qword [rsp + 0x20], r12
lea rbx, [r12 + 0x1000000]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov r8d, 0x1000000
mov rcx, r12
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov r8d, 0x1000000
mov rdx, r12
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x1000000
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.14005c140
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.140061f00
mov rdx, rax
mov rcx, r15
call fcn.140063070
lea rcx, [rbp + 0x38]
call fcn.140057d00
lea rcx, [rbp - 8]
call fcn.140062880
lea rcx, [rbp - 0x28]
call fcn.140057d00
lea rcx, [rbp - 0x48]
call fcn.140057d00
lea rcx, [rbp - 0x68]
call fcn.140057d00
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140062cf2
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062ced
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062ced
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140110370
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], recv
mov qword [rsp + 0x58], socket
movsd xmm0, qword [0x140160c50]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x140160c58]
mov dword [rsp + 0x48], eax
movzx eax, word [0x140160c5c]
mov word [rsp + 0x4c], ax
mov byte [rsp + 0x4e], 0
xor ecx, ecx
movabs rdx, 0x100000001b3
movabs r9, 0xcbf29ce484222325
nop dword [rax + rax]
movzx eax, byte [rsp + rcx + 0x40]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, 0xe
jb 0x140062d50
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
lea rcx, [r15 + 0x60]
call fcn.1400990e0
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140062d9b
cmp rdx, qword [r15 + 0x68]
je 0x140062d9b
add rdx, 0x30
lea rcx, [rsp + 0x60]
call fcn.14008a160
mov rax, qword [rsp + 0x70]
jmp 0x140062db7
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], socket
mov byte [rsp + 0x60], al
mov dword [rbp + 0xc0], 3
cmp qword [r15 + 0xb0], 0
ja 0x140062fb4
test rax, rax
je 0x140062fb4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rbx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rbx, qword [rsp + 0x60]
mov dword [rax], 0
mov r8d, 0xa
lea rdx, [rbp + 0xc8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
movsxd r15, eax
cmp rbx, qword [rbp + 0xc8]
jne 0x140062e28
lea rcx, [0x140171170]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
cmp dword [rsi], 0x22
jne 0x140062e3b
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov rbx, r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
xor r13d, r13d
mov qword [rbp - 0x70], r13
test eax, eax
je 0x140062ec0
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
ja 0x14006305c
cmp rbx, 0x1000
jb 0x140062e96
lea rcx, [r15 + 0x27]
cmp rcx, rbx
jbe 0x140063056
call fcn.140110024
test rax, rax
je 0x140062f96
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140062ea1
mov rcx, rbx
call fcn.140110024
mov rsi, rax
mov qword [rbp - 0x80], rsi
lea r13, [rsi + r15]
mov qword [rbp - 0x70], r13
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x78], r13
jmp 0x140062ec4
mov rsi, qword [rbp - 0x80]
xor ebx, ebx
test r15d, r15d
jle 0x140062ef3
nop dword [rax + rax]
mov r8d, r15d
sub r8d, ebx
movsxd rdx, ebx
add rdx, rsi
xor r9d, r9d
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x140062ef3
add ebx, eax
cmp ebx, r15d
jl 0x140062ed0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movsxd r8, ebx
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14005c140
mov r15, qword [rbp + 0xb0]
lea rcx, [r15 + 0xa0]
lea rdx, [rsp + 0x40]
call fcn.14008a0d0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140062f6d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062f67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062f67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140110370
nop
test rsi, rsi
je 0x140062fa8
sub r13, rsi
mov rax, rsi
cmp r13, 0x1000
jb 0x140062f9d
add r13, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062f9d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r13
mov rcx, rsi
call fcn.140110370
lea r13, [rdi + 0xa0]
mov rbx, qword [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140062ffe
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062ff9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062ff9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140110370
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], socket
mov byte [rsp + 0x60], 0
sub rbx, r12
cmp rbx, 0x1000
jb 0x14006303b
add rbx, 0x27
mov rcx, qword [r12 - 8]
sub r12, rcx
lea rax, [r12 - 8]
cmp rax, 0x1f
ja 0x14006304f
mov r12, rcx
mov rdx, rbx
mov rcx, r12
call fcn.140110370
nop
mov rcx, r13
jmp 0x140062994
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000b6e0
int3
call fcn.14008d780
int3