Function at 0x140059190
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
mov rsi, rdx
mov r9, rcx
nop dword [rax + rax]
mov eax, dword [0x141dc8bf8]
sub eax, dword [0x141dc8bfc]
imul eax, eax, 0xfc80d3ca
add eax, 0xcabe46dc
cmp eax, 0x3686e416
jb 0x1400591a0
cmp r9, 0xffffffffffffffbf
setl cl
test rsi, rsi
sete al
or al, cl
nop dword [rax]
mov ecx, dword [0x141dc8c00]
or ecx, dword [0x141dc8c04]
imul ecx, ecx, 0xf41511d5
xor ecx, 0x1220c1
and ecx, 0x8aba38c1
cmp ecx, 0x6f2c413e
ja 0x1400591d0
test al, al
je 0x140059204
xor r8d, r8d
xor eax, eax
jmp 0x140059493
mov r8d, 0xff
cmp r9, 0x26
jle 0x140059217
xor eax, eax
jmp 0x140059493
movabs rdi, 0x3fffffffff
test rsi, rsi
je 0x140059230
bsr rcx, rsi
xor rcx, 0x3f
jmp 0x140059235
mov ecx, 0x40
shl rsi, cl
mov rdx, r9
shl rdx, 4
lea r10, [0x141db6418]
lea rbx, [rdx + r10]
add rbx, 0x1560
mov rax, rsi
mul qword [rdx + r10 + 0x1560]
mov r14, rdx
and r14, rdi
mov r11, rax
mov r10, rdx
nop dword [rax + rax]
mov eax, dword [0x141dc8c08]
xor edx, edx
div dword [0x141dc8c0c]
and eax, 0x2420c802
or eax, 0x198f37e8
xor eax, 0xa86f88ce
cmp eax, 0x7e23ddef
jb 0x140059270
cmp r14, rdi
jne 0x1400592c8
nop dword [rax]
mov edi, dword [0x141dc8c10]
sub edi, dword [0x141dc8c14]
mov rax, rsi
mul qword [rbx + 8]
and edi, 0x5480691e
cmp edi, 0x281fb388
je 0x1400592a0
add r11, rdx
adc r10, 0
cmp r9, 0xffffffffffffffe4
jg 0x1400592e1
cmp r11, 0xffffffffffffffff
jne 0x1400592e1
xor eax, eax
mov r8d, 0xffffffff
jmp 0x140059493
mov rax, r10
shr rax, 0x3f
imul edx, r9d, 0x3526a
sar edx, 0x10
sub edx, ecx
add edx, eax
add edx, 0x3f
mov rcx, rax
or rcx, 0x26
mov rax, r10
shr rax, cl
nop word cs:[rax + rax]
mov esi, dword [0x141dc8c18]
imul esi, dword [0x141dc8c1c]
imul esi, esi, 0x54bbe56b
add esi, 0x3be6a317
and esi, 0xea1b36cb
cmp esi, 0xe8aafe5a
ja 0x140059310
cmp edx, 0xffffff82
jge 0x1400593aa
nop dword [rax]
mov ecx, dword [0x141dc8c30]
and ecx, dword [0x141dc8c34]
xor ecx, 0x1ab9c396
add ecx, 0x250f9ea2
cmp ecx, 0x5e3c8f8e
jb 0x140059340
cmp edx, 0xffffff43
jb 0x1400591fa
mov ecx, 2
sub ecx, edx
mov rdx, rax
shr rdx, cl
bt rax, rcx
adc rdx, 0
mov rax, rdx
shr rax, 1
mov cl, 1
nop dword [rax]
xor r8d, r8d
cmp rdx, 0x1000000
setae r9b
test cl, cl
je 0x140059390
mov r8b, r9b
jmp 0x140059493
add r9, 0x11
nop
mov esi, dword [0x141dc8c20]
sub esi, dword [0x141dc8c24]
xor esi, 0x4480080
or esi, 0x129106
and esi, 0x45e91b6
cmp esi, 0x4d9554dc
je 0x1400593b0
cmp r11, 2
setb r11b
cmp r9, 0x1c
setb bl
and bl, r11b
mov r9d, eax
and r9d, 3
cmp r9d, 1
sete r9b
and r9b, bl
mov r11, rax
shl r11, cl
mov ecx, 0xa7b70477
nop word cs:[rax + rax]
mov ebx, dword [0x141dc8c28]
or ebx, dword [0x141dc8c2c]
and ebx, 0xefb2a1b6
add ebx, 0xb3c25a47
imul rbx, rcx
shr rbx, 0x3e
mov edi, eax
and edi, 0xfffffffe
cmp r11, r10
cmovne rdi, rax
test r9b, r9b
cmove rdi, rax
mov esi, edi
and esi, 1
add rsi, rdi
cmp rsi, 0x2000000
mov edi, edx
sbb edi, 0xffffffff
cmp ebx, 0x73bdfaa1
ja 0x140059410
add edi, 0x7f
cmp edi, 0xfe
ja 0x140059210
mov eax, esi
shr eax, 1
and eax, 0x37fffff
xor ecx, ecx
nop dword [rax]
test cl, cl
jne 0x140059480
xor ecx, ecx
cmp esi, 0x2000000
cmovae rax, rcx
mov r8d, edi
xor ecx, ecx
nop word cs:[rax + rax]
test cl, cl
jne 0x1400594a0
mov edx, r8d
pop rbx
pop rdi
pop rsi
pop r14
ret