Function at 0x140001dc0
Capabilities:
Encrypt data using des

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x18
mov r14, qword [rcx + 8]
mov esi, dword [rcx + 0x20]
mov r11, qword [rcx + 0x18]
mov r12, qword [rcx + 0x10]
mov ebx, esi
mov rax, rdx
xor edx, edx
mov dword [rsp], esi
mov rdi, rcx
div r14
and ebx, 1
mov dword [rsp + 4], ebx
mov r10, rdx
mov r8, rax
jne 0x140001e0f
mov rbp, rdx
test esi, esi
je 0x140001f11
mov r8, rdx
mov r10, rax
mov qword [rsp + 0x60], rdi
mov ecx, dword [rsp]
lea rsi, [0x14004e620]
lea rbx, [0x14004e820]
lea r13, [0x14004ea20]
lea r15, [0x14004e520]
jmp 0x140001e90
lea rdi, [0x14004e720]
mov r9d, dword [r15 + r9*4]
xor r9d, dword [rdi + rax*4]
lea rdi, [0x14004e320]
mov eax, r9d
xor eax, dword [rdi + rbp*4]
lea rdi, [0x14004e920]
mov r9d, eax
xor r9d, dword [rdi + rdx*4]
cmp r10, r9
jae 0x1400020b0
mov rax, r9
xor edx, edx
mov rbp, r14
sub rax, r10
div r14
xor eax, eax
sub rbp, rdx
cmp r14, rbp
cmove rbp, rax
mov r10, r8
sub ecx, 1
je 0x140001f0c
mov r8, rbp
mov rdx, r11
ror rdx, cl
xor rdx, r8
mov r9, rdx
mov rax, rdx
mov rbp, rdx
shr rdx, 0x18
shr r9, 8
shr rax, 0x10
and ebp, 0x3f
and edx, 0x3f
and r9d, 0x3f
and eax, 0x3f
test cl, 1
jne 0x140001e38
mov r9d, dword [rsi + r9*4]
lea rdi, [0x14004e420]
xor r9d, dword [rbx + rax*4]
mov eax, r9d
xor eax, dword [rdi + rbp*4]
mov r9d, eax
xor r9d, dword [r13 + rdx*4]
cmp r10, r9
jae 0x1400020c8
mov rax, r9
xor edx, edx
mov rbp, r12
sub rax, r10
mov r10, r8
div r12
xor eax, eax
sub rbp, rdx
cmp r12, rbp
cmove rbp, rax
sub ecx, 1
jne 0x140001e8d
mov rdi, qword [rsp + 0x60]
imul r8, r14
mov r15, qword [rdi]
lea rax, [r8 + rbp]
cmp rax, r15
jb 0x14000206b
mov qword [rsp + 8], r15
lea r13, [0x14004e620]
nop dword [rax]
xor edx, edx
mov r10d, dword [rsp + 4]
div r14
mov r8, rdx
mov r9, rax
test r10d, r10d
jne 0x140001f5e
mov eax, dword [rsp]
test eax, eax
je 0x140002055
mov r8, r9
mov r9, rdx
mov ecx, dword [rsp]
lea rdi, [0x14004e720]
lea rsi, [0x14004e320]
lea rbx, [0x14004e920]
jmp 0x140001fcc
lea rbp, [0x14004e520]
mov eax, dword [rbp + rax*4]
xor eax, dword [rdi + r10*4]
xor eax, dword [rsi + r15*4]
mov r15d, eax
xor r15d, dword [rbx + rdx*4]
cmp r8, r15
jae 0x140002080
mov rax, r15
xor edx, edx
mov r10, r14
sub rax, r8
div r14
xor eax, eax
sub r10, rdx
cmp r14, r10
cmove r10, rax
mov r8, r9
sub ecx, 1
je 0x140002052
mov r9, r10
mov rdx, r11
ror rdx, cl
xor rdx, r9
mov rax, rdx
mov r10, rdx
mov r15, rdx
shr rdx, 0x18
shr rax, 8
shr r10, 0x10
and r15d, 0x3f
and edx, 0x3f
and eax, 0x3f
and r10d, 0x3f
test cl, 1
jne 0x140001f80
lea rbp, [0x14004e820]
mov eax, dword [r13 + rax*4]
xor eax, dword [rbp + r10*4]
lea r10, [0x14004e420]
xor eax, dword [r10 + r15*4]
lea r10, [0x14004ea20]
mov r15d, eax
xor r15d, dword [r10 + rdx*4]
cmp r8, r15
jae 0x140002098
mov rax, r15
xor edx, edx
mov r10, r12
sub rax, r8
mov r8, r9
div r12
xor eax, eax
sub r10, rdx
cmp r12, r10
cmove r10, rax
sub ecx, 1
jne 0x140001fc9
mov rdx, r10
imul r9, r14
mov rbx, qword [rsp + 8]
lea rax, [r9 + rdx]
cmp rax, rbx
jae 0x140001f38
add rsp, 0x18
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, r8
xor edx, edx
sub rax, r15
div r14
mov r10, rdx
jmp 0x140001fbd
mov rax, r8
xor edx, edx
sub rax, r15
div r12
mov r10, rdx
jmp 0x140001fbd
mov rax, r10
xor edx, edx
sub rax, r9
div r14
mov rbp, rdx
jmp 0x140001e85
mov rax, r10
xor edx, edx
sub rax, r9
div r12
mov rbp, rdx
jmp 0x140001e85