joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401043c0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14018f1e0
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x20]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x20], 0
mov ebx, eax
jne 0x14010441b
xor r8d, r8d
jmp 0x14010442f
lea rax, [rsp + 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140104424
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140003290
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140185a60
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret

Function at 0x140104540
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, qword [rcx + 8]
mov esi, edx
mov rdi, rcx
test rbx, rbx
jne 0x140104579
xor eax, eax
jmp 0x14010461d
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.14018f1e0
mov r8d, 0x104
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor r8d, r8d
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r8
mov word [rsp + 0x20], r8w
cmp word [rsp + 0x40], r8w
je 0x1401045db
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401045d0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140003290
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x20]
mov r8d, esi
call fcn.140104650
mov r8, qword [rsp + 0x38]
mov rbx, rax
cmp r8, 8
jb 0x14010461b
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
inc r8
call fcn.140003900
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140185a60
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1401047b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x240
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov r15, r9
mov r14, r8
mov edi, edx
mov rbp, rcx
call qword [sym.imp.USER32.dll_GetFocus]
mov rsi, rax
cmp edi, 9
je 0x1401047f6
lea ecx, [rdi - 0x25]
cmp ecx, 3
ja 0x1401048fe
mov qword [rsp + 0x238], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x230], r12
xor edx, edx
mov r8d, 0x200
xor r12b, r12b
call fcn.14018f1e0
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetClassNameW]
xor ebx, ebx
lea r8, [rsp + 0x20]
mov ecx, ebx
lea r9, str.Edit
nop
movzx edx, word [r8 + rcx*2]
inc rcx
movzx eax, word [r9 + rcx*2 - 2]
sub edx, eax
jne 0x140104858
cmp rcx, 5
jne 0x140104840
test edx, edx
movzx r8d, r12b
mov r12, qword [rsp + 0x230]
mov ecx, 1
cmove r8d, ecx
cmp edi, 9
jne 0x140104898
lea ecx, [rdi + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [rbp + 8]
mov rdx, rsi
movzx r8d, ax
shr r8d, 0xf
and r8d, 1
call qword [sym.imp.USER32.dll_GetNextDlgTabItem]
jmp 0x1401048c5
lea eax, [rdi - 0x25]
cmp eax, ecx
ja 0x1401048a9
test r8b, r8b
jne 0x1401048a9
mov r8d, ecx
jmp 0x1401048b8
lea eax, [rdi - 0x27]
cmp eax, ecx
ja 0x1401048cd
test r8b, r8b
jne 0x1401048cd
xor r8d, r8d
mov rcx, qword [rbp + 8]
mov rdx, rsi
call qword [sym.imp.USER32.dll_GetNextDlgGroupItem]
mov rbx, rax
test rax, rax
jne 0x1401048ea
cmp edi, 9
jne 0x1401048f3
lea ecx, [rdi + 7]
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
mov rbx, r14
test cx, ax
cmovne rbx, r15
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetFocus]
mov rax, rbx
mov rbx, qword [rsp + 0x238]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x240
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140106c50
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x178
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x60]
mov rbp, r9
call fcn.14018f1e0
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x60]
mov r8d, 0x80
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x140106cb8
lea ecx, [rax + 0x11]
call qword [sym.imp.USER32.dll_GetSysColor]
xor r8d, r8d
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r8
mov word [rsp + 0x40], r8w
cmp word [rsp + 0x60], r8w
je 0x140106ceb
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140106ce0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140003290
lea rax, [rsp + 0x40]
mov r9d, 7
mov qword [rsp + 0x38], rax
mov r8, rbp
mov rax, qword [rbx + 0x108]
mov rdx, rsi
mov dword [rsp + 0x30], 1
mov rcx, rdi
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
call fcn.14011c4c0
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x140106d51
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
inc r8
call fcn.140003900
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x178
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140107820
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x890
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x8c8], rbx
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x80]
call fcn.14018f1e0
mov r8d, 0x400
lea rdx, [rsp + 0x80]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetClientRect]
movd xmm1, dword [0x14027ae88]
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x140213078]
movaps xmm0, xmm1
mulss xmm0, dword [0x140213008]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x58], 7
xor ebp, ebp
mov qword [rsp + 0x50], rbp
mov word [rsp + 0x40], bp
cmp word [rsp + 0x80], bp
jne 0x1401078ea
mov r8d, ebp
jmp 0x140107900
lea rax, [rsp + 0x80]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bp
jne 0x1401078f6
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.140003290
nop
mov rax, qword [rbx]
mov rdx, qword [rax + 0x48]
lea rax, [method.CAboutDlg.virtual_72]
cmp rdx, rax
jne 0x140107932
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
jmp 0x140107937
mov rcx, rbx
call rdx
test eax, eax
mov ecx, 8
jne 0x140107945
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetSysColor]
mov eax, eax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
mov r9d, 7
lea r8, [rsp + 0x68]
mov rdx, rsi
mov rcx, rdi
call fcn.14011c4c0
nop
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x14010799c
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140003900
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.140185a60
mov rbx, qword [rsp + 0x8c8]
add rsp, 0x890
pop rdi
pop rsi
pop rbp
ret

Function at 0x140108f50
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14018f1e0
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x20]
mov r8d, 0x104
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x20], 0
jne 0x140108fa9
xor r8d, r8d
jmp 0x140108fbd
lea rax, [rsp + 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140108fb2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140003290
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140185a60
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
Function at 0x140108ff0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rbx, rcx
mov qword [rsp + 0x68], 7
xor edi, edi
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x50], di
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.14018f1e0
mov r8d, 0x104
lea rdx, [rsp + 0x70]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x70], di
jne 0x14010906f
mov r8d, edi
jmp 0x14010908b
lea rax, [rsp + 0x70]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140109080
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140003290
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x30], di
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14013bed0
test al, al
jne 0x14010910f
mov dword [rsp + 0x2c], edi
mov dword [rsp + 0x28], edi
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x2c]
mov edx, 0xb0
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rbx]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [rax + 0x70]
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov r8d, eax
mov r9d, eax
mov edx, 0xb1
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x14010912c
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140003900
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x30], di
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x14010915c
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140003900
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140185a60
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140109950
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
cmp dx, 0x1f
ja 0x14010996d
mov ecx, 0xf7ffdeff
bt ecx, edx
jb 0x14010997a
cmp dx, 0x7f
jae 0x14010997a
mov word [rbx + 0x136], dx
mov eax, 1
mov ecx, 0xa0
mov word [rbx + 0x134], ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, 0x8000
test di, ax
je 0x1401099a3
or word [rbx + 0x134], 4
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
test di, ax
je 0x1401099bb
or word [rbx + 0x134], 8
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
test di, ax
je 0x1401099d3
or word [rbx + 0x134], 0x10
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401099f0
Function at 0x14010ad10
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r14
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov ebx, edx
mov rsi, rcx
mov qword [rsp + 0x68], 7
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov word [rsp + 0x50], r14w
cmp qword [rcx + 8], r14
je 0x14010adca
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.14018f1e0
mov r8d, 0x104
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [rsp + 0x70], r14w
jne 0x14010ad9e
mov r8d, r14d
jmp 0x14010adbb
lea rax, [rsp + 0x70]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14010adb0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140003290
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r14
mov word [rsp + 0x30], r14w
test ebx, ebx
je 0x14010adf8
cmp ebx, 1
jne 0x14010ae0b
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14013bed0
jmp 0x14010ae07
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14013bd30
test al, al
jne 0x14010ae6c
mov dword [rsp + 0x2c], r14d
mov dword [rsp + 0x28], r14d
mov rcx, rsi
call fcn.14010aef0
mov rcx, rax
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x2c]
mov edx, 0xb0
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsi]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [rax + 0x70]
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
mov ebx, eax
mov rcx, rsi
call fcn.14010aef0
mov rcx, rax
mov r9d, ebx
mov r8d, ebx
mov edx, 0xb1
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x14010ae89
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140003900
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r14
mov word [rsp + 0x30], r14w
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x14010aeba
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140003900
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140185a60
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14010cc20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbx
push rbp
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14026f088]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov qword [rcx + 0x118], 0xffffffffffffffff
mov ecx, dword [rcx + 0x120]
xor r12d, r12d
mov dword [r11 - 0x48], r12d
xor r14b, r14b
mov ebp, r12d
mov r8d, dword [rbx + 0x54]
mov edx, dword [rbx + 0x124]
mov r15, qword [rbx + 0x108]
sub r15, qword [rbx + 0x100]
lea eax, [r8 + rcx]
sar r15, 3
mov dword [rsp + 0x34], eax
mov eax, edx
sub eax, ecx
mov dword [r11 - 0x40], r12d
mov dword [rsp + 0x3c], eax
mov eax, dword [rbx + 0x58]
mov dword [rsp + 0x20], eax
mov dword [r11 - 0x54], r8d
mov dword [r11 - 0x50], r12d
mov dword [rsp + 0x2c], edx
test r15, r15
je 0x14010cd91
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r13
lea r13d, [r12 + 1]
mov qword [r11 + 0x10], rsi
nop dword [rax]
mov rax, qword [rbx + 0x100]
mov rdi, qword [rax + rbp*8]
test rdi, rdi
je 0x14010cd6d
cmp byte [rbx + 0x130], r12b
je 0x14010ccf0
lea r8, [rbx + 0x131]
mov rdx, rdi
call fcn.14010cfd0
test al, al
je 0x14010cd6d
movzx eax, r14b
test r14b, r14b
mov rcx, rdi
cmove eax, r13d
movzx r14d, al
mov rax, qword [rdi]
call qword [rax + 0x380]
mov ecx, dword [rdi + 0x60]
mov esi, eax
and cl, 0xf
cmp cl, 2
jne 0x14010cd44
sub dword [rsp + 0x20], eax
mov dword [rsp + 0x24], r12d
mov dword [rsp + 0x28], eax
test r14b, r14b
je 0x14010cd3c
mov r8, qword [rdi]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [r8 + 0x358]
add dword [rbx + 0x11c], esi
jmp 0x14010cd6d
mov dword [rsp + 0x34], r12d
mov dword [rsp + 0x38], eax
test r14b, r14b
je 0x14010cd63
mov rax, qword [rdi]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [rax + 0x358]
add dword [rsp + 0x30], esi
add dword [rbx + 0x118], esi
inc rbp
cmp rbp, r15
jne 0x14010ccc0
mov r13, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rcx, qword [rbx + 8]
lea rdx, [rbx + 0x50]
mov r9d, 5
xor r8d, r8d
call qword [sym.imp.USER32.dll_RedrawWindow]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140185a60
add rsp, 0x50
pop r15
pop r14
pop r12
pop rbp
pop rbx
ret
Function at 0x14010f8b0
Capabilities:
Log keystrokes via polling

Disassembly:
test rdx, rdx
je 0x14010fa59
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov rbx, rcx
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
mov ecx, 0x25
mov rdi, qword [rdx + 0x60]
mov rsi, rdx
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebp, 0xff
and ax, bp
cmp ax, 1
jg 0x14010f904
mov ecx, 0x27
call qword [sym.imp.USER32.dll_GetKeyState]
and ax, bp
cmp ax, 1
jle 0x14010f939
mov rcx, rbx
call fcn.140110420
mov rdx, rdi
mov rcx, rbx
call fcn.140110540
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14010f939
test rdi, rdi
je 0x14010f939
mov r9, rdi
mov edx, 0x110b
mov r8d, 9
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetKeyState]
and ax, bp
cmp ax, 1
jg 0x14010f961
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetKeyState]
and ax, bp
cmp ax, 1
jle 0x14010f980
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x14010f980
mov rcx, rbx
call fcn.140110df0
jmp 0x14010fa23
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebp, 0x8000
test bp, ax
jne 0x14010f9e1
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
jne 0x14010f9e1
mov rcx, rbx
call fcn.140110420
mov rdx, rdi
mov rcx, rbx
call fcn.140110540
mov rdx, qword [rsi + 0x88]
lea rcx, [rbx + 0x120]
call fcn.140142830
test al, al
jne 0x14010f9e1
mov rdx, rdi
mov qword [rbx + 0x118], rdi
mov rcx, rbx
call fcn.1401106d0
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
jne 0x14010fa01
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14010fa23
mov rdx, qword [rsi + 0x88]
lea rcx, [rbx + 0x120]
call fcn.140142830
test al, al
jne 0x14010fa23
mov rdx, rdi
mov rcx, rbx
call fcn.140110760
mov rcx, rbx
call fcn.140110330
mov rax, qword [rsi + 0x88]
mov rcx, rbx
mov qword [rbx + 0x108], rax
mov rax, qword [rbx]
call qword [rax + 0x478]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x14010fb00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edx, 0x24
mov rbx, rcx
call fcn.14010e5d0
mov rdi, rax
lea rdx, [rax + 0x10000]
test rdx, 0xfffffffffffeffff
je 0x14010fb9b
mov rdx, rax
mov rcx, rbx
call fcn.1401102b0
test al, al
je 0x14010fb9b
call fcn.14010fc00
test al, al
jne 0x14010fb57
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14010fc40
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x14010fb7e
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14010fd20
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x14010fb9b
mov rdx, rdi
mov rcx, rbx
call fcn.14010fe20
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 8]
mov r8, rdx
mov edx, 0x1127
mov r9d, 2
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14010fcc8
cmp byte [rbx + 0x170], 0
jne 0x14010fd13
mov rdx, rdi
mov rcx, rbx
call fcn.140110540
mov rdx, rdi
mov qword [rbx + 0x118], rdi
mov rcx, rbx
call fcn.14010e780
mov qword [rbx + 0x108], rax
lea rcx, [rbx + 0x120]
mov rax, qword [rbx + 0x128]
mov qword [rbx + 0x130], rax
mov rdx, qword [rbx + 0x108]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140142520
mov rcx, rbx
call fcn.140110420
mov rdx, rdi
mov qword [rbx + 0x118], rdi
mov rcx, rbx
call fcn.14010e780
mov rdx, rax
lea rcx, [rbx + 0x120]
call fcn.140142520
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14010fd13
test rdi, rdi
je 0x14010fd13
mov r9, rdi
mov edx, 0x110b
mov r8d, 9
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
call fcn.14010e780
lea rdi, [rbx + 0x120]
xor r8d, r8d
mov rcx, qword [rdi + 0x10]
mov r9, rax
sub rcx, qword [rdi + 8]
sar rcx, 3
test rcx, rcx
je 0x14010fd7e
mov rdx, qword [rdi + 8]
mov rax, qword [rdi + 0x10]
sub rax, rdx
sar rax, 3
cmp rax, r8
jbe 0x14010fe09
cmp qword [rdx + r8*8], r9
je 0x14010fdce
inc r8
cmp r8, rcx
jne 0x14010fd67
mov rdx, rsi
mov rcx, rbx
call fcn.14010e780
mov rdx, rax
mov rcx, rdi
call fcn.140142520
mov rdx, qword [rbx + 0x118]
test rdx, rdx
je 0x14010fdb3
mov rcx, rbx
call fcn.14010e780
mov rdx, rax
mov rcx, rdi
call fcn.140142520
mov rsi, qword [rsp + 0x38]
mov qword [rbx + 0x118], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x130]
sub rax, qword [rbx + 0x128]
sar rax, 3
cmp rax, 1
jbe 0x14010fd94
mov rdx, rsi
mov rcx, rbx
call fcn.14010e780
mov rdx, rax
mov rcx, rdi
call fcn.1401427a0
mov rdx, rsi
mov rcx, rbx
call fcn.140110760
jmp 0x14010fd94
lea rcx, str.invalid_vector_T__subscript
call fcn.140161f38
int3
Function at 0x14010fc00
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 0x8000
test bx, ax
jne 0x14010fc33
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
jne 0x14010fc33
xor al, al
add rsp, 0x20
pop rbx
ret
mov al, 1
add rsp, 0x20
pop rbx
ret

Function at 0x1401102b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rsi, rdx
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, 0x8000
test bx, ax
jne 0x1401102ea
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test bx, ax
je 0x140110318
mov rbx, qword [rdi]
mov rcx, rdi
call fcn.140111110
mov rdx, rax
mov r8, rsi
mov rcx, rdi
call qword [rbx + 0x488]
test al, al
jne 0x140110318
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140110df0
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, 0x20
mov rbx, rcx
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetKeyState]
mov esi, 0xff
mov ecx, 0x28
and ax, si
cmp ax, 1
setg dil
call qword [sym.imp.USER32.dll_GetKeyState]
and ax, si
mov ecx, InitCommonControls
cmp ax, 1
setg bpl
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140110e52
mov rcx, rbx
call fcn.140110420
test dil, dil
jne 0x140110e60
test bpl, bpl
je 0x140110fb0
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x140110fb0
cmp qword [rbx + 0x118], 0
jne 0x140110e9d
mov rcx, qword [rbx + 8]
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rbx + 0x118], rax
mov rdx, qword [rbx + 0x118]
mov rcx, rbx
call fcn.14010e780
mov rdx, rax
lea rcx, [rbx + 0x120]
call fcn.140142520
mov rcx, qword [rbx + 8]
xor r9d, r9d
mov edx, 0x110a
lea r8d, [r9 + 9]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rax
mov rcx, rbx
mov rdi, rax
call fcn.14010e780
mov rdx, rax
lea rcx, [rbx + 0x120]
call fcn.140142520
mov rcx, qword [rbx + 8]
mov r9, rdi
mov edx, 0x110a
test bpl, bpl
je 0x140110f2b
mov r8d, 7
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
test rax, rax
je 0x140110fa1
mov r8, qword [rbx + 0x118]
mov rdx, rax
mov rcx, rbx
call fcn.1401105d0
jmp 0x140110f51
mov r8d, 6
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
test rax, rax
je 0x140110fa1
mov r8, qword [rbx + 0x118]
mov rdx, rax
mov rcx, rbx
call fcn.140110650
test al, al
je 0x140110fa1
mov rdx, rdi
mov rcx, rbx
call fcn.140110760
mov rdx, rdi
mov rcx, rbx
call fcn.14010e780
mov rdx, rax
lea rcx, [rbx + 0x120]
call fcn.140142830
test al, al
je 0x140110fa1
cmp qword [rbx + 0x118], rdi
je 0x140110fa1
mov rdx, rdi
mov rcx, rbx
call fcn.14010e780
mov rdx, rax
lea rcx, [rbx + 0x120]
call fcn.1401427a0
mov rdx, qword [rbx + 0x118]
mov rcx, rbx
call fcn.140110540
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret