Function at 0x14004eeb0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xa8
test edx, edx
je 0x14004eea7
mov eax, dword [rcx + 0x1f50]
cmp eax, 2
jne 0x14004ee7e
add rsp, 0xa8
jmp 0x14004eeb0
cmp eax, 3
jne 0x14004eea7
mov r8d, edx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.14004e5f8
lea rcx, [rsp + 0x20]
call fcn.14004e758
lea rcx, [rsp + 0x20]
call fcn.14004e1d4
add rsp, 0xa8
ret
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11a0]
mov eax, 0x12a0
call fcn.140078c40
sub rsp, rax
mov rax, qword [0x1400aa998]
xor rax, rsp
mov qword [rbp + 0x1190], rax
mov ebx, edx
mov rsi, rcx
mov ecx, 0x94
call fcn.140001934
mov rax, qword [rsi + 0xc08]
mov qword [rsp + 0x40], rax
mov byte [rsi + 0x1f5b], 1
mov rax, qword [rsi]
mov edx, dword [rsi + 0x16d0]
add rdx, qword [rsi + 0x1f60]
xor r8d, r8d
mov rcx, rsi
mov rax, qword [rax + 0x20]
call qword [case.0x14005b02f.0]
xor r13d, r13d
mov byte [rsp + 0x20], r13b
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
mov rcx, rsi
call fcn.140010de0
mov rax, qword [rsi]
lea r15d, [r13 + 2]
mov r8d, r15d
xor edx, edx
mov rcx, rsi
mov rax, qword [rax + 0x20]
call qword [case.0x14005b02f.0]
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x28]
call qword [case.0x14005b02f.0]
mov r14, rax
mov qword [rsp + 0x38], rax
mov rdx, rax
mov ecx, ebx
call fcn.14004f4e8
mov edi, eax
mov dword [rsp + 0x34], eax
mov r12d, r13d
lea rcx, [rsi + 0x1b20]
lea edx, [r13 + 0x14]
call fcn.140037c3c
mov byte [rsi + 0x1b30], 1
lea rcx, [rsi + 0x1bb0]
mov edx, r15d
call fcn.140037794
mov dword [rsp + 0x28], r13d
lea rax, [0x140094284]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.14000c1e8
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov rax, qword [rax + 0x20]
call qword [case.0x14005b02f.0]
mov r15d, r13d
mov ebx, r13d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov eax, edi
shl eax, 9
cdqe
mov qword [rsp + 0x68], rax
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000b098
nop
mov r13d, 0xfffffff
mov dword [rsp + 0x30], r13d
mov rdi, qword [rsp + 0x70]
jmp 0x14004f16f
call fcn.1400681b0
mov ecx, 0x200
cmp r14, rcx
jae 0x14004f04f
movsxd r13, r14d
mov r8d, ecx
sub r8, r13
lea rcx, [rbp - 0x70]
add rcx, r13
xor edx, edx
call fcn.14007aff0
xor r14d, r14d
jmp 0x14004f055
mov r13d, ecx
sub r14, rcx
mov rax, qword [rsi]
movsxd r8, r13d
lea rdx, [rbp - 0x70]
mov rcx, rsi
mov rax, qword [rax + 0x18]
call qword [case.0x14005b02f.0]
mov ecx, r15d
shl ecx, 9
add rcx, rdi
lea rdx, [rbp - 0x70]
sub rdx, rcx
mov r8d, 0x200
mov al, byte [rcx + rdx]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x14004f082
mov r8d, 0x200
lea rdx, [rbp - 0x70]
or ecx, 0xffffffff
call fcn.140022504
mov byte [rbp + rbx + 0x190], al
inc ebx
shr eax, 8
mov byte [rbp + rbx + 0x190], al
inc ebx
mov r13d, 0x1000
cmp ebx, r13d
jne 0x14004f131
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x28]
call qword [case.0x14005b02f.0]
mov rbx, rax
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x20]
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rsi
call qword [case.0x14005b02f.0]
mov r8d, r13d
lea rdx, [rbp + 0x190]
mov rcx, rsi
call fcn.1400323e0
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x20]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [case.0x14005b02f.0]
mov r8d, r13d
lea rdx, [rbp + 0x190]
mov ecx, dword [rsp + 0x30]
call fcn.140022504
mov r13d, eax
mov dword [rsp + 0x30], eax
xor ebx, ebx
jmp 0x14004f136
mov r13d, dword [rsp + 0x30]
test r12b, r12b
jne 0x14004f15e
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x5c], r12b
jne 0x14004f15e
mov rdx, r12
shl rdx, 9
mov r8, qword [rsp + 0x38]
lea rcx, [0x14009428c]
call fcn.14006a69c
inc r12
lea eax, [r15 + 1]
cmp eax, dword [rsp + 0x34]
sbb r15d, r15d
and r15d, eax
test r14, r14
jg 0x14004f024
mov rax, qword [rsi]
mov r15d, 2
mov r8d, r15d
xor edx, edx
mov rcx, rsi
mov rax, qword [rax + 0x20]
call qword [case.0x14005b02f.0]
mov r8, rbx
lea rdx, [rbp + 0x190]
mov rcx, rsi
call fcn.1400323e0
mov r8, rbx
lea rdx, [rbp + 0x190]
mov ecx, r13d
call fcn.140022504
mov ebx, eax
mov r14, qword [rsp + 0x68]
mov r8, r14
mov rdx, rdi
mov rcx, rsi
call fcn.1400323e0
mov r8, r14
mov rdx, rdi
mov ecx, ebx
call fcn.140022504
mov dword [rsi + 0x1bb0], r15d
not eax
mov dword [rsi + 0x1bb4], eax
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
mov rax, qword [rax + 0x20]
call qword [case.0x14005b02f.0]
lea rcx, [rsp + 0x48]
call fcn.14005151c
nop
lea r8d, [r15 + 6]
lea rdx, [0x140094290]
lea rcx, [rsp + 0x48]
call fcn.140051770
movsxd rdx, dword [rsp + 0x34]
lea rcx, [rsp + 0x48]
call fcn.140051684
mov rdx, r12
lea rcx, [rsp + 0x48]
call fcn.140051740
lea rdx, [rsi + 0x1b68]
lea rcx, [rsp + 0x48]
call fcn.140051548
lea r8, [r14 + r12*2]
xor ebx, ebx
mov dword [rsp + 0x28], ebx
lea rax, [0x14009429c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov rcx, rsi
call fcn.14000c1e8
mov rax, qword [rsi]
mov r8d, r15d
xor edx, edx
mov rcx, rsi
mov rax, qword [rax + 0x20]
call qword [case.0x14005b02f.0]
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x5c], bl
jne 0x14004f29b
lea rcx, [0x1400942a8]
call fcn.1400223bc
mov ecx, 0x95
call fcn.140001934
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14004f2ec
mov rdx, qword [rsp + 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f2d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f351
call fcn.140078b24
mov qword [rsp + 0x48], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
test rdi, rdi
je 0x14004f321
mov rdx, qword [rbp - 0x80]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004f319
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f34b
mov rcx, rdi
call fcn.140078b24
mov rcx, qword [rbp + 0x1190]
xor rcx, rsp
call fcn.140078ca0
mov rbx, qword [rsp + 0x12f0]
add rsp, 0x12a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14007e144
nop
call fcn.14007e144
nop
int3