Function at 0x14024d7f0
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.1402563f0
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 0x14024d98a
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.1401d2e10
mov rdx, qword [rsp + 0x38]
mov rcx, r15
call fcn.1401d36e0
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 0x14024d91c
test rbx, rbx
je 0x14024d95d
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 0x14024d900
jmp 0x14024d95d
test rbx, rbx
je 0x14024d95d
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 0x14024d940
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.140254810
lea r11, [rbx + r12]
lea r12, [r11 + 0x10]
add r14, r11
jmp 0x14024da83
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.1401d2e10
mov rdx, qword [rsp + 0x38]
lea rcx, [rsi + 0x1f8]
call fcn.1401d36e0
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.1401d3840
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 0x14024da38
lea r9, [rsi + 0x180]
mov rcx, rdi
mov qword [rsp + 0x20], r15
call fcn.1401d2e10
lea r15, [rsi + 0x1f8]
mov r8, rbx
mov rcx, r15
mov rdx, rdi
call fcn.1401d3840
jmp 0x14024da65
lea rcx, [rsi + 0x1f8]
call fcn.1401d3840
lea r9, [rsi + 0x180]
mov r8, rbx
mov rdx, r13
mov rcx, rdi
mov qword [rsp + 0x20], r15
call fcn.1401d2e10
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.1401d3840
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.1401d3840
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.1400f5f80
test byte [rsi + 0x3c], 2
lea rdx, [rsi + 0x2fc]
jne 0x14024dacc
mov rdx, rbx
mov rcx, r15
call fcn.1401d3930
test byte [rsi + 0x3c], 2
mov qword [rsi + 0x340], 0xffffffffffffffff
je 0x14024dafc
mov rax, qword [rsi + 0x2fc]
mov qword [rdi], rax
mov rax, qword [rsi + 0x304]
mov qword [rdi + 8], rax
jmp 0x14024db31
mov r8d, reloc.WS2_32.dll_recv
mov rdx, r13
mov rcx, rbx
call fcn.14013a5e0
test eax, eax
je 0x14024db2d
cmp rbp, 0x10
jbe 0x14024db29
sub rdi, rbp
lea r8, [rbp - 0x10]
xor edx, edx
lea rcx, [rdi + 0x10]
call fcn.140254810
xor eax, eax
jmp 0x14024db3e
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.140254fb0
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret