Function at 0x140245bd0
Capabilities:
Encode data using xor

Disassembly:
push rbx
test ecx, ecx
je 0x140245c7c
mov eax, 0xcb519eda
add eax, dword [0x140556fd0]
cmp edx, eax
jne 0x140245cec
movzx eax, byte [0x140556395]
cmp al, 0x8f
je 0x140245ecd
mov cl, 0xe8
nop dword [rax]
mov eax, dword [0x1405a7bd8]
mov edx, dword [0x140556fd0]
mov r8d, eax
sub r8d, edx
inc r8d
imul r8d, eax
and r8d, 1
mov eax, edx
xor eax, 0x5010672c
and edx, 0x5010672c
lea eax, [rax + rdx*2]
add eax, 0x7b4137ae
cmp r8d, eax
jne 0x140245c70
nop word [rax + rax]
mov al, 0x2b
lock cmpxchg byte [0x140556395], cl
sete dl
mov r8d, dword [0x1405a7bdc]
cmp r8d, 0x3c
jg 0x140245c70
test dl, dl
jne 0x140245d4e
cmp al, 0x8f
jne 0x140245c00
jmp 0x140245ecd
mov al, 0x2b
lock cmpxchg byte [0x140556395], cl
jmp 0x140245c40
mov eax, dword [0x1405a7bd8]
mov ecx, dword [0x140556fd0]
add ecx, eax
dec ecx
imul ecx, eax
test cl, 1
nop word cs:[rax + rax]
mov eax, dword [0x1405a7bdc]
cmp eax, 0x62
jg 0x140245ca0
test edx, edx
je 0x140245d39
xor eax, eax
mov cl, 1
nop word [rax + rax]
mov edx, dword [0x1405a7bd8]
lea r8d, [rdx + 1]
imul r8d, edx
test r8b, 1
jne 0x140245cdf
movzx edx, byte [0x1405563e2]
test al, al
je 0x140245d15
movzx edx, byte [0x1405563e2]
test cl, cl
je 0x140245cc0
jmp 0x140245cd4
movzx eax, byte [0x140556449]
cmp al, 0xba
je 0x140245ebc
mov cl, 0xa9
nop dword [rax]
mov al, 0xd7
lock cmpxchg byte [0x140556449], cl
je 0x140245d7c
cmp al, 0xba
jne 0x140245d00
jmp 0x140245ebc
cmp dl, 0x91
je 0x140245f62
mov cl, 0xd4
mov al, 0x22
lock cmpxchg byte [0x1405563e2], cl
je 0x140245ed6
cmp al, 0x91
jne 0x140245d20
jmp 0x140245f62
cmp dword [0x140556fd0], 0x34ae6126
je 0x140245f6b
jmp 0x140245f78
xor eax, eax
lea rcx, [0x140556380]
lea rdx, [0x140468970]
nop
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 0x14
jg 0x140245e45
inc rax
jmp 0x140245d60
xor r9d, r9d
lea rdx, [0x140556440]
lea r8, [0x140468a10]
jmp 0x140245dc0
mov eax, r9d
not eax
mov ecx, eax
and ecx, 1
mov r10d, r9d
and r10d, 0xfffffffe
or r10d, ecx
xor r9d, 1
and eax, 0x7ffffffe
or eax, r9d
not eax
lea r9d, [r10 + rax*2]
cmp r9d, 9
jge 0x140245eb4
mov eax, dword [0x1405a7bd8]
lea ecx, [rax - 1]
imul ecx, eax
movsxd r10, r9d
test cl, 1
jne 0x140245df4
nop word cs:[rax + rax]
movzx eax, byte [r10 + r8]
add byte [r10 + rdx], al
mov eax, dword [0x1405a7bdc]
cmp eax, 0x52
jle 0x140245d90
movzx eax, byte [r10 + rdx]
movzx r11d, byte [r10 + r8]
sub al, r11b
mul r11b
sub al, r11b
mul r11b
mov ecx, r11d
sub cl, al
mov eax, ecx
mul r11b
mov ecx, eax
xor cl, r11b
and r11b, al
add r11b, r11b
add r11b, cl
mov ecx, eax
xor cl, r11b
mov ebx, ecx
not bl
and bl, al
add bl, bl
movzx eax, byte [0x140556fe0]
add bl, cl
sub al, bl
add al, r11b
add al, 0x78
mov byte [r10 + rdx], al
jmp 0x140245de0
mov eax, 0xcb519edb
lea rcx, [fcn.140245bd0]
add ecx, ecx
add ecx, 0x2600
mov edx, ecx
not edx
mov r8d, 0xcb519eea
nop word cs:[rax + rax]
mov r9d, dword [0x1405a7bdc]
cmp r9d, 0x5e
jg 0x140245e9c
mov r9d, dword [0x140556fd0]
add r9d, eax
mov r10d, ecx
xor r10d, r9d
not r9d
and r9d, edx
or r9d, r10d
cmp r9d, 0xffffffff
je 0x140245ec5
mov r9d, dword [0x1405a7bdc]
mov r10d, dword [0x140556fd0]
add r10d, r8d
cmp r9d, r10d
jge 0x140245e70
jmp 0x140245e7d
mov al, 0xba
xchg byte [0x140556449], al
lea rax, [0x140556440]
pop rbx
ret
mov al, 0x8f
xchg byte [0x140556395], al
lea rax, [0x140556380]
pop rbx
ret
mov eax, dword [0x1405a7bdc]
nop dword [rax]
mov ecx, dword [0x1405a7bd8]
lea eax, [rcx - 1]
imul eax, ecx
mov ecx, dword [0x140556fd0]
mov edx, ecx
xor edx, 0x34ae6123
and edx, ecx
xor ecx, 0xcb519edc
add edx, edx
mov r8d, ecx
xor r8d, edx
and edx, ecx
lea ecx, [r8 + rdx*2]
xor edx, edx
div ecx
test edx, edx
jne 0x140245ee0
xor eax, eax
lea rcx, [0x1405563e0]
lea rdx, [0x1404689c0]
nop dword [rax + rax]
movzx r8d, byte [rax + rdx]
add byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 1
jg 0x140245f48
inc rax
jmp 0x140245f30
mov eax, dword [0x1405a7bd8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140246030
jmp 0x14024601b
lea rax, [0x1405563e0]
pop rbx
ret
movzx eax, byte [0x140556483]
xor ecx, ecx
test cl, cl
je 0x140245f81
movzx eax, byte [0x140556483]
jmp 0x140245f6b
cmp al, 0x42
je 0x140245fb9
mov cl, 0x3f
nop word [rax + rax]
mov al, 0x78
lock cmpxchg byte [0x140556483], cl
je 0x140245fa2
cmp al, 0x42
jne 0x140245f90
jmp 0x140245fb9
mov eax, dword [0x1405a7bdc]
mov ecx, 0xcb519f19
add ecx, dword [0x140556fd0]
cmp eax, ecx
jl 0x140245fc2
jmp 0x140245fc8
lea rax, [0x140556460]
pop rbx
ret
mov al, 1
test al, al
jne 0x140245fd6
mov al, 1
nop word [rax + rax]
test al, al
je 0x140245fd0
jmp 0x140245fc2
xor eax, eax
lea rcx, [0x140556460]
lea rdx, [0x140468a30]
mov r8d, 0xcb519efd
nop dword [rax]
movzx r9d, byte [rax + rdx]
xor byte [rax + rcx], r9b
lea r9d, [rax + 1]
mov r10d, dword [0x140556fd0]
add r10d, r8d
cmp r9d, r10d
jge 0x140246011
inc rax
jmp 0x140245ff0
mov al, 0x42
xchg byte [0x140556483], al
jmp 0x140245fb9
mov eax, dword [0x1405a7bd8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x14024603d
nop dword [rax]
mov eax, dword [0x1405a7bdc]
cmp eax, 0x15
jge 0x140246030
jmp 0x14024601b
mov al, 0x91
xchg byte [0x1405563e2], al
jmp 0x140245f62