Function at 0x140204a90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test ecx, ecx
je 0x140204abb
test edx, edx
je 0x140204b6c
xor eax, eax
test al, al
jne 0x140204ed5
jmp 0x140204eb0
mov eax, dword [0x140482ad4]
mov ecx, eax
xor ecx, 0x47e43fab
and eax, 0x47e43fab
lea eax, [rcx + rax*2]
cmp edx, eax
jne 0x140204c8d
movzx eax, byte [0x140481a73]
cmp al, 0x33
je 0x140204e61
xor ecx, ecx
mov dl, 0xc5
mov r8d, 0x47e43fdd
nop word cs:[rax + rax]
test cl, cl
jne 0x140204b60
nop word cs:[rax + rax]
mov al, 0x42
lock cmpxchg byte [0x140481a73], dl
sete r9b
mov r10d, dword [0x1404bed34]
mov r11d, dword [0x140482ad4]
add r11d, r8d
cmp r10d, r11d
jge 0x140204b60
test r9b, r9b
jne 0x140204d3a
movzx r9d, byte [0x140482ad0]
add r9b, 0xc2
cmp al, r9b
jne 0x140204b00
jmp 0x140204e61
mov al, 0x42
lock cmpxchg byte [0x140481a73], dl
jmp 0x140204b10
movzx eax, byte [0x140481a05]
cmp al, 0x10
je 0x140204e79
mov cl, 0x9b
jmp 0x140204b8b
add dl, 0x9f
cmp al, dl
je 0x140204e79
mov al, 0xbc
lock cmpxchg byte [0x140481a05], cl
je 0x140204c00
mov edx, dword [0x1404bed30]
lea r8d, [rdx - 1]
imul r8d, edx
and r8d, 1
mov edx, dword [0x140482ad4]
mov r9d, edx
xor r9d, 0x47e43fab
and edx, 0x47e43fab
lea edx, [r9 + rdx*2]
cmp r8d, edx
jne 0x140204bf0
nop dword [rax + rax]
movzx edx, byte [0x140482ad0]
mov r8d, dword [0x1404bed30]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
je 0x140204b80
nop dword [rax]
mov edx, dword [0x1404bed34]
cmp edx, 0x5c
jge 0x140204bf0
jmp 0x140204bd0
mov eax, dword [0x1404bed34]
cmp eax, 0xc
jle 0x140204c1b
nop dword [rax + rax]
mov eax, dword [0x1404bed34]
cmp eax, 0x1e
jge 0x140204c00
mov eax, dword [0x140482ad4]
mov ecx, eax
xor ecx, 0x47e43fab
not eax
and eax, 0x381bc054
or eax, ecx
not eax
add eax, eax
add eax, ecx
jne 0x140204c10
xor edx, edx
lea rax, [0x1404819d0]
lea rcx, [0x140398140]
nop word [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]
cmp edx, 0x35
jl 0x140204c50
mov eax, dword [0x1404bed30]
mov ecx, 1
sub ecx, eax
imul ecx, eax
test cl, 1
jne 0x140204e88
jmp 0x140204e82
movzx eax, byte [0x140481b99]
cmp al, 0x62
je 0x140204e50
xor ecx, ecx
mov r8b, 0x92
jmp 0x140204ccc
mov al, 6
lock cmpxchg byte [0x140481b99], r8b
mov eax, dword [0x1404bed30]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
je 0x140204cf7
mov edx, dword [0x1404bed30]
lea eax, [rdx - 1]
imul eax, edx
mov r9d, dword [0x140482ad4]
lea r10d, [r9 + 0x47e43fad]
xor edx, edx
div r10d
add r9d, 0x47e43fab
cmp edx, r9d
jne 0x140204cb0
movzx edx, byte [0x140482ad0]
lea eax, [rdx - 0x6b]
mov r9d, edx
xor r9b, 0x21
and dl, 0x21
add dl, dl
add dl, r9b
lock cmpxchg byte [0x140481b99], dl
sete dl
test cl, cl
jne 0x140204cb0
test dl, dl
jne 0x140204df6
movzx edx, byte [0x140482ad0]
add dl, 0xf1
cmp al, dl
jne 0x140204ccc
jmp 0x140204e50
xor edi, edi
lea rbx, [0x140481a60]
lea r14, [0x1403981d0]
mov ebp, 0x47e43fac
lea rsi, [0x1402057b0]
jmp 0x140204d72
mov ecx, edi
xor ecx, eax
and edi, eax
lea edi, [rcx + rdi*2]
cmp edi, 0x13
jge 0x140204e59
mov eax, dword [0x1404bed34]
movsxd r15, edi
cmp eax, 0x27
jg 0x140204da0
movzx eax, byte [r15 + r14]
xor byte [r15 + rbx], al
mov eax, dword [0x140482ad4]
add eax, ebp
mov ecx, dword [0x1404bed34]
cmp ecx, 0x2c
jl 0x140204d60
nop dword [rax]
movzx r12d, byte [r15 + r14]
mov r13d, r12d
sub r13b, byte [r15 + rbx]
mov ecx, 0x37
call fcn.140327f1c
mov qword [0x1404bed08], rax
mov rcx, rsi
call fcn.1403477e0
movzx eax, byte [0x140482ad0]
sub al, r13b
add al, r12b
add al, 0x8f
mov ecx, eax
xor cl, al
not cl
and cl, r13b
xor cl, al
mov byte [r15 + rbx], cl
mov eax, dword [0x1404bed30]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140204da0
jmp 0x140204d80
xor eax, eax
lea rcx, [0x140481b90]
lea rdx, [0x1403982f0]
nop word cs:[rax + rax]
cdqe
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
mov r8d, dword [0x140482ad4]
mov r9d, r8d
xor r9d, 0x47e43fac
not r8d
and r8d, 0x381bc053
or r8d, r9d
not r8d
lea r8d, [r9 + r8*2]
add eax, r8d
cmp eax, 9
jl 0x140204e10
mov al, 0x62
xchg byte [0x140481b99], al
lea rax, [0x140481b90]
jmp 0x140204e68
mov al, 0x33
xchg byte [0x140481a73], al
lea rax, [0x140481a60]
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [0x1404819d0]
jmp 0x140204e68
mov al, 1
test al, al
jne 0x140204ea6
lea rax, [fcn.140204a90]
add eax, eax
add eax, 0x10a0
mov ecx, eax
not ecx
nop word [rax + rax]
test ecx, eax
jne 0x140204ea0
jmp 0x140204e82
mov al, 0x10
xchg byte [0x140481a05], al
jmp 0x140204e79
movzx eax, byte [0x1404819c2]
mov ecx, dword [0x1404bed30]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
mov ecx, 0x47e43fab
add ecx, dword [0x140482ad4]
cmp edx, ecx
je 0x140204ede
movzx eax, byte [0x1404819c2]
jmp 0x140204eb0
cmp al, 0xca
je 0x140205007
mov r8b, 0x7a
mov r9d, 0x47e43fad
jmp 0x140204f09
cmp cl, 0xca
je 0x140205007
mov al, 0xd3
lock cmpxchg byte [0x1404819c2], r8b
je 0x140204f5d
mov ecx, eax
nop dword [rax + rax]
mov edx, dword [0x1404bed30]
lea eax, [rdx - 1]
imul eax, edx
mov r10d, dword [0x140482ad4]
add r10d, r9d
xor edx, edx
div r10d
test edx, edx
jne 0x140204f50
mov eax, dword [0x1404bed30]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
je 0x140204f00
mov eax, dword [0x1404bed34]
cmp eax, 0x3c
jge 0x140204f20
jmp 0x140204f3f
xor edx, edx
lea rax, [0x140481990]
lea rcx, [0x140398100]
nop dword [rax]
movsxd rdx, edx
movzx r8d, byte [rdx + rcx]
mov r9d, r8d
xor r9b, r8b
not r9b
and r9b, byte [rdx + rax]
xor r9b, r8b
mov byte [rdx + rax], r9b
mov r8d, dword [0x140482ad4]
lea r9d, [r8 + 0x47e43fac]
mov r10d, edx
xor r10d, r9d
not edx
not r9d
and r9d, edx
or r9d, r10d
not r9d
lea edx, [r10 + r9*2]
add r8d, 0x47e43fdd
cmp edx, r8d
jl 0x140204f70
nop
mov eax, dword [0x1404bed30]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x140204fdc
mov eax, dword [0x1404bed34]
cmp eax, 0x5f
jge 0x140204fc0
mov eax, dword [0x1404bed30]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140204fd1
movzx eax, byte [0x140482ad0]
add al, 0x83
mov ecx, eax
xor cl, 0xd6
and al, 0x56
add al, al
add al, cl
xchg byte [0x1404819c2], al
lea rax, [0x140481990]
jmp 0x140204e68