Function at 0x1402b7720
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test ecx, ecx
je 0x1402b7765
test edx, edx
je 0x1402b7783
movzx eax, byte [0x140631d19]
cmp al, 0x8d
je 0x1402b786c
mov cl, 0xbf
nop word cs:[rax + rax]
mov al, 0xb3
lock cmpxchg byte [0x140631d19], cl
je 0x1402b77d9
cmp al, 0x8d
jne 0x1402b7750
jmp 0x1402b786c
test edx, edx
je 0x1402b7797
mov eax, dword [0x140694d00]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1402b791b
jmp 0x1402b7909
mov eax, dword [0x140694d04]
cmp eax, 0x29
jle 0x1402b7a80
jmp 0x1402b7a92
movzx eax, byte [0x140631d6d]
movzx ecx, byte [0x140633aa0]
add cl, 0x92
cmp al, cl
je 0x1402b78f5
mov cl, 0xd2
nop word cs:[rax + rax]
mov al, 0xb3
lock cmpxchg byte [0x140631d6d], cl
je 0x1402b7878
cmp al, 0xe7
jne 0x1402b77c0
jmp 0x1402b78f5
mov edx, 1
mov r8d, 0xfffffffe
xor r9d, r9d
lea r10, [0x140631d10]
lea r11, [0x14053c150]
nop word cs:[rax + rax]
mov eax, dword [0x140694d04]
cmp eax, 0x61
jg 0x1402b782a
nop dword [rax + rax]
movzx eax, byte [r9 + r11]
xor byte [r9 + r10], al
mov eax, dword [0x140694d00]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x1402b7850
movzx eax, byte [r9 + r10]
movzx ecx, byte [r9 + r11]
shl al, cl
sub al, cl
mul cl
xor al, cl
mov byte [r9 + r10], al
jmp 0x1402b7810
lea eax, [r9 + 1]
cmp eax, 8
jg 0x1402b7864
inc r9
dec edx
add r8d, 2
jmp 0x1402b7800
mov al, 0x8d
xchg byte [0x140631d19], al
lea rax, [0x140631d10]
jmp 0x1402b78fc
xor eax, eax
lea rcx, [0x140631d60]
lea rdx, [0x14053c190]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xc
jg 0x1402b78a8
inc rax
jmp 0x1402b7890
mov eax, dword [0x140694d04]
cmp eax, 0x45
jge 0x1402b78e0
mov al, 0xe7
xchg byte [0x140631d6d], al
mov ecx, dword [0x140694d00]
lea eax, [rcx - 1]
imul eax, ecx
mov ecx, 0x136d98e0
add ecx, dword [0x140633aa4]
xor edx, edx
div ecx
test edx, edx
je 0x1402b78f5
nop word [rax + rax]
mov al, 0xe7
xchg byte [0x140631d6d], al
mov eax, dword [0x140694d04]
cmp eax, 0xb
jge 0x1402b78e0
jmp 0x1402b78b3
lea rax, [0x140631d60]
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
movzx eax, byte [0x140632064]
mov ecx, dword [0x140694d04]
cmp ecx, 0x5a
jle 0x1402b7924
movzx eax, byte [0x140632064]
jmp 0x1402b7909
cmp al, 0x5b
je 0x1402b7a74
mov bl, 0x89
mov edi, 0x136d98df
lea r14, [fcn.1402b7720]
lea ebp, [r14 + r14]
add ebp, 0x3b80
mov r15d, 0x136d98e9
lea rsi, [0x1402b8f80]
jmp 0x1402b799d
mov al, 1
lock cmpxchg byte [0x140632064], bl
mov ecx, dword [0x140633aa4]
add ecx, r15d
call fcn.1404ca39c
mov qword [0x140694ca0], rax
mov rcx, rsi
call fcn.1404ea090
mov eax, dword [0x140633aa4]
add eax, edi
lea ecx, [r14 + r14]
add ecx, 0x4140
test ecx, eax
je 0x1402b79c5
mov ecx, dword [0x140694d00]
lea eax, [rcx - 1]
imul eax, ecx
mov ecx, dword [0x140633aa4]
lea r8d, [rcx + 0x136d98e0]
xor edx, edx
div r8d
add ecx, 0x136d98de
cmp edx, ecx
jne 0x1402b7960
mov al, 1
lock cmpxchg byte [0x140632064], bl
sete cl
mov edx, dword [0x140633aa4]
add edx, edi
test ebp, edx
jne 0x1402b7960
test cl, cl
jne 0x1402b79f5
movzx ecx, byte [0x140633aa0]
add cl, 6
cmp al, cl
jne 0x1402b799d
jmp 0x1402b7a74
xor edx, edx
lea rax, [0x140632050]
lea rcx, [0x14053c480]
nop word cs:[rax + rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
add byte [rdx + rax], r8b
mov r8d, edx
xor r8d, 1
and edx, 1
lea edx, [r8 + rdx*2]
mov r8d, dword [0x140633aa4]
mov r9d, r8d
xor r9d, 0x136d98f2
and r8d, 0x136d98f2
lea r8d, [r9 + r8*2]
cmp edx, r8d
jl 0x1402b7a10
mov al, 1
nop dword [rax]
mov ecx, dword [0x140694d04]
cmp ecx, 0x15
jg 0x1402b7a66
mov ecx, dword [0x140694d04]
cmp ecx, 0x2d
jle 0x1402b7a6c
test al, al
je 0x1402b7a50
jmp 0x1402b7a5b
mov al, 0x5b
xchg byte [0x140632064], al
lea rax, [0x140632050]
jmp 0x1402b78fc
movzx eax, byte [0x140631ead]
mov ecx, dword [0x140694d04]
cmp ecx, 0x10
jle 0x1402b7a9b
movzx eax, byte [0x140631ead]
jmp 0x1402b7a80
cmp al, 0xb
je 0x1402b7b53
mov cl, 0xad
nop word cs:[rax + rax]
mov al, 0xe
lock cmpxchg byte [0x140631ead], cl
je 0x1402b7ad0
cmp al, 0xb
jne 0x1402b7ab0
jmp 0x1402b7b53
mov ecx, dword [0x140694d00]
mov edx, dword [0x140633aa4]
mov eax, ecx
sub eax, edx
add eax, 0xec926721
imul eax, ecx
mov ecx, edx
xor ecx, 0x136d98e0
and edx, 0x136d98e0
lea ecx, [rcx + rdx*2]
xor edx, edx
div ecx
test edx, edx
jne 0x1402b7ad0
xor eax, eax
lea rcx, [0x140631ea0]
lea rdx, [0x14053c2d0]
nop word cs:[rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0xc
jg 0x1402b7b38
inc rax
jmp 0x1402b7b20
mov eax, dword [0x140694d00]
nop
mov eax, dword [0x140694d04]
cmp eax, 0x48
jg 0x1402b7b40
mov al, 0xb
xchg byte [0x140631ead], al
mov eax, 0x136d98de
nop dword [rax + rax]
mov ecx, dword [0x140694d00]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
jne 0x1402b7b82
mov ecx, dword [0x140694d00]
lea edx, [rcx - 1]
imul edx, ecx
test dl, 1
je 0x1402b7b9f
mov ecx, dword [0x140694d00]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, dword [0x140633aa4]
add ecx, eax
cmp edx, ecx
jne 0x1402b7b60
jmp 0x1402b7b71
lea rax, [0x140631ea0]
jmp 0x1402b78fc