joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400688d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov ebp, r9d
mov r14d, r8d
mov esi, edx
mov rdi, rcx
cmp edx, 9
jne 0x14006891b
cmp byte [rcx + 0xf8], 0
je 0x14006891b
lea ecx, [rdx + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
movzx r8d, al
mov rcx, rdi
call fcn.14006c0d0
xor r15d, r15d
mov rcx, qword [0x1401f8178]
test rcx, rcx
je 0x14006893a
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x98]
mov rcx, rax
jmp 0x14006893d
mov rcx, r15
mov rax, qword [rcx]
mov dl, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, rax
lea rax, vtable.JRWndPtr.0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14005a4f0
mov r9, qword [rbx]
mov r8b, 1
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [r9 + 0x18]
mov rbx, rax
test rax, rax
je 0x140068a0e
lea r15, vtable.JRWndDeleteProbe.0
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x38], 0
test rdi, rdi
je 0x1400689b7
mov r8, qword [rdi]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [r8 + 0x600]
nop
mov rax, qword [rbx]
mov r9d, ebp
mov r8d, r14d
mov edx, esi
mov rcx, rbx
call qword [rax + 0x188]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140068a35
cmp byte [rsp + 0x38], 0
jne 0x140068a35
mov rax, qword [rcx]
call qword [rax + 0x308]
test al, al
je 0x140068a30
mov qword [rsp + 0x28], r15
cmp byte [rsp + 0x38], 0
jne 0x140068a0e
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140068a0e
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
call qword [rax + 0x608]
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
cmp byte [rsp + 0x38], 0
jne 0x140068a55
test rcx, rcx
je 0x140068a55
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
call qword [rax + 0x608]
nop
jmp 0x140068a16
Function at 0x140077bd0
Capabilities:
Get keyboard layout

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
movzx edi, dl
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov edx, 2
mov ecx, ebx
mov r8, rax
call qword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov r8d, eax
test dil, dil
je 0x140077c0b
movzx ecx, ax
call fcn.140145010
movzx r8d, ax
test r8d, r8d
je case.0x140077c43.40
test dil, dil
je case.0x140077c43.40
lea eax, [r8 - 0x27]
cmp eax, 0x39
ja case.0x140077c43.40
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x77e44]
mov ecx, dword [rdx + rax*4 + 0x77dec]
add rcx, rdx
jmp rcx
mov r8d, 0x29
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x21
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x40
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x23
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x24
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x25
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x5e
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x26
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x2a
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x28
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x3a
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x2b
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x3c
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x5f
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x3e
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x3f
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x7e
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x7b
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x7c
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x7d
mov eax, r8d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x22
mov rbx, qword [rsp + 0x30]
mov eax, r8d
add rsp, 0x20
pop rdi
ret
Function at 0x140094a60
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov ebp, r9d
mov r14d, r8d
mov esi, edx
mov rdi, rcx
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140094b4b
lea r15, vtable.JRWndDeleteProbe.0
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x38], 0
test rdi, rdi
je 0x140094ac6
mov rax, qword [rdi]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [rax + 0x600]
nop
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
shr ebx, 0xf
and bl, 1
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
lea rcx, [rdi + 0x1e8]
mov r10, qword [rcx]
movzx r9d, bl
movzx r8d, al
mov edx, esi
call qword [r10 + 0x90]
mov rcx, qword [rsp + 0x30]
test al, al
jne 0x140094b79
test rcx, rcx
je 0x140094b79
cmp byte [rsp + 0x38], al
jne 0x140094b79
mov rax, qword [rcx]
call qword [rax + 0x308]
test al, al
je 0x140094b74
mov qword [rsp + 0x28], r15
cmp byte [rsp + 0x38], 0
jne 0x140094b4b
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140094b4b
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
call qword [rax + 0x608]
nop
mov r9d, ebp
mov r8d, r14d
mov edx, esi
mov rcx, rdi
call fcn.1400688d0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
cmp byte [rsp + 0x38], 0
jne 0x140094b99
test rcx, rcx
je 0x140094b99
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
call qword [rax + 0x608]
nop
jmp 0x140094b5b
Function at 0x140095640
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor dil, dil
lea eax, [rdx - 9]
mov esi, edx
mov rbx, rcx
cmp eax, 0x1f
ja case.0x14009567f.10
lea rcx, [0x140000000]
cdqe
movzx eax, byte [rcx + rax + 0x95898]
mov r8d, dword [rcx + rax*4 + 0x95884]
add r8, rcx
jmp r8
mov al, 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
cmp byte [rbx + 0x44c], dil
jne case.0x14009567f.37
cmp byte [rbx + 0x490], dil
jne case.0x14009567f.37
cmp byte [rbx + 0x4c8], dil
je case.0x14009567f.10
mov al, 1
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
movzx ecx, byte [rbx + 0x361]
test cl, cl
setne dil
test cl, cl
je case.0x14009567f.10
movzx eax, dil
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
cmp byte [rbx + 0x44d], dil
jne case.0x14009567f.37
cmp dword [rbx + 0x484], 0
jl 0x140095768
mov eax, dword [rbx + 0x328]
mov ecx, dword [rbx + 0x340]
cmp eax, ecx
jne 0x140095720
mov edx, dword [rbx + 0x32c]
cmp edx, dword [rbx + 0x344]
jg 0x140095720
je 0x140095768
mov rdx, qword [rbx + 0x338]
test rdx, rdx
je 0x140095735
test eax, eax
js 0x140095735
cmp eax, dword [rdx + 0x10]
jl 0x14009574a
mov rdx, qword [rbx + 0x350]
test rdx, rdx
je 0x140095768
test ecx, ecx
js 0x140095768
cmp ecx, dword [rdx + 0x10]
jge 0x140095768
cmp eax, ecx
jg 0x140095768
jne case.0x14009567f.37
mov eax, dword [rbx + 0x32c]
cmp eax, dword [rbx + 0x344]
jg 0x140095768
jne case.0x14009567f.37
lea rcx, [rbx + 0x1e8]
mov dl, 1
call fcn.1400891a0
test al, al
jne case.0x14009567f.37
mov rbx, qword [rbx + 0x4b8]
test rbx, rbx
je 0x14009585f
mov rcx, qword [rbx + 8]
xor dil, dil
test rcx, rcx
je 0x14009585f
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x3c8]
test al, al
je 0x14009585f
lea eax, [rsi - 0x25]
mov qword [rsp + 0x30], rbp
cmp eax, 3
movzx edi, dil
mov rax, qword [rbx + 8]
mov ebp, 1
cmovbe edi, ebp
mov rcx, qword [rax + 0x2d0]
mov r8, qword [rcx + 0x200]
xor ecx, ecx
test r8, r8
je 0x1400957f2
mov rax, qword [r8]
xor edx, edx
mov rcx, r8
call qword [rax + 0x30]
mov rcx, rax
test rcx, rcx
je 0x14009583f
nop word [rax + rax]
mov edx, dword [rcx + 0x68]
mov rbx, rcx
mov eax, edx
shr eax, 1
test bpl, al
jne 0x140095873
test bpl, dl
jne 0x140095818
xor ecx, ecx
jmp 0x140095828
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x30]
mov rcx, rax
test rax, rax
jne 0x14009583a
test rbx, rbx
je 0x14009583a
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx + 8]
test rcx, rcx
je 0x140095828
test rcx, rcx
jne 0x140095800
cmp esi, 0xd
jne 0x14009585a
lea ecx, [rsi + 3]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test bpl, al
movzx edi, dil
cmovne edi, ebp
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
movzx eax, dil
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
lea eax, [rsi - 9]
test eax, 0xfffffffb
jne 0x14009585a
movzx edi, bpl
jmp 0x14009585a
Function at 0x1400ae930
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rbx, rcx
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x1400aea58
cmp byte [rbx + 0x39], 0
jne 0x1400aea58
lea rsi, vtable.JRWndPtr.0
mov qword [rbp - 0x38], rsi
xor edi, edi
mov qword [rbp - 0x30], rdi
mov dword [rbp - 0x28], edi
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.14005a4f0
lea rax, [rbp - 0x38]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x38], rdi
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.14005d330
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.140075270
nop
mov qword [rbp - 0x38], rsi
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400ae9cc
cmp dword [rbp - 0x28], 1
jne 0x1400ae9cc
mov rax, qword [rcx]
lea rdx, [rbp - 0x38]
call qword [rax + 0x608]
mov rcx, qword [rbp - 0x30]
cmp dword [rbp - 0x28], 2
jne 0x1400ae9e6
test rcx, rcx
je 0x1400ae9e6
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x2e8]
nop
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x38]
mov qword [rbp - 0x40], rax
lea rcx, [rbx + 0x1e8]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x40]
call qword [rax + 0x1f8]
mov rsi, rax
test rax, rax
je 0x1400aea58
cmp dword [rbp + 0x30], 0
jl 0x1400aea58
mov r8, qword [rbx]
mov rcx, rbx
call qword [r8 + 0x128]
mov ecx, dword [rsi + 0x68]
shr ecx, 1
test cl, 1
cmove rdi, rsi
mov r8d, dword [rbp + 0x30]
mov rdx, rdi
mov rcx, rbx
call fcn.1400aeac0
mov al, 1
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b0720
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x1e8
mov rax, qword [rcx]
call qword [rax + 0xb0]
test al, al
jne 0x1400b0769
cmp dword [rbx + 0x648], 0xffffffff
jne 0x1400b0769
mov ecx, 0x11
xor bl, bl
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 1
test al, 1
movzx eax, bl
cmovne eax, ecx
add rsp, 0x20
pop rbx
ret
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1400b2500
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xdb], 0
je 0x1400b2526
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400b2526
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x1400b29c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x644], 0
mov rsi, r8
movsx edi, dx
mov rbx, rcx
jne 0x1400b2a80
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x1400b2a27
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x1400b2a27
mov rax, qword [rbx]
mov edx, edi
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x840]
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
movzx edx, di
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.1400b1780
mov rcx, rbx
test al, al
je 0x1400b2a66
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x700]
mov eax, dword [rsi]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], eax
movzx edx, di
mov eax, dword [rsi + 4]
mov dword [rsp + 0x34], eax
call fcn.140068470
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b39b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rdx]
mov rbx, rdx
mov dword [rsp + 0x30], eax
mov rdi, rcx
mov eax, dword [rdx + 4]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x34], eax
call fcn.140067d80
mov eax, dword [rbx]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], eax
mov rcx, rdi
mov eax, dword [rbx + 4]
mov dword [rsp + 0x34], eax
call fcn.1400b4af0
mov rbx, qword [rdi + 0x658]
test rbx, rbx
je 0x1400b3a23
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
lea rcx, [rdi + 0x1e8]
and al, 1
mov r9b, 1
movzx r8d, al
mov rdx, rbx
call fcn.1400a9c80
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b3ae0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x28
mov rbx, rcx
mov r14, rdx
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x1400b3b11
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x560]
mov eax, dword [rbx + 0x4c]
lea r15, [rbx + 0x1e8]
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x68]
mov eax, dword [rbx + 0x50]
xor r9d, r9d
mov dword [rsp + 0x6c], eax
xor r8d, r8d
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x1f8]
mov ecx, dword [r14]
lea r8, [rsp + 0x60]
mov r10, qword [r15]
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], ecx
xor r9d, r9d
mov ecx, dword [r14 + 4]
mov rdi, rax
mov dword [rsp + 0x74], ecx
mov rcx, r15
mov dword [rsp + 0x60], 0
call qword [r10 + 0x1f8]
xor bpl, bpl
mov rsi, rax
test rax, rax
je 0x1400b3ba8
mov ecx, dword [r14]
lea r9, [rsp + 0x78]
mov r10, qword [rbx]
mov rdx, rax
mov r8d, dword [rsp + 0x60]
mov dword [rsp + 0x78], ecx
mov ecx, dword [r14 + 4]
mov dword [rsp + 0x7c], ecx
mov rcx, rbx
call qword [r10 + 0x820]
movzx ebp, al
cmp rsi, rdi
je 0x1400b3bcc
mov rdx, rdi
mov rcx, rbx
call fcn.1400a4c60
mov rdx, rsi
mov rcx, rbx
call fcn.1400a4c60
lea rdi, [rbx + 0x666]
jmp 0x1400b3be8
lea rdi, [rbx + 0x666]
test bpl, bpl
jne 0x1400b3bdd
cmp byte [rdi], bpl
je 0x1400b3be8
mov rdx, rsi
mov rcx, rbx
call fcn.1400a4c60
mov rax, qword [r15]
lea rdx, [rsp + 0x68]
mov byte [rdi], bpl
xor r9d, r9d
mov edi, dword [r14]
xor r8d, r8d
mov esi, dword [r14 + 4]
mov rcx, r15
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x6c], esi
call qword [rax + 0x1f8]
cmp qword [rbx + 0x4f0], 0
je 0x1400b3c5a
cmp byte [rbx + 0x4e8], 0
je 0x1400b3c5a
lea rcx, [rbx + 0x500]
xor r8d, r8d
mov rdx, rax
call fcn.1400a64b0
test rax, rax
je 0x1400b3c5a
mov rax, qword [rax]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1400b3c5a
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x6c], esi
call qword [rax + 0x40]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x68], edi
mov rcx, rbx
mov dword [rsp + 0x6c], esi
call fcn.14009de30
add rsp, 0x28
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400b9910
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rdx]
mov rdi, rdx
mov dword [rsp + 0x30], eax
mov rsi, rcx
mov eax, dword [rdx + 4]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x34], eax
call fcn.1400af3e0
mov ebx, dword [rdi]
lea rdx, [rsp + 0x30]
mov edi, dword [rdi + 4]
mov rcx, rsi
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], ebx
call fcn.140067d80
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
mov rcx, rsi
mov dword [rsp + 0x34], edi
call fcn.1400b4af0
mov rbx, qword [rsi + 0x658]
test rbx, rbx
je 0x1400b999d
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
lea rcx, [rsi + 0x1e8]
and al, 1
mov r9b, 1
movzx r8d, al
mov rdx, rbx
call fcn.1400a9c80
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400ba990
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
movzx ebx, byte [rcx + 0x7c8]
mov rdi, rcx
test bl, bl
je 0x1400ba9ec
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x1400ba9c5
movzx ebx, byte [rdi + 0x7cb]
test bl, bl
je 0x1400ba9ec
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x1400ba9ec
cmp byte [rdi + 0x664], 0
sete al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, bl
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400bdb90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rdi, rcx
movsxd rdx, dword [rax - 0x10]
add rdx, rdx
cmp rdx, 0x10000000
jbe 0x1400bdbb4
xor al, al
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x38], rbp
xor ecx, ecx
xor bpl, bpl
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400bdc75
mov qword [rsp + 0x40], rsi
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rax, qword [rdi]
mov ecx, dword [rax - 0x10]
inc ecx
movsxd rdx, ecx
mov ecx, 0x2000
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x1400bdc5d
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, qword [rdi]
mov rcx, rax
mov rbx, rax
movsxd r8, dword [rdx - 0x10]
add r8, r8
call fcn.140136430
mov rcx, qword [rdi]
xor eax, eax
movsxd rdx, dword [rcx - 0x10]
mov rcx, rsi
mov word [rbx + rdx*2], ax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rbx, qword [rsp + 0x30]
test rax, rax
jne 0x1400bdc5a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400bdc5d
mov bpl, 1
mov edx, 1
mov rcx, rdi
call fcn.1400bee00
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rsi, qword [rsp + 0x40]
movzx eax, bpl
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400be480
Capabilities:
Open clipboard

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov r14, rcx
xor bl, bl
call fcn.1400310b0
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400be61d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
xor esi, esi
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x30]
lea ecx, [rsi + 0xd]
call fcn.1400beef0
test al, al
je 0x1400be519
mov byte [rsp + 0x20], 1
mov r9d, 0x4000
mov r8b, 1
lea edx, [rsi + 2]
lea rcx, [rsp + 0x30]
call fcn.140049760
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x1400be504
cmp qword [rsp + 0x40], rsi
jle 0x1400be504
mov rsi, rdi
xor r9d, r9d
mov rdx, rsi
mov rcx, r14
call fcn.140035440
mov bl, 1
jmp 0x1400be609
lea rdx, [rsp + 0x30]
mov ecx, 0xd
call fcn.1400beef0
test al, al
je 0x1400be604
mov byte [rsp + 0x20], 1
mov r9d, 0x4000
mov r8b, 1
mov ebp, 1
mov edx, ebp
lea rcx, [rsp + 0x30]
call fcn.140049760
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x1400be5f8
cmp qword [rsp + 0x40], 0
jle 0x1400be5f8
test rdi, rdi
je 0x1400be5f8
mov rbx, rdi
movzx eax, byte [rbx]
inc rbx
test al, al
jne 0x1400be575
sub ebx, edi
dec ebx
test ebx, ebx
jle 0x1400be5f8
xor r9d, r9d
movzx r8d, bpl
mov edx, ebx
mov rcx, r14
call fcn.140030f50
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rcx, eax
mov rdx, qword [r14]
cmp ecx, 0xffffffff
jne 0x1400be5db
test rdx, rdx
je 0x1400be5e1
mov rcx, rdx
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x1400be5c4
sub rcx, rdx
sar rcx, 1
lea esi, [rcx - 1]
jmp 0x1400be5e1
mov word [rdx + rcx*2], si
mov esi, ecx
mov dword [rdx - 0x10], esi
mov eax, dword [rdx - 8]
cmp eax, 0xffffffff
jne 0x1400be5ef
xchg dword [rdx - 8], ebp
mov rdi, qword [rsp + 0x30]
mov bl, 1
jmp 0x1400be609
mov rcx, r14
call fcn.1400310b0
mov bl, 1
jmp 0x1400be609
mov rdi, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
test rdi, rdi
je 0x1400be61d
mov rcx, rdi
call fcn.1400025e0
movzx eax, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1400bee00
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r15d, edx
xor bpl, bpl
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor edx, edx
mov rcx, qword [rcx]
call fcn.140049250
mov rsi, rax
test rax, rax
je 0x1400beeb7
mov rbx, rax
movzx eax, byte [rbx]
inc rbx
test al, al
jne 0x1400bee44
sub ebx, esi
movsxd rdx, ebx
mov ecx, 0x2000
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r14, rax
test rax, rax
je 0x1400beeb7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdi, rax
movsxd rbx, ebx
lea r8, [rbx - 1]
mov rdx, rsi
mov rcx, rax
call fcn.140136430
mov byte [rbx + rdi - 1], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, r14
mov ecx, r15d
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x1400beeb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x1400beeb7
mov bpl, 1
test rsi, rsi
je 0x1400beec4
mov rcx, rsi
call fcn.1400025e0
movzx eax, bpl
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x1400beef0
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
sub rsp, 0x30
mov rbp, rdx
mov qword [rdx + 8], 0
mov ebx, ecx
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x1400befb7
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rbx, rax
test rax, rax
je 0x1400befb1
mov rcx, rax
mov qword [rsp + 0x40], rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x1400befa1
mov rcx, rbx
mov qword [rsp + 0x48], rdi
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rdi, rax
test rax, rax
jle 0x1400bef81
mov r9d, 0x4000
mov byte [rsp + 0x20], 1
xor r8d, r8d
mov rdx, rax
mov rcx, rbp
call fcn.140049760
test rax, rax
je 0x1400bef81
mov r8, rdi
mov rdx, rsi
mov rcx, rax
call fcn.140136430
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdi, qword [rsp + 0x48]
mov al, 1
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rbp
ret