Function at 0x140001430
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r13, qword [rbp + 0x50]
lea eax, [rdx + 0xa]
mov dword [rbp - 0x40], edx
mov r14, r9
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x30], r13
and eax, 0x80000007
jge 0x140001475
dec eax
or eax, 0xfffffff8
inc eax
mov ebx, 8
mov qword [rsp + 0x90], rdi
sub ebx, eax
test eax, eax
cmove ebx, eax
call fcn.140006cd0
and al, 0xf8
mov r12d, 1
or al, bl
mov dword [rbp - 0x3c], r12d
mov byte [rbp - 0x20], al
mov esi, r12d
test ebx, ebx
je 0x1400014c0
lea rdi, [rbp - 0x1f]
lea esi, [rbx + 1]
nop dword [rax]
call fcn.140006cd0
mov byte [rdi], al
lea rdi, [rdi + 1]
sub ebx, r12d
jne 0x1400014b0
xor eax, eax
mov qword [rsp + 0x98], r15
cmp rax, 8
jae 0x1400019da
mov byte [rbp + rax - 0x18], 0
inc rax
cmp rax, 8
jl 0x1400014ce
mov rbx, qword [rbp - 0x18]
lea r15, [rbp - 0x18]
mov dword [r13], 0
movsxd rdi, esi
cmp rdi, 8
jge 0x140001510
call fcn.140006cd0
mov byte [rbp + rdi - 0x20], al
inc esi
inc rdi
inc r12d
cmp rdi, 8
jne 0x140001671
movzx eax, byte [r15]
xor byte [rbp - 0x20], al
movzx eax, byte [r15 + 1]
xor byte [rbp - 0x1f], al
movzx eax, byte [r15 + 2]
xor byte [rbp - 0x1e], al
movzx eax, byte [r15 + 3]
xor byte [rbp - 0x1d], al
movzx eax, byte [r15 + 4]
xor byte [rbp - 0x1c], al
movzx eax, byte [r15 + 5]
xor byte [rbp - 0x1b], al
movzx eax, byte [r15 + 6]
xor byte [rbp - 0x1a], al
movzx eax, byte [r15 + 7]
mov ecx, dword [rbp - 0x20]
xor byte [rbp - 0x19], al
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rbp - 0x1c]
mov edi, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [0x14001ccf8]
mov esi, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [0x14001ccfc]
mov r15d, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [0x14001cd00]
mov r13d, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [0x14001cd04]
mov dword [rbp - 0x38], eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov r10d, dword [rbp - 0x38]
xor r8d, r8d
mov r11d, eax
mov r9d, reloc.WS2_32.dll_recv
nop dword [rax]
nop dword [rax + rax]
mov edx, esi
lea r8d, [r8 - 0x61c88647]
shr edx, 5
lea eax, [r8 + rsi]
add edx, r13d
mov ecx, esi
shl ecx, 4
add ecx, r15d
xor edx, ecx
xor edx, eax
add edi, edx
mov ecx, edi
mov eax, edi
shr ecx, 5
shl eax, 4
add ecx, r11d
add eax, r10d
xor ecx, eax
lea eax, [r8 + rdi]
xor ecx, eax
add esi, ecx
sub r9, 1
jne 0x1400015c0
mov ecx, edi
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, esi
mov dword [r14], eax
call qword [sym.imp.WS2_32.dll_htonl]
movzx ecx, byte [rbp - 0x17]
xor esi, esi
mov r13, qword [rbp - 0x30]
xor edi, edi
mov dword [r14 + 4], eax
mov r15, r14
xor byte [r14 + 1], cl
movzx ecx, byte [rbp - 0x16]
xor byte [r14 + 2], cl
movzx ecx, byte [rbp - 0x15]
xor byte [r14 + 3], cl
xor byte [r14], bl
movzx ecx, byte [rbp - 0x14]
mov rbx, qword [rbp - 0x20]
xor cl, al
movzx eax, byte [rbp - 0x13]
xor byte [r14 + 5], al
movzx eax, byte [rbp - 0x12]
xor byte [r14 + 6], al
movzx eax, byte [rbp - 0x11]
xor byte [r14 + 7], al
mov byte [r14 + 4], cl
add dword [r13], 8
add r14, 8
mov qword [rbp - 0x18], rbx
cmp r12d, 2
jle 0x1400014f5
mov edx, dword [rbp - 0x40]
test edx, edx
je 0x14000181a
movsxd rcx, esi
nop dword [rax]
cmp rcx, 8
jge 0x1400016b7
mov r8, qword [rbp - 0x28]
dec edx
inc esi
mov dword [rbp - 0x40], edx
movzx eax, byte [r8]
inc r8
mov byte [rbp + rcx - 0x20], al
inc rcx
cmp rcx, 8
mov qword [rbp - 0x28], r8
jne 0x140001812
movzx eax, byte [r15]
xor byte [rbp - 0x20], al
movzx eax, byte [r15 + 1]
xor byte [rbp - 0x1f], al
movzx eax, byte [r15 + 2]
xor byte [rbp - 0x1e], al
movzx eax, byte [r15 + 3]
xor byte [rbp - 0x1d], al
movzx eax, byte [r15 + 4]
xor byte [rbp - 0x1c], al
movzx eax, byte [r15 + 5]
xor byte [rbp - 0x1b], al
movzx eax, byte [r15 + 6]
xor byte [rbp - 0x1a], al
movzx eax, byte [r15 + 7]
mov ecx, dword [rbp - 0x20]
xor byte [rbp - 0x19], al
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rbp - 0x1c]
mov edi, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [0x14001ccf8]
mov esi, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [0x14001ccfc]
mov r15d, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [0x14001cd00]
mov r12d, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [0x14001cd04]
mov r13d, eax
call qword [sym.imp.WS2_32.dll_ntohl]
xor r8d, r8d
mov r9d, reloc.WS2_32.dll_recv
mov r10d, eax
nop word [rax + rax]
mov edx, esi
lea r8d, [r8 - 0x61c88647]
shr edx, 5
lea eax, [r8 + rsi]
add edx, r12d
mov ecx, esi
shl ecx, 4
add ecx, r15d
xor edx, ecx
xor edx, eax
add edi, edx
mov ecx, edi
mov eax, edi
shr ecx, 5
shl eax, 4
add ecx, r10d
add eax, r13d
xor ecx, eax
lea eax, [r8 + rdi]
xor ecx, eax
add esi, ecx
sub r9, 1
jne 0x140001760
mov ecx, edi
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, esi
mov dword [r14], eax
call qword [sym.imp.WS2_32.dll_htonl]
movzx ecx, byte [rbp - 0x17]
xor esi, esi
mov edx, dword [rbp - 0x40]
mov r15, r14
mov dword [r14 + 4], eax
xor byte [r14 + 1], cl
movzx ecx, byte [rbp - 0x16]
xor byte [r14 + 2], cl
movzx ecx, byte [rbp - 0x15]
xor byte [r14 + 3], cl
movzx ecx, byte [rbp - 0x14]
xor byte [r14], bl
xor cl, al
movzx eax, byte [rbp - 0x13]
xor byte [r14 + 5], al
movzx eax, byte [rbp - 0x12]
xor byte [r14 + 6], al
movzx eax, byte [rbp - 0x11]
xor byte [r14 + 7], al
mov rax, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x20]
mov byte [r14 + 4], cl
xor ecx, ecx
mov qword [rbp - 0x18], rbx
add dword [rax], 8
add r14, 8
test edx, edx
jne 0x140001690
movsxd rax, esi
add r14, 2
mov ecx, 1
cmp rax, 8
jge 0x14000184d
mov rcx, rax
inc rax
cmp rcx, 8
jae 0x1400019da
mov byte [rbp + rcx - 0x20], 0
mov ecx, dword [rbp - 0x3c]
inc ecx
mov dword [rbp - 0x3c], ecx
cmp rax, 8
jne 0x1400019a0
movzx eax, byte [r15]
xor byte [rbp - 0x20], al
movzx eax, byte [r15 + 1]
xor byte [rbp - 0x1f], al
movzx eax, byte [r15 + 2]
xor byte [rbp - 0x1e], al
movzx eax, byte [r15 + 3]
xor byte [rbp - 0x1d], al
movzx eax, byte [r15 + 4]
xor byte [rbp - 0x1c], al
movzx eax, byte [r15 + 5]
xor byte [rbp - 0x1b], al
movzx eax, byte [r15 + 6]
xor byte [rbp - 0x1a], al
movzx eax, byte [r15 + 7]
mov ecx, dword [rbp - 0x20]
xor byte [rbp - 0x19], al
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [rbp - 0x1c]
mov esi, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [0x14001ccf8]
mov edi, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [0x14001ccfc]
mov r15d, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [0x14001cd00]
mov r12d, eax
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [0x14001cd04]
mov r13d, eax
call qword [sym.imp.WS2_32.dll_ntohl]
xor r8d, r8d
mov r9d, reloc.WS2_32.dll_recv
mov r10d, eax
nop dword [rax]
mov edx, edi
lea r8d, [r8 - 0x61c88647]
shr edx, 5
lea eax, [r8 + rdi]
add edx, r12d
mov ecx, edi
shl ecx, 4
add ecx, r15d
xor edx, ecx
xor edx, eax
add esi, edx
mov ecx, esi
mov eax, esi
shr ecx, 5
shl eax, 4
add ecx, r10d
add eax, r13d
xor ecx, eax
lea eax, [r8 + rsi]
xor ecx, eax
add edi, ecx
sub r9, 1
jne 0x1400018f0
mov ecx, esi
lea r15, [r14 - 2]
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, edi
mov dword [r15], eax
call qword [sym.imp.WS2_32.dll_htonl]
movzx ecx, byte [rbp - 0x17]
mov dword [r14 + 2], eax
xor byte [r14 - 1], cl
movzx ecx, byte [rbp - 0x16]
xor byte [r14], cl
movzx ecx, byte [rbp - 0x15]
xor byte [r14 + 1], cl
movzx ecx, byte [rbp - 0x14]
xor byte [r15], bl
xor cl, al
movzx eax, byte [rbp - 0x13]
xor byte [r14 + 3], al
movzx eax, byte [rbp - 0x12]
xor byte [r14 + 4], al
movzx eax, byte [rbp - 0x11]
xor byte [r14 + 5], al
xor eax, eax
mov rbx, qword [rbp - 0x20]
mov byte [r14 + 2], cl
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x18], rbx
add dword [rcx], 8
mov ecx, dword [rbp - 0x3c]
add r14, 8
cmp ecx, 7
jle 0x140001826
mov r15, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140003590
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
call fcn.1400036b8
int3