Function at 0x140058120
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
mov r9, rdx
lea rax, [rdx + 7]
and rax, 0xfffffffffffffff8
sub rax, rdx
je 0x14005822e
nop dword [rax]
mov edx, dword [0x141dc8380]
imul edx, dword [0x141dc8384]
shr edx, 1
imul rdx, rdx, 0x40a91979
shr rdx, 0x3d
cmp rax, r8
mov r10, r8
cmovb r10, rax
cmp edx, 0x84a8f130
je 0x140058140
mov eax, dword [0x141dc8388]
xor edx, edx
div dword [0x141dc838c]
nop word [rax + rax]
mov eax, dword [0x141dc8390]
imul eax, dword [0x141dc8394]
cmp eax, 0x75d951b7
je 0x140058180
test r10, r10
je 0x14005822e
xor r11d, r11d
cmp byte [r9 + r11], cl
je 0x1400583fa
mov eax, dword [0x141dc83f0]
xor edx, edx
div dword [0x141dc83f4]
add eax, 0x6d83b0bc
and eax, 0x1a4cfb09
add eax, 0x46ee92c0
cmp eax, 0xd6f3892a
ja 0x1400581aa
inc r11
nop word cs:[rax + rax]
mov eax, dword [0x141dc83f8]
add eax, dword [0x141dc83fc]
cmp eax, 0xdd6e583d
je 0x1400581e0
cmp r10, r11
jne 0x1400581a0
lea r11, [r8 - 0x10]
nop dword [rax]
mov eax, dword [0x141dc83a0]
and eax, dword [0x141dc83a4]
imul eax, eax, 0xf211249d
and eax, 0x722441d7
imul eax, eax, 0xa16b30dd
cmp eax, 0xb05435a1
ja 0x140058200
cmp r10, r11
jbe 0x140058254
jmp 0x14005837c
lea r11, [r8 - 0x10]
xor r10d, r10d
nop word cs:[rax + rax]
mov eax, dword [0x141dc8398]
imul eax, dword [0x141dc839c]
cmp eax, 0x91a95740
je 0x140058240
movabs rax, 0x101010101010101
movzx esi, cl
imul rsi, rax
nop word cs:[rax + rax]
mov eax, dword [0x141dc83a8]
add eax, dword [0x141dc83ac]
imul rax, rax, 0x5192a139
shr rax, 0x3d
cmp eax, 0x94c78975
je 0x140058270
movabs rdi, 0xfefefefefefefeff
movabs rbx, 0x8080808080808080
nop word cs:[rax + rax]
mov eax, dword [0x141dc83b0]
xor edx, edx
div dword [0x141dc83b4]
or eax, 0x3e2f7c00
cmp eax, 0x4f668718
je 0x1400582b0
mov rax, qword [r9 + r10]
xor rax, rsi
lea rdx, [rax + rdi]
not rax
and rax, rdx
mov rdx, qword [r9 + r10 + 8]
xor rdx, rsi
lea r14, [rdx + rdi]
not rdx
and rdx, r14
or rdx, rax
test rdx, rbx
jne 0x14005837c
mov eax, dword [0x141dc83b8]
xor edx, edx
div dword [0x141dc83bc]
mov eax, dword [0x141dc83c0]
sub eax, dword [0x141dc83c4]
imul eax, eax, 0x6898e2cb
cmp eax, 0xfec43427
je 0x140058307
add r10, 0x10
mov eax, dword [0x141dc83c8]
xor edx, edx
div dword [0x141dc83cc]
xor eax, 0xa490d417
imul eax, eax, 0x69ef1a0a
add eax, 0x6cf949e7
cmp eax, 0x6043c7c1
jb 0x140058324
nop dword [rax]
mov eax, dword [0x141dc83d0]
imul eax, dword [0x141dc83d4]
add eax, 0x52194bc5
and eax, 0xac6c0213
add eax, 0xa782f4b
cmp eax, 0x5858f301
jb 0x140058350
cmp r10, r11
jbe 0x1400582b0
sub r8, r10
jne 0x140058385
xor eax, eax
jmp 0x140058400
add r9, r10
xor eax, eax
xor edx, edx
nop dword [rax]
cmp byte [r9 + rdx], cl
je 0x1400583f3
inc rdx
nop dword [rax]
mov r10d, dword [0x141dc83d8]
sub r10d, dword [0x141dc83dc]
imul r10d, r10d, 0x42e8ac34
cmp r10d, 0x2e41e73f
je 0x1400583a0
nop
mov r10d, dword [0x141dc83e0]
sub r10d, dword [0x141dc83e4]
and r10d, 0x3956063e
imul r10d, r10d, 0xb72781e1
add r10d, 0x8a845886
cmp r10d, 0x156f09e5
jb 0x1400583c0
cmp rdx, r8
jne 0x140058390
jmp 0x140058400
mov eax, 1
jmp 0x140058400
mov eax, 1
nop
mov ecx, dword [0x141dc83e8]
add ecx, dword [0x141dc83ec]
xor ecx, 0x6c30f5a2
imul rcx, rcx, 0x4dfabf63
shr rcx, 0x3e
imul ecx, ecx, 0xdfb63208
cmp ecx, 0x5fecd980
je 0x140058400
pop rbx
pop rdi
pop rsi
pop r14
ret