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

Disassembly:
push rdi
push r12
push r15
sub rsp, 0x10
mov r15d, dword [rcx + 0xf0]
mov r12, r8
shr r15d, 1
mov rdi, rcx
lea eax, [r15 - 1]
cmp eax, 6
ja 0x1400993e3
mov r9d, dword [rdx]
lea r8, [0x1400f3610]
mov r10d, dword [rdx + 4]
mov eax, r9d
mov r11d, dword [rdx + 8]
ror eax, 8
mov qword [rsp + 0x30], rbx
mov ebx, dword [rdx + 0xc]
rol r9d, 8
xor r9d, eax
mov qword [rsp + 0x38], rbp
and r9d, 0xff00ff
mov qword [rsp + 0x40], rsi
xor r9d, dword [rcx]
xor r9d, eax
mov qword [rsp + 8], r13
mov eax, r10d
mov qword [rsp], r14
ror eax, 8
lea r13, [0x1400f2610]
rol r10d, 8
xor r10d, eax
and r10d, 0xff00ff
xor r10d, dword [rcx + 4]
xor r10d, eax
mov eax, r11d
ror eax, 8
rol r11d, 8
xor r11d, eax
and r11d, 0xff00ff
xor r11d, dword [rcx + 8]
xor r11d, eax
mov eax, ebx
rol ebx, 8
ror eax, 8
xor ebx, eax
and ebx, 0xff00ff
xor ebx, dword [rcx + 0xc]
xor ebx, eax
mov rax, r13
xor edx, edx
nop word [rax + rax]
mov ecx, reloc.WS2_32.dll_recv
nop word [rax + rax]
and edx, dword [rax]
add rax, 0x40
sub rcx, 1
jne 0x140098f10
cmp rax, r8
jl 0x140098f00
or r9d, edx
mov eax, r11d
shr eax, 8
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
mov esi, dword [r13 + rdx*4 + 0x800]
shr rax, 0x18
xor esi, dword [r13 + rcx*4 + 0x400]
xor esi, dword [r13 + rax*4]
movzx eax, bl
xor esi, dword [r13 + rax*4 + 0xc00]
mov eax, ebx
xor esi, dword [rdi + 0x10]
shr eax, 8
movzx edx, al
mov eax, r11d
shr eax, 0x10
movzx ecx, al
mov eax, r10d
mov ebp, dword [r13 + rdx*4 + 0x800]
shr rax, 0x18
xor ebp, dword [r13 + rcx*4 + 0x400]
xor ebp, dword [r13 + rax*4]
movzx eax, r9b
xor ebp, dword [r13 + rax*4 + 0xc00]
mov eax, ebx
xor ebp, dword [rdi + 0x14]
shr eax, 0x10
movzx ecx, al
mov eax, r11d
shr rax, 0x18
mov r14d, dword [r13 + rcx*4 + 0x400]
xor r14d, dword [r13 + rax*4]
mov eax, r9d
shr eax, 8
movzx ecx, al
movzx eax, r10b
shr r10d, 8
shr r9d, 0x10
xor r14d, dword [r13 + rcx*4 + 0x800]
xor r14d, dword [r13 + rax*4 + 0xc00]
xor r14d, dword [rdi + 0x18]
mov ecx, ebx
shr rcx, 0x18
movzx eax, r10b
mov ebx, dword [r13 + rcx*4]
xor ebx, dword [r13 + rax*4 + 0x800]
movzx eax, r9b
xor ebx, dword [r13 + rax*4 + 0x400]
movzx eax, r11b
xor ebx, dword [r13 + rax*4 + 0xc00]
xor ebx, dword [rdi + 0x1c]
add rdi, 0x20
add r15d, 0xffffffff
je 0x14009920d
mov eax, r14d
shr eax, 8
movzx edx, al
mov eax, ebp
shr eax, 0x10
movzx ecx, al
mov eax, esi
mov r11d, dword [r13 + rdx*4 + 0x800]
shr rax, 0x18
xor r11d, dword [r13 + rcx*4 + 0x400]
xor r11d, dword [r13 + rax*4]
movzx eax, bl
xor r11d, dword [r13 + rax*4 + 0xc00]
mov eax, ebx
xor r11d, dword [rdi]
shr eax, 8
movzx edx, al
mov eax, r14d
shr eax, 0x10
movzx ecx, al
mov eax, ebp
mov r10d, dword [r13 + rdx*4 + 0x800]
shr rax, 0x18
xor r10d, dword [r13 + rcx*4 + 0x400]
xor r10d, dword [r13 + rax*4]
movzx eax, sil
xor r10d, dword [r13 + rax*4 + 0xc00]
mov eax, ebx
xor r10d, dword [rdi + 4]
shr eax, 0x10
movzx ecx, al
mov eax, r14d
shr rax, 0x18
mov r9d, dword [r13 + rcx*4 + 0x400]
xor r9d, dword [r13 + rax*4]
mov eax, esi
shr eax, 8
movzx ecx, al
movzx eax, bpl
shr esi, 0x10
shr ebp, 8
xor r9d, dword [r13 + rcx*4 + 0x800]
xor r9d, dword [r13 + rax*4 + 0xc00]
xor r9d, dword [rdi + 8]
movzx eax, bpl
mov ecx, ebx
shr rcx, 0x18
mov r8d, dword [r13 + rcx*4]
xor r8d, dword [r13 + rax*4 + 0x800]
movzx eax, sil
xor r8d, dword [r13 + rax*4 + 0x400]
movzx eax, r14b
xor r8d, dword [r13 + rax*4 + 0xc00]
mov eax, r9d
xor r8d, dword [rdi + 0xc]
shr eax, 8
movzx edx, al
mov eax, r10d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
mov esi, dword [r13 + rdx*4 + 0x800]
shr rax, 0x18
xor esi, dword [r13 + rcx*4 + 0x400]
xor esi, dword [r13 + rax*4]
movzx eax, r8b
xor esi, dword [r13 + rax*4 + 0xc00]
mov eax, r8d
xor esi, dword [rdi + 0x10]
shr eax, 8
movzx edx, al
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r10d
mov ebp, dword [r13 + rdx*4 + 0x800]
shr rax, 0x18
xor ebp, dword [r13 + rcx*4 + 0x400]
xor ebp, dword [r13 + rax*4]
movzx eax, r11b
xor ebp, dword [r13 + rax*4 + 0xc00]
xor ebp, dword [rdi + 0x14]
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr rax, 0x18
mov r14d, dword [r13 + rcx*4 + 0x400]
xor r14d, dword [r13 + rax*4]
mov eax, r11d
shr eax, 8
movzx ecx, al
movzx eax, r10b
shr r10d, 8
shr r11d, 0x10
xor r14d, dword [r13 + rcx*4 + 0x800]
xor r14d, dword [r13 + rax*4 + 0xc00]
xor r14d, dword [rdi + 0x18]
movzx eax, r10b
mov ecx, r8d
shr rcx, 0x18
mov ebx, dword [r13 + rcx*4]
xor ebx, dword [r13 + rax*4 + 0x800]
movzx eax, r11b
xor ebx, dword [r13 + rax*4 + 0x400]
movzx eax, r9b
xor ebx, dword [r13 + rax*4 + 0xc00]
xor ebx, dword [rdi + 0x1c]
add rdi, 0x20
add r15d, 0xffffffff
jne 0x140099021
mov eax, ebp
shr eax, 0x10
movzx ecx, al
mov eax, r14d
shr eax, 8
mov r10d, dword [r13 + rcx*4 + 0xc00]
movzx ecx, al
and r10d, 0xff0000
mov eax, dword [r13 + rcx*4]
and eax, 0xff00
xor r10d, eax
mov eax, esi
shr rax, 0x18
mov ecx, dword [r13 + rax*4 + 0x800]
and ecx, 0xff000000
movzx eax, bl
xor r10d, ecx
movzx eax, byte [r13 + rax*4 + 0x400]
xor r10d, eax
mov eax, r14d
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
xor r10d, dword [rdi]
mov r9d, dword [r13 + rcx*4 + 0xc00]
movzx ecx, al
and r9d, 0xff0000
mov eax, dword [r13 + rcx*4]
and eax, 0xff00
xor r9d, eax
mov eax, ebp
shr rax, 0x18
mov eax, dword [r13 + rax*4 + 0x800]
and eax, 0xff000000
xor r9d, eax
movzx eax, sil
movzx eax, byte [r13 + rax*4 + 0x400]
xor r9d, eax
mov eax, ebx
xor r9d, dword [rdi + 4]
shr eax, 0x10
movzx ecx, al
mov eax, r14d
shr rax, 0x18
mov r8d, dword [r13 + rcx*4 + 0xc00]
and r8d, 0xff0000
mov eax, dword [r13 + rax*4 + 0x800]
and eax, 0xff000000
xor r8d, eax
mov eax, esi
shr eax, 8
movzx ecx, al
shr esi, 0x10
mov eax, dword [r13 + rcx*4]
and eax, 0xff00
xor r8d, eax
movzx eax, bpl
shr ebp, 8
movzx eax, byte [r13 + rax*4 + 0x400]
xor r8d, eax
movzx eax, sil
xor r8d, dword [rdi + 8]
mov edx, dword [r13 + rax*4 + 0xc00]
and edx, 0xff0000
mov eax, ebx
shr rax, 0x18
mov eax, dword [r13 + rax*4 + 0x800]
and eax, 0xff000000
xor edx, eax
movzx eax, bpl
mov ecx, dword [r13 + rax*4]
and ecx, 0xff00
movzx eax, r14b
xor edx, ecx
movzx eax, byte [r13 + rax*4 + 0x400]
xor edx, eax
mov eax, r10d
xor edx, dword [rdi + 0xc]
ror eax, 8
rol r10d, 8
mov r14, qword [rsp]
xor r10d, eax
mov r13, qword [rsp + 8]
and r10d, 0xff00ff
mov rsi, qword [rsp + 0x40]
xor r10d, eax
mov rbp, qword [rsp + 0x38]
mov eax, r9d
mov rbx, qword [rsp + 0x30]
ror eax, 8
rol r9d, 8
xor r9d, eax
mov dword [r12], r10d
and r9d, 0xff00ff
xor r9d, eax
mov eax, r8d
ror eax, 8
rol r8d, 8
xor r8d, eax
mov dword [r12 + 4], r9d
and r8d, 0xff00ff
xor r8d, eax
mov eax, edx
rol edx, 8
ror eax, 8
xor edx, eax
mov dword [r12 + 8], r8d
and edx, 0xff00ff
xor edx, eax
mov dword [r12 + 0xc], edx
add rsp, 0x10
pop r15
pop r12
pop rdi
ret