Function at 0x180381490
Capabilities:
Encrypt data using des

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rcx, [0x1805d8326]
call fcn.18025a230
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x28], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x24], eax
mov eax, 0x800
imul rax, rax, 0
lea rcx, [0x1804e63f0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x28]
shr ecx, 0
movzx ecx, cl
mov edx, 0x800
imul rdx, rdx, 1
lea r8, [0x1804e63f0]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp + 0x28]
shr r8d, 8
movzx r8d, r8b
mov rdx, qword [rdx + r8*8]
mov rax, qword [rax + rcx*8]
xor rax, rdx
mov ecx, 0x800
imul rcx, rcx, 2
lea rdx, [0x1804e63f0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x28]
shr edx, 0x10
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov ecx, 0x800
imul rcx, rcx, 3
lea rdx, [0x1804e63f0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x28]
shr edx, 0x18
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov ecx, 0x800
imul rcx, rcx, 4
lea rdx, [0x1804e63f0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x24]
shr edx, 0
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov ecx, 0x800
imul rcx, rcx, 5
lea rdx, [0x1804e63f0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x24]
shr edx, 8
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov ecx, 0x800
imul rcx, rcx, 6
lea rdx, [0x1804e63f0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x24]
shr edx, 0x10
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov ecx, 0x800
imul rcx, rcx, 7
lea rdx, [0x1804e63f0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x24]
shr edx, 0x18
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
shr rax, 0x20
mov dword [rsp + 0x28], eax
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x30]
and rcx, rax
mov rax, rcx
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x2c], 0
jmp 0x180381635
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 8
jge 0x180381857
mov eax, dword [rsp + 0x24]
ror eax, 4
mov rcx, qword [rsp + 0x58]
xor eax, dword [rcx]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x20]
and eax, 0x3f
mov eax, eax
lea rcx, [0x1804e61f0]
mov edx, dword [rsp + 0x20]
shr edx, 8
and edx, 0x3f
mov edx, edx
lea r8, [0x1804e5ff0]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x20]
shr ecx, 0x10
and ecx, 0x3f
mov ecx, ecx
lea rdx, [0x1804e5df0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x20]
shr ecx, 0x18
and ecx, 0x3f
mov ecx, ecx
lea rdx, [0x1804e5bf0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x28]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x24]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x20]
and eax, 0x3f
mov eax, eax
lea rcx, [0x1804e62f0]
mov edx, dword [rsp + 0x20]
shr edx, 8
and edx, 0x3f
mov edx, edx
lea r8, [0x1804e60f0]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x20]
shr ecx, 0x10
and ecx, 0x3f
mov ecx, ecx
lea rdx, [0x1804e5ef0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x20]
shr ecx, 0x18
and ecx, 0x3f
mov ecx, ecx
lea rdx, [0x1804e5cf0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x28]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
ror eax, 4
mov rcx, qword [rsp + 0x58]
xor eax, dword [rcx]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x20]
and eax, 0x3f
mov eax, eax
lea rcx, [0x1804e61f0]
mov edx, dword [rsp + 0x20]
shr edx, 8
and edx, 0x3f
mov edx, edx
lea r8, [0x1804e5ff0]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x20]
shr ecx, 0x10
and ecx, 0x3f
mov ecx, ecx
lea rdx, [0x1804e5df0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x20]
shr ecx, 0x18
and ecx, 0x3f
mov ecx, ecx
lea rdx, [0x1804e5bf0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x24]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov ecx, dword [rsp + 0x28]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x20]
and eax, 0x3f
mov eax, eax
lea rcx, [0x1804e62f0]
mov edx, dword [rsp + 0x20]
shr edx, 8
and edx, 0x3f
mov edx, edx
lea r8, [0x1804e60f0]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x20]
shr ecx, 0x10
and ecx, 0x3f
mov ecx, ecx
lea rdx, [0x1804e5ef0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x20]
shr ecx, 0x18
and ecx, 0x3f
mov ecx, ecx
lea rdx, [0x1804e5cf0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x24]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x18038162b
mov eax, 0x800
imul rax, rax, 0
lea rcx, [0x1804ea3f0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x28]
shr ecx, 0
movzx ecx, cl
mov edx, 0x800
imul rdx, rdx, 1
lea r8, [0x1804ea3f0]
add r8, rdx
mov rdx, r8
mov r8d, dword [rsp + 0x28]
shr r8d, 8
movzx r8d, r8b
mov rdx, qword [rdx + r8*8]
mov rax, qword [rax + rcx*8]
xor rax, rdx
mov ecx, 0x800
imul rcx, rcx, 2
lea rdx, [0x1804ea3f0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x28]
shr edx, 0x10
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov ecx, 0x800
imul rcx, rcx, 3
lea rdx, [0x1804ea3f0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x28]
shr edx, 0x18
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov ecx, 0x800
imul rcx, rcx, 4
lea rdx, [0x1804ea3f0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x24]
shr edx, 0
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov ecx, 0x800
imul rcx, rcx, 5
lea rdx, [0x1804ea3f0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x24]
shr edx, 8
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov ecx, 0x800
imul rcx, rcx, 6
lea rdx, [0x1804ea3f0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x24]
shr edx, 0x10
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov ecx, 0x800
imul rcx, rcx, 7
lea rdx, [0x1804ea3f0]
add rdx, rcx
mov rcx, rdx
mov edx, dword [rsp + 0x24]
shr edx, 0x18
movzx edx, dl
xor rax, qword [rcx + rdx*8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shr rax, 0x20
mov dword [rsp + 0x28], eax
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x38]
and rcx, rax
mov rax, rcx
mov dword [rsp + 0x24], eax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov edx, dword [rsp + 0x24]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x50]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax], edx
add rsp, 0x40
pop rdi
ret