Function at 0x14000db00
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
movzx eax, byte [rcx]
cmp eax, 0x12
je 0x14000dbc0
cmp eax, 0x13
je case.0x14000db5e.0
nop dword [rax]
mov edx, dword [0x141f2d850]
add edx, dword [0x141f2d854]
xor edx, 0xfe3e457d
add edx, 0x71fec1df
and edx, 0x9d59a229
cmp edx, 0x157ffafe
jb 0x14000db20
cmp rax, 0x10
ja case.default.0x14000db5e
lea rdx, [0x141f263c4]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov rdx, qword [rcx + 8]
nop word cs:[rax + rax]
mov eax, dword [0x141f2d860]
sub eax, dword [0x141f2d864]
and eax, 0xaed4f6df
imul rax, rax, 0x4564bfaf
shr rax, 0x3d
or eax, 0xf64e7ae2
cmp eax, 0x5a8ccd74
jb 0x14000db70
nop dword [rax + rax]
mov eax, dword [0x141f2d868]
or eax, dword [0x141f2d86c]
cmp eax, 0xfc7242de
je 0x14000dba0
jmp 0x14000de04
mov eax, dword [0x141f2d830]
or eax, dword [0x141f2d834]
and eax, 0xff0281f2
xor eax, 0x7197f79e
shr eax, 1
imul rax, rax, 0x219b0973
shr rax, 0x3b
cmp eax, 0xfca60537
ja 0x14000dbc0
nop word [rax + rax]
mov eax, dword [0x141f2d838]
and eax, dword [0x141f2d83c]
xor eax, 0x2164300
and eax, 0x9297d343
imul rdx, rax, 0x24f5dec3
shr rdx, 0x20
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
cmp eax, 0x932cdc8e
ja 0x14000dbf0
mov rsi, qword [rcx + 8]
mov eax, dword [0x141f2d840]
or eax, dword [0x141f2d844]
mov rdi, qword [rsi]
and eax, 0x5c551779
add eax, 0x100b4eb9
cmp eax, 0x595a0659
jae 0x14000dc50
mov rcx, rsi
call qword [rdi + 0x10]
nop dword [rax + rax]
mov eax, dword [0x141f2d848]
or eax, dword [0x141f2d84c]
imul ebx, eax, 0xfd648476
mov rcx, rsi
call qword [rdi + 0x10]
cmp ebx, 0x6275ffdd
je 0x14000dc50
mov eax, dword [0x141f2d828]
imul eax, dword [0x141f2d82c]
add eax, 0x2427df22
and eax, 0x2ecb06fb
cmp eax, 0x11fa8017
ja case.0x14000db5e.0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov eax, dword [0x141f2d888]
add eax, dword [0x141f2d88c]
xor eax, 0x700
or eax, 0xffeef8ad
cmp eax, 0xbb9861ec
jb case.0x14000db5e.10
mov r8, qword [rcx + 8]
nop word cs:[rax + rax]
mov eax, dword [0x141f2d890]
xor edx, edx
div dword [0x141f2d894]
imul eax, eax, 0xdeceda4d
add eax, 0xd4ccd10f
or eax, 0x91310ec9
cmp eax, 0xb409e235
ja 0x14000dcd0
mov eax, 0x10
test r8, r8
jne 0x14000de12
jmp case.0x14000db5e.0
mov eax, dword [0x141f2d898]
and eax, dword [0x141f2d89c]
xor eax, 0x76b7bd34
cmp eax, 0x50bdb230
jb case.0x14000db5e.12
mov rdx, qword [rcx + 8]
nop dword [rax]
mov eax, dword [0x141f2d8a0]
xor eax, dword [0x141f2d8a4]
imul eax, eax, 0x9daadc26
xor eax, 0xd5f4406
imul eax, eax, 0x501668b5
cmp eax, 0xe27146a
je 0x14000dd30
jmp 0x14000de04
mov rdx, qword [rcx + 8]
nop dword [rax]
mov eax, dword [0x141f2d858]
or eax, dword [0x141f2d85c]
xor eax, 0x6bfca80c
add eax, 0xe68d0cc5
and eax, 0x5f7a2ad0
cmp eax, 0x472d3636
ja 0x14000dd60
jmp 0x14000de04
mov eax, dword [0x141f2d870]
xor edx, edx
div dword [0x141f2d874]
nop word cs:[rax + rax]
mov eax, dword [0x141f2d878]
sub eax, dword [0x141f2d87c]
add eax, 0x9ef45051
imul rax, rax, 0x8fdbd95
shr rax, 0x39
or eax, 0x781c665b
cmp eax, 0xe428db9a
je 0x14000dda0
nop dword [rax + rax]
mov eax, dword [0x141f2d880]
xor edx, edx
div dword [0x141f2d884]
add eax, 0xc7ad77b
and eax, 0xf6e4207d
cmp eax, 0x2db63196
ja 0x14000ddd0
mov rdx, qword [rcx + 8]
xor eax, eax
nop word cs:[rax + rax]
test al, al
jne 0x14000de00
mov eax, 0x10
test rdx, rdx
je case.0x14000db5e.0
mov r8, qword [rcx + rax]
mov rcx, qword [0x141f49060]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp case.0x14000db5e.0
mov rdx, qword [rcx + 0x10]
xor eax, eax
test al, al
jne 0x14000de30
mov eax, 8
test rdx, rdx
jne 0x14000de12
jmp case.0x14000db5e.0