Function at 0x1400d15b0
Capabilities:
Encrypt data using speck
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1d0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
mov rax, qword [0x1400ef040]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rsi, r9
mov qword [rsp + 0x68], r9
mov rbx, rdx
mov r12, qword [rbp + 0x130]
test edx, edx
jne 0x1400d1644
mov rax, rdx
shr rax, 0x20
test eax, eax
jne 0x1400d1644
mov rcx, r9
call fcn.140047de0
xor eax, eax
jmp 0x1400d1f96
movsxd rax, dword [r12]
xor r13d, r13d
lea r15, [r9 + 8]
mov qword [rsp + 0x58], r15
test eax, eax
jns 0x1400d165e
mov dword [r12], r13d
jmp 0x1400d1679
mov rcx, qword [r15]
sub rcx, qword [r9]
sar rcx, 5
cmp rax, rcx
jb 0x1400d1679
lea eax, [rcx - 1]
mov dword [r12], eax
mov qword [rsp + 0x58], r15
mov rax, qword [r15]
sub rax, qword [r9]
test rax, 0xffffffffffffffe0
jne 0x1400d168f
mov dword [r12], 0xffffffff
mov qword [rbp], r13
mov r14d, dword [rbp + 0x11c]
lea r8d, [r14 + 0x50]
lea ecx, [rdx + 0x35]
mov dword [rbp + 0x2c], r13d
mov dword [rbp + 0x3c], r13d
mov dword [rbp - 0x10], r13d
mov dword [rbp - 0xc], 1
mov rax, r13
shr rax, 0x20
movzx edx, al
shl edx, 8
mov dword [rbp + 0x20], ecx
mov dword [rbp + 0x24], r8d
lea eax, [rcx + 0xea]
mov dword [rbp + 0x30], eax
lea eax, [r8 + 0x2a8]
mov dword [rbp + 0x34], eax
movzx eax, dl
shl ax, 8
mov word [rbp + 0x28], ax
mov word [rbp + 0x2a], dx
mov word [rbp + 0x38], ax
mov word [rbp + 0x3a], dx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x10]
mov r8d, 2
lea rdx, [rbp + 0x20]
mov rcx, qword [0x1400f0180]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov dword [rbp + 0x10], 0xa
mov dword [rbp + 0x14], 0xa
mov eax, 0x66666667
imul dword [0x1400f0154]
mov r10d, edx
sar r10d, 2
mov eax, r10d
shr eax, 0x1f
add r10d, eax
mov dword [rbp], r10d
mov eax, 0x66666667
imul dword [0x1400f0158]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [rbp + 4], edx
lea r9d, [r14 + 0x51]
lea r11d, [rbx + 0x36]
mov dword [rsp + 0x50], r11d
mov word [rbp + 0x2e], r13w
mov dword [rbp + 0x3c], 0xa00
mov dword [rbp - 0x10], r13d
mov dword [rbp - 0xc], 1
mov eax, 0x66666667
imul dword [0x1400f015c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dl
mov rax, qword [rbp]
shr rax, 0x20
movzx edx, al
shl edx, 8
mov eax, r8d
shl eax, 0x10
or edx, eax
movzx eax, r10b
or edx, eax
mov rax, qword [rbp + 0x10]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
or ecx, 0xa000a
mov dword [rbp + 0x20], r11d
mov dword [rbp + 0x24], r9d
lea eax, [r11 + 0xe8]
mov dword [rsp + 0x60], eax
mov dword [rbp + 0x30], eax
lea eax, [r9 + 0x2a6]
mov dword [rbp + 0x34], eax
movzx eax, dl
shl ax, 8
mov word [rbp + 0x28], ax
mov r9d, 0xff00
and dx, r9w
mov word [rbp + 0x2a], dx
shl r8w, 8
mov word [rbp + 0x2c], r8w
movzx eax, cl
shl ax, 8
mov word [rbp + 0x38], ax
and cx, r9w
mov word [rbp + 0x3a], cx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x10]
mov r8d, 2
lea rdx, [rbp + 0x20]
mov rcx, qword [0x1400f0180]
call qword [sym.imp.MSIMG32.dll_GradientFill]
mov rax, qword [r15]
sub rax, qword [rsi]
sar rax, 5
test rax, rax
je 0x1400d1f88
xor r15d, r15d
mov edx, 4
movdqa xmm11, xmmword [0x1400e7c10]
movdqa xmm10, xmmword [0x1400e7bd0]
movdqa xmm9, xmmword [0x1400e7b70]
movss xmm8, dword [0x1400e48f8]
movss xmm12, dword [0x1400e4a10]
movss xmm13, dword [0x1400e4904]
cmp r13w, 0x1b
jge 0x1400d1f68
movsx edi, r13w
imul r9d, edi, 0x19
add r9d, 0x55
add r9d, r14d
mov eax, dword [0x1400f0188]
mov r8d, dword [0x1400f0190]
cmp eax, r8d
jl 0x1400d1b55
cmp eax, dword [0x1400f0198]
jg 0x1400d1b55
mov ecx, dword [0x1400f018c]
mov edx, dword [0x1400f0194]
cmp ecx, edx
jl 0x1400d1b5b
cmp ecx, dword [0x1400f019c]
jg 0x1400d1b5b
sub eax, r8d
cmp eax, dword [rsp + 0x50]
jl 0x1400d1b5b
cmp eax, dword [rsp + 0x60]
jg 0x1400d1b50
sub ecx, edx
cmp ecx, r9d
jl 0x1400d1b5b
lea eax, [r9 + 0x14]
cmp ecx, eax
jg 0x1400d1b5b
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1400f0168]
jne 0x1400d1a03
cmp dword [0x1400f01a8], 0
jne 0x1400d1a03
cmp dword [0x1400f01ac], 0
jne 0x1400d1a03
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400d1988
xor eax, eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 4
call qword [sym.imp.USER32.dll_mouse_event]
mov dword [r12], edi
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400d19b3
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, 0x26
call qword [sym.imp.USER32.dll_keybd_event]
dec dword [r12]
jmp 0x1400d19dc
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400d19dc
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, 0x28
call qword [sym.imp.USER32.dll_keybd_event]
inc dword [r12]
movsxd rax, dword [r12]
test eax, eax
jns 0x1400d19e8
xor eax, eax
jmp 0x1400d19ff
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx]
sub rcx, qword [rsi]
sar rcx, 5
cmp rax, rcx
jb 0x1400d1a03
lea eax, [rcx - 1]
mov dword [r12], eax
mov dword [rbp - 0x80], 0xf
mov dword [rbp - 0x7c], 0xf
mov ecx, dword [0x1400f0154]
mov eax, 0x92492493
imul ecx
lea r10d, [rcx + rdx]
sar r10d, 2
mov eax, r10d
shr eax, 0x1f
add r10d, eax
mov dword [rsp + 0x70], r10d
mov eax, 0x92492493
imul dword [0x1400f0158]
add edx, dword [0x1400f0158]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rsp + 0x74], edx
movsx eax, r13w
imul r9d, eax, 0x19
add r9d, 0x55
add r9d, r14d
xor eax, eax
mov word [rbp + 0x2e], ax
mov word [rbp + 0x3e], ax
mov dword [rbp + 0x10], eax
mov dword [rbp + 0x14], 1
mov eax, 0x92492493
imul dword [0x1400f015c]
add edx, dword [0x1400f015c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dl
mov rax, qword [rsp + 0x70]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
mov eax, r8d
shl eax, 0x10
or ecx, eax
movzx eax, r10b
or ecx, eax
mov rax, qword [rbp - 0x80]
shr rax, 0x20
movzx edx, al
shl edx, 8
or edx, 0xf000f
mov edi, dword [rsp + 0x50]
mov dword [rbp + 0x20], edi
mov dword [rbp + 0x24], r9d
lea eax, [rdi + 0xe8]
mov dword [rbp + 0x30], eax
lea eax, [r9 + 0x14]
mov dword [rbp + 0x34], eax
movzx eax, cl
shl ax, 8
mov word [rbp + 0x28], ax
mov r9d, 0xff00
and cx, r9w
mov word [rbp + 0x2a], cx
shl r8w, 8
mov word [rbp + 0x2c], r8w
movzx eax, dl
shl ax, 8
mov word [rbp + 0x38], ax
movzx eax, dx
and ax, r9w
mov word [rbp + 0x3a], ax
shr edx, 0x10
shl dx, 8
mov word [rbp + 0x3c], dx
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
lea r9, [rbp + 0x10]
mov r8d, 2
lea rdx, [rbp + 0x20]
mov rcx, qword [0x1400f0180]
call qword [sym.imp.MSIMG32.dll_GradientFill]
jmp 0x1400d1b5f
mov edx, 4
mov edi, dword [rsp + 0x50]
jmp 0x1400d1b64
mov edi, dword [rsp + 0x50]
mov edx, 4
movsx ecx, r13w
imul eax, ecx, 0x19
add eax, 0x5a
mov dword [rbp - 0x10], eax
cmp dword [r12], ecx
jne 0x1400d1dfd
add eax, r14d
movd xmm7, eax
cvtdq2ps xmm7, xmm7
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400f0dc4], eax
jle 0x1400d1bc5
lea rcx, [0x1400f0dc4]
call fcn.1400deee4
cmp dword [0x1400f0dc4], 0xffffffff
jne 0x1400d1bc5
movss dword [0x1400f04b8], xmm7
lea rcx, [0x1400f0dc4]
call fcn.1400dee78
movss xmm6, dword [0x1400f04b8]
comiss xmm7, xmm6
jbe 0x1400d1be1
subss xmm7, xmm6
mulss xmm7, xmm8
addss xmm6, xmm7
jmp 0x1400d1bf6
comiss xmm6, xmm7
jbe 0x1400d1bfe
movaps xmm0, xmm6
subss xmm0, xmm7
mulss xmm0, xmm8
subss xmm6, xmm0
movss dword [0x1400f04b8], xmm6
mov dword [rbp - 0x60], 0xf
mov dword [rbp - 0x5c], 0xf
mov eax, 0x2aaaaaab
imul dword [0x1400f0154]
mov r10d, edx
shr r10d, 0x1f
add r10d, edx
mov dword [rbp - 0x70], r10d
mov eax, 0x2aaaaaab
imul dword [0x1400f0158]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rbp - 0x6c], edx
movaps xmm0, xmm6
subss xmm0, xmm12
cvttss2si r9d, xmm0
xor r11d, r11d
mov word [rbp + 0x2e], r11w
mov word [rbp + 0x3e], r11w
mov dword [rbp], r11d
mov dword [rbp + 4], 1
mov eax, 0x2aaaaaab
imul dword [0x1400f015c]
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx r8d, dl
mov rax, qword [rbp - 0x70]
shr rax, 0x20
movzx ecx, al
shl ecx, 8
mov eax, r8d
shl eax, 0x10
or ecx, eax
movzx eax, r10b
or ecx, eax
mov rax, qword [rbp - 0x60]
shr rax, 0x20
movzx edx, al
shl edx, 8
or edx, 0xf000f
mov dword [rbp + 0x20], edi
mov dword [rbp + 0x24], r9d
lea eax, [rdi + 0xe8]
mov dword [rbp + 0x30], eax
lea eax, [r9 + 0x14]
mov dword [rbp + 0x34], eax
movzx eax, cl
shl ax, 8
mov word [rbp + 0x28], ax
mov r9d, 0xff00
and cx, r9w
mov word [rbp + 0x2a], cx
shl r8w, 8
mov word [rbp + 0x2c], r8w
movzx eax, dl
shl ax, 8
mov word [rbp + 0x38], ax
movzx eax, dx
and ax, r9w
mov word [rbp + 0x3a], ax
shr edx, 0x10
shl dx, 8
mov word [rbp + 0x3c], dx
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], 1
lea r9, [rbp]
mov r8d, 2
lea rdx, [rbp + 0x20]
mov rcx, qword [0x1400f0180]
call qword [sym.imp.MSIMG32.dll_GradientFill]
movdqa xmmword [rbp - 0x10], xmm9
shl r15, 5
mov rdi, qword [rsi]
add rdi, r15
lea rdx, [0x1400f0130]
lea rcx, [rbp + 0x20]
call fcn.140049770
mov rsi, rax
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.140049770
mov r9, rax
cvttss2si r8d, xmm6
lea edx, [rbx + 0x42]
mov word [rsp + 0x38], 0x258
movzx ecx, word [0x1400f0150]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.140007d40
movups xmm0, xmmword [0x1400f0154]
movaps xmmword [rbp - 0x10], xmm0
mov rax, qword [rsp + 0x68]
mov rdi, qword [rax]
add rdi, r15
lea rdx, [0x1400f0130]
lea rcx, [rbp - 0x50]
call fcn.140049770
mov rsi, rax
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.140049770
mov r9, rax
subss xmm6, xmm13
cvttss2si r8d, xmm6
lea edx, [rbx + 0x41]
mov word [rsp + 0x38], 0x258
movzx ecx, word [0x1400f0150]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rsi
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.140007d40
mov rsi, qword [rsp + 0x68]
jmp 0x1400d1f63
movdqa xmmword [rbp + 0x20], xmm9
mov r14, r15
shl r14, 5
mov rdi, qword [rsi]
add rdi, r14
lea rdx, [0x1400f0130]
lea rcx, [rbp - 0x50]
call fcn.140049770
mov rsi, rax
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.140049770
mov r9, rax
mov r8d, dword [rbp - 0x10]
add r8d, dword [rbp + 0x11c]
lea edx, [rbx + 0x42]
mov word [rsp + 0x38], 0x190
movzx ecx, word [0x1400f0150]
mov word [rsp + 0x30], cx
mov qword [rsp + 0x28], rsi
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.140007d40
mov rsi, qword [rsp + 0x68]
mov r8, qword [rsi]
lea rax, [r8 + r14]
mov r9, rax
mov rdx, qword [rax + 0x18]
cmp rdx, 0xf
jbe 0x1400d1e82
mov r9, qword [rax]
mov rcx, qword [rax + 0x10]
cmp rcx, 4
jne 0x1400d1e95
cmp dword [r9], 0x656e6f4e
je 0x1400d1eee
cmp rdx, 0xf
jbe 0x1400d1e9e
mov rax, qword [rax]
cmp rcx, 4
jne 0x1400d1eac
cmp dword [rax], 0x656e6f6e
je 0x1400d1eee
mov rax, r15
shl rax, 5
add rax, r8
cmp rdx, 0xf
jbe 0x1400d1ebf
mov rax, qword [rax]
cmp rcx, 4
jne 0x1400d1ecd
cmp dword [rax], 0x454e4f4e
je 0x1400d1eee
mov rax, r15
shl rax, 5
add rax, r8
cmp rdx, 0xf
jbe 0x1400d1ee0
mov rax, qword [rax]
cmp rcx, 4
jne 0x1400d1ef6
cmp dword [rax], 0x4c4c554e
jne 0x1400d1ef6
movdqa xmmword [rbp + 0x20], xmm10
jmp 0x1400d1efc
movdqa xmmword [rbp + 0x20], xmm11
shl r15, 5
add r15, r8
lea rdx, [0x1400f0130]
lea rcx, [rbp - 0x30]
call fcn.140049770
mov rdi, rax
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.140049770
movsx ecx, r13w
imul edx, ecx, 0x19
mov word [rsp + 0x38], 0x190
movzx ecx, word [0x1400f0150]
mov r14d, dword [rbp + 0x11c]
mov word [rsp + 0x30], cx
mov r9, rax
lea r8d, [r14 + 0x59]
mov qword [rsp + 0x28], rdi
lea rax, [rbp + 0x20]
add r8d, edx
mov qword [rsp + 0x20], rax
lea edx, [rbx + 0x41]
call fcn.140007d40
mov edx, 4
inc r13w
movsx r15, r13w
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
sub rax, qword [rsi]
sar rax, 5
cmp r15, rax
jb 0x1400d18a1
mov ebx, dword [r12]
mov rcx, rsi
call fcn.140047de0
mov eax, ebx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400dee50
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret