Function at 0x140061250
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov r8, rdx
test rdx, rdx
je 0x140061287
cmp r8, 1
jne 0x14006128f
movzx eax, byte [rcx]
mov r11d, 0x100
mov r8d, 1
cmp eax, 0x2b
je 0x1400615f4
cmp eax, 0x2d
je 0x1400615f4
jmp 0x140061540
mov r11, r8
jmp 0x1400615ee
xor eax, eax
nop word cs:[rax + rax]
test al, al
jne 0x1400612a0
movzx r9d, byte [rcx]
nop dword [rax + rax]
mov eax, dword [0x141f36630]
xor edx, edx
div dword [0x141f36634]
or eax, 0x80c24349
and eax, 0xe4df7b49
cmp eax, 0x2be0f9c2
je 0x1400612b0
cmp r9b, 0x2b
jne 0x140061536
mov eax, dword [0x141f36638]
xor edx, edx
div dword [0x141f3663c]
mov eax, 0xc2e618c9
inc rcx
nop
mov edx, dword [0x141f36640]
and edx, dword [0x141f36644]
xor edx, 0xa3bce706
imul rdx, rax
shr rdx, 0x3f
imul edx, edx, 0x1f3f5006
cmp edx, 0xe79ad935
je 0x1400612f0
mov eax, 0xa93d81e7
lea r9, [r8 - 1]
nop word cs:[rax + rax]
mov edx, dword [0x141f36648]
sub edx, dword [0x141f3664c]
imul edx, edx, 0x64fe3f72
add edx, 0xdf47995b
imul rdx, rax
shr rdx, 0x3e
cmp edx, 0xd7db50c5
ja 0x140061330
nop dword [rax + rax]
mov eax, dword [0x141f36650]
xor edx, edx
div dword [0x141f36654]
imul eax, eax, 0x76656c23
and eax, 0x32d72ac1
imul eax, eax, 0x62fa3328
cmp eax, 0xa4b06c67
ja 0x140061360
cmp r8, 0xa
mov r8, r9
jb 0x140061540
mov eax, 0xa36b29b1
nop dword [rax + rax]
mov edx, dword [0x141f36658]
and edx, dword [0x141f3665c]
or edx, 0xf04698c8
imul edx, edx, 0x8a6eaca
imul rdx, rax
shr rdx, 0x3f
cmp edx, 0xeee55b4a
ja 0x1400613a0
xor r11d, r11d
mov esi, 0xa
xor eax, eax
nop word cs:[rax + rax]
mov r9d, eax
nop word cs:[rax + rax]
mov eax, dword [0x141f36660]
sub eax, dword [0x141f36664]
imul eax, eax, 0x6b218a39
add eax, 0x85b685f
cmp eax, 0x52c964c7
jb 0x1400613f0
sub r8, 1
jb 0x1400615c4
lea rdi, [rcx + 1]
mov eax, r9d
mul esi
mov r10d, eax
seto bl
movzx ecx, byte [rcx]
add ecx, 0xffffffd0
mov eax, dword [0x141f36668]
xor edx, edx
div dword [0x141f3666c]
mov eax, dword [str.S_]
imul eax, dword [0x141f36674]
xor eax, 0xff1d2f3c
add eax, 0x8f3fabe2
or eax, 0x5608037e
cmp eax, 0x2166c5e9
je 0x14006143b
test bl, bl
jne 0x1400615d1
nop word cs:[rax + rax]
mov eax, dword [0x141f36678]
or eax, dword [0x141f3667c]
xor eax, 0x858a07e
imul eax, eax, 0x1bbbd397
add eax, 0xfaf79181
cmp eax, 0xe009a74e
ja 0x140061470
cmp ecx, 0xa
jae 0x1400615e8
nop dword [rax]
mov eax, dword [0x141f36680]
sub eax, dword [0x141f36684]
shr eax, 4
imul rbx, rax, 0x114ef831
shr rbx, 0x38
or ebx, 0x589e6a0c
mov eax, r10d
add eax, ecx
setb dl
cmp ebx, 0xd401cb32
je 0x1400614a0
mov ecx, dword [0x141f36688]
xor ecx, dword [0x141f3668c]
and ecx, 0x7e580b64
imul ecx, ecx, 0xb999f2ac
add ecx, 0x8a38bf40
cmp ecx, 0x8dc9001a
jb 0x1400614d0
nop word cs:[rax + rax]
mov ecx, dword [0x141f36690]
and ecx, dword [0x141f36694]
or ecx, 0xe7522735
imul ecx, ecx, 0x4de11565
cmp ecx, 0x18be0d8c
je 0x140061500
mov rcx, rdi
test dl, dl
je 0x1400613e0
mov r11d, 0x200
jmp 0x1400615ee
cmp r8, 9
jae 0x140061393
xor r11d, r11d
xor r9d, r9d
nop word cs:[rax + rax]
movzx r10d, byte [rcx]
add r10d, 0xffffffd0
cmp r10d, 9
ja 0x1400615c9
add r9d, r9d
lea esi, [r9 + r9*4]
dec r8
nop dword [rax + rax]
mov eax, dword [0x141f36698]
xor edx, edx
div dword [0x141f3669c]
imul rax, rax, 0xb997a3
shr rax, 0x36
cmp eax, 0xd0abf340
je 0x140061570
inc rcx
mov r9d, r10d
add r9d, esi
nop dword [rax]
mov eax, dword [0x141f366a0]
xor edx, edx
div dword [0x141f366a4]
or eax, 0x18a00c8
add eax, 0xbcd382ce
cmp eax, 0x1e2158cc
jb 0x1400615a0
test r8, r8
jne 0x140061550
xor r8d, r8d
jmp 0x1400615f4
mov r11d, 0x100
jmp 0x1400615ee
xor r11d, r11d
cmp ecx, 0xa
setb r11b
shl r11, 8
add r11, 0x100
jmp 0x1400615ee
mov r11d, 0x100
mov r8d, 1
or r11, r8
shl r9, 0x20
or r9, r11
nop
mov eax, dword [0x141f366a8]
and eax, dword [0x141f366ac]
and eax, 0xc1ed0f67
xor eax, 0x2d076a6d
cmp eax, 0xc2f4dfa0
jb 0x140061600
mov rax, r9
pop rbx
pop rdi
pop rsi
ret