Function at 0x1401f9bc0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov eax, dword [0x14058f310]
mov ecx, dword [0x140592644]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x26838]
jg 0x1401f9ca0
call fcn.140099e20
mov rsi, rax
movzx eax, byte [0x14058f328]
movzx ecx, byte [0x140538bd0]
lea edx, [rcx + 0x12]
xor dl, al
not al
and al, 0xfe
or al, dl
lea edx, [rcx + 0x10]
mov r8b, 0xef
sub r8b, cl
and r8b, al
not al
and al, dl
or r8b, al
je 0x1401f9c70
call fcn.140099e20
mov rcx, qword [0x14058f318]
sub rcx, qword [0x140538bc8]
sub rcx, rax
movabs rax, 0xc3bee2612da96958
add rax, rcx
movabs rcx, 0xa25f25887dfe1e6
mov rdx, rax
xor rdx, rcx
and rax, rcx
lea rcx, [rdx + rax*2]
jmp 0x1401f9c72
xor ecx, ecx
add rcx, rsi
mov rdx, qword [0x140538bc8]
sub rdx, qword [0x14058f320]
movabs rax, 0x321b2b464a76b4c2
add rax, rcx
add rax, rdx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov dword [rsp + 0x20], 0xb3ab4e8
lea rdx, [0x14058f310]
mov ecx, 1
mov r8d, 0xc0614483
mov r9d, 0x109660b3
call fcn.1401fb220
cmp dword [0x14058f310], 0xffffffff
jne 0x1401f9bfe
lea rcx, [0x14058f2e0]
call fcn.14025e5b0
cmp dword [0x140538bd4], 0xebbf0165
jne 0x1401f9d06
movsxd rdi, dword [0x1404537e0]
mov eax, dword [0x14058f33c]
mov ecx, 0x1440fedd
add ecx, dword [0x140538bd4]
cmp eax, ecx
jl 0x1401f9d0e
mov eax, dword [0x1404537e0]
jmp 0x1401f9cea
cmp dword [0x140538bd4], 0xebbf0165
jne 0x1401f9d25
mov eax, dword [0x14058f33c]
cmp eax, 0x2b
jl 0x1401f9d32
mov eax, dword [0x14058f33c]
cmp eax, 0x34
jge 0x1401f9d25
jmp 0x1401f9d1a
mov esi, dword [0x1404537e4]
xorps xmm0, xmm0
movups xmmword [0x14058f2f8], xmm0
mov qword [0x14058f308], 0
call fcn.140099e20
movabs rcx, 0x1a51b0699abe5029
add rdi, rcx
lea rcx, [0x1404537e0]
xor rdi, rcx
mov rdx, rdi
not rdx
and rdx, rcx
lea rcx, [rdi + rdx*2]
movabs r8, 0xe5ae4f966541afd7
add r8, rcx
mov qword [0x14058f318], rax
mov eax, dword [0x14058f338]
mov edi, dword [0x140538a00]
mov eax, dword [0x14058f33c]
mov ecx, dword [0x140538bd4]
mov edx, ecx
xor edx, 0x1440fef9
and ecx, 0x1440fef9
lea ecx, [rdx + rcx*2]
cmp eax, ecx
jge 0x1401f9d90
mov edx, 0x1440fec5
lea ebx, [rdi + 1]
mov r9d, 0x1440fe9b
lea r10d, [rdi + rdi]
lea ecx, [r10 + rdi*2]
mov eax, 1
sub eax, ecx
mov ecx, dword [0x14058f33c]
mov r11d, dword [0x140538bd4]
add r11d, edx
cmp ecx, r11d
jge 0x1401f9e0f
mov dword [0x140538a00], ebx
mov ecx, dword [0x14058f338]
lea r11d, [rcx - 1]
imul r11d, ecx
and r11d, 1
mov ecx, dword [0x140538bd4]
add ecx, r9d
cmp r11d, ecx
je 0x1401f9e3f
mov r11d, r10d
mov ecx, eax
shl r11d, cl
shl r11d, cl
mov ecx, r11d
sub ecx, eax
imul ecx, eax
mov r14d, r11d
shl r14d, cl
add r14d, r11d
mov dword [0x140538a00], r14d
mov ecx, dword [0x14058f33c]
cmp ecx, 0x29
jge 0x1401f9dd4
jmp 0x1401f9de9
xor r14d, r14d
mov r15d, 0
test edi, ebx
jne 0x1401f9e9f
mov eax, dword [0x14058f338]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1401f9e7c
mov ecx, dword [0x14058f338]
lea eax, [rcx - 1]
imul eax, ecx
mov ecx, 0x1440fe9d
add ecx, dword [0x140538bd4]
xor edx, edx
div ecx
test edx, edx
je 0x1401f9e89
mov eax, dword [0x14058f33c]
cmp eax, 0x17
jge 0x1401f9e7c
jmp 0x1401f9e5d
xor eax, eax
mov r14d, 0
mov r15d, 0
test esi, esi
jg 0x1401f9ffc
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], 0xc
mov dword [rsp + 0x20], 0x9f7bbdbe
mov ecx, 1
mov edx, 1
mov r8d, 0xd33c338e
mov r9d, 0xd3b1aad9
call fcn.1401faf80
mov rcx, qword [rax]
mov qword [rbp - 0x20], rcx
mov eax, dword [rax + 8]
mov dword [rbp - 0x18], eax
mov byte [rbp - 0x14], 0
lea rcx, [rbp - 0x38]
lea rdx, [rbp - 0x20]
call fcn.140260aa0
lea rcx, [0x14058f2e0]
lea rsi, [rbp - 0x38]
mov rdx, rsi
mov r8d, 0x55db1de0
call fcn.1401fa910
mov rcx, rsi
call fcn.1401f8610
mov rax, qword [rbp - 8]
movabs rcx, 0x321b2b464a76b4d1
add rcx, qword [0x140538bc8]
cmp rax, rcx
jbe 0x1401f9f80
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + rax]
sub rdx, rax
inc rdx
movabs r8, 0x321b2b464a76c4c1
add r8, qword [0x140538bc8]
cmp rdx, r8
jbe 0x1401f9f7b
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x1401fa08a
sub rax, qword [0x140538bc8]
movabs rdx, 0xcde4d4b9b5894b66
add rdx, rax
mov rcx, r8
call fcn.1400ab9e0
lea rcx, [0x14058f2e0]
call fcn.14025e6d0
test al, al
je 0x1401fa305
lea rcx, [0x14058f2e0]
call fcn.14025e6c0
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov ecx, 1
xor edx, edx
mov r8d, 0xe7e8c8eb
mov r9d, 0x3635ca4e
call fcn.1401fabd0
lea rcx, [rbp - 0x20]
mov edx, 0x26
mov r9, rax
call fcn.14008c390
lea rcx, [0x14058f2e0]
lea rdx, [rbp - 0x20]
call fcn.1402608f0
mov cl, 1
test cl, cl
jne 0x1401fa08f
jmp 0x1401fa0b2
xor r14d, r14d
xor r15d, r15d
jmp 0x1401fa039
not r15
not r14
mov r9, r14
and r9, rdx
not rdx
mov r10, r15
and r10, rcx
not rcx
xor r15, rcx
xor r14, rdx
and r14, rdx
or r14, r9
and r15, rcx
or r15, r10
add eax, 0x10
cmp eax, esi
jge 0x1401f9e9f
movsxd rcx, eax
mov edx, dword [0x14058f33c]
cmp edx, 9
jg 0x1401fa03c
add rcx, r8
mov rdx, qword [rcx]
mov rcx, qword [rcx + 8]
mov r9d, dword [0x14058f338]
lea r10d, [r9 - 1]
imul r10d, r9d
test r10b, 1
jne 0x1401fa07b
mov r9d, dword [0x14058f338]
lea r10d, [r9 - 1]
imul r10d, r9d
test r10b, 1
je 0x1401fa004
mov r9d, dword [0x14058f33c]
cmp r9d, 0x12
jge 0x1401fa07b
jmp 0x1401fa066
call fcn.1403e88ec
mov rcx, qword [0x1404537f0]
mov rdx, qword [0x1404537e8]
mov r8d, dword [0x14058f338]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
je 0x1401fa0c2
mov rcx, qword [0x1404537f0]
mov rcx, qword [0x1404537e8]
jmp 0x1401fa08f
xor r8d, r8d
lea r9, [fcn.1401f9bc0]
add r9d, r9d
add r9d, 0x27a0
mov r10d, dword [0x14058f338]
lea r11d, [r10 - 1]
imul r11d, r10d
test r11b, 1
jne 0x1401fa0f0
test r8b, r8b
je 0x1401fa10f
mov r10d, dword [0x140538bd4]
lea r11d, [r10 + 0x1440fe9c]
and r11d, r9d
add r10d, 0x1440fe9b
cmp r11d, r10d
jne 0x1401fa0d6
jmp 0x1401fa0eb
xor r8d, r8d
test edi, ebx
setne r8b
lea r10, [r8 + r8*2]
not r10
shl r8, 2
xor r9d, r9d
add r8, r10
adc r9, 0xffffffffffffffff
sub rdx, r14
sbb rcx, r15
mov r10d, dword [0x14058f338]
lea r11d, [r10 + 1]
imul r11d, r10d
test r11b, 1
jne 0x1401fa155
mov r10d, dword [0x14058f33c]
cmp r10d, 0x5a
jl 0x1401fa164
mov r10d, dword [0x14058f33c]
cmp r10d, 0x52
jge 0x1401fa155
jmp 0x1401fa148
xor rcx, r9
xor rdx, r8
not rdx
not rcx
and rdx, r8
and rcx, r9
or rcx, rdx
setne cl
or cl, byte [0x14058f1a8]
and cl, 1
mov byte [0x14058f1a8], cl
mov qword [0x14058f2f8], rax
mov rax, qword [rbp - 8]
cmp rax, 0xf
jbe 0x1401fa20b
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + rax]
sub rdx, rax
inc rdx
cmp rdx, 0x1000
jb 0x1401fa206
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
movabs rdx, 0xd24971d2a992722
mov r9, rcx
xor r9, rdx
and rcx, rdx
lea rcx, [r9 + rcx*2]
sub rcx, r8
movabs rdx, 0xf2db68e2d566d8de
add rdx, rcx
movabs rcx, 0x321b2b464a76b4e2
add rcx, qword [0x140538bc8]
cmp rdx, rcx
jae 0x1401fa3e0
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.1400ab9e0
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
xor ecx, ecx
xor edx, edx
mov r8d, 0x330cf17f
mov r9d, 0xc0614483
call fcn.1401fa9a0
lea rcx, [rbp - 0x20]
mov edx, 0x28
mov r9, rax
call fcn.14008c390
lea rcx, [0x14058f2e0]
lea rdx, [rbp - 0x20]
call fcn.1402608f0
mov qword [0x14058f300], rax
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x1401fa2dd
mov rcx, qword [rbp - 0x20]
mov edx, eax
not edx
and edx, 1
mov r8, rax
and r8, 0xfffffffffffffffe
or r8, rdx
mov r9d, eax
and r9d, 1
mov r10, qword [0x140538bc8]
movabs rdx, 0x321b2b464a76b4c4
mov r11, r10
xor r11, rdx
and rdx, r10
lea rdx, [r11 + rdx*2]
imul rdx, r9
add rdx, r8
movabs r8, 0x321b2b464a76c4c1
add r8, r10
cmp rdx, r8
jbe 0x1401fa2d8
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x1401fa3e5
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.1400ab9e0
lea rax, [0x14042f850]
cmp qword [0x14058f2f8], rax
sete al
movzx ecx, byte [0x14058f1a8]
test cl, al
jne 0x1401fa397
xor cl, al
jne 0x1401fa397
mov rax, qword [0x14058f2f8]
test rax, rax
je 0x1401fa353
cmp qword [0x14058f300], 0
je 0x1401fa353
lea rcx, [0x1401fa790]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], 0
lea r8, [0x14058f308]
lea rdx, [rbp - 0x20]
mov ecx, 2
call qword [case.0x1401460cb.0]
test eax, eax
je 0x1401fa353
mov qword [0x14058f300], 0
lea rcx, [0x1401fa720]
mov edx, 0x109660b3
mov r8d, 0x88f1c7c8
mov r9d, 0x6a1ba81c
call fcn.1400ae660
mov dword [rsp + 0x20], 0xb3ab4e8
lea rdx, [0x14058f310]
xor ecx, ecx
mov r8d, 0xc0614483
mov r9d, 0x109660b3
call fcn.1401fb220
jmp 0x1401f9bfe
lea rax, [0x14044cad8]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x18]
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rax, [0x14044d1a8]
mov qword [rbp - 0x38], rax
mov byte [rbp - 0x30], 1
lea rcx, [rbp - 0x38]
call fcn.14043115c
lea rax, [0x14044d178]
mov qword [rbp - 0x20], rax
lea rdx, [0x1404a8490]
lea rcx, [rbp - 0x20]
call fcn.1404310bc
call fcn.1403e88ec
call fcn.1403e88ec
int3