Function at 0x140108430
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor esi, esi
mov rdx, qword [0x140167a98]
mov rbx, qword [rdx + 0x10]
test rbx, rbx
je 0x1401084e0
mov r8d, dword [rbx + 0xb8]
test r8d, r8d
je 0x1401084e0
movdqa xmm0, xmmword [0x140139170]
movdqu xmmword [rbp + 0x1d0], xmm0
mov dword [rbp + 0x1e0], 0xc892c3c5
mov dword [rbp + 0x1e4], 0xe19984
mov byte [rbp + 0x1e8], 1
mov ecx, esi
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx + 0x1d0], al
inc rcx
cmp rcx, 0x17
jb 0x1401084b0
mov byte [rbp + 0x1e8], sil
mov edx, r8d
lea rcx, [rbp + 0x1d0]
call fcn.140062d90
mov rdx, qword [0x140167a98]
cmp byte [0x1401669fd], sil
je 0x14010891c
cmp byte [rdx + 0x1d0], sil
je 0x14010891c
mov dword [rsp + 0x40], 0x8c9e8e90
mov word [rsp + 0x44], 0x100
mov rcx, rsi
nop dword [rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x140108510
mov byte [rsp + 0x45], sil
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], sil
jne 0x140108531
lea rcx, [rdx + 0x140]
cmp qword [rdx + 0x158], 0xf
jbe 0x140108552
mov rcx, qword [rdx + 0x140]
mov r8, qword [rdx + 0x150]
cmp r8, rax
jne 0x140108570
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14010891c
test rbx, rbx
je 0x14010891c
cmp dword [rbx + 0xb8], esi
jbe 0x14010891c
mov dword [rbp + 0x1d0], 0xb999b89a
mov dword [rbp + 0x1d4], 0xb498bfb4
mov dword [rbp + 0x1d8], 0x85b8b0bc
mov word [rbp + 0x1dc], 0x85
mov byte [rbp + 0x1de], 1
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx + 0x1d0], al
inc rcx
cmp rcx, 0xd
jb 0x1401085c0
mov byte [rbp + 0x1de], sil
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea rax, [rbp + 0x1d0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x140108600
lea rdx, [rbp + 0x1d0]
lea rcx, [rsp + 0x48]
call fcn.14002c630
nop
lea r14, [0x140005700]
mov qword [rsp + 0x20], r14
lea r9, [0x1400056b0]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x10]
call fcn.14010f1e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x140131ac0]
movdqa xmmword [rbp - 0x60], xmm1
mov byte [rbp - 0x70], 0
mov dword [rsp + 0x70], 2
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova r9, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
lea rcx, [rbp - 0x70]
cmp rdi, 0xf
ja 0x140108697
mov qword [rbp - 0x60], rdi
mov r8, rdi
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rdi - 0x70], 0
jmp 0x1401086a0
mov rdx, rdi
call fcn.14002c9a0
nop
mov eax, dword [rsp + 0x70]
mov dword [rbp + 0x10], eax
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x18], rax
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x20], xmm0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x30]
call fcn.14002a4b0
nop
lea rcx, [rbp - 0x70]
call fcn.14002b140
nop
lea rcx, [rsp + 0x48]
call fcn.14002b140
lea rdx, [0x140167848]
lea rcx, [rbp - 0x10]
call fcn.14002a640
nop
mov r8d, dword [rbx + 0xb8]
lea r9, [rbp + 0x1e5]
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140108700
lea r8, [rbp + 0x1e5]
mov rdx, r9
lea rcx, [rsp + 0x70]
call fcn.14002dbb0
nop
mov word [rsp + 0x40], 0x5b
mov byte [rsp + 0x42], 0
lea rax, [rsp + 0x40]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x140108757
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rbp]
sub rax, rdx
cmp rax, rcx
jb 0x140108948
lea r9, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova r9, qword [rbp - 0x10]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x30]
call fcn.14002d380
nop
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.14002d190
nop
mov dword [rsp + 0x40], 0xb8b7f688
mov word [rsp + 0x44], 0x100
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 4
jb 0x1401087d0
mov byte [rsp + 0x45], 0
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1401087f1
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14002b230
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rax, qword [0x140167a98]
lea rdx, [rax + 0x178]
cmp qword [rax + 0x190], 0xf
jbe 0x140108859
mov rdx, qword [rax + 0x178]
mov r8, qword [rax + 0x188]
lea rcx, [rsp + 0x48]
call fcn.14002b230
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1d0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1e0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rbp + 0x50], 2
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x70]
call fcn.14002a4b0
nop
lea rcx, [rbp + 0x1d0]
call fcn.14002b140
nop
lea rcx, [rsp + 0x48]
call fcn.14002b140
nop
lea rcx, [rbp - 0x50]
call fcn.14002b140
nop
lea rcx, [rbp - 0x30]
call fcn.14002b140
nop
lea rcx, [rsp + 0x70]
call fcn.14002b140
mov dword [rsp + 0x20], 0xffffffff
mov rcx, qword [0x140167a98]
mov r9d, dword [rcx + 0x1b8]
lea r8, [rbp + 0x10]
call fcn.140108950
nop
lea rcx, [rbp - 0x10]
call fcn.14002b140
nop
mov r9, r14
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x10]
call fcn.14010ee9c
nop
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14010ee40
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140004f60
nop
int3