Function at 0x14031d3b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xb8
call fcn.1403cb200
sub rsp, rax
mov rax, qword [0x1404f2b48]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbp, qword [rsp + 0x120]
xor ebx, ebx
mov r14d, ebx
mov qword [rsp + 0x48], r8
mov rdi, r9
mov qword [rsp + 0x50], rdx
mov rsi, r8
mov qword [rsp + 0x38], rcx
mov r15, rcx
call fcn.1402c5be0
mov r12, rax
test rax, rax
je 0x14031d73e
test rdi, rdi
mov rax, rsi
mov rcx, rsi
cmovne rax, rdi
mov qword [rsp + 0x40], rax
call fcn.140273470
mov dword [rsp + 0x30], eax
mov r13d, eax
test eax, eax
js 0x14031d73e
mov esi, dword [rsp + 0x128]
cmp esi, 0xffffffff
jne 0x14031d494
mov esi, eax
mov rcx, qword [r15 + 0x28]
call fcn.140279f80
mov rcx, qword [rsp + 0x38]
lea r15d, [rax - 1]
and r15d, 7
call fcn.140251440
mov ecx, r15d
mov edx, 0xff
shl edx, cl
mov r8d, eax
test byte [rbp], dl
je 0x14031d4c9
call fcn.140273ec0
lea r8, [0x140463138]
xor edx, edx
lea rcx, [0x1404c05a8]
call fcn.140273fd0
mov edx, 0x85
jmp 0x14031d4b8
cmp esi, 0xfffffffd
jge 0x14031d446
call fcn.140273ec0
lea r8, [0x140463138]
xor edx, edx
lea rcx, [0x1404c05a8]
call fcn.140273fd0
mov edx, 0x88
xor r8d, r8d
lea ecx, [r8 + 4]
call fcn.1402740c0
jmp 0x14031d73e
test r15d, r15d
jne 0x14031d4d1
dec r8d
test r15d, r15d
lea rdi, [rbp + 1]
lea eax, [r13 + 2]
cmovne rdi, rbp
cmp r8d, eax
jge 0x14031d506
call fcn.140273ec0
lea r8, [0x140463138]
xor edx, edx
lea rcx, [0x1404c05a8]
call fcn.140273fd0
mov edx, 0x6d
jmp 0x14031d4b8
mov ebp, r8d
sub ebp, r13d
lea eax, [rbp - 2]
cmp esi, 0xfffffffd
jne 0x14031d518
mov esi, eax
jmp 0x14031d51c
cmp esi, eax
jg 0x14031d4e5
movsxd rax, r8d
cmp byte [rax + rdi - 1], 0xbc
je 0x14031d54a
call fcn.140273ec0
lea r8, [0x140463138]
xor edx, edx
lea rcx, [0x1404c05a8]
call fcn.140273fd0
mov edx, 0x86
jmp 0x14031d4b8
dec ebp
lea rdx, [0x1404c05a8]
movsxd r13, ebp
xor r8d, r8d
mov rcx, r13
lea rax, [rdi + r13]
mov qword [rsp + 0x38], rax
call fcn.14026ec50
mov r14, rax
test rax, rax
jne 0x14031d596
call fcn.140273ec0
lea r8, [0x140463138]
xor edx, edx
lea rcx, [0x1404c05a8]
call fcn.140273fd0
mov edx, 0xc0100
jmp 0x14031d4b8
mov rax, qword [rsp + 0x40]
mov edx, ebp
mov r9d, dword [rsp + 0x30]
mov rcx, r14
mov r8, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.14031e580
test eax, eax
js 0x14031d73e
test ebp, ebp
jle 0x14031d5d9
mov rcx, r14
sub rdi, r14
mov al, byte [rdi + rcx]
xor byte [rcx], al
inc rcx
mov rax, rcx
sub rax, r14
cmp rax, r13
jl 0x14031d5c6
mov r13d, 8
test r15d, r15d
je 0x14031d5f4
mov ecx, r13d
mov eax, 0xff
sub ecx, r15d
sar eax, cl
and byte [r14], al
mov al, byte [r14]
mov edi, ebx
test al, al
jne 0x14031d610
lea ecx, [rbp - 1]
mov rax, r14
cmp edi, ecx
jge 0x14031d610
inc rax
inc edi
cmp byte [rax], bl
je 0x14031d603
movsxd rax, edi
inc edi
cmp byte [rax + r14], 1
je 0x14031d640
call fcn.140273ec0
lea r8, [0x140463138]
xor edx, edx
lea rcx, [0x1404c05a8]
call fcn.140273fd0
mov edx, 0x87
jmp 0x14031d4b8
sub ebp, edi
cmp esi, 0xfffffffe
je 0x14031d687
cmp ebp, esi
je 0x14031d687
call fcn.140273ec0
lea r8, [0x140463138]
xor edx, edx
lea rcx, [0x1404c05a8]
call fcn.140273fd0
mov r9d, esi
mov dword [rsp + 0x20], ebp
lea r8, [0x140463158]
mov edx, 0x88
mov ecx, 4
call fcn.1402740c0
jmp 0x14031d73e
mov rdx, qword [rsp + 0x48]
xor r8d, r8d
mov rcx, r12
call fcn.1402c56a0
test eax, eax
je 0x14031d73e
mov r8, r13
lea rdx, [0x140463118]
mov rcx, r12
call fcn.1402c56e0
test eax, eax
je 0x14031d73e
movsxd rsi, dword [rsp + 0x30]
mov rcx, r12
mov rdx, qword [rsp + 0x50]
mov r8, rsi
call fcn.1402c56e0
test eax, eax
je 0x14031d73e
test ebp, ebp
je 0x14031d6eb
movsxd rdx, edi
mov rcx, r12
add rdx, r14
movsxd r8, ebp
call fcn.1402c56e0
test eax, eax
je 0x14031d73e
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1402c5520
test eax, eax
je 0x14031d73e
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x60]
mov r8, rsi
call fcn.1403ccdf0
test eax, eax
je 0x14031d739
call fcn.140273ec0
lea r8, [0x140463138]
xor edx, edx
lea rcx, [0x1404c05a8]
call fcn.140273fd0
mov edx, 0x68
jmp 0x14031d4b8
mov ebx, 1
xor r8d, r8d
lea rdx, [0x1404c05a8]
mov rcx, r14
call fcn.14026eca0
mov rcx, r12
call fcn.1402c5b30
mov eax, ebx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1403cb150
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret