Function at 0x1401608b0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov eax, dword [0x1404ff818]
mov r8d, eax
xor r8d, 0xbc252bb4
and eax, 0x3c252bb4
lea eax, [r8 + rax*2]
cmp ecx, eax
jne 0x14016096c
mov eax, dword [0x14055f3a0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
nop word cs:[rax + rax]
xor eax, eax
test al, al
jne 0x1401608f0
test edx, edx
je 0x1401609a9
movzx eax, byte [0x1404ff407]
nop word cs:[rax + rax]
cmp al, 0x12
je 0x140160bbe
movzx ecx, byte [0x1404ff828]
mov edx, ecx
xor dl, 0x93
mov eax, ecx
and al, 0x13
add al, al
add al, dl
add cl, 0xbd
lock cmpxchg byte [0x1404ff407], cl
jne 0x140160910
xor eax, eax
lea rcx, [0x1404ff400]
lea rdx, [0x140425290]
nop dword [rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 6
jg 0x140160a43
inc rax
jmp 0x140160950
test edx, edx
je 0x1401609d9
movzx eax, byte [0x1404ff4d5]
cmp al, 0xae
je 0x140160c96
mov cl, 0x54
nop word cs:[rax + rax]
mov al, 0xe
lock cmpxchg byte [0x1404ff4d5], cl
je 0x140160a57
cmp al, 0xae
jne 0x140160990
jmp 0x140160c96
movzx eax, byte [0x1404ff60f]
cmp al, 0x62
je 0x140160b85
mov cl, 0x79
nop word [rax + rax]
mov al, 0xd7
lock cmpxchg byte [0x1404ff60f], cl
je 0x140160a76
cmp al, 0x62
jne 0x1401609c0
jmp 0x140160b85
movzx eax, byte [0x1404ff50e]
cmp al, 0x69
je 0x140160c66
movzx ecx, byte [0x1404ff828]
lea eax, [rcx + 0x2b]
add cl, 0xba
lock cmpxchg byte [0x1404ff50e], cl
je 0x140160b32
mov ecx, dword [0x14055f3a4]
cmp ecx, 0x36
jg 0x140160a30
nop
mov ecx, dword [0x14055f3a0]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
je 0x1401609e0
nop word cs:[rax + rax]
mov ecx, dword [0x14055f3a0]
lea edx, [rcx + 1]
imul edx, ecx
test dl, 1
jne 0x140160a30
jmp 0x140160a10
mov eax, dword [0x14055f3a4]
cmp eax, 0x48
jl 0x140160b90
jmp 0x140160ba1
lea rax, [fcn.1401608b0]
add eax, eax
add eax, 0xf80
mov ecx, eax
not ecx
test ecx, eax
jne 0x140160cc0
jmp 0x140160ca2
xor r8d, r8d
mov r9d, 0xbc252be8
lea r10, [0x1404ff600]
lea r11, [0x140425480]
mov bl, 1
jmp 0x140160aad
inc r8d
cmp r8d, 0xf
jge 0x140160b41
mov eax, dword [0x14055f3a4]
mov ecx, dword [0x1404ff818]
add ecx, r9d
movsxd rsi, r8d
cmp eax, ecx
jge 0x140160ae0
nop word cs:[rax + rax]
movzx eax, byte [rsi + r11]
xor byte [rsi + r10], al
test bl, bl
jne 0x140160aa0
nop dword [rax]
movzx ecx, byte [rsi + r10]
movzx eax, byte [rsi + r11]
sub al, cl
sub al, cl
mul cl
mov edx, eax
shl dl, cl
mov edi, eax
mov ecx, edx
shl dil, cl
mov ecx, eax
neg cl
mov edx, ecx
xor dl, dil
and dil, cl
add dil, dil
add dil, dl
sub dil, al
mov edx, ecx
xor dl, dil
and dil, cl
add dil, dil
add dil, dl
xor dil, al
mov byte [rsi + r10], dil
mov eax, dword [0x14055f3a4]
cmp eax, 0x15
jge 0x140160ae0
jmp 0x140160ad0
xor eax, eax
test al, al
jne 0x140160bf0
jmp 0x140160bc7
mov eax, 0xbc252c08
xor ecx, ecx
nop dword [rax + rax]
mov edx, dword [0x14055f3a4]
mov r8d, dword [0x1404ff818]
add r8d, eax
cmp edx, r8d
jl 0x140160b79
mov edx, dword [0x14055f3a0]
lea r8d, [rdx + 1]
imul r8d, edx
test r8b, 1
jne 0x140160b50
test cl, cl
jne 0x140160b65
mov al, 0x62
xchg byte [0x1404ff60f], al
lea rax, [0x1404ff600]
pop rbx
pop rdi
pop rsi
ret
mov eax, dword [0x14055f3a0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x140160bb6
mov al, 1
nop word cs:[rax + rax]
test al, al
je 0x140160bb0
jmp 0x140160b90
mov al, 0x12
xchg byte [0x1404ff407], al
lea rax, [0x1404ff400]
jmp 0x140160b8c
mov eax, dword [0x14055f3a4]
mov ecx, dword [0x1404ff818]
mov edx, ecx
xor edx, 0xbc252c05
and ecx, 0x3c252c05
lea ecx, [rdx + rcx*2]
cmp eax, ecx
jl 0x140160bfd
nop dword [rax + rax]
mov eax, dword [0x14055f3a4]
cmp eax, 0x59
jge 0x140160bf0
jmp 0x140160bc7
xor edx, edx
lea rax, [0x1404ff500]
lea rcx, [0x140425380]
nop dword [rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, dword [0x1404ff818]
add edx, r8d
add edx, 0xbc252bb5
add r8d, 0xbc252bc2
cmp edx, r8d
jl 0x140160c10
mov eax, dword [0x14055f3a4]
cmp eax, 0x2c
jge 0x140160c5c
mov al, 0x69
xchg byte [0x1404ff50e], al
mov eax, dword [0x14055f3a0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x140160c66
mov al, 0x69
xchg byte [0x1404ff50e], al
jmp 0x140160c43
mov eax, dword [0x14055f3a4]
nop dword [rax]
mov eax, dword [0x14055f3a0]
mov ecx, dword [0x1404ff818]
neg ecx
add ecx, eax
inc ecx
imul ecx, eax
test cl, 1
jne 0x140160c70
lea rax, [0x1404ff500]
jmp 0x140160b8c
lea rax, [0x1404ff4c0]
jmp 0x140160b8c
mov eax, dword [0x14055f3a4]
mov ecx, 0xbc252bd3
add ecx, dword [0x1404ff818]
cmp eax, ecx
jl 0x140160ce3
nop word [rax + rax]
mov eax, dword [0x14055f3a4]
mov ecx, dword [0x1404ff818]
mov edx, ecx
xor edx, 0xbc252bef
and ecx, 0x3c252bef
lea ecx, [rdx + rcx*2]
cmp eax, ecx
jge 0x140160cc0
jmp 0x140160ca2
xor eax, eax
lea rcx, [0x1404ff4c0]
lea rdx, [0x140425340]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x14
jg 0x140160d18
inc rax
jmp 0x140160d00
movzx eax, byte [0x1404ff828]
add al, 0x35
xchg byte [0x1404ff4d5], al
jmp 0x140160c96