Function at 0x2026b060
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov esi, r9d
test ecx, ecx
je 0x2026b0c9
test edx, edx
je 0x2026b109
mov ecx, 0x5976853
add ecx, dword [0x2056aa98]
xor ecx, esi
mov eax, dword [0x2056a108]
add eax, esi
add eax, 0xd850
cdqe
add rax, qword [0x2056a158]
call qword [case.0x2010e313.0]
test al, 1
jne 0x2026b250
mov cl, 0x96
nop dword [rax]
mov al, 0xa0
lock cmpxchg byte [0x2056a0cc], cl
je 0x2026b215
cmp al, 0xf
jne 0x2026b0b0
jmp 0x2026b250
mov eax, 0x5875d356
add eax, dword [0x2056aa98]
cmp edx, eax
jne 0x2026b18d
movzx eax, byte [0x20569f55]
cmp al, 0xe8
je 0x2026b347
mov cl, 0xff
nop dword [rax]
mov al, 0x7a
lock cmpxchg byte [0x20569f55], cl
je 0x2026b302
cmp al, 0xe8
jne 0x2026b0f0
jmp 0x2026b347
mov ecx, esi
xor ecx, 0x994a7426
mov eax, dword [0x2056a118]
add eax, esi
add eax, 0xd850
cdqe
add rax, qword [0x2056a140]
call qword [case.0x2010e313.0]
test al, 1
jne 0x2026b2f6
mov edi, esi
xor edi, 0xf064b337
lea rbx, [rsp + 0x2b]
nop word cs:[rax + rax]
mov eax, dword [0x2056a10c]
add eax, esi
add eax, 0xd850
cdqe
add rax, qword [0x2056a150]
mov rcx, rbx
mov edx, edi
call qword [case.0x2010e313.0]
test al, 1
jne 0x2026b25c
movzx eax, byte [0x2056aa9c]
add al, 0x56
cmp byte [rsp + 0x2b], al
jne 0x2026b150
jmp 0x2026b2f6
movzx eax, byte [0x20569e12]
cmp al, 0x9a
je 0x2026b3d1
mov edi, esi
xor edi, 0xbdb5fee
lea rbx, [rsp + 0x29]
mov ebp, esi
xor ebp, 0xc413c565
nop word cs:[rax + rax]
mov eax, dword [0x2056a100]
add eax, esi
add eax, 0xd850
cdqe
add rax, qword [0x2056a128]
mov rcx, rbx
mov edx, edi
call qword [case.0x2010e313.0]
test al, 1
jne 0x2026b353
movzx ecx, byte [rsp + 0x29]
mov eax, dword [0x2056a110]
add eax, esi
add eax, 0xd850
cdqe
add rax, qword [0x2056a130]
mov edx, ebp
call qword [case.0x2010e313.0]
test al, 1
je 0x2026b1c0
jmp 0x2026b3d1
xor eax, eax
lea rcx, [0x2056a0c0]
lea rdx, [0x2047a1c0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xb
jg 0x2026b248
inc rax
jmp 0x2026b230
mov al, 0xf
xchg byte [0x2056a0cc], al
lea rax, [0x2056a0c0]
jmp 0x2026b3d8
xor eax, eax
lea rbx, [0x20569e80]
lea r14, [0x20479f90]
mov ebp, esi
xor ebp, 0xc29f1ee0
lea rdi, [rsp + 0x2c]
nop dword [rax]
movsxd r8, eax
lea rdx, [rbx + r8]
movzx ecx, byte [r8 + rbx]
xor cl, byte [r8 + r14]
mov eax, dword [0x2056a11c]
add eax, esi
add eax, 0xd850
cdqe
add rax, qword [0x2056a138]
mov dword [rsp + 0x20], ebp
mov r9, rdi
call qword [case.0x2010e313.0]
mov eax, dword [rsp + 0x2c]
cmp eax, 0x10
jl 0x2026b280
mov eax, dword [0x2056aa98]
mov ecx, eax
xor ecx, 0xfa520c41
mov edx, eax
and edx, 0x7a520c41
lea ecx, [rcx + rdx*2]
xor ecx, esi
mov edx, dword [0x2056a114]
sub esi, eax
lea eax, [rsi + rdx]
add eax, 0xa78b04fa
cdqe
add rax, qword [0x2056a120]
call qword [case.0x2010e313.0]
lea rax, [0x20569e80]
jmp 0x2026b3d8
xor edx, edx
lea rax, [0x20569f40]
lea rcx, [0x2047a040]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
xor byte [rdx + rax], r8b
mov r8d, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
cmp edx, 0x15
jl 0x2026b320
mov al, 0xe8
xchg byte [0x20569f55], al
lea rax, [0x20569f40]
jmp 0x2026b3d8
xor edi, edi
lea r14, [0x20569e10]
mov ebp, 0xe75b7efe
lea rbx, [rsp + 0x2a]
nop word cs:[rax + rax]
movzx edx, byte [rdi + r14]
mov r9d, dword [0x2056aa98]
add r9d, ebp
xor r9d, esi
mov eax, dword [0x2056a104]
add eax, esi
add eax, 0xd850
cdqe
add rax, qword [0x2056a148]
mov ecx, edi
mov r8, rbx
call qword [case.0x2010e313.0]
movzx eax, byte [rsp + 0x2a]
mov byte [rdi + r14], al
lea eax, [rdi + 1]
cmp eax, 1
jg 0x2026b3b9
inc rdi
jmp 0x2026b370
movzx eax, byte [0x2056aa9c]
mov ecx, eax
xor cl, 0xb3
and al, 0x33
add al, al
add al, cl
xchg byte [0x20569e12], al
lea rax, [0x20569e10]
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret