Function at 0x14000c444
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1402aaed0]
xor rax, rsp
mov qword [rbp - 1], rax
mov eax, 4
mov r13, r9
mov r12, r8
mov ebx, edx
mov r14, rcx
cmp edx, eax
jge 0x14000c492
xor eax, eax
jmp 0x14000caf8
mov r8, r13
mov rdx, r12
xor ecx, ecx
call fcn.14000c1b4
movzx ecx, word [r14]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, word [r14 + 2]
movzx r15d, ax
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
mov dword [rbp - 0x39], edi
mov esi, edi
cmp edi, ebx
jg 0x14000c48b
movzx ecx, r15w
cmp ecx, 0xb
ja 0x14000c8da
je 0x14000c8ca
sub ecx, 1
je 0x14000c8a9
sub ecx, 1
je 0x14000c6f4
sub ecx, 3
je 0x14000c624
cmp ecx, 1
jne 0x14000caf5
lea ebx, [rcx + 3]
cmp di, bx
jne 0x14000caf5
lea ecx, [rbx + 3]
call qword [sym.imp.WS2_32.dll_htons]
lea esi, [rbx + 4]
mov word [rbp - 9], ax
mov ecx, esi
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [0x1402ae3dc]
mov word [rbp - 7], ax
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [0x1402ae420]
mov word [rbp - 5], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r8, r13
lea rcx, [rbp - 9]
mov edx, esi
mov word [rbp - 3], ax
call r12
mov rdx, r13
mov rcx, r12
call fcn.14000bff4
mov rcx, qword [0x1402ae3f8]
lea r15d, [rbx - 3]
xor ebx, ebx
test rcx, rcx
jne 0x14000c5db
movsxd rcx, dword [0x1402ae414]
shl rcx, 3
call fcn.1401c2864
mov qword [0x1402ae3f8], rax
mov rcx, rax
test rax, rax
je 0x14000cb29
mov eax, dword [0x1402ae414]
mov r14d, ebx
test eax, eax
jle 0x14000caf5
mov edi, ebx
movsxd rcx, dword [0x1402ae41c]
shl rcx, 3
call fcn.1401c2864
mov rcx, qword [0x1402ae3f8]
mov qword [rdi + rcx], rax
test rax, rax
je 0x14000cb6f
mov eax, dword [0x1402ae414]
add r14d, r15d
add rdi, rsi
cmp r14d, eax
jl 0x14000c5a4
jmp 0x14000c5e1
mov eax, dword [0x1402ae414]
test eax, eax
jle 0x14000caf5
mov r9d, dword [0x1402ae41c]
mov r8d, eax
test r9d, r9d
jle 0x14000c617
mov rdx, rbx
mov r10, r9
mov rax, qword [rcx]
mov dword [rdx + rax], 0xff
mov rax, qword [rcx]
mov byte [rax + rdx + 4], bl
add rdx, rsi
sub r10, r15
jne 0x14000c5fe
add rcx, rsi
sub r8, r15
jne 0x14000c5f3
jmp 0x14000caf5
cmp di, 0xa
jb 0x14000c64f
movzx ecx, word [r14 + 8]
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [0x1402ae400]
movzx edx, ax
lea eax, [rdx - 0x14]
cmp eax, 0x1374
cmovbe ecx, edx
mov dword [0x1402ae400], ecx
mov esi, 8
cmp di, si
jb 0x14000c67e
movzx ecx, word [r14 + 6]
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [0x1402aba78]
movzx edx, ax
lea eax, [rdx - 0x40]
cmp eax, 0xfc0
cmovbe ecx, edx
mov dword [0x1402aba78], ecx
mov esi, 6
cmp di, si
jb 0x14000caf5
movsx eax, byte [r14 + 5]
lea r15d, [rsi - 5]
movsx ecx, byte [r14 + 4]
lea edx, [rsi + 0x54]
cmp eax, r15d
cmovb eax, r15d
cmp eax, edx
cmova eax, edx
xor ebx, ebx
cmp qword [0x1402ae438], rbx
mov dword [0x1402aba84], eax
je 0x14000caf5
sub ecx, r15d
je 0x14000c6e3
sub ecx, r15d
je 0x14000c6da
cmp ecx, r15d
jne 0x14000caf5
lea rcx, str.image_tiff
jmp 0x14000c6ea
lea rcx, str.image_png
jmp 0x14000c6ea
lea rcx, str.image_jpeg
call fcn.14000dd5c
jmp 0x14000caf5
xor ebx, ebx
lea eax, [rdi - 0xa]
mov ecx, 0xfffd
movzx esi, bx
test cx, ax
jne 0x14000caf5
movzx ecx, word [r14 + 6]
lea r15d, [rbx + 1]
mov dword [0x1402ae38c], r15d
call qword [sym.imp.WS2_32.dll_ntohs]
movd xmm0, dword [0x1402aba7c]
movzx ecx, word [r14 + 8]
movzx eax, ax
cvtdq2pd xmm0, xmm0
movd xmm7, eax
cvtdq2pd xmm7, xmm7
mulsd xmm7, qword [0x14028a2b0]
divsd xmm7, xmm0
call qword [sym.imp.WS2_32.dll_ntohs]
movd xmm0, dword [0x1402aba7c]
mov ecx, dword [0x1402ae40c]
mov r8d, dword [0x1402ae3e8]
movzx eax, ax
cvtdq2pd xmm0, xmm0
movd xmm4, eax
mov eax, dword [0x1402ae408]
sub eax, dword [0x1402ae3c8]
cvtdq2pd xmm4, xmm4
movd xmm6, eax
mulsd xmm4, qword [0x14028a2b0]
mov eax, dword [0x1402ae3f4]
sub eax, dword [0x1402ae424]
cvtdq2pd xmm6, xmm6
divsd xmm4, xmm0
movd xmm0, dword [0x1402ae3f0]
andps xmm6, xmmword [0x14028a400]
addsd xmm6, xmm7
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
movd xmm7, eax
lea eax, [rbx + 0xc]
divsd xmm1, xmm0
movd xmm0, dword [0x1402ae3e0]
mulsd xmm6, xmm1
movd xmm1, r8d
cvtdq2pd xmm7, xmm7
mulsd xmm6, qword [0x14028a2d0]
andps xmm7, xmmword [0x14028a400]
addsd xmm7, xmm4
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
mulsd xmm7, xmm1
mulsd xmm7, qword [0x14028a2d0]
cmp di, ax
jne 0x14000c828
movzx ecx, word [r14 + 0xa]
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [0x1402ae40c]
movzx esi, ax
mov r8d, dword [0x1402ae3e8]
movzx edx, byte [r14 + 5]
cmp edx, 0x88
je 0x14000caf5
movd xmm0, ecx
or edx, 0xc001
mov dword [rbp - 0x31], ebx
mov dword [rbp - 0x1d], edx
cvtdq2pd xmm0, xmm0
divsd xmm6, xmm0
movd xmm0, r8d
cvtdq2pd xmm0, xmm0
cvttsd2si ecx, xmm6
divsd xmm7, xmm0
mov dword [rbp - 0x29], ecx
cvttsd2si eax, xmm7
mov dword [rbp - 0x25], eax
movsx eax, si
mov dword [rbp - 0x21], eax
test si, si
je 0x14000c87e
bts edx, 0xb
mov dword [rbp - 0x1d], edx
mov dword [rbp - 0x19], ebx
mov qword [rbp - 0x11], rbx
call fcn.1400936b4
mov r8d, 0x28
mov qword [0x1402ae380], rax
lea rdx, [rbp - 0x31]
mov ecx, r15d
call qword [sym.imp.USER32.dll_SendInput]
jmp 0x14000caf5
mov esi, 6
cmp di, si
jne 0x14000caf5
movsx edx, byte [r14 + 4]
mov cl, byte [r14 + 5]
call fcn.14000b850
jmp 0x14000caf5
mov rdx, r13
mov rcx, r12
call fcn.14000bff4
jmp 0x14000caf5
sub ecx, 0xc
je 0x14000cacc
sub ecx, 1
je 0x14000caac
sub ecx, 1
je 0x14000ca6a
cmp ecx, 1
jne 0x14000caf5
mov r15d, ecx
cmp byte [r14 + 4], r15b
jne 0x14000ca1b
mov ecx, dword [r14 + 6]
call qword [sym.imp.WS2_32.dll_ntohl]
movzx ecx, word [r14 + 0xa]
mov esi, eax
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, word [r14 + 0xc]
movzx ebx, word [0x1402aba7c]
movzx edi, ax
shl edi, 0xa
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [0x1402ae408]
xor edx, edx
sub ecx, dword [0x1402ae3c8]
movd xmm1, dword [0x1402ae40c]
movzx r10d, ax
mov eax, edi
div ebx
movd xmm0, ecx
xor edx, edx
cvtdq2pd xmm0, xmm0
shl r10d, 0xa
cvtdq2pd xmm1, xmm1
andps xmm0, xmmword [0x14028a400]
cvttsd2si rcx, xmm0
movd xmm0, dword [0x1402ae3f0]
add cx, ax
cvtdq2pd xmm0, xmm0
movzx eax, cx
mov ecx, dword [0x1402ae3f4]
sub ecx, dword [0x1402ae424]
movd xmm2, eax
mov eax, r10d
divsd xmm1, xmm0
cvtdq2pd xmm2, xmm2
movd xmm0, ecx
movzx ecx, word [0x1402aba7c]
mulsd xmm2, xmm1
movd xmm1, dword [0x1402ae3e8]
div ecx
mov cl, byte [r14 + 5]
mov edx, esi
mulsd xmm2, qword [0x14028a2d0]
cvtdq2pd xmm0, xmm0
cvttsd2si r8, xmm2
andps xmm0, xmmword [0x14028a400]
cvttsd2si r9, xmm0
movd xmm0, dword [0x1402ae3e0]
cvtdq2pd xmm1, xmm1
add r9w, ax
movzx eax, r9w
cvtdq2pd xmm0, xmm0
movd xmm2, eax
divsd xmm1, xmm0
cvtdq2pd xmm2, xmm2
mulsd xmm2, xmm1
mulsd xmm2, qword [0x14028a2d0]
cvttsd2si r9, xmm2
call fcn.14000b99c
jmp 0x14000ca39
cmp byte [r14 + 4], 2
jne 0x14000caf5
mov r8d, dword [0x1402aba7c]
lea edx, [rsi - 5]
lea rcx, [r14 + 5]
call fcn.14000ba98
cmp eax, r15d
jne 0x14000caf5
mov ecx, reloc.WS2_32.dll_ntohs
call qword [sym.imp.WS2_32.dll_htons]
mov ebx, 4
mov word [rbp - 9], ax
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 7], ax
mov edx, ebx
lea rcx, [rbp - 9]
jmp 0x14000caa4
call fcn.14000b8f0
mov ecx, reloc.WS2_32.dll_ntohl
mov ebx, eax
call qword [sym.imp.WS2_32.dll_htons]
mov esi, 6
mov word [rbp - 9], ax
mov ecx, esi
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, bx
mov word [rbp - 7], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 5], ax
mov edx, esi
lea rcx, [rbp - 9]
mov r8, r13
call r12
jmp 0x14000caf5
movzx ecx, word [r14 + 4]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
lea eax, [rcx - 0x14]
cmp eax, 0x1374
ja 0x14000caf5
mov dword [0x1402ae400], ecx
jmp 0x14000caf5
mov esi, 6
cmp di, si
jb 0x14000caf5
movzx ecx, word [r14 + 4]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
xor ebx, ebx
cmp ecx, 0xffff
cmove ecx, ebx
mov dword [0x1402ae3cc], ecx
mov eax, dword [rbp - 0x39]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1401b98c0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str...meshcoreKVMWindowskvm.c
mov edi, 0x225
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.140093d88
mov r8d, edi
lea rdx, str...meshcoreKVMWindowskvm.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, ebx
call fcn.1401bbfb8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str...meshcoreKVMWindowskvm.c
mov edi, 0x226
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.140093d88
mov r8d, edi
lea rdx, str...meshcoreKVMWindowskvm.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, ebx
call fcn.1401bbfb8
int3