Function at 0x140234a60
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov esi, r9d
test ecx, ecx
je 0x140234ac9
test edx, edx
je 0x140234b18
movzx ecx, byte [0x140521c14]
xor esi, 0xf55e9d41
mov edx, esi
mov r8d, 0xedd3b1e
call fcn.140235370
test al, 1
jne 0x140234c80
mov cl, 5
nop word cs:[rax + rax]
mov al, 0x42
lock cmpxchg byte [0x140521c14], cl
je 0x140234c4d
cmp al, 0xa4
jne 0x140234ab0
jmp 0x140234c80
test edx, edx
je 0x140234b80
movzx eax, byte [0x140521e52]
cmp al, 0x45
je 0x140234cec
xor ebx, ebx
mov edi, esi
xor edi, 0xf9471fa7
nop word [rax + rax]
mov al, 0x33
lock cmpxchg byte [0x140521e52], bl
je 0x140234c8c
mov ecx, eax
mov edx, edi
mov r8d, 0x86805235
call fcn.140234f00
test al, 1
je 0x140234af0
jmp 0x140234cec
movzx eax, byte [0x140521d63]
cmp al, 0xfd
je 0x140234d44
mov bpl, 0xde
mov edi, esi
xor edi, 0xa81ee5b3
xor esi, 0x9a41d6e4
nop dword [rax + rax]
mov al, 0x2e
lock cmpxchg byte [0x140521d63], bpl
mov ebx, eax
sete dl
mov ecx, eax
mov r8d, edi
mov r9d, 0x3a41b642
call fcn.140153bd0
test al, 1
jne 0x140234cf5
mov ecx, ebx
mov edx, esi
mov r8d, 0x9f35cb49
call fcn.140234e50
test al, 1
je 0x140234b40
jmp 0x140234d44
movzx eax, byte [0x140521dbd]
nop word [rax + rax]
cmp al, 0x76
je 0x140234d55
movzx ecx, byte [0x14052260c]
lea eax, [rcx - 0x42]
add cl, 0x2c
lock cmpxchg byte [0x140521dbd], cl
jne 0x140234b90
mov r15d, 1
mov edi, esi
xor edi, 0x5bae354f
lea rbx, [rsp + 0x3f]
lea r14, [rsp + 0x40]
mov r12d, esi
xor r12d, 0x6434b7a6
lea r13, [0x140521db0]
xor esi, 0x16e8500d
nop
lea ebp, [r15 - 1]
mov dword [rsp + 0x20], 0xa18399cc
mov ecx, ebp
mov rdx, rbx
mov r8, r14
mov r9d, edi
call fcn.140235380
movzx edx, byte [rsp + 0x3f]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x30], 0x823b1bf0
mov r8d, ebp
mov r9, rbx
call fcn.140235330
movzx ecx, byte [rsp + 0x3f]
mov rdx, qword [rsp + 0x40]
add rdx, r13
mov r8d, esi
mov r9d, 0x9ad58f0a
call fcn.1400ab0f0
cmp r15d, 0xc
jg 0x140234d4d
inc r15d
jmp 0x140234be0
xor eax, eax
lea rcx, [0x140521c10]
lea rdx, [0x140433490]
nop dword [rax]
movzx r8d, byte [rax + rdx]
xor byte [rax + rcx], r8b
lea r8d, [rax + 1]
cmp r8d, 3
jg 0x140234c78
inc rax
jmp 0x140234c60
mov al, 0xa4
xchg byte [0x140521c14], al
lea rax, [0x140521c10]
jmp 0x140234d5c
xor ecx, ecx
lea rbx, [0x140521e40]
lea r14, [0x1404336a0]
mov ebp, 0x2a26d9a5
lea rdi, [rsp + 0x40]
nop word cs:[rax + rax]
movsxd rcx, ecx
movzx edx, byte [rcx + rbx]
add dl, byte [rcx + r14]
mov eax, dword [0x140522608]
add eax, ebp
xor eax, esi
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0xce3c8e5d
mov r8d, ecx
mov r9, rdi
call fcn.1402353a0
mov ecx, dword [rsp + 0x40]
test al, 1
je 0x140234cb0
mov al, 0x45
xchg byte [0x140521e52], al
lea rax, [0x140521e40]
jmp 0x140234d5c
xor eax, eax
lea rcx, [0x140521d50]
lea rdx, [0x1404335b0]
nop word cs:[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, 0x12
jg 0x140234d3c
inc rax
jmp 0x140234d10
mov al, 0xfd
xchg byte [0x140521d63], al
lea rax, [0x140521d50]
jmp 0x140234d5c
mov al, 0x76
xchg byte [0x140521dbd], al
lea rax, [0x140521db0]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret