Function at 0x140024390
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movzx r8d, byte [rdx + 1]
movzx eax, byte [rdx + 2]
shl eax, 8
movzx ecx, byte [rdx + 4]
shl ecx, 0x18
shl r8d, 0x10
add r8d, eax
movzx eax, byte [rdx]
shl eax, 0x18
add r8d, eax
movzx eax, byte [rdx + 3]
add r8d, eax
movzx eax, byte [rdx + 5]
shl eax, 0x10
add ecx, eax
mov dword [rsp + 0x20], r8d
movzx eax, byte [rdx + 6]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx + 7]
add ecx, eax
movzx eax, byte [rdx + 9]
mov dword [rsp + 0x24], ecx
movzx ecx, byte [rdx + 8]
shl ecx, 0x18
shl eax, 0x10
add ecx, eax
movzx eax, byte [rdx + 0xa]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx + 0xb]
add ecx, eax
movzx eax, byte [rdx + 0xd]
mov dword [rsp + 0x28], ecx
movzx ecx, byte [rdx + 0xc]
shl ecx, 0x18
shl eax, 0x10
add ecx, eax
movzx eax, byte [rdx + 0xe]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx + 0xf]
add ecx, eax
movzx eax, byte [rdx + 0x11]
mov dword [rsp + 0x2c], ecx
movzx ecx, byte [rdx + 0x10]
shl ecx, 0x18
shl eax, 0x10
add ecx, eax
movzx eax, byte [rdx + 0x12]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx + 0x13]
add ecx, eax
movzx eax, byte [rdx + 0x15]
mov dword [rsp + 0x30], ecx
movzx ecx, byte [rdx + 0x14]
shl ecx, 0x18
shl eax, 0x10
add ecx, eax
movzx eax, byte [rdx + 0x16]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx + 0x17]
add ecx, eax
movzx eax, byte [rdx + 0x19]
mov dword [rsp + 0x34], ecx
movzx ecx, byte [rdx + 0x18]
shl ecx, 0x18
shl eax, 0x10
add ecx, eax
movzx eax, byte [rdx + 0x1a]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx + 0x1b]
add ecx, eax
movzx eax, byte [rdx + 0x1d]
mov dword [rsp + 0x38], ecx
movzx ecx, byte [rdx + 0x1c]
shl ecx, 0x18
shl eax, 0x10
add ecx, eax
movzx eax, byte [rdx + 0x1e]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx + 0x1f]
add ecx, eax
movzx eax, byte [rdx + 0x21]
mov dword [rsp + 0x3c], ecx
shl eax, 0x10
movzx ecx, byte [rdx + 0x20]
shl ecx, 0x18
add ecx, eax
movzx eax, byte [rdx + 0x22]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx + 0x23]
add ecx, eax
movzx eax, byte [rdx + 0x25]
mov dword [rsp + 0x40], ecx
movzx ecx, byte [rdx + 0x24]
shl eax, 0x10
shl ecx, 0x18
add ecx, eax
movzx eax, byte [rdx + 0x26]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx + 0x27]
add ecx, eax
movzx eax, byte [rdx + 0x29]
mov dword [rsp + 0x44], ecx
movzx ecx, byte [rdx + 0x28]
shl eax, 0x10
shl ecx, 0x18
add ecx, eax
movzx eax, byte [rdx + 0x2a]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx + 0x2b]
add ecx, eax
movzx eax, byte [rdx + 0x2d]
mov dword [rsp + 0x48], ecx
movzx ecx, byte [rdx + 0x2c]
shl eax, 0x10
shl ecx, 0x18
add ecx, eax
movzx eax, byte [rdx + 0x2e]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx + 0x2f]
add ecx, eax
movzx eax, byte [rdx + 0x31]
mov dword [rsp + 0x4c], ecx
movzx ecx, byte [rdx + 0x30]
shl eax, 0x10
shl ecx, 0x18
add ecx, eax
movzx eax, byte [rdx + 0x32]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx + 0x33]
add ecx, eax
movzx eax, byte [rdx + 0x35]
mov dword [rsp + 0x50], ecx
movzx ecx, byte [rdx + 0x34]
shl eax, 0x10
shl ecx, 0x18
add ecx, eax
movzx eax, byte [rdx + 0x36]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx + 0x37]
add ecx, eax
movzx eax, byte [rdx + 0x39]
mov dword [rsp + 0x54], ecx
movzx ecx, byte [rdx + 0x38]
shl eax, 0x10
shl ecx, 0x18
add ecx, eax
movzx eax, byte [rdx + 0x3a]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx + 0x3b]
mov r13d, 2
add ecx, eax
mov dword [rbp + 0xb0], r13d
movzx eax, byte [rdx + 0x3d]
mov dword [rsp + 0x58], ecx
movzx ecx, byte [rdx + 0x3c]
shl eax, 0x10
shl ecx, 0x18
add ecx, eax
movzx eax, byte [rdx + 0x3e]
shl eax, 8
add ecx, eax
movzx eax, byte [rdx + 0x3f]
add ecx, eax
mov dword [rsp + 0x5c], ecx
nop dword [rax]
nop word [rax + rax]
mov eax, r13d
mov edx, dword [rsp + rax*4 + 0x20]
lea eax, [r13 + 6]
mov r8d, dword [rsp + rax*4 + 0x20]
lea eax, [r13 + 0xb]
mov r9d, dword [rsp + rax*4 + 0x20]
lea eax, [r13 - 2]
mov r14d, dword [rsp + rax*4 + 0x20]
lea eax, [r13 + 0xe]
xor r14d, r9d
mov dword [rsp], r9d
xor r14d, r8d
mov dword [rsp + 0x14], r8d
xor r14d, edx
rol r14d, 1
mov dword [rsp + rax*4 + 0x20], r14d
lea eax, [r13 + 1]
mov r9d, dword [rsp + rax*4 + 0x20]
lea eax, [r13 + 7]
mov r15d, dword [rsp + rax*4 + 0x20]
lea eax, [r13 + 0xc]
mov r8d, dword [rsp + rax*4 + 0x20]
lea eax, [r13 - 1]
mov r11d, dword [rsp + rax*4 + 0x20]
lea eax, [r13 + 0xf]
xor r11d, r8d
mov dword [rsp + 4], r8d
xor r11d, r15d
mov dword [rsp + 0xc], r14d
xor r11d, r9d
rol r11d, 1
mov dword [rsp + rax*4 + 0x20], r11d
lea eax, [r13 + 2]
mov r8d, dword [rsp + rax*4 + 0x20]
lea eax, [r13 + 8]
mov esi, dword [rsp + rax*4 + 0x20]
lea eax, [r13 + 0xd]
mov ecx, dword [rsp + rax*4 + 0x20]
lea eax, [r13 + 0x10]
mov dword [rsp + 0x18], eax
mov edi, ecx
xor edi, esi
mov dword [rsp + 0x10], r11d
xor edi, r8d
xor edi, edx
rol edi, 1
mov dword [rsp + rax*4 + 0x20], edi
lea eax, [r13 + 3]
mov edx, dword [rsp + rax*4 + 0x20]
lea eax, [r13 + 9]
mov ebx, dword [rsp + rax*4 + 0x20]
lea eax, [r13 + 0x11]
mov r10d, ebx
xor r10d, edx
xor r10d, r9d
mov r9d, dword [rbp + 0xb0]
xor r10d, r14d
rol r10d, 1
mov dword [rsp + rax*4 + 0x20], r10d
lea eax, [r13 + 4]
mov r12d, dword [rsp + rax*4 + 0x20]
lea eax, [r13 + 0xa]
mov dword [rbp + 0xb8], r10d
mov r10d, dword [rsp + rax*4 + 0x20]
lea eax, [r9 + 0x12]
mov r13d, r10d
xor r13d, r12d
xor r13d, r8d
xor r13d, r11d
rol r13d, 1
mov dword [rsp + rax*4 + 0x20], r13d
lea eax, [r9 + 5]
mov r14d, dword [rsp + rax*4 + 0x20]
mov r11d, r14d
xor r11d, edx
lea eax, [r9 + 0x13]
xor r11d, edi
xor r11d, dword [rsp]
rol r11d, 1
xor r12d, dword [rbp + 0xb8]
mov dword [rsp + rax*4 + 0x20], r11d
xor r12d, dword [rsp + 4]
lea eax, [r9 + 0x14]
xor r12d, dword [rsp + 0x14]
xor r14d, r13d
xor r13d, r10d
rol r12d, 1
mov dword [rsp + rax*4 + 0x20], r12d
mov edx, r11d
lea eax, [r9 + 0x15]
xor edx, esi
xor edx, dword [rsp + 0xc]
xor r11d, ecx
xor edx, dword [rsp + 0x14]
xor r14d, ecx
xor r11d, dword [rsp]
xor r14d, r15d
rol edx, 1
mov r8d, ebx
xor r8d, dword [rsp + 0x10]
rol r14d, 1
xor r8d, r15d
mov dword [rsp + rax*4 + 0x20], r14d
xor r8d, r12d
lea eax, [r9 + 0x16]
rol r8d, 1
mov dword [rsp + rax*4 + 0x20], edx
lea eax, [r9 + 0x17]
mov dword [rsp + rax*4 + 0x20], r8d
mov r9d, r10d
mov r10d, dword [rsp + 4]
xor r9d, edi
mov edi, dword [rbp + 0xb8]
xor r13d, r10d
xor r10d, dword [rsp + 0xc]
xor r9d, esi
mov esi, dword [rbp + 0xb0]
xor edi, ebx
xor edi, dword [rsp]
xor r13d, r8d
xor edi, edx
rol r13d, 1
rol edi, 1
xor r9d, r14d
lea eax, [rsi + 0x18]
rol r9d, 1
mov dword [rsp + rax*4 + 0x20], r9d
xor r10d, edi
lea eax, [rsi + 0x19]
xor r11d, r9d
mov dword [rsp + rax*4 + 0x20], edi
xor r10d, r12d
lea eax, [rsi + 0x1a]
rol r11d, 1
mov dword [rsp + rax*4 + 0x20], r13d
mov edx, ecx
xor edx, dword [rsp + 0x10]
lea eax, [rsi + 0x1b]
xor edx, r13d
mov dword [rsp + rax*4 + 0x20], r11d
mov r13d, dword [rsp + 0x18]
lea eax, [rsi + 0x1c]
rol r10d, 1
xor edx, r14d
mov dword [rsp + rax*4 + 0x20], r10d
lea eax, [rsi + 0x1d]
rol edx, 1
mov dword [rsp + rax*4 + 0x20], edx
lea eax, [r13 + 0xe]
mov dword [rbp + 0xb0], r13d
cmp eax, 0x50
jb 0x140024600
mov rdi, qword [rbp + 0xa0]
lea rsi, [rsp + 0x20]
mov r14d, reloc.WS2_32.dll_sendto
mov r15d, r14d
mov r13d, dword [rdi + 0x50]
mov r11d, r13d
mov r9d, dword [rdi + 0x54]
mov r8d, dword [rdi + 0x58]
mov r10d, dword [rdi + 0x5c]
mov ebx, dword [rdi + 0x60]
mov r12d, dword [rdi + 0x64]
nop dword [rax]
nop word [rax + rax]
mov ecx, r8d
lea rsi, [rsi + 4]
and ecx, r9d
mov edx, r11d
mov eax, r9d
rol edx, 5
not eax
and eax, r10d
xor eax, ecx
lea ecx, [r12 + rdx]
add eax, ecx
add eax, dword [rsi - 4]
add eax, ebx
mov ebx, r10d
mov r10d, r8d
mov r8d, r9d
ror r8d, 2
mov r9d, r11d
mov r11d, eax
sub r15, 1
jne 0x140024880
mov r15d, dword [rdi + 0x68]
lea rdx, [rsp + 0x70]
mov rsi, r14
nop word [rax + rax]
mov ecx, eax
lea rdx, [rdx + 4]
mov eax, r10d
rol ecx, 5
xor eax, r8d
add ecx, r15d
xor eax, r9d
add eax, ecx
add eax, ebx
mov ebx, r10d
add eax, dword [rdx - 4]
mov r10d, r8d
mov r8d, r9d
mov r9d, r11d
ror r8d, 2
mov r11d, eax
sub rsi, 1
jne 0x1400248d0
mov r12d, dword [rdi + 0x6c]
lea rsi, [rbp - 0x40]
mov r15, r14
rol eax, 5
lea rsi, [rsi + 4]
mov edx, r8d
mov ecx, r8d
xor edx, r9d
and ecx, r9d
and edx, r10d
xor edx, ecx
add eax, edx
add eax, dword [rsi - 4]
add eax, r12d
add eax, ebx
mov ebx, r10d
mov r10d, r8d
mov r8d, r9d
ror r8d, 2
mov r9d, r11d
mov r11d, eax
sub r15, 1
jne 0x140024910
mov esi, dword [rdi + 0x70]
lea rdx, [rbp + 0x10]
nop dword [rax]
nop word [rax + rax]
mov ecx, eax
lea rdx, [rdx + 4]
mov eax, r10d
rol ecx, 5
xor eax, r8d
add ecx, esi
xor eax, r9d
add eax, ecx
add eax, ebx
mov ebx, r10d
add eax, dword [rdx - 4]
mov r10d, r8d
mov r8d, r9d
mov r9d, r11d
ror r8d, 2
mov r11d, eax
sub r14, 1
jne 0x140024960
add dword [rdi + 0x54], r9d
lea ecx, [rax + r13]
add dword [rdi + 0x58], r8d
add dword [rdi + 0x5c], r10d
add dword [rdi + 0x60], ebx
mov rbx, qword [rsp + 0x1a8]
mov dword [rdi + 0x50], ecx
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret