Function at 0x140234f10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov r15, qword [0x1404f4788]
mov eax, 0xe24bc9c3
nop dword [rax]
mov ecx, dword [0x140532600]
lea r8d, [rcx - 1]
imul r8d, ecx
and r8d, 1
mov ecx, dword [0x1404f485c]
add ecx, eax
cmp r8d, ecx
jne 0x140234f6d
movsxd rbx, dword [r15]
mov ecx, dword [0x140532604]
cmp ecx, 0x32
jle 0x140234f7d
mov ecx, dword [r15]
mov ecx, dword [0x140532604]
cmp ecx, 0x5f
jge 0x140234f40
jmp 0x140234f5f
mov eax, dword [0x14040b150]
mov dword [rbp - 4], eax
lea rdi, [rbp - 0x38]
mov rcx, rdi
call fcn.140234770
mov rcx, rsi
mov rdx, rdi
call fcn.140235ae0
mov qword [rbp - 0x18], rsi
add rbx, r15
mov eax, dword [0x1404f4784]
mov ecx, eax
xor ecx, 1
mov edx, dword [0x140532600]
mov r10d, 0xe24bc9c4
mov r9d, eax
not r9d
mov edx, ecx
not edx
nop word cs:[rax + rax]
mov r8d, dword [0x1404f485c]
add r8d, r10d
mov r11d, dword [0x140532604]
cmp r11d, 0x56
jg 0x140234fd0
mov r10d, r9d
and r10d, r8d
not r8d
mov r11d, eax
and r11d, r8d
or r11d, r10d
and r8d, r9d
xor r8d, r11d
not r8d
add r8d, r8d
mov r9d, r8d
xor r9d, edx
xor edx, ecx
and edx, r8d
xor edx, ecx
and r9d, r8d
lea ecx, [rdx + r9*2]
mov dword [0x1404f4784], ecx
xor r9d, r9d
mov r10d, 0
mov dword [rbp - 0xc], eax
mov dword [rbp - 8], ecx
test eax, ecx
jne 0x14023504a
xor ecx, ecx
mov r9d, 0
mov r10d, 0
cmp dword [rbp - 4], 0
jg 0x14023513f
mov r11, qword [rbp - 0x20]
cmp r11, 0x10
setae cl
or cl, byte [0x1405317c9]
movzx edx, byte [0x140532608]
mov ebx, edx
and bl, cl
test bl, 1
mov r15, qword [rbp - 0x18]
jne 0x14023507a
xor dl, cl
test dl, 1
je 0x14023534f
mov rcx, qword [rbp - 0x38]
mov rdi, qword [0x1404f4860]
mov rbx, r11
sub rbx, rdi
movabs rdx, 0xc9a2d8376ebf949
add rdx, rbx
movabs rbx, 0xf365d27c891416b7
xor rbx, rdi
movabs r14, 0x7365d27c891416b7
and r14, rdi
lea rdi, [rbx + r14*2]
cmp rdx, rdi
jbe 0x1402350fb
mov rdi, qword [rcx - 8]
neg rcx
mov rdx, rcx
xor rdx, 8
and ecx, 8
lea rcx, [rdx + rcx*2]
sub rcx, qword [0x1404f4860]
add rcx, rdi
movabs rdx, 0xf365d27c891406b8
sub rdx, rcx
cmp rdx, 0x20
jae 0x14023526d
add r11, 0x28
mov rdx, r11
mov rcx, rdi
xor edi, edi
mov eax, dword [rbp - 8]
test dword [rbp - 0xc], eax
setne dil
mov r8, qword [0x14040b160]
xor eax, eax
add rdi, 0xffffffffffffffff
adc rax, 0xffffffffffffffff
mov r11, qword [0x14040b158]
sub r11, r9
sbb r8, r10
and r11, rdi
and r8, rax
mov eax, dword [0x140532604]
cmp eax, 0x14
jge 0x140235280
jmp 0x140235272
lea rdx, [fcn.140234f10]
lea r11d, [rdx + rdx]
add r11d, 0x4cc0
xor r9d, r9d
xor r10d, r10d
jmp 0x140235172
xor r9, r12
xor r10, r15
add ecx, 0x10
cmp ecx, dword [rbp - 4]
jge 0x14023504a
mov r15d, dword [0x140532600]
nop dword [rax]
mov r15d, dword [0x1404f485c]
lea r12d, [r15 - 0x1db4363c]
mov r13d, r12d
xor r13d, r11d
not r13d
and r13d, r12d
add r15d, 0xe24bc9c3
cmp r13d, r15d
jne 0x140235180
movsxd r13, ecx
add r13, rbx
mov r15d, dword [0x1404f485c]
mov eax, 0xe24bc9c4
add r15d, eax
lea r12d, [rdx + rdx]
add r12d, 0x3300
test r12d, r15d
jne 0x140235260
nop
mov r12, qword [r13]
mov r15, qword [r13 + 8]
mov esi, dword [0x140532604]
cmp esi, 0x32
jg 0x140235260
nop word cs:[rax + rax]
mov esi, dword [0x140532604]
cmp esi, 0x5a
jg 0x140235218
mov esi, dword [0x140532600]
mov r13d, 1
sub r13d, esi
imul r13d, esi
test r13b, 1
je 0x140235160
mov r13d, dword [0x1404f485c]
lea esi, [r13 - 0x1db4363c]
mov r8d, esi
not r8d
lea edi, [rdx + rdx]
add edi, 0x1040
mov eax, edi
not eax
mov r14d, eax
and r14d, esi
and esi, edi
and edi, r8d
or edi, r14d
xor eax, r8d
or esi, eax
not esi
or esi, edi
not esi
add r13d, 0xe24bc9c3
cmp esi, r13d
jne 0x1402351f0
jmp 0x1402351fb
mov rax, qword [r13]
mov rax, qword [r13 + 8]
jmp 0x1402351d0
call fcn.14039c09c
mov eax, dword [0x140532604]
cmp eax, 0x27
jl 0x14023528d
nop dword [rax]
mov eax, dword [0x140532604]
cmp eax, 0x4c
jge 0x140235280
jmp 0x140235272
mov eax, dword [0x140532604]
nop word cs:[rax + rax]
mov eax, dword [0x140532604]
cmp eax, 0x46
jg 0x1402352a0
movzx r9d, byte [0x1405317c9]
lea rax, [fcn.140234f10]
lea r10d, [rax + rax]
add r10d, 0x2a20
mov edi, r10d
not edi
nop word [rax + rax]
mov eax, dword [0x140532600]
mov esi, dword [0x1404f485c]
add esi, eax
add esi, 0xe24bc9c4
imul esi, eax
test sil, 1
jne 0x14023530c
mov rax, r11
or rax, r8
setne al
or al, r9b
and al, 1
mov byte [0x1405317c9], al
mov eax, dword [0x140532604]
cmp eax, 0x5c
jle 0x14023532d
mov rax, r11
or rax, r8
setne al
mov ebx, r9d
sub bl, al
mul bl
or al, bl
and al, 1
mov byte [0x1405317c9], al
test edi, r10d
jne 0x1402352d0
jmp 0x1402352ed
mov eax, dword [0x1404f485c]
lea r8d, [rax - 0x41e5186]
lea r9d, [rax + 0x6b360005]
add eax, 0x68624ddd
mov dword [rsp + 0x20], eax
call fcn.1400a6550
mov rax, r15
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret