Function at 0x14000d6fc
Capabilities:
Encrypt data using rc4 ksa
Log keystrokes

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, 0xa0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1402bcf00]
xor rax, rsp
mov qword [rbp - 9], rax
mov r12d, 4
mov rbx, r9
mov qword [rbp - 0x19], rbx
mov r13, r8
mov edi, edx
mov r15, rcx
cmp edx, r12d
jge 0x14000d750
xor eax, eax
jmp 0x14000de9d
mov r8, rbx
mov rdx, r13
xor ecx, ecx
call fcn.14000d46c
movzx ecx, word [r15]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, word [r15 + 2]
movzx r14d, ax
call qword [sym.imp.WS2_32.dll_ntohs]
movzx esi, ax
mov dword [rbp - 0x49], esi
cmp esi, edi
jg 0x14000d749
movzx ecx, r14w
cmp ecx, 0xb
ja 0x14000dbff
je 0x14000dbef
sub ecx, 1
je 0x14000db68
sub ecx, 1
je 0x14000d9b2
sub ecx, 3
je 0x14000d8e2
sub ecx, 1
jne 0x14000de98
cmp si, r12w
jne 0x14000de98
mov ecx, 7
call qword [sym.imp.WS2_32.dll_htons]
mov edi, 8
mov word [rbp - 0x11], ax
mov ecx, edi
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [0x1402c04c8]
mov word [rbp - 0xf], ax
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [0x1402c0514]
mov word [rbp - 0xd], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r8, rbx
lea rcx, [rbp - 0x11]
mov edx, edi
mov word [rbp - 0xb], ax
call r13
mov rdx, rbx
mov rcx, r13
call fcn.14000d2ac
mov rcx, qword [0x1402c04e8]
lea r14d, [rdi - 7]
xor ebx, ebx
test rcx, rcx
jne 0x14000d899
movsxd rcx, dword [0x1402c0508]
shl rcx, 3
call fcn.1401cb03c
mov qword [0x1402c04e8], rax
mov rcx, rax
test rax, rax
je 0x14000dece
mov eax, dword [0x1402c0508]
mov r15d, ebx
test eax, eax
jle 0x14000de98
mov esi, ebx
movsxd rcx, dword [0x1402c0510]
shl rcx, 3
call fcn.1401cb03c
mov rcx, qword [0x1402c04e8]
mov qword [rsi + rcx], rax
test rax, rax
je 0x14000df14
mov eax, dword [0x1402c0508]
add r15d, r14d
add rsi, rdi
cmp r15d, eax
jl 0x14000d862
jmp 0x14000d89f
mov eax, dword [0x1402c0508]
test eax, eax
jle 0x14000de98
mov r9d, dword [0x1402c0510]
mov r8d, eax
test r9d, r9d
jle 0x14000d8d5
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, rdi
sub r10, r14
jne 0x14000d8bc
add rcx, rdi
sub r8, r14
jne 0x14000d8b1
jmp 0x14000de98
cmp si, 0xa
jb 0x14000d90d
movzx ecx, word [r15 + 8]
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [0x1402c04e4]
movzx edx, ax
lea eax, [rdx - 0x14]
cmp eax, 0x1374
cmovbe ecx, edx
mov dword [0x1402c04e4], ecx
mov edi, 8
cmp si, di
jb 0x14000d93c
movzx ecx, word [r15 + 6]
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [0x1402bdb58]
movzx edx, ax
lea eax, [rdx - 0x40]
cmp eax, 0xfc0
cmovbe ecx, edx
mov dword [0x1402bdb58], ecx
mov edi, 6
cmp si, di
jb 0x14000de98
movsx eax, byte [r15 + 5]
lea r14d, [rdi - 5]
movsx ecx, byte [r15 + 4]
lea edx, [rdi + 0x54]
cmp eax, r14d
cmovb eax, r14d
cmp eax, edx
cmova eax, edx
xor ebx, ebx
cmp qword [0x1402c0528], rbx
mov dword [0x1402bdb64], eax
je 0x14000de98
sub ecx, r14d
je 0x14000d9a9
sub ecx, r14d
je 0x14000d9a0
cmp ecx, r14d
jne 0x14000de98
lea rcx, str.image_tiff
call fcn.14000f164
jmp 0x14000de98
lea rcx, str.image_png
jmp 0x14000d996
lea rcx, str.image_jpeg
jmp 0x14000d996
xor ebx, ebx
lea eax, [rsi - 0xa]
mov ecx, 0xfffd
movzx edi, bx
test cx, ax
jne 0x14000de98
movzx ecx, word [r15 + 6]
lea r14d, [rbx + 1]
mov dword [0x1402c04b0], r14d
call qword [sym.imp.WS2_32.dll_ntohs]
movd xmm0, dword [0x1402bdb5c]
movzx ecx, word [r15 + 8]
movzx eax, ax
cvtdq2pd xmm0, xmm0
movd xmm7, eax
cvtdq2pd xmm7, xmm7
mulsd xmm7, qword [0x14029beb0]
divsd xmm7, xmm0
call qword [sym.imp.WS2_32.dll_ntohs]
movd xmm0, dword [0x1402bdb5c]
mov ecx, dword [0x1402c04f8]
mov r8d, dword [0x1402c04d4]
movzx eax, ax
cvtdq2pd xmm0, xmm0
movd xmm4, eax
mov eax, dword [0x1402c04f4]
sub eax, dword [0x1402c04b4]
cvtdq2pd xmm4, xmm4
movd xmm6, eax
mulsd xmm4, qword [0x14029beb0]
mov eax, dword [0x1402c04e0]
sub eax, dword [0x1402c0518]
cvtdq2pd xmm6, xmm6
divsd xmm4, xmm0
movd xmm0, dword [0x1402c04dc]
andps xmm6, xmmword [0x14029bff0]
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 [0x1402c04cc]
mulsd xmm6, xmm1
movd xmm1, r8d
cvtdq2pd xmm7, xmm7
mulsd xmm6, qword [0x14029bed0]
andps xmm7, xmmword [0x14029bff0]
addsd xmm7, xmm4
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
mulsd xmm7, xmm1
mulsd xmm7, qword [0x14029bed0]
cmp si, ax
jne 0x14000dae6
movzx ecx, word [r15 + 0xa]
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [0x1402c04f8]
movzx edi, ax
mov r8d, dword [0x1402c04d4]
movzx edx, byte [r15 + 5]
cmp edx, 0x88
je 0x14000de98
movd xmm0, ecx
or edx, 0xc001
mov dword [rbp - 0x41], ebx
mov dword [rbp - 0x2d], edx
cvtdq2pd xmm0, xmm0
divsd xmm6, xmm0
movd xmm0, r8d
cvtdq2pd xmm0, xmm0
cvttsd2si ecx, xmm6
divsd xmm7, xmm0
mov dword [rbp - 0x39], ecx
cvttsd2si eax, xmm7
mov dword [rbp - 0x35], eax
movsx eax, di
mov dword [rbp - 0x31], eax
test di, di
je 0x14000db3c
bts edx, 0xb
mov dword [rbp - 0x2d], edx
mov dword [rbp - 0x29], ebx
mov qword [rbp - 0x21], rbx
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [0x1402c0470], rax
mov r8d, 0x28
lea rdx, [rbp - 0x41]
mov ecx, r14d
call qword [sym.imp.USER32.dll_SendInput]
jmp 0x14000de98
mov edi, 6
cmp si, di
jne 0x14000de98
movsx edi, byte [r15 + 4]
mov sil, byte [r15 + 5]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebx, ebx
test rax, rax
je 0x14000de98
mov rcx, rax
call qword [sym.imp.USER32.dll_SetForegroundWindow]
lea r14d, [rbx + 1]
movzx eax, sil
mov word [rbp - 0x39], ax
mov dword [rbp - 0x41], r14d
cmp edi, r14d
jne 0x14000dbb7
mov dword [rbp - 0x35], 2
jmp 0x14000dbcd
cmp edi, 3
jne 0x14000dbc1
mov dword [rbp - 0x35], edi
jmp 0x14000dbcd
cmp edi, r12d
mov eax, ebx
cmove eax, r14d
mov dword [rbp - 0x35], eax
movzx ecx, sil
xor edx, edx
mov dword [rbp - 0x31], ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [rbp - 0x37], ax
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov qword [rbp - 0x29], rax
jmp 0x14000db50
mov rdx, rbx
mov rcx, r13
call fcn.14000d2ac
jmp 0x14000de98
sub ecx, 0xc
je 0x14000de6f
sub ecx, 1
je 0x14000de4f
sub ecx, 1
je 0x14000de0c
sub ecx, 1
je 0x14000dc8d
cmp ecx, 0x46
jne 0x14000de98
lea eax, [rcx - 0x3f]
cmp si, ax
jne 0x14000de98
movzx esi, byte [r15 + 5]
mov ecx, 0x100
movzx eax, byte [r15 + 6]
mov r13b, byte [r15 + 4]
imul esi, ecx
add si, ax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor ebx, ebx
test rax, rax
je 0x14000de98
mov rcx, rax
call qword [sym.imp.USER32.dll_SetForegroundWindow]
lea r14d, [rbx + 1]
mov word [rbp - 0x39], bx
cmp r13b, r14b
mov dword [rbp - 0x41], r14d
lea edi, [rbx + 6]
mov dword [rbp - 0x31], ebx
cmove r12d, edi
mov word [rbp - 0x37], si
mov dword [rbp - 0x35], r12d
jmp 0x14000dbe0
mov r14d, 1
cmp byte [r15 + 4], r14b
jne 0x14000ddb4
mov ecx, dword [r15 + 6]
call qword [sym.imp.WS2_32.dll_ntohl]
movzx ecx, word [r15 + 0xa]
mov esi, eax
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, word [r15 + 0xc]
movzx ebx, word [0x1402bdb5c]
movzx edi, ax
shl edi, 0xa
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [0x1402c04f4]
xor edx, edx
sub ecx, dword [0x1402c04b4]
movd xmm1, dword [0x1402c04f8]
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 [0x14029bff0]
cvttsd2si rcx, xmm0
movd xmm0, dword [0x1402c04dc]
add cx, ax
cvtdq2pd xmm0, xmm0
movzx eax, cx
mov ecx, dword [0x1402c04e0]
sub ecx, dword [0x1402c0518]
movd xmm2, eax
mov eax, r10d
divsd xmm1, xmm0
cvtdq2pd xmm2, xmm2
movd xmm0, ecx
movzx ecx, word [0x1402bdb5c]
mulsd xmm2, xmm1
movd xmm1, dword [0x1402c04d4]
div ecx
mov cl, byte [r15 + 5]
mov edx, esi
mulsd xmm2, qword [0x14029bed0]
cvtdq2pd xmm0, xmm0
cvttsd2si r8, xmm2
andps xmm0, xmmword [0x14029bff0]
cvttsd2si r9, xmm0
movd xmm0, dword [0x1402c04cc]
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 [0x14029bed0]
cvttsd2si r9, xmm2
call fcn.14000cd7c
mov rbx, qword [rbp - 0x19]
mov edi, dword [rbp - 0x49]
jmp 0x14000ddd5
cmp byte [r15 + 4], 2
mov edi, dword [rbp - 0x49]
jne 0x14000de9b
mov r8d, dword [0x1402bdb5c]
lea edx, [rdi - 5]
lea rcx, [r15 + 5]
call fcn.14000ce78
cmp eax, r14d
jne 0x14000de9b
mov ecx, reloc.WS2_32.dll_ntohs
call qword [sym.imp.WS2_32.dll_htons]
mov ecx, r12d
mov word [rbp - 0x49], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r8, rbx
lea rcx, [rbp - 0x49]
mov edx, r12d
mov word [rbp - 0x47], ax
call r13
jmp 0x14000de9b
call fcn.14000ccd0
mov ecx, reloc.WS2_32.dll_ntohl
mov ebx, eax
call qword [sym.imp.WS2_32.dll_htons]
mov edi, 6
mov word [rbp - 0x11], ax
mov ecx, edi
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, bx
mov word [rbp - 0xf], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r8, qword [rbp - 0x19]
lea rcx, [rbp - 0x11]
mov edx, edi
mov word [rbp - 0xd], ax
call r13
jmp 0x14000de98
movzx ecx, word [r15 + 4]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
lea eax, [rcx - 0x14]
cmp eax, 0x1374
ja 0x14000de98
mov dword [0x1402c04e4], ecx
jmp 0x14000de98
mov edi, 6
cmp si, di
jb 0x14000de98
movzx ecx, word [r15 + 4]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
xor ebx, ebx
cmp ecx, 0xffff
cmove ecx, ebx
mov dword [0x1402c04b8], ecx
mov edi, dword [rbp - 0x49]
mov eax, edi
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1401c2260
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
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, 0x1d4
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.14009817c
mov r8d, edi
lea rdx, str...meshcoreKVMWindowskvm.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.1400010e4
mov ecx, ebx
call fcn.1401c4958
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str...meshcoreKVMWindowskvm.c
mov edi, 0x1d5
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.14009817c
mov r8d, edi
lea rdx, str...meshcoreKVMWindowskvm.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.1400010e4
mov ecx, ebx
call fcn.1401c4958
int3