Function at 0x140011e50
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
push r12
push r13
push r15
sub rsp, 0x110
mov rax, qword [0x1402a83b0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
cmp dword [rcx + 0x18], 0
mov r13, r9
mov qword [rsp + 0x50], r9
mov r9, r8
mov qword [rsp + 0x30], r8
mov r10, rdx
mov qword [rsp + 0x28], rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov ebx, 1
je 0x140011ea4
mov rbx, qword [rcx + 0xa0]
movzx eax, byte [rcx + 0x80d1]
movzx r15d, byte [rcx + 0x80d0]
mov byte [rsp + 0x20], al
mov rax, qword [rcx + 0x8630]
mov rcx, qword [rcx + 0x86d0]
mov r12, qword [rax + 0x48]
mov r11, qword [rax + 0x40]
shl rcx, 7
add r12, 0xffffffffffffff80
mov qword [rsp + 0x48], r11
add r12, rcx
mov qword [rsp + 0x40], r12
cmp rbx, 0x10
jbe 0x140011f10
lea rdx, str.....libgfflibjxrlib_strdec.c
lea rcx, str.cChannel___16
mov r8d, 0x26c
call fcn.1401ebaa4
mov r10, qword [rsp + 0x28]
mov r11, qword [rsp + 0x48]
mov r9, qword [rsp + 0x30]
xor edx, edx
test rbx, rbx
je 0x140011f3a
lea r8, [rdi + 0x8830]
nop
mov rax, qword [r8]
mov rcx, rdx
inc rdx
and ecx, 0xf
lea r8, [r8 + 8]
mov qword [rsp + rcx*8 + 0x70], rax
cmp rdx, rbx
jb 0x140011f20
cmp dword [rdi + 0x863c], 0
mov r8, rdi
je 0x140011f61
mov rax, qword [rdi + 0x8a30]
mov qword [rsp + 0x78], rax
mov rax, qword [rdi + 0x8a38]
mov qword [rsp + 0x80], rax
mov eax, dword [r8 + 0x1c]
mov qword [rsp + 0x158], rbp
mov qword [rsp + 0x108], rsi
dec eax
mov qword [rsp + 0x100], r14
cmp eax, 6
ja case.default.0x140011f9b
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x12724]
add rcx, rdx
jmp rcx
mov r14, qword [rsp + 0x160]
cmp r10, r14
jae 0x1400126ec
mov edi, dword [rsp + 0x170]
mov rcx, qword [rsp + 0x168]
mov r15, qword [rsp + 0x28]
mov rsi, r10
lea rax, [0x140265fb0]
shl rsi, 4
add rsi, rax
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r15*8]
mov r10, r9
cmp r9, r13
jae 0x14001207d
mov r14, qword [rsp + 0x38]
mov r12d, 0xff
nop dword [rax + rax]
mov r9, qword [r11 + r10*8]
xor r8d, r8d
add r9, rbp
add r9, qword [r14 + 0x80f0]
test rbx, rbx
je 0x140012063
mov rax, r10
and eax, 0xf
movzx r11d, byte [rax + rsi]
mov rax, r10
and rax, 0xfffffffffffffff0
shl rax, 4
add r11, rax
nop
mov rax, r8
and eax, 0xf
mov rax, qword [rsp + rax*8 + 0x70]
mov edx, dword [rax + r11*4]
add edx, edi
sar edx, cl
test edx, edx
jns 0x14001204b
xor edx, edx
jmp 0x140012052
cmp edx, r12d
cmovg edx, r12d
mov byte [r9 + r8], dl
inc r8
cmp r8, rbx
jb 0x140012030
mov r11, qword [rsp + 0x48]
inc r10
cmp r10, r13
jb 0x140012000
mov r14, qword [rsp + 0x160]
mov r9, qword [rsp + 0x30]
mov r12, qword [rsp + 0x40]
inc r15
add rsi, 0x10
cmp r15, r14
jb 0x140011fe0
jmp 0x1400126ec
mov r12, qword [rsp + 0x160]
cmp r10, r12
jae 0x1400126ec
mov esi, dword [rsp + 0x170]
mov rbp, qword [rsp + 0x168]
lea rax, [0x140265fb0]
mov r14, r10
movzx edi, r15b
shl r14, 4
add r14, rax
mov rax, qword [rsp + 0x40]
nop dword [rax]
mov r15, qword [rax + r10*8]
cmp qword [rsp + 0x30], r13
jae 0x14001218e
mov r12, qword [rsp + 0x38]
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [r11 + r9*8]
mov rax, qword [r12 + 0x80f0]
xor r8d, r8d
add rcx, r15
lea r10, [rax + rcx*2]
test rbx, rbx
je 0x140012170
mov rax, r9
mov r13d, 0xffff
and eax, 0xf
movzx r11d, byte [rax + r14]
mov rax, r9
and rax, 0xfffffffffffffff0
shl rax, 4
add r11, rax
nop word [rax + rax]
mov rax, r8
mov rcx, rbp
and eax, 0xf
mov rax, qword [rsp + rax*8 + 0x70]
mov edx, dword [rax + r11*4]
add edx, esi
sar edx, cl
mov ecx, edi
shl edx, cl
test edx, edx
jns 0x140012152
xor edx, edx
jmp 0x140012159
cmp edx, r13d
cmovg edx, r13d
mov word [r10 + r8*2], dx
inc r8
cmp r8, rbx
jb 0x140012130
mov r13, qword [rsp + 0x50]
mov r11, qword [rsp + 0x48]
inc r9
cmp r9, r13
jb 0x1400120f0
mov r12, qword [rsp + 0x160]
mov r10, qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x30]
inc r10
add r14, 0x10
mov qword [rsp + 0x28], r10
cmp r10, r12
jb 0x1400120d0
jmp 0x1400126ec
mov r13, qword [rsp + 0x160]
cmp r10, r13
jae 0x1400126ec
mov ebp, dword [rsp + 0x170]
mov r14, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x50]
movzx esi, r15b
mov r15, r10
lea rax, [0x140265fb0]
shl r15, 4
mov r11d, 0x7fff
add r15, rax
nop dword [rax]
mov r12, qword [r12 + r10*8]
cmp qword [rsp + 0x30], rcx
jae 0x1400122af
mov r13, qword [rsp + 0x50]
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + r9*8]
mov rax, qword [r8 + 0x80f0]
xor r8d, r8d
add rcx, r12
lea r10, [rax + rcx*2]
test rbx, rbx
je 0x14001228c
mov rax, r9
and eax, 0xf
movzx edi, byte [rax + r15]
mov rax, r9
and rax, 0xfffffffffffffff0
shl rax, 4
add rdi, rax
nop dword [rax + rax]
mov rax, r8
mov rcx, r14
and eax, 0xf
mov rax, qword [rsp + rax*8 + 0x70]
mov edx, dword [rax + rdi*4]
add edx, ebp
sar edx, cl
mov ecx, esi
shl edx, cl
cmp edx, 0xffff8000
jge 0x140012278
mov edx, 0xffff8000
jmp 0x14001227f
cmp edx, r11d
cmovg edx, r11d
mov word [r10 + r8*2], dx
inc r8
cmp r8, rbx
jb 0x140012250
mov r8, qword [rsp + 0x38]
inc r9
cmp r9, r13
jb 0x140012210
mov r13, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x50]
mov r10, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
mov r12, qword [rsp + 0x40]
inc r10
add r15, 0x10
mov qword [rsp + 0x28], r10
cmp r10, r13
jb 0x1400121f0
jmp 0x1400126ec
mov r12, qword [rsp + 0x160]
cmp r10, r12
jae 0x1400126ec
mov esi, dword [rsp + 0x170]
mov rbp, qword [rsp + 0x168]
lea rax, [0x140265fb0]
mov r14, r10
mov r11d, 0x7fff
shl r14, 4
add r14, rax
mov rax, qword [rsp + 0x40]
nop
mov r15, qword [rax + r10*8]
cmp qword [rsp + 0x30], r13
jae 0x1400123b5
mov r12, qword [rsp + 0x48]
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [r8 + 0x80f0]
mov rcx, qword [r12 + r9*8]
xor r8d, r8d
add rcx, r15
lea rdi, [rax + rcx*2]
test rbx, rbx
je 0x140012396
mov rax, r9
and eax, 0xf
movzx r10d, byte [rax + r14]
mov rax, r9
and rax, 0xfffffffffffffff0
shl rax, 4
add r10, rax
mov rax, r8
mov rcx, rbp
inc r8
and eax, 0xf
mov rax, qword [rsp + rax*8 + 0x70]
mov edx, dword [rax + r10*4]
add edx, esi
sar edx, cl
mov eax, edx
and dx, r11w
sar eax, 0x1f
xor dx, ax
sub dx, ax
mov word [rdi + r8*2 - 2], dx
cmp r8, rbx
jb 0x140012363
mov r8, qword [rsp + 0x38]
inc r9
cmp r9, r13
jb 0x140012330
mov r12, qword [rsp + 0x160]
mov r10, qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x30]
inc r10
add r14, 0x10
mov qword [rsp + 0x28], r10
cmp r10, r12
jb 0x140012310
jmp 0x1400126ec
mov r12, qword [rsp + 0x160]
cmp r10, r12
jae 0x1400126ec
mov esi, dword [rsp + 0x170]
mov rbp, qword [rsp + 0x168]
lea rax, [0x140265fb0]
mov r14, r10
movzx edi, r15b
shl r14, 4
add r14, rax
mov rax, qword [rsp + 0x40]
nop
mov r15, qword [rax + r10*8]
cmp qword [rsp + 0x30], r13
jae 0x140012496
nop dword [rax + rax]
mov rcx, qword [r11 + r9*8]
mov rax, qword [r8 + 0x80f0]
xor r8d, r8d
add rcx, r15
lea r11, [rax + rcx*4]
test rbx, rbx
je 0x14001247a
mov rax, r9
and eax, 0xf
movzx r10d, byte [rax + r14]
mov rax, r9
and rax, 0xfffffffffffffff0
shl rax, 4
add r10, rax
mov rax, r8
mov rcx, rbp
inc r8
and eax, 0xf
mov rax, qword [rsp + rax*8 + 0x70]
mov edx, dword [rax + r10*4]
add edx, esi
sar edx, cl
mov ecx, edi
shl edx, cl
mov dword [r11 + r8*4 - 4], edx
cmp r8, rbx
jb 0x140012453
mov r8, qword [rsp + 0x38]
mov r11, qword [rsp + 0x48]
inc r9
cmp r9, r13
jb 0x140012420
mov r10, qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
mov r11, qword [rsp + 0x48]
mov r9, qword [rsp + 0x30]
inc r10
add r14, 0x10
mov qword [rsp + 0x28], r10
cmp r10, r12
jb 0x140012410
jmp 0x1400126ec
mov r12, qword [rsp + 0x160]
cmp r10, r12
jae 0x1400126ec
mov esi, dword [rsp + 0x170]
mov rbp, qword [rsp + 0x168]
lea rax, [0x140265fb0]
mov r14, r10
movzx edi, r15b
shl r14, 4
add r14, rax
mov rax, qword [rsp + 0x40]
mov r15, qword [rax + r10*8]
cmp qword [rsp + 0x30], r13
jae 0x140012576
nop
mov rcx, qword [r11 + r9*8]
mov rax, qword [r8 + 0x80f0]
xor r8d, r8d
add rcx, r15
lea r11, [rax + rcx*4]
test rbx, rbx
je 0x14001255a
mov rax, r9
and eax, 0xf
movzx r10d, byte [rax + r14]
mov rax, r9
and rax, 0xfffffffffffffff0
shl rax, 4
add r10, rax
mov rax, r8
mov rcx, rbp
inc r8
and eax, 0xf
mov rax, qword [rsp + rax*8 + 0x70]
mov edx, dword [rax + r10*4]
add edx, esi
sar edx, cl
mov ecx, edi
shl edx, cl
mov dword [r11 + r8*4 - 4], edx
cmp r8, rbx
jb 0x140012533
mov r8, qword [rsp + 0x38]
mov r11, qword [rsp + 0x48]
inc r9
cmp r9, r13
jb 0x140012500
mov r10, qword [rsp + 0x28]
mov rax, qword [rsp + 0x40]
mov r11, qword [rsp + 0x48]
mov r9, qword [rsp + 0x30]
inc r10
add r14, 0x10
mov qword [rsp + 0x28], r10
cmp r10, r12
jb 0x1400124f4
jmp 0x1400126ec
cmp r10, qword [rsp + 0x160]
jae 0x1400126ec
mov r12d, dword [rsp + 0x170]
mov r13, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x50]
mov rdx, r10
lea rax, [0x140265fb0]
shl rdx, 4
add rdx, rax
mov qword [rsp + 0x58], rdx
mov rax, qword [rsp + 0x40]
mov rsi, r9
mov qword [rsp + 0x60], r9
mov rax, qword [rax + r10*8]
mov qword [rsp + 0x68], rax
cmp r9, rcx
jae 0x1400126b2
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r11 + rsi*8]
xor edi, edi
add rcx, rax
mov rax, qword [r8 + 0x80f0]
lea r14, [rax + rcx*4]
test rbx, rbx
je 0x14001268b
mov rax, rsi
and eax, 0xf
movzx ebp, byte [rax + rdx]
mov rax, rsi
movzx esi, byte [rsp + 0x20]
and rax, 0xfffffffffffffff0
shl rax, 4
add rbp, rax
nop word [rax + rax]
mov rcx, r13
mov rax, rdi
movzx r8d, r15b
and eax, 0xf
movzx edx, sil
mov rax, qword [rsp + rax*8 + 0x70]
mov r9d, dword [rax + rbp*4]
add r9d, r12d
sar r9d, cl
mov ecx, r9d
call fcn.1400118d0
inc rdi
movss dword [r14 + rdi*4 - 4], xmm0
cmp rdi, rbx
jb 0x140012640
mov rsi, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x38]
mov r11, qword [rsp + 0x48]
mov rax, qword [rsp + 0x68]
inc rsi
mov qword [rsp + 0x60], rsi
cmp rsi, qword [rsp + 0x50]
jb 0x140012600
mov rcx, qword [rsp + 0x50]
mov r10, qword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
inc r10
add rdx, 0x10
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x58], rdx
cmp r10, qword [rsp + 0x160]
jb 0x1400125d3
jmp 0x1400126ec
lea rdx, str.....libgfflibjxrlib_strdec.c
lea rcx, [0x140268fd8]
mov r8d, 0x2dc
call fcn.1401ebaa4
mov r14, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x108]
mov rbp, qword [rsp + 0x158]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401bd600
add rsp, 0x110
pop r15
pop r13
pop r12
pop rdi
pop rbx
ret