Function at 0x14005f050
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbp
push rbx
mov r8, rdx
mov eax, 0x9ae8a247
nop dword [rax]
mov edx, dword [0x141dcc288]
xor edx, dword [0x141dcc28c]
add edx, 0x69aeef00
xor edx, 0x82c9f42
imul rdx, rax
shr rdx, 0x3e
cmp edx, 0xb1d66367
je 0x14005f060
mov r11d, 1
test r8, r8
je 0x14005f0e3
cmp r8, 1
jne 0x14005f0ea
movzx r9d, byte [rcx]
nop dword [rax]
mov eax, dword [0x141dcc298]
xor edx, edx
div dword [0x141dcc29c]
and eax, 0x80104095
xor eax, 0x7bda5bd3
cmp eax, 0x47fb15c0
jb 0x14005f0a0
mov esi, 0x100
cmp r9d, 0x2b
je 0x14005f32a
mov r8d, 1
cmp r9d, 0x2d
je 0x14005f32a
jmp 0x14005f170
xor esi, esi
jmp 0x14005f32a
movzx r9d, byte [rcx]
mov eax, dword [0x141dcc2b0]
xor edx, edx
div dword [0x141dcc2b4]
nop dword [rax]
mov eax, dword [0x141dcc2b8]
add eax, dword [0x141dcc2bc]
imul rax, rax, 0x2e103847
shr rax, 0x3d
cmp eax, 0x64f7d28b
je 0x14005f100
cmp r9b, 0x2b
jne 0x14005f140
inc rcx
lea rax, [r8 - 1]
cmp r8, 6
mov r8, rax
jb 0x14005f170
jmp 0x14005f25f
mov eax, dword [0x141dcc2a8]
xor edx, edx
div dword [0x141dcc2ac]
and eax, 0xc0020080
add eax, 0xca28824d
cmp eax, 0x7b02e41a
jb 0x14005f140
cmp r8, 5
jae 0x14005f25f
nop dword [rax]
mov eax, dword [0x141dcc2a0]
sub eax, dword [0x141dcc2a4]
add eax, 0xf66c521c
or eax, 0xe16160f6
imul eax, eax, 0x4fcdb71e
cmp eax, 0x86defd19
je 0x14005f170
xor r9d, r9d
nop word cs:[rax + rax]
mov eax, dword [0x141dcc2e0]
xor edx, edx
div dword [0x141dcc2e4]
mov eax, dword [0x141dcc2e8]
and eax, dword [0x141dcc2ec]
add eax, 0x98425e5b
and eax, 0x1824b59f
cmp eax, 0xe933a21c
ja 0x14005f1ae
movzx eax, byte [rcx]
add eax, 0xffffffd0
cmp eax, 9
ja 0x14005f325
mov edx, dword [0x141dcc2f0]
mov r10d, dword [0x141dcc2f4]
add edx, r10d
add edx, 0xfd816925
or edx, 0xf8653d23
imul rdx, rdx, 0x3f5bd039
shr rdx, 0x3d
cmp edx, 0x3eb89240
je 0x14005f1da
add r9d, r9d
dec r8
inc rcx
lea r9d, [r9 + r9*4]
add r9d, eax
nop dword [rax]
mov eax, dword [0x141dcc2f8]
add eax, dword [0x141dcc2fc]
imul eax, eax, 0x7a6010c
add eax, 0xc11d14ff
shr eax, 4
imul rax, rax, 0xa0aa1bd
shr rax, 0x37
cmp eax, 0x6e2e8eab
ja 0x14005f220
test r8, r8
jne 0x14005f1a0
xor esi, esi
xor r11d, r11d
jmp 0x14005f32a
xor esi, esi
mov di, 0xa
xor eax, eax
nop word [rax + rax]
mov r9d, eax
sub r8, 1
jb 0x14005f257
mov eax, r9d
mul di
mov r10d, eax
seto bpl
mov eax, dword [0x141dcc2c0]
xor edx, edx
div dword [0x141dcc2c4]
mov eax, dword [0x141dcc2c8]
xor edx, edx
div dword [0x141dcc2cc]
add eax, 0xa1e7caa9
or eax, 0x83c4a950
and eax, 0xc3efa9d1
cmp eax, 0xbdfc8df3
ja 0x14005f294
movzx ebx, byte [rcx]
add ebx, 0xffffffd0
cmp ebx, 0xa
setae al
or al, bpl
jne 0x14005f33c
inc rcx
nop dword [rax]
mov eax, dword [0x141dcc2d0]
and eax, dword [0x141dcc2d4]
or eax, 0x5195058d
and eax, 0x519d058f
cmp eax, 0x5ff2a4bd
ja 0x14005f2d0
mov ebp, dword [0x141dcc2d8]
sub ebp, dword [0x141dcc2dc]
or ebp, 0x9fdf0d77
and ebp, 0xffdf5ff7
mov eax, r10d
add ax, bx
setb dl
cmp ebp, 0xa6578230
jb 0x14005f2ed
test dl, dl
je 0x14005f270
mov esi, 0x200
jmp 0x14005f32a
mov esi, 0x100
shl r9d, 0x10
or r9d, esi
or r9d, r11d
mov eax, r9d
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov ecx, 0xbba3ed51
xor esi, esi
nop word cs:[rax + rax]
cmp ebx, 0xa
setb r8b
mov eax, dword [0x141dcc290]
xor edx, edx
div dword [0x141dcc294]
imul rax, rcx
shr rax, 0x3e
imul eax, eax, 0xaccdea93
cmp eax, 0x960ffdfd
je 0x14005f350
mov sil, r8b
shl esi, 8
add esi, 0x100
jmp 0x14005f32a