Function at 0x1400cdbd7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140117360
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1402d9238]
xor rax, rsp
mov qword [rbp - 0x20], rax
xor eax, eax
xor r15b, r15b
mov byte [rbp - 0x40], r15b
mov rdi, r8
mov qword [rbp - 0x3f], rax
mov r12, rdx
mov qword [rbp - 0x37], rax
mov r14, rcx
test rcx, rcx
jne 0x1401173b4
lea r8d, [rcx + 0x36]
lea rcx, str.in___NULL
lea rdx, str.srcpk_asn1derutctimeder_decode_utctime.c
call fcn.1400cabda
test r12, r12
jne 0x1401173d1
lea r8d, [r12 + 0x37]
lea rdx, str.srcpk_asn1derutctimeder_decode_utctime.c
lea rcx, str.inlen___NULL
call fcn.1400cabda
test rdi, rdi
jne 0x1401173ed
lea r8d, [rdi + 0x38]
lea rdx, str.srcpk_asn1derutctimeder_decode_utctime.c
lea rcx, str.out___NULL
call fcn.1400cabda
mov edx, dword [r12]
cmp edx, 2
jb 0x14011763a
movzx ecx, byte [r14 + 1]
cmp cl, 0x20
jae 0x14011763a
movzx eax, cl
add eax, 2
cmp eax, edx
ja 0x14011763a
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rsi
xor esi, esi
mov ebx, esi
test cl, cl
je 0x14011745c
nop dword [rax + rax]
lea eax, [rbx + 2]
movzx ecx, byte [rax + r14]
call fcn.1400cf770
cmp eax, 0xffffffff
je 0x14011761d
mov ecx, ebx
inc ebx
mov byte [rbp + rcx - 0x40], al
movzx eax, byte [r14 + 1]
cmp ebx, eax
jb 0x140117430
movzx r15d, byte [rbp - 0x40]
lea eax, [rbx + 2]
movzx ecx, r15b
mov dword [r12], eax
call fcn.1401172b0
movzx ecx, byte [rbp - 0x3f]
lea r8d, [rax + rax*4]
call fcn.1401172b0
lea ecx, [rax + r8*2]
mov dword [rdi], ecx
cmp ecx, 0x64
jae 0x14011761d
movzx ecx, byte [rbp - 0x3e]
call fcn.1401172b0
movzx ecx, byte [rbp - 0x3d]
lea r8d, [rax + rax*4]
call fcn.1401172b0
lea ecx, [rax + r8*2]
mov dword [rdi + 4], ecx
cmp ecx, 0xd
jae 0x14011761d
movzx ecx, byte [rbp - 0x3c]
call fcn.1401172b0
movzx ecx, byte [rbp - 0x3b]
lea r8d, [rax + rax*4]
call fcn.1401172b0
lea ecx, [rax + r8*2]
mov dword [rdi + 8], ecx
cmp ecx, 0x20
jae 0x14011761d
movzx ecx, byte [rbp - 0x3a]
call fcn.1401172b0
movzx ecx, byte [rbp - 0x39]
lea r8d, [rax + rax*4]
call fcn.1401172b0
lea ecx, [rax + r8*2]
mov dword [rdi + 0xc], ecx
cmp ecx, 0x18
jae 0x14011761d
movzx ecx, byte [rbp - 0x38]
call fcn.1401172b0
movzx ecx, byte [rbp - 0x37]
lea r8d, [rax + rax*4]
call fcn.1401172b0
lea ecx, [rax + r8*2]
mov dword [rdi + 0x10], ecx
cmp ecx, 0x3c
jae 0x14011761d
movzx ecx, byte [rbp - 0x36]
mov qword [rdi + 0x14], rsi
mov qword [rdi + 0x1c], rsi
cmp cl, 0x5a
je 0x140117567
lea eax, [rcx - 0x2b]
test al, 0xfd
je 0x1401175f0
call fcn.1401172b0
movzx ecx, byte [rbp - 0x35]
lea r8d, [rax + rax*4]
call fcn.1401172b0
lea ecx, [rax + r8*2]
mov dword [rdi + 0x14], ecx
cmp ecx, 0x3c
jae 0x14011761d
movzx ecx, byte [rbp - 0x34]
cmp cl, 0x5a
jne 0x14011756b
xor eax, eax
jmp 0x1401175cd
lea eax, [rcx - 0x2b]
test al, 0xfd
jne 0x14011761d
cmp cl, 0x2b
mov eax, esi
movzx ecx, byte [rbp - 0x33]
setne al
mov dword [rdi + 0x18], eax
call fcn.1401172b0
movzx ecx, byte [rbp - 0x32]
lea r8d, [rax + rax*4]
call fcn.1401172b0
lea ecx, [rax + r8*2]
mov dword [rdi + 0x1c], ecx
cmp ecx, 0x18
jae 0x14011761d
movzx ecx, byte [rbp - 0x31]
call fcn.1401172b0
movzx ecx, byte [rbp - 0x30]
lea r8d, [rax + rax*4]
call fcn.1401172b0
lea ecx, [rax + r8*2]
mov eax, 7
cmp ecx, 0x3c
mov dword [rdi + 0x20], ecx
cmovae esi, eax
mov eax, esi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1400cbea4
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
cmp cl, 0x2b
mov eax, esi
movzx ecx, byte [rbp - 0x35]
setne al
mov dword [rdi + 0x18], eax
call fcn.1401172b0
movzx ecx, byte [rbp - 0x34]
lea r8d, [rax + rax*4]
call fcn.1401172b0
lea ecx, [rax + r8*2]
mov dword [rdi + 0x1c], ecx
cmp ecx, 0x18
jb 0x140117624
mov eax, 7
jmp 0x1401175cd
movzx ecx, byte [rbp - 0x33]
call fcn.1401172b0
movzx ecx, byte [rbp - 0x32]
lea r8d, [rax + rax*4]
jmp 0x1401175b4
mov eax, 7
jmp 0x1401175d7