Function at 0x1800ad8d0
Capabilities:
Encrypt data using aes
Encrypt data using des

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov r13d, dword [rcx + 0xf0]
mov r12, r8
shr r13d, 1
mov rdi, rdx
mov rbx, rcx
lea eax, [r13 - 1]
cmp eax, 6
ja 0x1800adec4
mov esi, 4
lea rcx, [rbp + 0x40]
mov r8d, esi
call fcn.1800baef0
lea rdx, [rdi + 4]
mov r8d, esi
lea rcx, [rbp + 0x58]
call fcn.1800baef0
lea rdx, [rdi + 8]
mov r8d, esi
lea rcx, [rbp - 0x10]
call fcn.1800baef0
lea rdx, [rdi + 0xc]
mov r8d, esi
lea rcx, [rbp - 0xc]
call fcn.1800baef0
mov eax, dword [rbp + 0x40]
lea r15, [0x1800fe330]
mov r8d, eax
lea rdi, [0x1800ff330]
rol eax, 8
mov ecx, 0xff00ff00
ror r8d, 8
mov edx, 0xff00ff
and eax, edx
and r8d, ecx
or r8d, eax
mov eax, dword [rbp + 0x58]
xor r8d, dword [rbx]
mov r9d, eax
rol eax, 8
and eax, edx
ror r9d, 8
and r9d, ecx
or r9d, eax
mov eax, dword [rbp - 0x10]
xor r9d, dword [rbx + 4]
mov r10d, eax
rol eax, 8
and eax, edx
ror r10d, 8
and r10d, ecx
or r10d, eax
mov eax, dword [rbp - 0xc]
xor r10d, dword [rbx + 8]
mov r11d, eax
ror r11d, 8
rol eax, 8
and r11d, ecx
and eax, edx
or r11d, eax
mov rax, r15
xor r11d, dword [rbx + 0xc]
xor ecx, ecx
mov edx, 0x10
and ecx, dword [rax]
add rax, 0x40
sub rdx, 1
jne 0x1800ad9d2
cmp rax, rdi
jl 0x1800ad9cd
or r8d, ecx
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r8d
mov edi, dword [r15 + rdx*4 + 0x800]
shr rax, 0x18
xor edi, dword [r15 + rcx*4 + 0x400]
xor edi, dword [r15 + rax*4]
movzx eax, r11b
xor edi, dword [r15 + rax*4 + 0xc00]
mov eax, r11d
xor edi, dword [rbx + 0x10]
shr eax, 8
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
mov esi, dword [r15 + rdx*4 + 0x800]
shr rax, 0x18
xor esi, dword [r15 + rcx*4 + 0x400]
xor esi, dword [r15 + rax*4]
movzx eax, r8b
xor esi, dword [r15 + rax*4 + 0xc00]
mov eax, r11d
xor esi, dword [rbx + 0x14]
shr eax, 0x10
movzx ecx, al
mov eax, r10d
shr rax, 0x18
mov r14d, dword [r15 + rcx*4 + 0x400]
xor r14d, dword [r15 + rax*4]
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, r9b
shr r9d, 8
shr r8d, 0x10
xor r14d, dword [r15 + rcx*4 + 0x800]
xor r14d, dword [r15 + rax*4 + 0xc00]
xor r14d, dword [rbx + 0x18]
mov ecx, r11d
lea r11, [0x1800fe330]
shr rcx, 0x18
movzx eax, r9b
mov r15d, dword [r11 + rcx*4]
xor r15d, dword [r11 + rax*4 + 0x800]
movzx eax, r8b
xor r15d, dword [r11 + rax*4 + 0x400]
movzx eax, r10b
xor r15d, dword [r11 + rax*4 + 0xc00]
xor r15d, dword [rbx + 0x1c]
add rbx, 0x20
add r13d, 0xffffffff
je 0x1800adce6
lea r12, [0x1800fe330]
mov eax, r14d
shr eax, 8
movzx edx, al
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, edi
mov r11d, dword [r12 + rdx*4 + 0x800]
shr rax, 0x18
xor r11d, dword [r12 + rcx*4 + 0x400]
xor r11d, dword [r12 + rax*4]
movzx eax, r15b
xor r11d, dword [r12 + rax*4 + 0xc00]
mov eax, r15d
xor r11d, dword [rbx]
shr eax, 8
movzx edx, al
mov eax, r14d
shr eax, 0x10
movzx ecx, al
mov eax, esi
mov r10d, dword [r12 + rdx*4 + 0x800]
shr rax, 0x18
xor r10d, dword [r12 + rcx*4 + 0x400]
xor r10d, dword [r12 + rax*4]
movzx eax, dil
xor r10d, dword [r12 + rax*4 + 0xc00]
mov eax, r15d
xor r10d, dword [rbx + 4]
shr eax, 0x10
movzx ecx, al
mov eax, r14d
shr rax, 0x18
mov r9d, dword [r12 + rcx*4 + 0x400]
xor r9d, dword [r12 + rax*4]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, sil
shr edi, 0x10
shr esi, 8
xor r9d, dword [r12 + rcx*4 + 0x800]
xor r9d, dword [r12 + rax*4 + 0xc00]
xor r9d, dword [rbx + 8]
movzx eax, sil
mov ecx, r15d
shr rcx, 0x18
mov r8d, dword [r12 + rcx*4]
xor r8d, dword [r12 + rax*4 + 0x800]
movzx eax, dil
xor r8d, dword [r12 + rax*4 + 0x400]
movzx eax, r14b
xor r8d, dword [r12 + rax*4 + 0xc00]
mov eax, r9d
xor r8d, dword [rbx + 0xc]
shr eax, 8
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
mov edi, dword [r12 + rdx*4 + 0x800]
shr rax, 0x18
xor edi, dword [r12 + rcx*4 + 0x400]
xor edi, dword [r12 + rax*4]
movzx eax, r8b
xor edi, dword [r12 + rax*4 + 0xc00]
mov eax, r8d
xor edi, dword [rbx + 0x10]
shr eax, 8
movzx edx, al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r10d
mov esi, dword [r12 + rdx*4 + 0x800]
shr rax, 0x18
xor esi, dword [r12 + rcx*4 + 0x400]
xor esi, dword [r12 + rax*4]
movzx eax, r11b
xor esi, dword [r12 + rax*4 + 0xc00]
xor esi, dword [rbx + 0x14]
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr rax, 0x18
mov r14d, dword [r12 + rcx*4 + 0x400]
xor r14d, dword [r12 + rax*4]
mov eax, r11d
shr eax, 8
movzx ecx, al
movzx eax, r10b
shr r10d, 8
shr r11d, 0x10
xor r14d, dword [r12 + rcx*4 + 0x800]
xor r14d, dword [r12 + rax*4 + 0xc00]
xor r14d, dword [rbx + 0x18]
movzx eax, r10b
mov ecx, r8d
shr rcx, 0x18
mov r15d, dword [r12 + rcx*4]
xor r15d, dword [r12 + rax*4 + 0x800]
movzx eax, r11b
xor r15d, dword [r12 + rax*4 + 0x400]
movzx eax, r9b
xor r15d, dword [r12 + rax*4 + 0xc00]
xor r15d, dword [rbx + 0x1c]
add rbx, 0x20
add r13d, 0xffffffff
jne 0x1800adaf2
mov r12, qword [rbp + 0x50]
lea r11, [0x1800fe330]
mov r9d, 0xff0000
mov r10d, 0xff00
mov r8d, 0xff000000
mov eax, esi
shr eax, 0x10
mov r13d, 0xff00ff00
movzx ecx, al
mov eax, r14d
shr eax, 8
mov edx, dword [r11 + rcx*4 + 0xc00]
movzx ecx, al
and edx, r9d
mov eax, dword [r11 + rcx*4]
and eax, r10d
xor edx, eax
mov eax, edi
shr rax, 0x18
mov ecx, dword [r11 + rax*4 + 0x800]
and ecx, r8d
movzx eax, r15b
xor edx, ecx
movzx eax, byte [r11 + rax*4 + 0x400]
xor edx, eax
xor edx, dword [rbx]
mov eax, edx
rol edx, 8
ror eax, 8
and edx, 0xff00ff
and eax, r13d
or eax, edx
mov dword [rbp + 0x40], eax
mov eax, r14d
shr eax, 0x10
movzx ecx, al
mov eax, r15d
shr eax, 8
mov edx, dword [r11 + rcx*4 + 0xc00]
movzx ecx, al
and edx, r9d
mov eax, dword [r11 + rcx*4]
and eax, r10d
xor edx, eax
mov eax, esi
shr rax, 0x18
mov eax, dword [r11 + rax*4 + 0x800]
and eax, r8d
xor edx, eax
movzx eax, dil
movzx eax, byte [r11 + rax*4 + 0x400]
xor edx, eax
xor edx, dword [rbx + 4]
mov eax, edx
rol edx, 8
ror eax, 8
and edx, 0xff00ff
and eax, r13d
or eax, edx
mov dword [rbp + 0x58], eax
mov eax, r15d
shr eax, 0x10
movzx ecx, al
mov eax, r14d
shr rax, 0x18
mov edx, dword [r11 + rcx*4 + 0xc00]
and edx, r9d
mov eax, dword [r11 + rax*4 + 0x800]
and eax, r8d
xor edx, eax
mov eax, edi
shr eax, 8
movzx ecx, al
mov eax, dword [r11 + rcx*4]
and eax, r10d
xor edx, eax
movzx eax, sil
movzx eax, byte [r11 + rax*4 + 0x400]
xor edx, eax
xor edx, dword [rbx + 8]
mov eax, edx
ror eax, 8
and eax, r13d
rol edx, 8
and edx, 0xff00ff
shr edi, 0x10
or eax, edx
shr esi, 8
mov dword [rbp - 0x10], eax
movzx eax, dil
mov edx, dword [r11 + rax*4 + 0xc00]
and edx, r9d
mov eax, r15d
shr rax, 0x18
mov eax, dword [r11 + rax*4 + 0x800]
and eax, r8d
xor edx, eax
movzx eax, sil
mov ecx, dword [r11 + rax*4]
and ecx, r10d
movzx eax, r14b
xor edx, ecx
mov rcx, r12
movzx eax, byte [r11 + rax*4 + 0x400]
xor edx, eax
xor edx, dword [rbx + 0xc]
mov ebx, 4
mov eax, edx
mov r8d, ebx
ror eax, 8
rol edx, 8
and eax, r13d
and edx, 0xff00ff
or eax, edx
lea rdx, [rbp + 0x40]
mov dword [rbp - 0xc], eax
call fcn.1800baef0
lea rcx, [r12 + 4]
mov r8d, ebx
lea rdx, [rbp + 0x58]
call fcn.1800baef0
lea rcx, [r12 + 8]
mov r8d, ebx
lea rdx, [rbp - 0x10]
call fcn.1800baef0
lea rcx, [r12 + 0xc]
mov r8d, ebx
lea rdx, [rbp - 0xc]
call fcn.1800baef0
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret