Function at 0x1401679f0
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
je 0x140167b76
test edx, edx
je 0x140167ab2
movzx eax, byte [0x1404df7ad]
cmp al, 0x29
je 0x140167e19
mov cl, 0xcb
nop word cs:[rax + rax]
mov eax, dword [0x1405319a4]
cmp eax, 0x15
jg 0x140167a60
nop dword [rax + rax]
mov al, 0x3f
lock cmpxchg byte [0x1404df7ad], cl
sete dl
mov r8d, dword [0x1405319a0]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
je 0x140167a80
nop word cs:[rax + rax]
mov al, 0x3f
lock cmpxchg byte [0x1404df7ad], cl
mov eax, dword [0x1405319a0]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
jne 0x140167a60
jmp 0x140167a30
test dl, dl
jne 0x140167bc8
cmp al, 0x29
jne 0x140167a20
jmp 0x140167e19
movzx eax, byte [0x1404df933]
mov eax, dword [0x1405319a4]
cmp eax, 0x23
jl 0x140167ac3
mov eax, dword [0x1405319a0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140167aa0
movzx eax, byte [0x1404df933]
mov ecx, dword [0x1405319a4]
cmp ecx, 0x16
jg 0x140167aa0
cmp al, 0xf1
je 0x140167d70
mov r8b, 0xb6
mov r9d, 0x9da3dd53
jmp 0x140167af9
cmp cl, 0xf1
je 0x140167d70
mov al, 0xe1
lock cmpxchg byte [0x1404df933], r8b
je 0x140167c0c
mov ecx, eax
mov edx, dword [0x1405319a0]
lea eax, [rdx - 1]
imul eax, edx
mov r10d, dword [0x1404e0188]
add r10d, r9d
xor edx, edx
div r10d
test edx, edx
jne 0x140167b50
nop dword [rax + rax]
mov eax, dword [0x1405319a0]
mov edx, 0x1fcb4ef9
sub edx, eax
imul edx, eax
test dl, 1
je 0x140167af0
nop word cs:[rax + rax]
mov eax, dword [0x1405319a4]
mov edx, dword [0x1404e0188]
mov r10d, edx
xor r10d, 0x9da3dd82
and edx, 0x1da3dd82
lea edx, [r10 + rdx*2]
cmp eax, edx
jge 0x140167b50
jmp 0x140167b30
test edx, edx
je 0x140167b94
mov eax, dword [0x1405319a0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140167cb0
jmp 0x140167c8b
movzx eax, byte [0x1404df83d]
movzx ecx, byte [0x1404e0198]
add cl, 0x80
cmp al, cl
je 0x140167bc0
mov cl, 0x1a
nop dword [rax + rax]
mov al, 0x63
lock cmpxchg byte [0x1404df83d], cl
je 0x140167c1b
cmp al, 0x24
jne 0x140167bb0
lea rax, [0x1404df830]
ret
xor eax, eax
lea rcx, [0x1404df7a0]
lea rdx, [0x140403da0]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xc
jg 0x140167bf8
inc rax
jmp 0x140167be0
mov eax, dword [0x1405319a4]
cmp eax, 0x52
jl 0x140167e21
jmp 0x140167e4b
xor eax, eax
test al, al
je 0x140167d99
jmp 0x140167da4
xor eax, eax
lea rcx, [0x1404df830]
lea rdx, [0x140403e30]
mov r8d, 0x9da3dd5e
nop word cs:[rax + rax]
movzx r9d, byte [rax + rdx]
add byte [rax + rcx], r9b
lea r9d, [rax + 1]
mov r10d, dword [0x1404e0188]
add r10d, r8d
cmp r9d, r10d
jge 0x140167c70
inc rax
jmp 0x140167c40
mov eax, dword [0x1405319a4]
cmp eax, 0x41
jg 0x140167c70
mov al, 0x24
xchg byte [0x1404df83d], al
lea rax, [0x1404df830]
ret
movzx eax, byte [0x1404df97b]
mov ecx, dword [0x1405319a0]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
je 0x140167cc4
nop word cs:[rax + rax]
movzx eax, byte [0x1404df97b]
mov eax, dword [0x1405319a4]
cmp eax, 0x44
jge 0x140167cb0
jmp 0x140167c8b
cmp al, 0xc4
je 0x140167ce0
mov cl, 0x2b
nop word [rax + rax]
mov al, 0xf9
lock cmpxchg byte [0x1404df97b], cl
je 0x140167ce8
cmp al, 0xc4
jne 0x140167cd0
lea rax, [0x1404df970]
ret
xor eax, eax
lea rcx, [0x1404df970]
lea rdx, [0x140403f70]
nop dword [rax + rax]
movzx r8d, byte [rax + rcx]
movzx r9d, byte [rax + rdx]
mov r10d, r8d
xor r10b, r9b
and r8b, r9b
add r8b, r8b
add r8b, r10b
mov byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xa
jg 0x140167d2c
inc rax
jmp 0x140167d00
xor eax, eax
nop
test al, al
jne 0x140167d3f
mov ecx, dword [0x1405319a4]
cmp ecx, 0x3e
jle 0x140167d52
mov ecx, dword [0x1405319a0]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
jne 0x140167d30
jmp 0x140167d34
mov al, 0xc4
xchg byte [0x1404df97b], al
lea rax, [0x1404df970]
ret
mov eax, dword [0x1405319a4]
mov ecx, dword [0x1404e0188]
mov edx, ecx
xor edx, 0x9da3ddb1
and ecx, 0x1da3ddb1
lea ecx, [rdx + rcx*2]
cmp eax, ecx
jge 0x140167d70
lea rax, [0x1404df920]
ret
mov eax, dword [0x1405319a4]
cmp eax, 0x31
jl 0x140167db6
mov al, 1
nop word cs:[rax + rax]
test al, al
je 0x140167db0
jmp 0x140167d99
xor edx, edx
lea rax, [0x1404df920]
lea rcx, [0x140403f20]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rax]
movzx r9d, byte [rdx + rcx]
mov r10d, r8d
xor r10b, r9b
and r8b, r9b
add r8b, r8b
add r8b, r10b
mov byte [rdx + rax], r8b
mov r8d, dword [0x1404e0188]
add edx, r8d
add edx, 0x9da3dd52
cmp edx, 0x13
jl 0x140167dd0
movzx eax, byte [0x1404e0198]
add al, 0x4d
xchg byte [0x1404df933], al
jmp 0x140167d70
lea rax, [0x1404df7a0]
ret
mov al, 0x29
xchg byte [0x1404df7ad], al
mov eax, 0x9da3dd52
add eax, dword [0x1404e0188]
lea rcx, [fcn.1401679f0]
add ecx, ecx
add ecx, 0x19a0
xor ecx, eax
not ecx
test ecx, eax
je 0x140167e19
lea rax, [fcn.1401679f0]
add eax, eax
add eax, 0x740
mov ecx, eax
xor ecx, 0xfffffffe
nop
mov dl, 0x29
xchg byte [0x1404df7ad], dl
test eax, ecx
jne 0x140167e60
jmp 0x140167e21