Function at 0x14012b8f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
push r13
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword gs:[0x58]
mov r15d, 4
mov dword [rsp + 0x20], 0x3dbc84cc
mov dword [rsp + 0x24], 0xd5257b31
mov rbx, qword [rax]
mov word [rsp + 0x28], 0x80c7
mov eax, dword [r15 + rbx]
cmp dword [0x140526b78], eax
jg 0x14012bcdb
xor edi, edi
lea r9, [0x1405185f8]
cmp byte [0x140518603], dil
movabs r13, 0xb00b1e5d4dd1e5bf
je 0x14012b986
mov r8d, edi
mov cl, r8b
mov rdx, r13
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0xb
jb 0x14012b963
mov byte [0x140518603], dil
mov eax, dword [r15 + rbx]
cmp dword [0x140526b84], eax
mov qword [rsp + 0x30], r9
mov dword [rbp + 0xa0], 0x63a58add
mov dword [rbp + 0xa4], 0xb06e6638
jg 0x14012bd34
cmp byte [0x140518610], dil
lea r9, [0x140518608]
je 0x14012b9e5
mov r8, rdi
mov cl, r8b
mov rdx, r13
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 8
jb 0x14012b9c2
mov byte [0x140518610], dil
mov eax, dword [r15 + rbx]
cmp dword [0x140526b88], eax
mov qword [rsp + 0x38], r9
mov dword [rsp + 0x20], 0x29bf84cc
mov dword [rsp + 0x24], 0x9e73713f
mov dword [rsp + 0x28], 0x4db49dda
jg 0x14012bd7f
cmp byte [0x1405185d4], dil
lea r9, [0x1405185c8]
je 0x14012ba48
mov r8, rdi
mov cl, r8b
mov rdx, r13
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0xc
jb 0x14012ba25
mov byte [0x1405185d4], dil
mov eax, dword [r15 + rbx]
cmp dword [0x140526b74], eax
mov qword [rsp + 0x40], r9
mov dword [rsp + 0x20], 0x3abd84d2
mov dword [rsp + 0x24], 0x9e6e6c3c
mov dword [rsp + 0x28], 0x4db49dda
jg 0x14012bdd4
cmp byte [0x1405185e4], dil
lea r9, [0x1405185d8]
je 0x14012baab
mov r8, rdi
mov cl, r8b
mov rdx, r13
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0xc
jb 0x14012ba88
mov byte [0x1405185e4], dil
mov eax, dword [r15 + rbx]
cmp dword [0x140526b8c], eax
mov qword [rsp + 0x48], r9
mov dword [rsp + 0x20], 0x39a280cb
mov dword [rsp + 0x24], 0xd5737b73
jg 0x14012be29
cmp byte [0x1405185c1], dil
lea r9, [0x1405185b8]
je 0x14012bb06
mov r8, rdi
mov cl, r8b
mov rdx, r13
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 9
jb 0x14012bae3
mov byte [0x1405185c1], dil
mov eax, dword [r15 + rbx]
cmp dword [0x140526b7c], eax
mov qword [rsp + 0x50], r9
mov dword [rsp + 0x20], 0x3bb089d4
mov dword [rsp + 0x24], 0xd5257b30
mov word [rsp + 0x28], 0x80c7
jg 0x14012be76
cmp byte [0x1405185f3], dil
lea r9, [0x1405185e8]
je 0x14012bb68
mov r8, rdi
mov cl, r8b
mov rdx, r13
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0xb
jb 0x14012bb45
mov byte [0x1405185f3], dil
mov eax, dword [r15 + rbx]
cmp dword [0x140526b80], eax
mov qword [rsp + 0x58], r9
mov dword [rsp + 0x20], 0x3db09cd2
mov dword [rsp + 0x24], 0xc86e302d
mov word [rsp + 0x28], 0xe5da
jg 0x14012becf
cmp byte [0x1405185b2], dil
lea r9, [0x1405185a8]
je 0x14012bbca
mov r8, rdi
mov cl, r8b
mov rdx, r13
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0xa
jb 0x14012bba7
mov byte [0x1405185b2], dil
mov eax, dword [r15 + rbx]
cmp dword [0x140526b90], eax
mov qword [rsp + 0x60], r9
mov dword [rsp + 0x20], 0x39a280cb
mov dword [rsp + 0x24], 0x9e7b6e3c
mov dword [rsp + 0x28], 0x4db49dda
jg 0x14012bc86
cmp byte [0x1405185a4], dil
lea r9, [0x140518598]
je 0x14012bc2d
mov r8, rdi
mov cl, r8b
mov rdx, r13
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0xc
jb 0x14012bc0a
mov byte [0x1405185a4], dil
mov r8d, 0x104
mov qword [rsp + 0x68], r9
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [0x14040d5d8]
mov rbx, rdi
mov rdx, qword [rsp + rbx*8 + 0x30]
lea rcx, [rsp + 0x70]
call qword [0x14040d758]
test rax, rax
jne 0x14012bc68
inc rbx
cmp rbx, 8
jl 0x14012bc48
jmp 0x14012bc6d
mov eax, 1
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r13
pop rbp
ret
lea rcx, [0x140526b90]
call fcn.1403d1794
cmp dword [0x140526b90], 0xffffffff
jne 0x14012bbf7
movsd xmm0, qword [rsp + 0x20]
lea rcx, [0x14040bb30]
mov eax, dword [rsp + 0x28]
movsd qword [0x140518598], xmm0
mov byte [0x1405185a4], 1
mov dword [0x1405185a0], eax
call fcn.1403d1a34
lea rcx, [0x140526b90]
call fcn.1403d1728
jmp 0x14012bbf7
lea rcx, [0x140526b78]
call fcn.1403d1794
cmp dword [0x140526b78], 0xffffffff
jne 0x14012b944
movsd xmm0, qword [rsp + 0x20]
lea rcx, [0x14040bba8]
movzx eax, word [rsp + 0x28]
movsd qword [0x1405185f8], xmm0
mov word [0x140518600], ax
mov word [0x140518602], 0x1d1
call fcn.1403d1a34
lea rcx, [0x140526b78]
call fcn.1403d1728
jmp 0x14012b944
lea rcx, [0x140526b84]
call fcn.1403d1794
cmp dword [0x140526b84], 0xffffffff
jne 0x14012b9af
mov rax, qword [rbp + 0xa0]
lea rcx, [0x14040bb9c]
mov qword [0x140518608], rax
mov byte [0x140518610], 1
call fcn.1403d1a34
lea rcx, [0x140526b84]
call fcn.1403d1728
jmp 0x14012b9af
lea rcx, [0x140526b88]
call fcn.1403d1794
cmp dword [0x140526b88], 0xffffffff
jne 0x14012ba12
movsd xmm0, qword [rsp + 0x20]
lea rcx, [0x14040bb8c]
mov eax, dword [rsp + 0x28]
movsd qword [0x1405185c8], xmm0
mov byte [0x1405185d4], 1
mov dword [0x1405185d0], eax
call fcn.1403d1a34
lea rcx, [0x140526b88]
call fcn.1403d1728
jmp 0x14012ba12
lea rcx, [0x140526b74]
call fcn.1403d1794
cmp dword [0x140526b74], 0xffffffff
jne 0x14012ba75
movsd xmm0, qword [rsp + 0x20]
lea rcx, [0x14040bb7c]
mov eax, dword [rsp + 0x28]
movsd qword [0x1405185d8], xmm0
mov byte [0x1405185e4], 1
mov dword [0x1405185e0], eax
call fcn.1403d1a34
lea rcx, [0x140526b74]
call fcn.1403d1728
jmp 0x14012ba75
lea rcx, [0x140526b8c]
call fcn.1403d1794
cmp dword [0x140526b8c], 0xffffffff
jne 0x14012bad0
movsd xmm0, qword [rsp + 0x20]
lea rcx, [0x14040bb6c]
movsd qword [0x1405185b8], xmm0
mov word [0x1405185c0], 0x1bf
call fcn.1403d1a34
lea rcx, [0x140526b8c]
call fcn.1403d1728
jmp 0x14012bad0
lea rcx, [0x140526b7c]
call fcn.1403d1794
cmp dword [0x140526b7c], 0xffffffff
jne 0x14012bb32
movsd xmm0, qword [rsp + 0x20]
lea rcx, [0x14040bb54]
movzx eax, word [rsp + 0x28]
movsd qword [0x1405185e8], xmm0
mov word [0x1405185f0], ax
mov word [0x1405185f2], 0x1d1
call fcn.1403d1a34
lea rcx, [0x140526b7c]
call fcn.1403d1728
jmp 0x14012bb32
lea rcx, [0x140526b80]
call fcn.1403d1794
cmp dword [0x140526b80], 0xffffffff
jne 0x14012bb94
movsd xmm0, qword [rsp + 0x20]
lea rcx, [0x14040bb40]
movzx eax, word [rsp + 0x28]
movsd qword [0x1405185a8], xmm0
mov word [0x1405185b0], ax
mov byte [0x1405185b2], 1
call fcn.1403d1a34
lea rcx, [0x140526b80]
call fcn.1403d1728
jmp 0x14012bb94