Function at 0x1401cde50
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 [0x14055f7e0]
mov ecx, dword [0x140562b2c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x26838]
jg 0x1401cdf30
call fcn.14009b540
mov rsi, rax
movzx eax, byte [0x14055f7f8]
movzx ecx, byte [0x140509090]
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 0x1401cdf00
call fcn.14009b540
mov rcx, qword [0x14055f7e8]
sub rcx, qword [0x140509088]
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 0x1401cdf02
xor ecx, ecx
add rcx, rsi
mov rdx, qword [0x140509088]
sub rdx, qword [0x14055f7f0]
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, [0x14055f7e0]
mov ecx, 1
mov r8d, 0xc0614483
mov r9d, 0x109660b3
call fcn.1401cf4b0
cmp dword [0x14055f7e0], 0xffffffff
jne 0x1401cde8e
lea rcx, [0x14055f7b0]
call fcn.140232840
cmp dword [0x140509094], 0xebbf0165
jne 0x1401cdf96
movsxd rdi, dword [0x1404277c0]
mov eax, dword [0x14055f80c]
mov ecx, 0x1440fedd
add ecx, dword [0x140509094]
cmp eax, ecx
jl 0x1401cdf9e
mov eax, dword [0x1404277c0]
jmp 0x1401cdf7a
cmp dword [0x140509094], 0xebbf0165
jne 0x1401cdfb5
mov eax, dword [0x14055f80c]
cmp eax, 0x2b
jl 0x1401cdfc2
mov eax, dword [0x14055f80c]
cmp eax, 0x34
jge 0x1401cdfb5
jmp 0x1401cdfaa
mov esi, dword [0x1404277c4]
xorps xmm0, xmm0
movups xmmword [0x14055f7c8], xmm0
mov qword [0x14055f7d8], 0
call fcn.14009b540
movabs rcx, 0x1a51b0699abe5029
add rdi, rcx
lea rcx, [0x1404277c0]
xor rdi, rcx
mov rdx, rdi
not rdx
and rdx, rcx
lea rcx, [rdi + rdx*2]
movabs r8, 0xe5ae4f966541afd7
add r8, rcx
mov qword [0x14055f7e8], rax
mov eax, dword [0x14055f808]
mov edi, dword [0x140508ec0]
mov eax, dword [0x14055f80c]
mov ecx, dword [0x140509094]
mov edx, ecx
xor edx, 0x1440fef9
and ecx, 0x1440fef9
lea ecx, [rdx + rcx*2]
cmp eax, ecx
jge 0x1401ce020
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 [0x14055f80c]
mov r11d, dword [0x140509094]
add r11d, edx
cmp ecx, r11d
jge 0x1401ce09f
mov dword [0x140508ec0], ebx
mov ecx, dword [0x14055f808]
lea r11d, [rcx - 1]
imul r11d, ecx
and r11d, 1
mov ecx, dword [0x140509094]
add ecx, r9d
cmp r11d, ecx
je 0x1401ce0cf
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 [0x140508ec0], r14d
mov ecx, dword [0x14055f80c]
cmp ecx, 0x29
jge 0x1401ce064
jmp 0x1401ce079
xor r14d, r14d
mov r15d, 0
test edi, ebx
jne 0x1401ce12f
mov eax, dword [0x14055f808]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1401ce10c
mov ecx, dword [0x14055f808]
lea eax, [rcx - 1]
imul eax, ecx
mov ecx, 0x1440fe9d
add ecx, dword [0x140509094]
xor edx, edx
div ecx
test edx, edx
je 0x1401ce119
mov eax, dword [0x14055f80c]
cmp eax, 0x17
jge 0x1401ce10c
jmp 0x1401ce0ed
xor eax, eax
mov r14d, 0
mov r15d, 0
test esi, esi
jg 0x1401ce28c
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.1401cf210
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.140234d30
lea rcx, [0x14055f7b0]
lea rsi, [rbp - 0x38]
mov rdx, rsi
mov r8d, 0x55db1de0
call fcn.1401ceba0
mov rcx, rsi
call fcn.1400ac460
mov rax, qword [rbp - 8]
movabs rcx, 0x321b2b464a76b4d1
add rcx, qword [0x140509088]
cmp rax, rcx
jbe 0x1401ce210
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + rax]
sub rdx, rax
inc rdx
movabs r8, 0x321b2b464a76c4c1
add r8, qword [0x140509088]
cmp rdx, r8
jbe 0x1401ce20b
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x1401ce31a
sub rax, qword [0x140509088]
movabs rdx, 0xcde4d4b9b5894b66
add rdx, rax
mov rcx, r8
call fcn.1400ac440
lea rcx, [0x14055f7b0]
call fcn.140232960
test al, al
je 0x1401ce595
lea rcx, [0x14055f7b0]
call fcn.140232950
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.1401cee60
lea rcx, [rbp - 0x20]
mov edx, 0x26
mov r9, rax
call fcn.14008ad70
lea rcx, [0x14055f7b0]
lea rdx, [rbp - 0x20]
call fcn.140234b80
mov cl, 1
test cl, cl
jne 0x1401ce31f
jmp 0x1401ce342
xor r14d, r14d
xor r15d, r15d
jmp 0x1401ce2c9
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 0x1401ce12f
movsxd rcx, eax
mov edx, dword [0x14055f80c]
cmp edx, 9
jg 0x1401ce2cc
add rcx, r8
mov rdx, qword [rcx]
mov rcx, qword [rcx + 8]
mov r9d, dword [0x14055f808]
lea r10d, [r9 - 1]
imul r10d, r9d
test r10b, 1
jne 0x1401ce30b
mov r9d, dword [0x14055f808]
lea r10d, [r9 - 1]
imul r10d, r9d
test r10b, 1
je 0x1401ce294
mov r9d, dword [0x14055f80c]
cmp r9d, 0x12
jge 0x1401ce30b
jmp 0x1401ce2f6
call fcn.1403bcb3c
mov rcx, qword [0x1404277d0]
mov rdx, qword [0x1404277c8]
mov r8d, dword [0x14055f808]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
je 0x1401ce352
mov rcx, qword [0x1404277d0]
mov rcx, qword [0x1404277c8]
jmp 0x1401ce31f
xor r8d, r8d
lea r9, [fcn.1401cde50]
add r9d, r9d
add r9d, 0x27a0
mov r10d, dword [0x14055f808]
lea r11d, [r10 - 1]
imul r11d, r10d
test r11b, 1
jne 0x1401ce380
test r8b, r8b
je 0x1401ce39f
mov r10d, dword [0x140509094]
lea r11d, [r10 + 0x1440fe9c]
and r11d, r9d
add r10d, 0x1440fe9b
cmp r11d, r10d
jne 0x1401ce366
jmp 0x1401ce37b
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 [0x14055f808]
lea r11d, [r10 + 1]
imul r11d, r10d
test r11b, 1
jne 0x1401ce3e5
mov r10d, dword [0x14055f80c]
cmp r10d, 0x5a
jl 0x1401ce3f4
mov r10d, dword [0x14055f80c]
cmp r10d, 0x52
jge 0x1401ce3e5
jmp 0x1401ce3d8
xor rcx, r9
xor rdx, r8
not rdx
not rcx
and rdx, r8
and rcx, r9
or rcx, rdx
setne cl
or cl, byte [0x14055f670]
and cl, 1
mov byte [0x14055f670], cl
mov qword [0x14055f7c8], rax
mov rax, qword [rbp - 8]
cmp rax, 0xf
jbe 0x1401ce49b
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + rax]
sub rdx, rax
inc rdx
cmp rdx, 0x1000
jb 0x1401ce496
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 [0x140509088]
cmp rdx, rcx
jae 0x1401ce670
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.1400ac440
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.1401cec30
lea rcx, [rbp - 0x20]
mov edx, 0x28
mov r9, rax
call fcn.14008ad70
lea rcx, [0x14055f7b0]
lea rdx, [rbp - 0x20]
call fcn.140234b80
mov qword [0x14055f7d0], rax
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x1401ce56d
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 [0x140509088]
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 0x1401ce568
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x1401ce675
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.1400ac440
lea rax, [0x140403ab0]
cmp qword [0x14055f7c8], rax
sete al
movzx ecx, byte [0x14055f670]
test cl, al
jne 0x1401ce627
xor cl, al
jne 0x1401ce627
mov rax, qword [0x14055f7c8]
test rax, rax
je 0x1401ce5e3
cmp qword [0x14055f7d0], 0
je 0x1401ce5e3
lea rcx, [0x1401cea20]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], 0
lea r8, [0x14055f7d8]
lea rdx, [rbp - 0x20]
mov ecx, 2
call qword [case.0x140119ecb.0]
test eax, eax
je 0x1401ce5e3
mov qword [0x14055f7d0], 0
lea rcx, [0x1401ce9b0]
mov edx, 0x109660b3
mov r8d, 0x88f1c7c8
mov r9d, 0x6a1ba81c
call fcn.1400ae590
mov dword [rsp + 0x20], 0xb3ab4e8
lea rdx, [0x14055f7e0]
xor ecx, ecx
mov r8d, 0xc0614483
mov r9d, 0x109660b3
call fcn.1401cf4b0
jmp 0x1401cde8e
lea rax, [0x140420ae8]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x18]
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rax, [0x1404211b8]
mov qword [rbp - 0x38], rax
mov byte [rbp - 0x30], 1
lea rcx, [rbp - 0x38]
call fcn.1404053bc
lea rax, [0x140421188]
mov qword [rbp - 0x20], rax
lea rdx, [0x14047c410]
lea rcx, [rbp - 0x20]
call fcn.14040531c
call fcn.1403bcb3c
call fcn.1403bcb3c
int3