Function at 0x140111fb0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1c8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x140], 0xfffffffffffffffe
mov rsi, rcx
mov rcx, qword [rbp + 0x1b0]
mov dword [rsi + 0xc], r9d
mov r14d, r9d
mov rbx, r8
lea rax, [0x14038e0fc]
movsxd r9, dword [0x14038e0fc]
mov r8, r9
xor r8, rax
and r9, rax
lea rax, [r8 + r9*2]
mov r9d, dword [0x14038e0f4]
test r14d, r14d
jns case.0x140112081.4
cmp byte [rsi + 0x10], 0
je case.0x140112081.4
mov r13d, dword [0x140468240]
lea r8d, [r13 + 1]
mov dword [0x140468240], r8d
xor edi, edi
mov dword [rbp + 0xbc], r8d
test r13d, r8d
jne 0x140112060
test r9d, r9d
jle 0x140112060
xor r8d, r8d
xor edi, edi
nop dword [rax]
movsxd r8, r8d
xor edi, dword [rax + r8]
add r8d, 4
cmp r8d, r9d
jl 0x140112050
lea eax, [r14 + 0x14]
cmp eax, 0x13
mov dword [rbp + 0x13c], edx
ja case.0x140112081.18
lea r8, [0x14011325c]
movsxd rax, dword [r8 + rax*4]
add rax, r8
jmp rax
movzx edx, word [0x1404be8b4]
mov r8d, 0x90520cf7
call fcn.14009dfc0
test rax, rax
lea r15, [0x14038bd38]
cmovne r15, rax
lea r14, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r15
mov edx, 0x522f1e4b
call fcn.14009da60
mov r12, rax
cmp rax, 0xf
jbe 0x140112679
mov rcx, r14
mov rdx, r12
mov r9, r15
call fcn.14008e2e0
jmp 0x140112697
mov qword [rbp + 0x130], r13
movzx edx, word [0x1404be8b2]
mov r8d, 0x90520cf7
call fcn.14009dfc0
test rax, rax
lea r12, [0x14038bd38]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.14009da60
mov r13, rax
cmp rax, 0xf
jbe 0x140112517
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.14008e2e0
jmp 0x140112535
mov qword [rbp + 0x130], r13
movzx edx, word [0x1404be8aa]
mov r8d, 0x90520cf7
call fcn.14009dfc0
test rax, rax
lea r12, [0x14038bd38]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.14009da60
mov r13, rax
cmp rax, 0xf
jbe 0x1401125d2
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.14008e2e0
jmp 0x1401125f0
mov qword [rbp + 0x130], r13
movzx edx, word [0x1404be8a8]
mov r8d, 0x90520cf7
call fcn.14009dfc0
test rax, rax
lea r12, [0x14038bd38]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.14009da60
mov r13, rax
cmp rax, 0xf
jbe 0x140112722
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.14008e2e0
jmp 0x140112740
movzx edx, word [0x1404be8a6]
mov r8d, 0x90520cf7
call fcn.14009dfc0
test rax, rax
lea r15, [0x14038bd38]
cmovne r15, rax
lea r14, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r15
mov edx, 0x522f1e4b
call fcn.14009da60
mov r12, rax
cmp rax, 0xf
jbe 0x1401127c9
mov rcx, r14
mov rdx, r12
mov r9, r15
call fcn.14008e2e0
jmp 0x1401127e7
mov qword [rbp + 0x130], r13
movzx edx, word [0x1404be8a0]
mov r8d, 0x90520cf7
call fcn.14009dfc0
test rax, rax
lea r12, [0x14038bd38]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.14009da60
mov r13, rax
cmp rax, 0xf
jbe 0x140112864
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.14008e2e0
jmp 0x140112882
mov qword [rbp + 0x130], r13
movzx edx, word [0x1404be8ae]
mov r8d, 0x90520cf7
call fcn.14009dfc0
test rax, rax
lea r12, [0x14038bd38]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.14009da60
mov r13, rax
cmp rax, 0xf
jbe 0x14011290b
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.14008e2e0
jmp 0x140112929
mov qword [rbp + 0x130], r13
movzx edx, word [0x1404be8ac]
mov r8d, 0x90520cf7
call fcn.14009dfc0
test rax, rax
lea r12, [0x14038bd38]
cmovne r12, rax
lea r15, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r12
mov edx, 0x522f1e4b
call fcn.14009da60
mov r13, rax
cmp rax, 0xf
jbe 0x1401129b2
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.14008e2e0
jmp 0x1401129d0
movzx edx, word [0x1404be8a2]
mov r8d, 0x90520cf7
call fcn.14009dfc0
test rax, rax
lea r15, [0x14038bd38]
cmovne r15, rax
lea r14, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r15
mov edx, 0x522f1e4b
call fcn.14009da60
mov r12, rax
cmp rax, 0xf
jbe 0x140112a59
mov rcx, r14
mov rdx, r12
mov r9, r15
call fcn.14008e2e0
jmp 0x140112a77
movzx edx, word [0x1404be8a4]
mov r8d, 0x90520cf7
call fcn.14009dfc0
test rax, rax
lea r15, [0x14038bd38]
cmovne r15, rax
lea r14, [rbp + 0xc8]
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0xf
mov byte [rbp + 0xc8], 0
mov rcx, r15
mov edx, 0x522f1e4b
call fcn.14009da60
mov r12, rax
cmp rax, 0xf
jbe 0x140112afd
mov rcx, r14
mov rdx, r12
mov r9, r15
call fcn.14008e2e0
jmp 0x140112b1b
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.140370d70
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x14038b458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x140112562
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.14007ecd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x140112b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140112b95
mov r8, qword [rcx - 8]
mov rdx, rcx
xor rdx, 0xfffffffffffffff8
movabs r9, 0x7ffffffffffffff8
and r9, rcx
lea rcx, [rdx + r9*2]
sub rcx, r8
cmp rcx, 0x20
jb 0x140112b8b
call fcn.1403294cc
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.140370d70
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x14038b458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x14011261d
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.14007ecd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x140112b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140112b95
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jb 0x140112b8b
call fcn.1403294cc
mov qword [rbp + 0xd8], r12
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.140370d70
mov byte [rbp + r12 + 0xc8], 0
lea rax, [0x14038b458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r12d, dword [rbp + 0x13c]
jb 0x1401126bd
mov r14, qword [rbp + 0xc8]
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r14
mov r9, rbx
call fcn.14007ecd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x140112b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140112b95
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140112d52
mov rcx, rax
xor rcx, 0x28
and eax, 0x28
lea rdx, [rcx + rax*2]
jmp 0x140112b92
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.140370d70
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x14038b458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x14011276d
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.14007ecd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x140112b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140112b95
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jb 0x140112b8b
call fcn.1403294cc
mov qword [rbp + 0xd8], r12
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.140370d70
mov byte [rbp + r12 + 0xc8], 0
lea rax, [0x14038b458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r12d, dword [rbp + 0x13c]
jb 0x14011280d
mov r14, qword [rbp + 0xc8]
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r14
mov r9, rbx
call fcn.14007ecd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x140112b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140112b95
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jb 0x140112b8b
call fcn.1403294cc
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.140370d70
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x14038b458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x1401128af
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.14007ecd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x140112b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140112b95
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jb 0x140112b8b
call fcn.1403294cc
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.140370d70
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x14038b458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x140112956
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.14007ecd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x140112b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140112b95
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jb 0x140112b8b
call fcn.1403294cc
mov qword [rbp + 0xd8], r13
mov rcx, r15
mov rdx, r12
mov r8, r13
call fcn.140370d70
mov byte [rbp + r13 + 0xc8], 0
lea rax, [0x14038b458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r13, qword [rbp + 0x130]
mov r12d, dword [rbp + 0x13c]
jb 0x1401129fd
mov r15, qword [rbp + 0xc8]
mov dword [rsp + 0x20], r14d
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r15
mov r9, rbx
call fcn.14007ecd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x140112b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140112b95
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jb 0x140112b8b
call fcn.1403294cc
mov qword [rbp + 0xd8], r12
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.140370d70
mov byte [rbp + r12 + 0xc8], 0
lea rax, [0x14038b458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r12d, dword [rbp + 0x13c]
jb 0x140112a9d
mov r14, qword [rbp + 0xc8]
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r14
mov r9, rbx
call fcn.14007ecd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x140112b9a
mov rcx, qword [rbp + 0xc8]
cmp byte [0x1404bed19], 0
jne 0x140112ae3
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140112b95
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jb 0x140112b8b
call fcn.1403294cc
mov qword [rbp + 0xd8], r12
mov rcx, r14
mov rdx, r15
mov r8, r12
call fcn.140370d70
mov byte [rbp + r12 + 0xc8], 0
lea rax, [0x14038b458]
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xe0], 0x10
mov r12d, dword [rbp + 0x13c]
jb 0x140112b41
mov r14, qword [rbp + 0xc8]
lea rcx, [rbp - 0x50]
mov edx, 0x100
mov r8, r14
mov r9, rbx
call fcn.14007ecd0
mov rax, qword [rbp + 0xe0]
cmp rax, 0x10
jb 0x140112b9a
mov rcx, qword [rbp + 0xc8]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140112b95
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x140112d57
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14009d7c0
lea rcx, [rbp + 0xd8]
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xf8], 0xf
mov byte [rbp + 0xe0], 0
lea rax, [0x14038b458]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x120], 0xf
mov byte [rbp + 0x108], 0
mov qword [rbp + 0x100], rax
mov dword [rbp + 0xc0], r12d
movaps xmm0, xmmword [0x14038e0e0]
movups xmmword [rbp + 0xc4], xmm0
mov edx, 0x408
add rdx, qword [rsi + 0x18]
call fcn.14021bd80
lea rcx, [rbp + 0x100]
lea rdx, [rbp - 0x50]
call fcn.14021aeb0
mov byte [rbp + 0x128], 0
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov r10, qword [case.0x14011905d.0]
mov qword [rsp + 0x20], 0
lea rdx, [rbp + 0xb0]
lea r9, [rbp + 0xc0]
xor r8d, r8d
call r10
mov rax, qword [rbp + 0x120]
cmp rax, 0x10
jb 0x140112c9e
mov rcx, qword [rbp + 0x108]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140112c99
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x140112d48
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14009d7c0
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x120], 0xf
mov byte [rbp + 0x108], 0
mov rax, qword [rbp + 0xf8]
cmp rax, 0x10
jb case.0x140112081.4
mov rcx, qword [rbp + 0xe0]
cmp byte [0x1404bed18], 0
jne 0x140112ce5
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x140112d2e
and r13d, dword [rbp + 0xbc]
mov edx, dword [0x14038e100]
xor r8d, r8d
cmp r13d, 1
sbb r8d, r8d
sub edx, edi
test edx, r8d
setne dl
or dl, byte [0x1404bed18]
and dl, 1
mov byte [0x1404bed18], dl
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140112d4d
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.14009d7c0
nop
add rsp, 0x1c8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1403294cc
call fcn.1403294cc
call fcn.1403294cc
call fcn.1403294cc
int3