Function at 0x140049170
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14006d798]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, rdx
mov qword [rsp + 0x20], rdx
lea rdx, [rbp + 0x2f]
lea rcx, [0x14006e7b0]
call fcn.14004b420
mov al, byte [rbp + 0x2f]
cmp al, 1
jne 0x140049226
movdqa xmm0, xmmword [0x14005c6b0]
movdqu xmmword [rbp - 0x29], xmm0
movdqa xmm1, xmmword [0x14005c6a0]
movdqu xmmword [rbp - 0x19], xmm1
mov dword [rbp - 9], 0x6470643
mov dword [rbp - 5], 0x52524744
mov dword [rbp - 1], 0x5f5443
xor ebx, ebx
mov eax, ebx
mov cl, byte [rbp - 0x29]
xor byte [rbp + rax - 0x28], cl
inc rax
cmp rax, 0x2a
jb 0x1400491f2
mov byte [rbp + 2], bl
mov qword [rsi + 0x10], rbx
mov r14d, 0xf
mov qword [rsi + 0x18], r14
mov byte [rsi], bl
lea rdx, [rbp - 0x28]
mov rcx, rsi
call fcn.140002b2c
jmp 0x1400498dc
cmp al, 2
jne 0x140049467
mov edx, dword [rbp + 0x33]
lea rcx, [rbp - 0x29]
call fcn.14004842c
nop
mov cl, 0x3b
mov dword [rsp + 0x20], 0x5a1b1e3b
mov dword [rsp + 0x24], 0x1b5f55
xor ebx, ebx
mov eax, ebx
xor byte [rsp + rax + 0x21], cl
inc rax
cmp rax, 6
jae 0x140049264
mov cl, byte [rsp + 0x20]
jmp 0x140049251
mov byte [rsp + 0x27], bl
movzx edx, byte [rbp + 0x31]
lea rcx, [rbp + 7]
call fcn.140001538
nop
movdqa xmm0, xmmword [0x14005c670]
movdqu xmmword [rsp + 0x28], xmm0
mov dword [rbp - 0x71], 0x100e5900
mov dword [rbp - 0x6d], 0x59110d
mov rcx, rbx
mov al, byte [rsp + 0x28]
xor byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 0x16
jb 0x140049295
mov byte [rbp - 0x6a], bl
lea rax, [rbp - 0x80]
or rdi, 0xffffffffffffffff
mov r9, rdi
inc r9
cmp byte [rax + r9], bl
jne 0x1400492b4
lea r8, [rbp - 0x80]
xor edx, edx
lea rcx, [rbp + 7]
call fcn.140002c74
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x39], xmm1
mov qword [rax + 0x10], rbx
mov r14d, 0xf
mov qword [rax + 0x18], r14
mov byte [rax], bl
lea rax, [rsp + 0x21]
inc rdi
cmp byte [rax + rdi], bl
jne 0x1400492f8
mov r8, rdi
lea rdx, [rsp + 0x21]
lea rcx, [rbp - 0x49]
call fcn.140002a38
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x59], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r14
mov byte [rax], bl
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x69]
mov rcx, rsi
call fcn.140001204
nop
mov edi, 0x1000
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x140049382
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, rdi
jb 0x14004937d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004937d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], bl
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x1400493cc
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, rdi
jb 0x1400493c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400493c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], bl
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140049416
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, rdi
jb 0x140049411
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049411
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], bl
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1400498dc
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, rdi
jb 0x1400498d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400498d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp al, 4
jne 0x1400496a5
mov edx, dword [rbp + 0x33]
lea rcx, [rbp - 0x29]
call fcn.14004842c
nop
mov cl, 0x48
mov dword [rsp + 0x20], 0x29686d48
mov dword [rsp + 0x24], 0x682c26
xor ebx, ebx
mov eax, ebx
xor byte [rsp + rax + 0x21], cl
inc rax
cmp rax, 6
jae 0x1400494a5
mov cl, byte [rsp + 0x20]
jmp 0x140049492
mov byte [rsp + 0x27], bl
movzx edx, byte [rbp + 0x31]
lea rcx, [rbp + 7]
call fcn.140001538
nop
movdqa xmm0, xmmword [0x14005c640]
movdqu xmmword [rsp + 0x28], xmm0
mov word [rbp - 0x71], 0x541c
xor eax, eax
mov byte [rbp - 0x6f], al
mov rcx, rbx
mov al, byte [rsp + 0x28]
xor byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 0x11
jb 0x1400494d3
mov byte [rbp - 0x6f], bl
lea rax, [rbp - 0x80]
or rdi, 0xffffffffffffffff
mov r9, rdi
inc r9
cmp byte [rax + r9], bl
jne 0x1400494f2
lea r8, [rbp - 0x80]
xor edx, edx
lea rcx, [rbp + 7]
call fcn.140002c74
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x59], xmm1
mov qword [rax + 0x10], rbx
mov r14d, 0xf
mov qword [rax + 0x18], r14
mov byte [rax], bl
lea rax, [rsp + 0x21]
inc rdi
cmp byte [rax + rdi], bl
jne 0x140049536
mov r8, rdi
lea rdx, [rsp + 0x21]
lea rcx, [rbp - 0x69]
call fcn.140002a38
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x39], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r14
mov byte [rax], bl
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.140001204
nop
mov edi, 0x1000
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x1400495c0
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, rdi
jb 0x1400495bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400495bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], bl
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x14004960a
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, rdi
jb 0x140049605
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049605
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], bl
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140049654
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, rdi
jb 0x14004964f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004964f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], bl
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1400498dc
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, rdi
jb 0x1400498d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400498d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp al, 8
jne 0x1400498df
mov edx, dword [rbp + 0x33]
lea rcx, [rbp - 0x29]
call fcn.14004842c
nop
mov cl, 0x3f
mov dword [rsp + 0x20], 0x5e1f1a3f
mov dword [rsp + 0x24], 0x1f5b51
xor ebx, ebx
mov eax, ebx
xor byte [rsp + rax + 0x21], cl
inc rax
cmp rax, 6
jae 0x1400496e3
mov cl, byte [rsp + 0x20]
jmp 0x1400496d0
mov byte [rsp + 0x27], bl
movzx edx, byte [rbp + 0x31]
lea rcx, [rbp + 7]
call fcn.140001538
nop
movdqa xmm0, xmmword [0x14005c690]
movdqu xmmword [rsp + 0x28], xmm0
mov word [rbp - 0x71], 0x6129
xor eax, eax
mov byte [rbp - 0x6f], al
mov rcx, rbx
mov al, byte [rsp + 0x28]
xor byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 0x11
jb 0x140049711
mov byte [rbp - 0x6f], bl
lea rax, [rbp - 0x80]
or rdi, 0xffffffffffffffff
mov r9, rdi
inc r9
cmp byte [rax + r9], bl
jne 0x140049730
lea r8, [rbp - 0x80]
xor edx, edx
lea rcx, [rbp + 7]
call fcn.140002c74
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x59], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x69], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x59], xmm1
mov qword [rax + 0x10], rbx
mov r14d, 0xf
mov qword [rax + 0x18], r14
mov byte [rax], bl
lea rax, [rsp + 0x21]
inc rdi
cmp byte [rax + rdi], bl
jne 0x140049774
mov r8, rdi
lea rdx, [rsp + 0x21]
lea rcx, [rbp - 0x69]
call fcn.140002a38
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x39], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r14
mov byte [rax], bl
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.140001204
nop
mov edi, 0x1000
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x1400497fe
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, rdi
jb 0x1400497f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400497f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], bl
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x140049848
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, rdi
jb 0x140049843
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049843
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], bl
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140049892
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, rdi
jb 0x14004988d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004988d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], bl
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1400498dc
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, rdi
jb 0x1400498d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400498d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
mov rax, rsi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14004cef0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret