joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140040e80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call fcn.14000a680
mov ebp, 1
mov dword [rsp + 0x40], ebp
mov rdi, qword [rsi]
mov rcx, qword [rdi - 0x18]
mov eax, dword [rdi - 8]
cmp eax, ebp
jle 0x140040f1f
mov rax, qword [rcx]
mov byte [rsp + 0x30], bpl
mov byte [rsp + 0x28], bpl
mov byte [rsp + 0x20], bpl
mov r9d, 0x820
mov r8d, dword [rdi - 0x10]
mov rdx, qword [rsi]
call qword [rax + 0x28]
mov qword [rsi], rax
mov edx, 0xffffffff
mov ecx, edx
xchg dword [rax - 8], ecx
mov eax, dword [rdi - 8]
cmp eax, 0x7ffffc17
je 0x140040f9b
mov eax, dword [rdi - 8]
cmp eax, edx
je 0x140040f0f
lock xadd dword [rdi - 8], edx
sub edx, ebp
jg 0x140040f9b
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140040f9b
cmp dword [rdi - 0xc], 0x820
jg 0x140040f93
mov eax, 0x820
mov r9d, ebp
add r9d, r9d
shr eax, 1
jne 0x140040f30
mov rdx, qword [rsi]
mov eax, dword [rdi - 8]
mov r10, qword [rcx]
cmp eax, 0xffffffff
setne al
mov byte [rsp + 0x30], bpl
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], 0
mov r8d, dword [rdi - 0x10]
call qword [r10 + 0x28]
mov qword [rsi], rax
mov edx, 0xffffffff
mov ecx, edx
xchg dword [rax - 8], ecx
mov eax, dword [rdi - 8]
cmp eax, 0x7ffffc17
je 0x140040f9b
mov eax, dword [rdi - 8]
cmp eax, edx
je 0x140040f83
lock xadd dword [rdi - 8], edx
sub edx, ebp
jg 0x140040f9b
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140040f9b
mov edx, 0xffffffff
xchg dword [rdi - 8], edx
mov edx, 0x820
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140040fc8
mov rbx, rcx
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x140040fb4
sub rbx, rcx
sar rbx, 1
dec ebx
mov dword [rcx - 0x10], ebx
mov eax, dword [rcx - 8]
cmp eax, 0xffffffff
jne 0x140040fd6
xchg dword [rcx - 8], ebp
mov rcx, rsi
call fcn.140043d80
mov rax, rsi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140041000
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
call fcn.14000a680
mov esi, 1
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x80], rbp
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x101a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x14004118b
mov rbx, qword [rdi]
mov rcx, qword [rbx - 0x18]
mov eax, dword [rbx - 8]
cmp eax, esi
jle 0x1400410c7
mov rax, qword [rcx]
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x28], sil
mov byte [rsp + 0x20], sil
mov r9d, 0x820
mov r8d, dword [rbx - 0x10]
mov rdx, qword [rdi]
call qword [rax + 0x28]
mov qword [rdi], rax
mov edx, 0xffffffff
mov ecx, edx
xchg dword [rax - 8], ecx
mov eax, dword [rbx - 8]
cmp eax, 0x7ffffc17
je 0x14004113f
mov eax, dword [rbx - 8]
cmp eax, edx
je 0x1400410b7
lock xadd dword [rbx - 8], edx
sub edx, esi
jg 0x14004113f
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14004113f
mov edx, 0x820
cmp dword [rbx - 0xc], edx
jg 0x140041137
mov r9d, esi
add r9d, r9d
shr edx, 1
jne 0x1400410d4
mov rdx, qword [rdi]
mov eax, dword [rbx - 8]
mov r10, qword [rcx]
cmp eax, 0xffffffff
setne al
mov byte [rsp + 0x30], sil
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], 0
mov r8d, dword [rbx - 0x10]
call qword [r10 + 0x28]
mov qword [rdi], rax
mov edx, 0xffffffff
mov ecx, edx
xchg dword [rax - 8], ecx
mov eax, dword [rbx - 8]
cmp eax, 0x7ffffc17
je 0x14004113f
mov eax, dword [rbx - 8]
cmp eax, edx
je 0x140041127
lock xadd dword [rbx - 8], edx
sub edx, esi
jg 0x14004113f
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14004113f
mov edx, 0xffffffff
xchg dword [rbx - 8], edx
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov rdx, qword [rdi]
test rdx, rdx
je 0x140041175
mov rcx, rdx
nop dword [rax + rax]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x140041160
sub rcx, rdx
sar rcx, 1
lea ebp, [rcx - 1]
mov dword [rdx - 0x10], ebp
mov eax, dword [rdx - 8]
cmp eax, 0xffffffff
jne 0x140041183
xchg dword [rdx - 8], esi
mov rcx, rdi
call fcn.14004fd10
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14004119e
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rdi
call fcn.140043d80
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140054cf0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x170
mov rdi, rdx
mov r14, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
call fcn.14000a680
mov ebp, 1
mov dword [rsp + 0x30], ebp
xor edx, edx
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
test rax, rax
je 0x140054e4a
mov dword [rsp + 0x1a0], ebx
lea rdx, [rsp + 0x1a0]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0x44]
call fcn.140153c90
mov dword [rsp + 0x40], 0x130
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140054e41
mov eax, dword [rsp + 0x1a0]
cmp dword [rsp + 0x48], eax
je 0x140054da7
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140054d83
jmp 0x140054e41
lea rdi, [rsp + 0x6c]
nop dword [rax]
movzx eax, byte [rdi]
inc rdi
test al, al
jne 0x140054db0
lea rax, [rsp + 0x6c]
sub edi, eax
dec edi
mov rcx, r14
test edi, edi
jle 0x140054e3c
xor r9d, r9d
movzx r8d, bpl
mov edx, edi
call fcn.140037200
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [rsp + 0x6c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdx, eax
mov rcx, qword [r14]
cmp edx, 0xffffffff
jne 0x140054e26
test rcx, rcx
je 0x140054e2c
mov rbx, rcx
nop word [rax + rax]
movzx eax, word [rbx]
add rbx, 2
test ax, ax
jne 0x140054e10
sub rbx, rcx
sar rbx, 1
dec ebx
jmp 0x140054e2c
mov word [rcx + rdx*2], bx
mov ebx, edx
mov dword [rcx - 0x10], ebx
mov eax, dword [rcx - 8]
cmp eax, 0xffffffff
jne 0x140054e41
xchg dword [rcx - 8], ebp
jmp 0x140054e41
call fcn.1400373b0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, r14
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140055fe0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rsi, rdx
mov ebx, 0x7fffffff
cmp qword [rcx + 8], rbx
cmovl rbx, qword [rcx + 8]
mov r14, qword [rcx]
xor dil, dil
lea rdx, [rbp + 0x30]
mov rcx, rsi
call fcn.14004f5e0
mov rcx, rax
call fcn.1400413b0
test al, al
je 0x140056129
lea rax, [rbp - 0x40]
mov qword [rbp + 0x48], rax
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.14000a4d0
nop
lea rax, vtable.JRPropertyMap.0
mov qword [rbp - 0x38], rax
xor r15d, r15d
mov qword [rbp - 0x30], r15
mov byte [rbp - 0x28], 1
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.14004d810
nop
lea rax, [rbp - 0x40]
cmp rsi, rax
je 0x14005608f
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.140037020
lea rdx, [rsi + 8]
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
call qword [rax + 0x80]
movzx eax, byte [rsi + 0x18]
mov byte [rbp - 0x28], al
mov dword [rbp - 0x20], 2
mov qword [rbp - 0x1c], 3
mov dword [rbp - 0x14], 0
mov byte [rbp - 0x10], 0
mov qword [rbp - 8], 0xffffffffffffffff
lea rcx, [rbp - 0x40]
call fcn.140056b10
test al, al
je 0x1400560fe
test r14, r14
je 0x1400560fe
test rbx, rbx
jle 0x1400560fe
mov dword [rbp + 0x40], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x40]
mov r8d, ebx
mov rdx, r14
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400560fe
mov eax, dword [rbp + 0x40]
cmp rax, rbx
jne 0x1400560fe
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dil, 1
cmp byte [rbp - 0x11], 0
je 0x14005611c
mov rcx, qword [rbp - 8]
cmp rcx, 0xffffffffffffffff
je 0x14005611c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 8], 0xffffffffffffffff
mov byte [rbp - 0x11], 0
lea rcx, [rbp - 0x40]
call fcn.14004d7a0
movzx eax, dil
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140067970
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 0x1400679bb
cmp byte [rcx + 0xf8], 0
je 0x1400679bb
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.14006b2c0
xor r15d, r15d
mov rcx, qword [0x14022a428]
test rcx, rcx
je 0x1400679da
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0x98]
mov rcx, rax
jmp 0x1400679dd
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.140062d90
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 0x140067aae
lea r15, vtable.JRWndDeleteProbe.0
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x38], 0
test rdi, rdi
je 0x140067a57
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 0x140067ad5
cmp byte [rsp + 0x38], 0
jne 0x140067ad5
mov rax, qword [rcx]
call qword [rax + 0x308]
test al, al
je 0x140067ad0
mov qword [rsp + 0x28], r15
cmp byte [rsp + 0x38], 0
jne 0x140067aae
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140067aae
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 0x140067af5
test rcx, rcx
je 0x140067af5
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
call qword [rax + 0x608]
nop
jmp 0x140067ab6
Function at 0x14007c710
Capabilities:
Hide graphical window

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 esi, edx
mov rdi, rcx
test edx, edx
setne bpl
mov byte [rcx + 0x28], bpl
test edx, edx
je 0x14007c85a
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + 0x518]
nop
lea r14, vtable.JRWndPtr.0
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x14007c815
mov rax, qword [rbx]
lea rdx, str.JRControlWnd
mov rcx, rbx
call qword [rax + 0x2f8]
test al, al
je 0x14007c810
mov rax, qword [rbx]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [rax + 0x3c8]
test al, al
je 0x14007c80b
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x518]
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140062fa0
nop
mov qword [rsp + 0x38], r14
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14007c7e0
cmp dword [rsp + 0x48], 1
jne 0x14007c7e0
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x608]
mov rcx, qword [rsp + 0x40]
cmp dword [rsp + 0x48], 2
jne 0x14007c7fb
test rcx, rcx
je 0x14007c7fb
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 0x2e8]
nop
mov rbx, qword [rsp + 0x28]
test rbx, rbx
jne 0x14007c765
jmp 0x14007c815
xor esi, esi
xor bpl, bpl
mov rbx, qword [rsp + 0x28]
mov qword [rsp + 0x20], r14
test rbx, rbx
je 0x14007c83c
cmp dword [rsp + 0x30], 1
jne 0x14007c83c
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [rax + 0x608]
mov rbx, qword [rsp + 0x28]
cmp dword [rsp + 0x30], 2
jne 0x14007c85a
test rbx, rbx
je 0x14007c85a
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + 0x2e8]
nop
mov byte [rdi + 0x28], bpl
mov edx, esi
mov rcx, qword [rdi + 0x190]
call qword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
setne bl
cmp byte [rdi + 0x28], 0
je 0x14007c894
cmp byte [rdi + 0x1bc], 0
jne 0x14007c894
mov byte [rdi + 0x1bc], 1
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x6d0]
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 0x140084e40
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rbx, r9
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
xor esi, esi
mov qword [rsp + 0x30], rsi
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x40], rsi
lea rdx, [rsp + 0x20]
lea rcx, [0x1400847e0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rdi, qword [rsp + 0x30]
lea rax, vtable.JRWndPtr.0
mov qword [rbx], rax
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140084eae
cmp dword [rbx + 0x10], 1
jne 0x140084eae
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0x608]
cmp dword [rbx + 0x10], 2
jne 0x140084ecc
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140084ecc
mov r8, qword [rcx]
mov edx, 1
call qword [r8 + 0x2e8]
mov dword [rbx + 0x10], esi
mov qword [rbx + 8], rsi
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400862b0
Capabilities:
Log keystrokes

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
mov qword [rsp + 0x20], 1
xor edx, edx
mov qword [rsp + 0x40], 0
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x28], cx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, 0x28
mov dword [rsp + 0x2c], 0
lea rdx, [rsp + 0x20]
mov word [rsp + 0x2a], ax
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
or dword [rsp + 0x2c], 2
lea rdx, [rsp + 0x20]
mov r8d, 0x28
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
add rsp, 0x58
ret

Function at 0x140086320
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 0x14008635b
movzx ecx, ax
call fcn.140164400
movzx r8d, ax
test r8d, r8d
je case.0x140086393.40
test dil, dil
je case.0x140086393.40
lea eax, [r8 - 0x27]
cmp eax, 0x39
ja case.0x140086393.40
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x86594]
mov ecx, dword [rdx + rax*4 + 0x8653c]
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 0x14009f6d0
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 0x14009f7bb
lea r15, vtable.JRWndDeleteProbe.0
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x38], 0
test rdi, rdi
je 0x14009f736
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 0x14009f7e9
test rcx, rcx
je 0x14009f7e9
cmp byte [rsp + 0x38], al
jne 0x14009f7e9
mov rax, qword [rcx]
call qword [rax + 0x308]
test al, al
je 0x14009f7e4
mov qword [rsp + 0x28], r15
cmp byte [rsp + 0x38], 0
jne 0x14009f7bb
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14009f7bb
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.140067970
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 0x14009f809
test rcx, rcx
je 0x14009f809
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
call qword [rax + 0x608]
nop
jmp 0x14009f7cb
Function at 0x1400a02b0
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.0x1400a02ef.10
lea rcx, [0x140000000]
cdqe
movzx eax, byte [rcx + rax + 0xa0508]
mov r8d, dword [rcx + rax*4 + 0xa04f4]
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.0x1400a02ef.37
cmp byte [rbx + 0x490], dil
jne case.0x1400a02ef.37
cmp byte [rbx + 0x4c8], dil
je case.0x1400a02ef.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.0x1400a02ef.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.0x1400a02ef.37
cmp dword [rbx + 0x484], 0
jl 0x1400a03d8
mov eax, dword [rbx + 0x328]
mov ecx, dword [rbx + 0x340]
cmp eax, ecx
jne 0x1400a0390
mov edx, dword [rbx + 0x32c]
cmp edx, dword [rbx + 0x344]
jg 0x1400a0390
je 0x1400a03d8
mov rdx, qword [rbx + 0x338]
test rdx, rdx
je 0x1400a03a5
test eax, eax
js 0x1400a03a5
cmp eax, dword [rdx + 0x10]
jl 0x1400a03ba
mov rdx, qword [rbx + 0x350]
test rdx, rdx
je 0x1400a03d8
test ecx, ecx
js 0x1400a03d8
cmp ecx, dword [rdx + 0x10]
jge 0x1400a03d8
cmp eax, ecx
jg 0x1400a03d8
jne case.0x1400a02ef.37
mov eax, dword [rbx + 0x32c]
cmp eax, dword [rbx + 0x344]
jg 0x1400a03d8
jne case.0x1400a02ef.37
lea rcx, [rbx + 0x1e8]
mov dl, 1
call fcn.140094980
test al, al
jne case.0x1400a02ef.37
mov rbx, qword [rbx + 0x4b8]
test rbx, rbx
je 0x1400a04cf
mov rcx, qword [rbx + 8]
xor dil, dil
test rcx, rcx
je 0x1400a04cf
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x3c8]
test al, al
je 0x1400a04cf
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 0x1400a0462
mov rax, qword [r8]
xor edx, edx
mov rcx, r8
call qword [rax + 0x30]
mov rcx, rax
test rcx, rcx
je 0x1400a04af
nop word [rax + rax]
mov edx, dword [rcx + 0x68]
mov rbx, rcx
mov eax, edx
shr eax, 1
test bpl, al
jne 0x1400a04e3
test bpl, dl
jne 0x1400a0488
xor ecx, ecx
jmp 0x1400a0498
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x30]
mov rcx, rax
test rax, rax
jne 0x1400a04aa
test rbx, rbx
je 0x1400a04aa
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx + 8]
test rcx, rcx
je 0x1400a0498
test rcx, rcx
jne 0x1400a0470
cmp esi, 0xd
jne 0x1400a04ca
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 0x1400a04ca
movzx edi, bpl
jmp 0x1400a04ca