Function at 0x1401c83b0
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 [0x14058f688]
mov ecx, dword [0x140592ae8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x26838]
jg 0x1401c8490
call fcn.140097e30
mov rsi, rax
movzx eax, byte [0x14058f6a0]
movzx ecx, byte [0x140533130]
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 0x1401c8460
call fcn.140097e30
mov rcx, qword [0x14058f690]
sub rcx, qword [0x140533128]
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 0x1401c8462
xor ecx, ecx
add rcx, rsi
mov rdx, qword [0x140533128]
sub rdx, qword [0x14058f698]
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, [0x14058f688]
mov ecx, 1
mov r8d, 0xc0614483
mov r9d, 0x109660b3
call fcn.1401c9a20
cmp dword [0x14058f688], 0xffffffff
jne 0x1401c83ee
lea rcx, [0x14058f658]
call fcn.14024ba20
cmp dword [0x140533134], 0xebbf0165
jne 0x1401c84f6
movsxd rdi, dword [0x140450e40]
mov eax, dword [0x14058f6b4]
mov ecx, 0x1440fedd
add ecx, dword [0x140533134]
cmp eax, ecx
jl 0x1401c84fe
mov eax, dword [0x140450e40]
jmp 0x1401c84da
cmp dword [0x140533134], 0xebbf0165
jne 0x1401c8515
mov eax, dword [0x14058f6b4]
cmp eax, 0x2b
jl 0x1401c8522
mov eax, dword [0x14058f6b4]
cmp eax, 0x34
jge 0x1401c8515
jmp 0x1401c850a
mov esi, dword [0x140450e44]
xorps xmm0, xmm0
movups xmmword [0x14058f670], xmm0
mov qword [0x14058f680], 0
call fcn.140097e30
movabs rcx, 0x1a51b0699abe5029
add rdi, rcx
lea rcx, [0x140450e40]
xor rdi, rcx
mov rdx, rdi
not rdx
and rdx, rcx
lea rcx, [rdi + rdx*2]
movabs r8, 0xe5ae4f966541afd7
add r8, rcx
mov qword [0x14058f690], rax
mov eax, dword [0x14058f6b0]
mov edi, dword [0x140532f60]
mov eax, dword [0x14058f6b4]
mov ecx, dword [0x140533134]
mov edx, ecx
xor edx, 0x1440fef9
and ecx, 0x1440fef9
lea ecx, [rdx + rcx*2]
cmp eax, ecx
jge 0x1401c8580
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 [0x14058f6b4]
mov r11d, dword [0x140533134]
add r11d, edx
cmp ecx, r11d
jge 0x1401c85ff
mov dword [0x140532f60], ebx
mov ecx, dword [0x14058f6b0]
lea r11d, [rcx - 1]
imul r11d, ecx
and r11d, 1
mov ecx, dword [0x140533134]
add ecx, r9d
cmp r11d, ecx
je 0x1401c862f
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 [0x140532f60], r14d
mov ecx, dword [0x14058f6b4]
cmp ecx, 0x29
jge 0x1401c85c4
jmp 0x1401c85d9
xor r14d, r14d
mov r15d, 0
test edi, ebx
jne 0x1401c868f
mov eax, dword [0x14058f6b0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1401c866c
mov ecx, dword [0x14058f6b0]
lea eax, [rcx - 1]
imul eax, ecx
mov ecx, 0x1440fe9d
add ecx, dword [0x140533134]
xor edx, edx
div ecx
test edx, edx
je 0x1401c8679
mov eax, dword [0x14058f6b4]
cmp eax, 0x17
jge 0x1401c866c
jmp 0x1401c864d
xor eax, eax
mov r14d, 0
mov r15d, 0
test esi, esi
jg 0x1401c87ec
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.1401c9770
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.14024df10
lea rcx, [0x14058f658]
lea rsi, [rbp - 0x38]
mov rdx, rsi
mov r8d, 0x55db1de0
call fcn.1401c9100
mov rcx, rsi
call fcn.1400ab290
mov rax, qword [rbp - 8]
movabs rcx, 0x321b2b464a76b4d1
add rcx, qword [0x140533128]
cmp rax, rcx
jbe 0x1401c8770
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + rax]
sub rdx, rax
inc rdx
movabs r8, 0x321b2b464a76c4c1
add r8, qword [0x140533128]
cmp rdx, r8
jbe 0x1401c876b
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x1401c887a
sub rax, qword [0x140533128]
movabs rdx, 0xcde4d4b9b5894b66
add rdx, rax
mov rcx, r8
call fcn.1400ab270
lea rcx, [0x14058f658]
call fcn.14024bb40
test al, al
je 0x1401c8af5
lea rcx, [0x14058f658]
call fcn.14024bb30
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.1401c93c0
lea rcx, [rbp - 0x20]
mov edx, 0x26
mov r9, rax
call fcn.140088c30
lea rcx, [0x14058f658]
lea rdx, [rbp - 0x20]
call fcn.14024dd60
mov cl, 1
test cl, cl
jne 0x1401c887f
jmp 0x1401c88a2
xor r14d, r14d
xor r15d, r15d
jmp 0x1401c8829
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 0x1401c868f
movsxd rcx, eax
mov edx, dword [0x14058f6b4]
cmp edx, 9
jg 0x1401c882c
add rcx, r8
mov rdx, qword [rcx]
mov rcx, qword [rcx + 8]
mov r9d, dword [0x14058f6b0]
lea r10d, [r9 - 1]
imul r10d, r9d
test r10b, 1
jne 0x1401c886b
mov r9d, dword [0x14058f6b0]
lea r10d, [r9 - 1]
imul r10d, r9d
test r10b, 1
je 0x1401c87f4
mov r9d, dword [0x14058f6b4]
cmp r9d, 0x12
jge 0x1401c886b
jmp 0x1401c8856
call fcn.1403e571c
mov rcx, qword [0x140450e50]
mov rdx, qword [0x140450e48]
mov r8d, dword [0x14058f6b0]
lea r9d, [r8 - 1]
imul r9d, r8d
test r9b, 1
je 0x1401c88b2
mov rcx, qword [0x140450e50]
mov rcx, qword [0x140450e48]
jmp 0x1401c887f
xor r8d, r8d
lea r9, [fcn.1401c83b0]
add r9d, r9d
add r9d, 0x27a0
mov r10d, dword [0x14058f6b0]
lea r11d, [r10 - 1]
imul r11d, r10d
test r11b, 1
jne 0x1401c88e0
test r8b, r8b
je 0x1401c88ff
mov r10d, dword [0x140533134]
lea r11d, [r10 + 0x1440fe9c]
and r11d, r9d
add r10d, 0x1440fe9b
cmp r11d, r10d
jne 0x1401c88c6
jmp 0x1401c88db
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 [0x14058f6b0]
lea r11d, [r10 + 1]
imul r11d, r10d
test r11b, 1
jne 0x1401c8945
mov r10d, dword [0x14058f6b4]
cmp r10d, 0x5a
jl 0x1401c8954
mov r10d, dword [0x14058f6b4]
cmp r10d, 0x52
jge 0x1401c8945
jmp 0x1401c8938
xor rcx, r9
xor rdx, r8
not rdx
not rcx
and rdx, r8
and rcx, r9
or rcx, rdx
setne cl
or cl, byte [0x14058f510]
and cl, 1
mov byte [0x14058f510], cl
mov qword [0x14058f670], rax
mov rax, qword [rbp - 8]
cmp rax, 0xf
jbe 0x1401c89fb
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + rax]
sub rdx, rax
inc rdx
cmp rdx, 0x1000
jb 0x1401c89f6
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 [0x140533128]
cmp rdx, rcx
jae 0x1401c8bd0
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.1400ab270
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.1401c9190
lea rcx, [rbp - 0x20]
mov edx, 0x28
mov r9, rax
call fcn.140088c30
lea rcx, [0x14058f658]
lea rdx, [rbp - 0x20]
call fcn.14024dd60
mov qword [0x14058f678], rax
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x1401c8acd
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 [0x140533128]
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 0x1401c8ac8
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x1401c8bd5
add rax, 0x28
mov rdx, rax
mov rcx, r8
call fcn.1400ab270
lea rax, [0x14042c690]
cmp qword [0x14058f670], rax
sete al
movzx ecx, byte [0x14058f510]
test cl, al
jne 0x1401c8b87
xor cl, al
jne 0x1401c8b87
mov rax, qword [0x14058f670]
test rax, rax
je 0x1401c8b43
cmp qword [0x14058f678], 0
je 0x1401c8b43
lea rcx, [0x1401c8f80]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], 0
lea r8, [0x14058f680]
lea rdx, [rbp - 0x20]
mov ecx, 2
call qword [case.0x140114b5b.0]
test eax, eax
je 0x1401c8b43
mov qword [0x14058f678], 0
lea rcx, [0x1401c8f10]
mov edx, 0x109660b3
mov r8d, 0x88f1c7c8
mov r9d, 0x6a1ba81c
call fcn.1400ac210
mov dword [rsp + 0x20], 0xb3ab4e8
lea rdx, [0x14058f688]
xor ecx, ecx
mov r8d, 0xc0614483
mov r9d, 0x109660b3
call fcn.1401c9a20
jmp 0x1401c83ee
lea rax, [0x14044a118]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x18]
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rax, [0x14044a7e8]
mov qword [rbp - 0x38], rax
mov byte [rbp - 0x30], 1
lea rcx, [rbp - 0x38]
call fcn.14042df9c
lea rax, [0x14044a7b8]
mov qword [rbp - 0x20], rax
lea rdx, [0x1404a5600]
lea rcx, [rbp - 0x20]
call fcn.14042defc
call fcn.1403e571c
call fcn.1403e571c
int3