Function at 0x180376ad0
Capabilities:
Encrypt data using des

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
lea rcx, [0x1805d733b]
call fcn.18024f670
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, [0x1804e5ed0]
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, [0x1804e5ed0]
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, [0x1804e5ed0]
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, [0x1804e5ed0]
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, [0x1804e5ed0]
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, [0x1804e5ed0]
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, [0x1804e5ed0]
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, [0x1804e5ed0]
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 0x180376c75
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 8
jge 0x180376e97
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, [0x1804e5cd0]
mov edx, dword [rsp + 0x20]
shr edx, 8
and edx, 0x3f
mov edx, edx
lea r8, [0x1804e5ad0]
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, [0x1804e58d0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x20]
shr ecx, 0x18
and ecx, 0x3f
mov ecx, ecx
lea rdx, [0x1804e56d0]
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, [0x1804e5dd0]
mov edx, dword [rsp + 0x20]
shr edx, 8
and edx, 0x3f
mov edx, edx
lea r8, [0x1804e5bd0]
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, [0x1804e59d0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x20]
shr ecx, 0x18
and ecx, 0x3f
mov ecx, ecx
lea rdx, [0x1804e57d0]
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, [0x1804e5cd0]
mov edx, dword [rsp + 0x20]
shr edx, 8
and edx, 0x3f
mov edx, edx
lea r8, [0x1804e5ad0]
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, [0x1804e58d0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x20]
shr ecx, 0x18
and ecx, 0x3f
mov ecx, ecx
lea rdx, [0x1804e56d0]
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, [0x1804e5dd0]
mov edx, dword [rsp + 0x20]
shr edx, 8
and edx, 0x3f
mov edx, edx
lea r8, [0x1804e5bd0]
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, [0x1804e59d0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x20]
shr ecx, 0x18
and ecx, 0x3f
mov ecx, ecx
lea rdx, [0x1804e57d0]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x24]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x180376c6b
mov eax, 0x800
imul rax, rax, 0
lea rcx, [0x1804e9ed0]
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, [0x1804e9ed0]
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, [0x1804e9ed0]
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, [0x1804e9ed0]
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, [0x1804e9ed0]
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, [0x1804e9ed0]
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, [0x1804e9ed0]
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, [0x1804e9ed0]
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