joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006e908
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdi, rcx
mov rcx, qword [rcx]
mov dl, 1
call fcn.1400703f8
xor edx, edx
test ebx, ebx
lea ebx, [rdx + 0x25]
mov ecx, ebx
jns 0x14006e964
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov rcx, qword [rdi]
mov r8d, ebx
shl eax, 0x10
mov edx, 0x100
mov r9d, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, ebx
jmp 0x14006e9a0
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov rcx, qword [rdi]
mov edx, 0x100
shl eax, 0x10
mov r8d, reloc.OLEAUT32.dll_SafeArrayRedim
mov r9d, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, reloc.OLEAUT32.dll_SafeArrayRedim
mov rcx, qword [rdi]
mov edx, 0x101
shl eax, 0x10
mov r9d, eax
mov eax, 0xc0000001
or r9, rax
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rdi]
xor edx, edx
call fcn.1400703f8
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret

Function at 0x14006f378
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
cmp dl, 1
jne 0x14006f3ce
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], 0x1388
xor edx, edx
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x14006f3eb
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, 1
jmp 0x14006f3e1
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov edx, ebx
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
add rsp, 0x40
pop rbx
ret

Function at 0x1400703f8
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp dl, 1
jne 0x14007042a
call fcn.1400707a4
test al, al
jne 0x140070447
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, 1
jmp 0x14007043d
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov edx, ebx
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
add rsp, 0x20
pop rbx
ret
Function at 0x140070610
Capabilities:
Get graphical window text

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 rbx, rcx
mov r14, rdx
mov rcx, rdx
call fcn.14000a854
mov r15, qword [rbx]
mov rcx, r15
call fcn.1400707a4
xor edi, edi
test al, al
je 0x14007064e
xor al, al
jmp 0x140070715
mov rcx, qword [rbx]
call fcn.1400707a4
test al, al
jne 0x140070674
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, rax
test eax, eax
jne 0x140070679
mov ebp, 0x7fff
mov rcx, 0xffffffffffffffff
lea ebx, [rbp + 1]
mov eax, 2
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.140024c68
mov r9, rax
mov r8d, ebx
mov edx, reloc.WSOCK32.dll_listen
mov rcx, r15
mov rsi, rax
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jle 0x14007070b
mov rcx, rsi
call fcn.14002dac0
mov ecx, ebp
cmp rax, rcx
jne 0x140070700
test rax, rax
je 0x1400706da
mov cl, byte [rdi + rsi]
sub cl, 0x20
cmp cl, 0x5e
ja 0x140070700
inc rdi
cmp rdi, rax
jb 0x1400706c7
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140070380
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.14000d894
lea rcx, [rsp + 0x20]
call fcn.14000a07c
jmp 0x14007070b
mov rdx, rsi
mov rcx, r14
call fcn.140007cf4
mov rcx, rsi
call fcn.140024c24
mov al, 1
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
Function at 0x140072ed0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x220
mov rbx, rcx
mov edx, 0x3e9
mov rcx, qword [rcx + 0x88]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
test rax, rax
je 0x140072f65
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test byte [rbx + 0x10], 1
je 0x140072f24
cmp word [rsp + 0x20], di
jne 0x140072f24
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
jmp 0x140072f65
movsd xmm0, qword [rbx + 0x18]
comisd xmm0, xmmword [0x1400c71a8]
jbe 0x140072f45
mov rcx, qword [rbx + 0x88]
mov edx, 0x40a
call qword [sym.imp.USER32.dll_KillTimer]
lea rcx, [rbx + 0x48]
lea rdx, [rsp + 0x20]
call fcn.140007cf4
mov rcx, qword [rbx + 0x88]
mov edx, 1
call qword [sym.imp.USER32.dll_EndDialog]
mov rbx, qword [rsp + 0x230]
add rsp, 0x220
pop rdi
ret
Function at 0x140077400
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rcx, qword [r8]
mov rdi, rdx
mov rsi, r8
mov r14d, dword [rcx + rdx]
lea rax, [rcx + 4]
mov qword [r8], rax
mov eax, 2
movsxd rcx, r14d
inc rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140024c68
mov rdx, qword [rsi]
lea ecx, [r14 + r14]
movsxd rbx, ecx
add rdx, rdi
mov r8, rbx
mov rcx, rax
mov r15, rax
call fcn.140025d00
add qword [rsi], rbx
xor eax, eax
movsxd rcx, r14d
mov word [r15 + rcx*2], ax
test r14d, r14d
jle 0x14007748f
mov rax, r15
mov ecx, r14d
xor word [rax], r14w
lea rax, [rax + 2]
sub rcx, 1
jne 0x140077481
mov rbx, qword [rsp + 0x30]
mov rax, r15
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret

Function at 0x140077b6c
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov rax, qword [rcx + 0x28]
neg rax
sbb edx, edx
and edx, 2
cmp dword [rcx], edx
cmovge edx, dword [rcx]
mov ecx, edx
jmp fcn.140079260

Function at 0x140077b84
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov rax, qword [rcx + 0x28]
neg rax
sbb edx, edx
and edx, 2
cmp dword [rcx + 4], edx
cmovge edx, dword [rcx + 4]
mov ecx, edx
jmp fcn.140079260
Function at 0x140077ba0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x120
xor esi, esi
mov rbx, rdx
mov dword [rdx], esi
mov rdi, rcx
mov word [rdx + 4], si
cmp qword [rcx + 0x28], rsi
je 0x140077c3a
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140077d10
mov al, 0x80
cmp byte [rsp + 0xc0], al
je 0x140077bef
cmp byte [rsp + 0x30], al
jne 0x140077bf8
cmp byte [rdi + 0x1e], sil
jne 0x140077bf8
mov byte [rbx], 1
cmp byte [rsp + 0xc1], al
jne 0x140077c0b
cmp byte [rdi + 0x1f], sil
jne 0x140077c0b
mov byte [rbx + 1], 1
cmp byte [rsp + 0x31], al
jne 0x140077c1b
cmp byte [rdi + 0x20], sil
jne 0x140077c1b
mov byte [rbx + 2], 1
cmp byte [rsp + 0x32], al
jne 0x140077c2b
cmp byte [rdi + 0x21], sil
jne 0x140077c2b
mov byte [rbx + 3], 1
cmp byte [rsp + 0x7b], al
jne 0x140077d10
jmp 0x140077d06
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebp, 0x8000
test bp, ax
jne 0x140077c5f
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x140077c68
cmp byte [rdi + 0x1e], sil
jne 0x140077c68
mov byte [rbx], 1
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x140077c88
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x140077c92
cmp byte [rdi + 0x1f], sil
jne 0x140077c92
mov byte [rbx + 1], 1
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x140077cb2
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x140077cbc
cmp byte [rdi + 0x20], sil
jne 0x140077cbc
mov byte [rbx + 2], 1
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x140077cdc
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x140077ce6
cmp byte [rdi + 0x21], sil
jne 0x140077ce6
mov byte [rbx + 3], 1
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x140077d06
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x140077d10
cmp byte [rdi + 0x22], sil
jne 0x140077d10
mov byte [rbx + 4], 1
lea r11, [rsp + 0x120]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140078308
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, r8
mov r14, rdx
mov rdx, rax
mov qword [rcx + 0x28], rax
mov r8b, 1
mov rbx, rcx
call fcn.1400792e4
xor r15d, r15d
cmp byte [rbx + 8], 1
mov bpl, r15b
mov dword [rsp + 0x50], r15d
mov word [rsp + 0x54], r15w
jne 0x140078371
xor r8d, r8d
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.140078a98
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov bpl, al
call fcn.140077ba0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140077b40
mov edi, r15d
movsxd rdx, edi
mov rcx, r14
call fcn.14000637c
movzx esi, word [rax]
test si, si
je 0x1400783ad
mov rcx, rbx
inc edi
call fcn.140077e0c
mov r8d, 1
movzx edx, si
mov rcx, rbx
call fcn.14007826c
mov dword [rbx + 0x18], r15d
mov word [rbx + 0x1c], r15w
jmp 0x140078374
cmp byte [rbx + 8], 1
jne 0x1400783cd
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140078e18
mov r8b, bpl
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.140078a98
mov rdx, qword [rbx + 0x28]
xor r8d, r8d
mov rcx, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
jmp fcn.1400792e4

Function at 0x140078a98
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
movzx esi, dl
mov r14, rcx
mov ecx, esi
mov bl, r8b
mov ebp, esi
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
and di, 1
cmp bl, dil
je 0x140078b19
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov dl, sil
mov r8d, eax
mov rcx, r14
call fcn.140079420
mov rcx, r14
call fcn.140077b84
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r9d, 2
mov dl, sil
mov r8d, eax
mov rcx, r14
call fcn.140079420
mov rcx, r14
call fcn.140077b6c
mov rbx, qword [rsp + 0x40]
mov al, dil
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x140078b38
Capabilities:
Check for time delay via queryperformancecounter
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, 0x160
mov dil, byte [rdx]
mov rbx, rcx
mov bpl, byte [rdx + 7]
xor r14d, r14d
movzx ecx, word [rdx + 8]
mov rsi, rdx
mov r15d, 1
cmp qword [rbx + 0x28], r14
je 0x140078c29
cmp dil, 0x14
je 0x140078c29
lea eax, [rdi + 0x70]
cmp al, r15b
jbe 0x140078c29
cmp dil, 0xff
je 0x140078c11
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140078bb6
movzx eax, dil
lea rcx, [rsp + 0x60]
or byte [rsp + rax + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx r8d, bpl
mov rcx, rsi
shl r8, 0x10
or r8, r15
call fcn.140077dd0
mov r9, r8
bts r9, 0x18
cmp al, r15b
cmovne r9, r8
cmp byte [rbx + 0x1b], r14b
jne 0x140078bea
cmp byte [rbx + 0x21], r14b
jne 0x140078bea
cmp dil, 0x12
jne 0x140078c06
cmp byte [rbx + 0x1a], r14b
jne 0x140078c06
cmp byte [rbx + 0x20], r14b
jne 0x140078c06
bts r9, 0x1d
movzx r8d, dil
mov edx, 0x104
jmp 0x140078c1d
movzx r8d, dil
mov edx, 0x100
jmp 0x140078c1d
movzx r8d, cx
mov r9, r15
mov edx, 0x102
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140078c86
cmp dil, 0xff
je 0x140078c54
mov rcx, rsi
call fcn.140077dd0
mov r8b, bpl
mov dl, dil
mov rcx, rbx
cmp al, r15b
jne 0x140078c4a
mov r9d, r15d
jmp 0x140078c4d
xor r9d, r9d
call fcn.140079420
jmp 0x140078c86
mov word [rsp + 0x3a], cx
lea rdx, [rsp + 0x30]
mov ecx, r15d
mov dword [rsp + 0x30], r15d
mov r8d, SafeArrayCreateEx
mov word [rsp + 0x38], r14w
mov qword [rsp + 0x3c], 4
mov qword [rsp + 0x48], r14
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rbx
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
jmp fcn.140077b84
Function at 0x140078cac
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x160
mov dil, byte [rdx]
mov rbx, rcx
mov bpl, byte [rdx + 7]
xor r14d, r14d
movzx ecx, word [rdx + 8]
mov rsi, rdx
mov r9d, 1
cmp qword [rbx + 0x28], r14
je 0x140078d91
cmp dil, 0x14
je 0x140078d91
lea eax, [rdi + 0x70]
cmp al, r9b
jbe 0x140078d91
cmp dil, 0xff
je 0x140078df2
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140078d2f
movzx eax, dil
lea rcx, [rsp + 0x60]
xor byte [rsp + rax + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
mov rcx, rsi
call fcn.140077dd0
movzx r9d, al
mov eax, 0xc0000001
shl r9, 0x18
add r9, rax
movzx eax, bpl
shl rax, 0x10
or r9, rax
cmp byte [rbx + 0x1b], r14b
jne 0x140078d64
cmp byte [rbx + 0x21], r14b
jne 0x140078d64
cmp dil, 0x12
jne 0x140078d7c
cmp byte [rbx + 0x1a], r14b
jne 0x140078d7c
cmp byte [rbx + 0x20], r14b
jne 0x140078d7c
bts r9, 0x1d
mov edx, 0x105
jmp 0x140078d81
mov edx, 0x101
mov rcx, qword [rbx + 0x28]
movzx r8d, dil
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140078df2
cmp dil, 0xff
je 0x140078dc0
mov rcx, rsi
call fcn.140077dd0
cmp al, r9b
mov r8b, bpl
mov r9d, 3
mov dl, dil
mov rcx, rbx
je 0x140078db9
mov r9d, 2
call fcn.140079420
jmp 0x140078df2
mov word [rsp + 0x3a], cx
lea rdx, [rsp + 0x30]
mov ecx, r9d
mov dword [rsp + 0x30], r9d
mov r8d, SafeArrayCreateEx
mov word [rsp + 0x38], r14w
mov qword [rsp + 0x3c], 6
mov qword [rsp + 0x48], r14
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rbx
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
jmp fcn.140077b6c
Function at 0x140078e18
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
xor esi, esi
mov rbx, rdx
mov rdi, rcx
cmp byte [rdx], sil
jne 0x140078e5c
cmp byte [rdx + 1], sil
jne 0x140078e5c
cmp byte [rdx + 2], sil
jne 0x140078e5c
cmp byte [rdx + 3], sil
jne 0x140078e5c
cmp byte [rdx + 4], sil
je 0x14007901a
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x140078fa0
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x140078fa0
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x140078ed2
mov cl, 0x80
mov al, byte [rsp + 0x40]
cmp byte [rbx], sil
je 0x140078e9b
or al, cl
or byte [rbp - 0x30], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 1], sil
je 0x140078eaa
or al, cl
or byte [rbp - 0x2f], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 2], sil
je 0x140078eb4
or byte [rsp + 0x41], cl
cmp byte [rbx + 3], sil
je 0x140078ebe
or byte [rsp + 0x42], cl
cmp byte [rbx + 4], sil
je 0x140078ec7
or byte [rbp - 0x75], cl
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [rbx], sil
jne 0x140078edd
cmp byte [rbx + 1], sil
je 0x140078eff
movzx r9d, byte [rdi + 0x32]
mov edx, 0x100
mov rcx, qword [rdi + 0x28]
mov r8d, reloc.WSOCK32.dll_recv
shl r9, 0x10
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 2], sil
je 0x140078f27
movzx r9d, byte [rdi + 0x30]
mov edx, 0x100
mov rcx, qword [rdi + 0x28]
mov r8d, reloc.WSOCK32.dll_recvfrom
shl r9, 0x10
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 3], sil
je 0x140078f72
cmp byte [rbx + 2], sil
jne 0x140078f50
cmp byte [rdi + 0x20], sil
jne 0x140078f50
movzx r9d, byte [rdi + 0x31]
mov edx, 0x104
shl r9, 0x10
or r9, 0x20000001
jmp 0x140078f62
movzx r9d, byte [rdi + 0x31]
mov edx, 0x100
shl r9, 0x10
or r9, 1
mov rcx, qword [rdi + 0x28]
mov r8d, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 4], sil
je 0x140079012
movzx r9d, byte [rdi + 0x35]
mov edx, 0x100
mov rcx, qword [rdi + 0x28]
mov r8d, 0x5b
shl r9, 0x10
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140079012
cmp byte [rbx], sil
je 0x140078fb6
mov r8b, byte [rdi + 0x33]
xor r9d, r9d
mov dl, 0xa0
mov rcx, rdi
call fcn.140079420
cmp byte [rbx + 1], sil
je 0x140078fcd
mov r8b, byte [rdi + 0x34]
xor r9d, r9d
mov dl, 0xa1
mov rcx, rdi
call fcn.140079420
cmp byte [rbx + 2], sil
je 0x140078fe4
mov r8b, byte [rdi + 0x30]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_recvfrom
mov rcx, rdi
call fcn.140079420
cmp byte [rbx + 3], sil
je 0x140078ffb
mov r8b, byte [rdi + 0x31]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_select
mov rcx, rdi
call fcn.140079420
cmp byte [rbx + 4], sil
je 0x140079012
mov r8b, byte [rdi + 0x35]
xor r9d, r9d
mov dl, 0x5b
mov rcx, rdi
call fcn.140079420
mov rcx, rdi
call fcn.140077b84
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140079034
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x130
xor esi, esi
mov rbx, rdx
mov rdi, rcx
cmp byte [rdx], sil
jne 0x14007907c
cmp byte [rdx + 1], sil
jne 0x14007907c
cmp byte [rdx + 2], sil
jne 0x14007907c
cmp byte [rdx + 3], sil
jne 0x14007907c
cmp byte [rdx + 4], sil
je 0x140079241
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x1400791c1
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x1400791c1
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x1400790f2
mov cl, 0x80
mov al, byte [rsp + 0x40]
cmp byte [rbx], sil
je 0x1400790bb
xor al, cl
xor byte [rbp - 0x30], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 1], sil
je 0x1400790ca
xor al, cl
xor byte [rbp - 0x2f], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 2], sil
je 0x1400790d4
xor byte [rsp + 0x41], cl
cmp byte [rbx + 3], sil
je 0x1400790de
xor byte [rsp + 0x42], cl
cmp byte [rbx + 4], sil
je 0x1400790e7
xor byte [rbp - 0x75], cl
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetKeyboardState]
mov r15d, 0xc0000001
mov r14d, 0x101
cmp byte [rbx], sil
jne 0x140079109
cmp byte [rbx + 1], sil
je 0x140079128
movzx r9d, byte [rdi + 0x32]
mov r8d, reloc.WSOCK32.dll_recv
mov rcx, qword [rdi + 0x28]
mov edx, r14d
shl r9, 0x10
or r9, r15
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 2], sil
je 0x14007914d
movzx r9d, byte [rdi + 0x30]
mov r8d, reloc.WSOCK32.dll_recvfrom
mov rcx, qword [rdi + 0x28]
mov edx, r14d
shl r9, 0x10
or r9, r15
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 3], sil
je 0x140079196
cmp byte [rbx + 2], sil
jne 0x140079177
cmp byte [rdi + 0x20], sil
jne 0x140079177
movzx r9d, byte [rdi + 0x31]
mov eax, 0xe0000001
shl r9, 0x10
mov edx, 0x105
or r9, rax
jmp 0x140079186
movzx r9d, byte [rdi + 0x31]
mov edx, r14d
shl r9, 0x10
or r9, r15
mov rcx, qword [rdi + 0x28]
mov r8d, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 4], sil
je 0x140079239
movzx r9d, byte [rdi + 0x35]
mov r8d, 0x5b
mov rcx, qword [rdi + 0x28]
mov edx, r14d
shl r9, 0x10
or r9, r15
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140079239
mov r14d, 2
cmp byte [rbx], sil
je 0x1400791dd
mov r8b, byte [rdi + 0x33]
mov r9d, r14d
mov dl, 0xa0
mov rcx, rdi
call fcn.140079420
cmp byte [rbx + 1], sil
je 0x1400791f4
mov r8b, byte [rdi + 0x34]
mov r9d, r14d
mov dl, 0xa1
mov rcx, rdi
call fcn.140079420
cmp byte [rbx + 2], sil
je 0x14007920b
mov r8b, byte [rdi + 0x30]
mov r9d, r14d
mov dl, reloc.WSOCK32.dll_recvfrom
mov rcx, rdi
call fcn.140079420
cmp byte [rbx + 3], sil
je 0x140079222
mov r8b, byte [rdi + 0x31]
mov r9d, r14d
mov dl, reloc.WSOCK32.dll_select
mov rcx, rdi
call fcn.140079420
cmp byte [rbx + 4], sil
je 0x140079239
mov r8b, byte [rdi + 0x35]
mov r9d, r14d
mov dl, 0x5b
mov rcx, rdi
call fcn.140079420
mov rcx, rdi
call fcn.140077b6c
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140079260
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test ecx, ecx
js 0x1400792e2
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm7
mov ebx, ecx
test ecx, ecx
je 0x1400792cd
cmp ebx, 0xf
jae 0x1400792cb
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400792cb
xorps xmm7, xmm7
cvtsi2sd xmm7, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x58]
xorps xmm6, xmm6
sub rax, qword [rsp + 0x60]
cvtsi2sd xmm6, rax
call fcn.140022bb0
divsd xmm6, xmm0
comisd xmm7, xmm6
ja 0x140079295
jmp 0x1400792d3
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rbx
ret

Function at 0x1400792e4
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r15b, r8b
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x140079313
cmp byte [rcx + 9], dl
je 0x140079406
xor r14d, r14d
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
test r15b, r15b
je 0x1400793c2
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea r8d, [r14 + 1]
mov ecx, ebx
mov edx, eax
mov dword [0x1400f3088], eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r15d, eax
test rdi, rdi
je 0x14007939b
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [0x1400f3088]
mov dword [0x1400f308c], eax
cmp ecx, eax
je 0x140079389
lea r8d, [r14 + 1]
mov edx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r14d, eax
mov eax, dword [0x1400f308c]
mov r8d, 1
mov edx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov ebp, eax
test r15d, r15d
jne 0x140079406
test r14d, r14d
jne 0x140079406
test ebp, ebp
jne 0x140079406
mov eax, dword [0x1400f3088]
cmp ebx, eax
jne 0x140079406
cmp eax, dword [0x1400f308c]
jne 0x140079406
and qword [rsi + 0x28], 0
jmp 0x140079406
test rdi, rdi
je 0x1400793f3
mov edx, dword [0x1400f308c]
xor r8d, r8d
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400f3088]
mov edx, dword [0x1400f308c]
cmp eax, edx
je 0x1400793f9
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400f3088]
xor r8d, r8d
mov edx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret