Function at 0x14024d7a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x108
call fcn.1402563a0
sub rsp, rax
mov rax, qword [0x1403bb2d8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbx, qword [rcx + 0x340]
mov rbp, qword [rsp + 0x170]
mov rsi, rcx
lea rax, [rsp + 0x50]
lea r15, [rcx + 0x1f8]
xor r12d, r12d
neg rax
mov r13, r9
mov qword [rsp + 0x48], r8
and eax, 0xf
mov rdi, rdx
lea r9, [rsi + 0x180]
lea rcx, [rsp + rax + 0x50]
mov qword [rsp + 0x38], rcx
lea rax, [rcx + 0x30]
lea r14, [rcx + 0x40]
mov qword [rsp + 0x30], rax
cmp rbx, 0x40
ja 0x14024d93a
mov edx, 0x80
lea rax, [rsi + 0x1a0]
mov qword [rsp + 0x40], rdx
mov r8d, edx
lea rdx, [0x140391910]
mov dword [rax], r12d
mov qword [rsp + 0x20], rax
call fcn.1401d2dc0
mov rdx, qword [rsp + 0x38]
mov rcx, r15
call fcn.1401d3690
test byte [rsi + 0x3c], 2
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsi + 0x30c]
mov dword [rsi + 0x1f0], r12d
mov qword [rsi + 0x320], socket
mov qword [rcx], rax
mov rax, qword [rsi + 0x314]
mov qword [rsi + 0x328], rbx
mov qword [rcx + 8], rax
je 0x14024d8cc
test rbx, rbx
je 0x14024d90d
mov r8, r13
mov r9, rdi
mov rdx, r14
sub r8, r14
sub r9, r14
mov r12, rbx
nop dword [rax + rax]
movzx ecx, byte [r8 + rdx]
movzx eax, byte [rdx]
inc rdx
xor ecx, eax
dec rbx
mov byte [rdx - 1], cl
mov byte [r9 + rdx - 1], cl
jne 0x14024d8b0
jmp 0x14024d90d
test rbx, rbx
je 0x14024d90d
mov r9, r13
mov r10, rdi
mov r8, r14
sub r9, rdi
sub r10, r14
mov r12, rbx
nop word [rax + rax]
movzx eax, byte [r8]
lea rcx, [r8 + r10]
inc r8
movzx edx, byte [rcx + r9]
xor al, dl
dec rbx
mov byte [r8 - 1], dl
mov byte [rcx], al
jne 0x14024d8f0
mov rbx, r12
lea rcx, [r12 + r14]
xor edx, edx
neg rbx
add r13, r12
add rdi, r12
and ebx, 0xf
mov r8d, ebx
call fcn.1402547c0
lea r11, [rbx + r12]
lea r12, [r11 + 0x10]
add r14, r11
jmp 0x14024da33
mov edx, 0x40
lea r15, [rsi + 0x1a0]
mov qword [rsp + 0x40], rdx
mov r8d, edx
lea rdx, [0x140391910]
mov dword [r15], r12d
mov qword [rsp + 0x20], r15
call fcn.1401d2dc0
mov rdx, qword [rsp + 0x38]
lea rcx, [rsi + 0x1f8]
call fcn.1401d3690
lea rdx, [rsi + 0x30c]
lea rcx, [rsi + 0x1f8]
mov r8d, reloc.WS2_32.dll_recv
mov dword [r15], 1
mov dword [rsi + 0x1f0], r12d
call fcn.1401d37f0
test byte [rsi + 0x3c], 2
mov qword [rsp + 0x30], r14
mov qword [rsi + 0x320], socket
mov qword [rsi + 0x328], rbx
mov r8, rbx
mov rdx, r13
je 0x14024d9e8
lea r9, [rsi + 0x180]
mov rcx, rdi
mov qword [rsp + 0x20], r15
call fcn.1401d2dc0
lea r15, [rsi + 0x1f8]
mov r8, rbx
mov rcx, r15
mov rdx, rdi
call fcn.1401d37f0
jmp 0x14024da15
lea rcx, [rsi + 0x1f8]
call fcn.1401d37f0
lea r9, [rsi + 0x180]
mov r8, rbx
mov rdx, r13
mov rcx, rdi
mov qword [rsp + 0x20], r15
call fcn.1401d2dc0
lea r15, [rsi + 0x1f8]
add r13, rbx
add rdi, rbx
neg rbx
and ebx, 0xf
lea rdx, [0x140391910]
mov rcx, r15
mov r8d, ebx
call fcn.1401d37f0
mov rax, qword [rsi + 0x320]
mov rbx, qword [rsp + 0x30]
lea r8, [r12 + 0x10]
mov qword [r14], rax
mov rax, qword [rsi + 0x328]
mov rdx, rbx
mov rcx, r15
mov qword [r14 + 8], rax
call fcn.1401d37f0
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.1400f5f30
test byte [rsi + 0x3c], 2
lea rdx, [rsi + 0x2fc]
jne 0x14024da7c
mov rdx, rbx
mov rcx, r15
call fcn.1401d38e0
test byte [rsi + 0x3c], 2
mov qword [rsi + 0x340], 0xffffffffffffffff
je 0x14024daac
mov rax, qword [rsi + 0x2fc]
mov qword [rdi], rax
mov rax, qword [rsi + 0x304]
mov qword [rdi + 8], rax
jmp 0x14024dae1
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r13
mov rcx, rbx
call fcn.14013a590
test eax, eax
je 0x14024dadd
cmp rbp, 0x10
jbe 0x14024dad9
sub rdi, rbp
lea r8, [rbp - 0x10]
xor edx, edx
lea rcx, [rdi + 0x10]
call fcn.1402547c0
xor eax, eax
jmp 0x14024daee
sub rbp, 0x10
mov rcx, qword [rsp + 0x48]
mov eax, 1
mov qword [rcx], rbp
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140254f60
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret