joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140097930
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.UxTheme.dll
call fcn.14005b77c
mov qword [rbx + 0x2b8], rax
test rax, rax
je 0x1400979bb
lea rdx, str.DrawThemeParentBackground
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x2b8]
lea rdx, str.DrawThemeTextEx
mov qword [rbx + 0x2d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x2b8]
lea rdx, str.BeginBufferedPaint
mov qword [rbx + 0x2e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x2b8]
lea rdx, str.EndBufferedPaint
mov qword [rbx + 0x2e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x2f0], rax
jmp 0x1400979db
and qword [rbx + 0x2d8], 0
and qword [rbx + 0x2e0], 0
and qword [rbx + 0x2e8], 0
and qword [rbx + 0x2f0], 0
lea rcx, [0x1401d2cd0]
call fcn.14005b77c
cmp dword [rbx + 0x258], 0
mov qword [rbx + 0x2c0], rax
jne 0x140097a01
and qword [rbx + 0x2d0], 0
jmp 0x140097a21
test rax, rax
je 0x140097ac4
lea rdx, str.SetLayeredWindowAttributes
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x2d0], rax
cmp qword [rbx + 0x2c8], 0
je 0x140097a96
lea rcx, str.dwmapi.dll
call fcn.14005b77c
mov qword [rbx + 0x2c8], rax
test rax, rax
jne 0x140097a49
call fcn.14001505c
int3
lea rdx, str.DwmExtendFrameIntoClientArea
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x2c8]
lea rdx, str.DwmDefWindowProc
mov qword [rbx + 0x2f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 0x2c8]
lea rdx, str.DwmIsCompositionEnabled
mov qword [rbx + 0x300], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x308], rax
cmp dword [rbx + 0x274], 0
je 0x140097aa9
mov dword [rbx + 0x274], 1
call fcn.140081bb8
mov rcx, qword [0x140259228]
test rcx, rcx
je 0x140097abf
call fcn.140063bc4
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1400a4184
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x140259d30], 0
mov rdi, rdx
mov rbx, rcx
jne 0x1400a41d8
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a41c8
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140259d28], rax
jmp 0x1400a41cf
mov rax, qword [0x140259d28]
mov byte [0x140259d30], 1
jmp 0x1400a41df
mov rax, qword [0x140259d28]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x1400a41f5
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x1400a41fb
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400a4374
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x20], ebx
je 0x1400a4385
xor eax, eax
jmp 0x1400a43b3
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400a43bc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
cmp dword [rcx + 0x20], ebx
je 0x1400a43e4
xor eax, eax
jmp 0x1400a4423
cmp r8, rbx
jne 0x1400a43f0
mov eax, SafeArrayGetDim
jmp 0x1400a441c
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsi + 8]
mov r9d, 1
lea eax, [rax + rax + 2]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a4548
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x20], ebx
je 0x1400a4559
xor eax, eax
jmp 0x1400a457d
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
mov r9d, 3
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x1400a4584
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edx, edx
cmp eax, edx
jne 0x1400a45c6
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
cmp eax, edx
sete dl
mov eax, edx
add rsp, 0x38
ret
Function at 0x1400a46d8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
jne 0x1400a4703
call fcn.14001505c
int3
test rbx, rbx
jne 0x1400a470e
call fcn.14001505c
int3
test r9, r9
jne 0x1400a4719
call fcn.14001505c
int3
and qword [r8], 0
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], r9
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a479c
cmp dword [rsp + 0x48], 3
jne 0x1400a479c
test eax, eax
jne 0x1400a479c
cmp dword [rdi], eax
je 0x1400a479c
mov ecx, dword [rdi]
call fcn.14000989c
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rbx], rax
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a4790
cmp dword [rsp + 0x48], 3
jne 0x1400a4790
test eax, eax
jne 0x1400a4790
mov eax, 1
jmp 0x1400a479e
mov rcx, qword [rbx]
call fcn.1400098e0
and qword [rbx], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400a48a8
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
cmp eax, ecx
sete cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x1400a48c4
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140252530]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov edi, dword [rcx + 8]
xor eax, eax
mov rsi, rcx
mov rcx, qword [rcx]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
or edi, 0x2001f
xor r8d, r8d
mov r9d, edi
mov rbp, rdx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x1400a49d1
test rcx, rcx
je 0x1400a4939
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
and edi, 0x300
mov dword [rsp + 0x50], edi
xor edi, edi
mov qword [rsp + 0x48], rcx
cmp ebx, edi
jmp 0x1400a496b
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400a48c4
mov rcx, qword [rsp + 0x48]
mov ebx, eax
cmp eax, edi
jne 0x1400a49d3
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor edx, edx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x40], pe_nt_image_headers64
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, edi
je 0x1400a4953
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1400a49b9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rdi
mov rdx, rbp
mov rcx, rsi
mov dword [rsp + 0x50], edi
call fcn.1400a4184
mov rcx, qword [rsp + 0x48]
mov ebx, eax
jmp 0x1400a49d3
xor edi, edi
cmp rcx, rdi
je 0x1400a49de
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140184e60
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a4bd4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
xor ebx, ebx
mov rbp, r8
mov rsi, rdx
mov r12, rcx
cmp rdx, rbx
jne 0x1400a4bfc
call fcn.14001505c
int3
mov rcx, r8
call fcn.140008890
mov rcx, qword [r12 + 8]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x78], ebx
mov edi, ebx
mov dword [rsp + 0x30], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x1400a4c55
cmp dword [rsp + 0x68], 1
je 0x1400a4c45
cmp dword [rsp + 0x68], 2
jne 0x1400a4c55
mov edi, dword [rsp + 0x78]
mov eax, ebx
shr edi, 1
mov dword [rsp + 0x30], edi
cmp eax, ebx
je 0x1400a4c59
xor eax, eax
jmp 0x1400a4cce
cmp edi, ebx
jne 0x1400a4c64
mov eax, 1
jmp 0x1400a4cce
lea r8d, [rdi + 1]
mov rcx, 0xffffffffffffffff
mov eax, 2
mul r8
cmovo rax, rcx
mov rcx, rax
call fcn.14000989c
lea r9, [rsp + 0x30]
lea rcx, [r12 + 8]
mov r8, rax
mov rdx, rsi
mov rdi, rax
call fcn.1400a42b8
mov esi, ebx
cmp eax, ebx
sete sil
cmp esi, ebx
je 0x1400a4cc4
cmp rdi, rbx
je 0x1400a4cb6
mov rcx, rdi
call fcn.14018699c
mov ebx, eax
mov r8d, ebx
mov rdx, rdi
mov rcx, rbp
call fcn.140008910
mov rcx, rdi
call fcn.1400098e0
mov eax, esi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x1400bf974
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rdi, r9
mov rsi, r8
mov rbx, rcx
lea rcx, [rsp + 0x40]
call fcn.1400087d0
nop
cmp rbx, 0xffffffff80000000
jne 0x1400bfa00
call fcn.14005aad8
cmp eax, 1
jne 0x1400bfa00
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x20]
call fcn.1400093e0
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140008a90
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400bf9f9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, 0xffffffff80000001
mov r9, rdi
mov r8, rsi
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400bfa37
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400bfa4c
Capabilities:
Set registry value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rdi, r9
mov esi, r8d
mov rbx, rcx
lea rcx, [rsp + 0x50]
call fcn.1400087d0
nop
cmp rbx, 0xffffffff80000000
jne 0x1400bfad8
call fcn.14005aad8
cmp eax, 1
jne 0x1400bfad8
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x30]
call fcn.1400093e0
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140008a90
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400bfad1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, 0xffffffff80000001
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9, rdi
mov r8d, esi
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ebx, eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400bfb17
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1400d5784
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
cmp r8, 0x20
jne 0x1400d5814
mov rcx, qword [rcx + 0x40]
lea rdx, [rax - 0x28]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r11d, dword [rsp + 0x20]
mov eax, dword [rsp + 0x24]
add r11d, 4
add eax, 0x17
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov dword [rsp + 0x60], r11d
mov dword [rsp + 0x64], eax
call fcn.1400d4ef4
mov rcx, rbx
call fcn.1400d5678
mov rcx, qword [rbx + 0x40]
mov edx, 2
call qword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
xor esi, esi
cmp dword [rcx + 0x418], esi
jne 0x1400d5833
cmp r8, 0x79
je 0x1400d582a
cmp r8, 0x12
jne 0x1400d582f
mov esi, 1
mov eax, esi
jmp 0x1400d57fb
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r13w, ax
shr r13d, 0xf
and r13d, 1
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
shr r11d, 0xf
and r11d, 1
cmp rdi, 0x12
je 0x1400d5871
cmp rdi, 0x79
jne 0x1400d57ea
cmp qword [0x140258f68], rsi
jne 0x1400d57f9
test byte [rbx + 0x430], 2
jne 0x1400d57f9
cmp rdi, 0x12
je 0x1400d58ad
cmp rdi, 0x79
jne 0x1400d57f9
cmp r13d, esi
jne 0x1400d57f9
cmp r11d, esi
jne 0x1400d57f9
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14001bcf4
cmp rax, rbx
jne 0x1400d58d2
bt r12, 0x1e
jb 0x1400d58d2
cmp rdi, 0x79
jne 0x1400d58e2
mov rcx, rbp
jmp 0x1400d58db
cmp rdi, 0x79
jne 0x1400d58e2
mov rcx, rbx
call fcn.1400126b0
jmp 0x1400d5901
cmp dword [rbx + 0x3d4], esi
jge 0x1400d5901
mov rcx, qword [rbx + 0x40]
xor r9d, r9d
mov r8d, 0xc8
lea edx, [r9 + 2]
call qword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
jmp 0x1400d57fb
Function at 0x1400e4a50
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
lea r8, [rcx + 0xe8]
mov rbx, rcx
mov rcx, rdi
mov edx, 0x4092
call fcn.1401634a0
lea r8, [rbx + 0x190]
mov edx, 0x4091
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x238]
mov edx, 0x4093
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x2e0]
mov edx, 0x4074
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x388]
mov edx, 0x407d
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x430]
mov edx, 0x407c
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x5e8]
mov edx, 0x407e
mov rcx, rdi
call fcn.1401634a0
lea r8, [rbx + 0x690]
mov edx, 0x4074
mov rcx, rdi
call fcn.1401636f8
lea r8, [rbx + 0x698]
mov edx, 0x40db
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1401636f8
Function at 0x1400e68c4
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
xor r12d, r12d
or edi, 0xffffffff
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
mov dword [rcx + 0xcc], r12d
cmp dword [rcx + 0xc0], r12d
je 0x1400e6956
cmp r8d, r12d
jne 0x1400e6956
cmp dword [rcx + 0xc4], r12d
jne 0x1400e6956
cmp dword [rcx + 0x24], r12d
je 0x1400e694c
cmp dword [rcx + 0x24], edi
je 0x1400e694c
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rdx, qword [rsp + 0x50]
lea rcx, [rbx + 0x100]
call qword [sym.imp.USER32.dll_PtInRect]
mov dword [rbx + 0xcc], eax
cmp eax, r12d
jne 0x1400e6956
xor eax, eax
jmp 0x1400e6ad6
mov dword [rcx + 0xcc], 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x1d8]
cmp eax, r12d
je 0x1400e699d
cmp esi, r12d
jne 0x1400e699d
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rdx, qword [rsp + 0x50]
lea rcx, [rbx + 0x110]
call qword [sym.imp.USER32.dll_PtInRect]
cmp eax, r12d
jne 0x1400e6945
cmp dword [rbx + 0xcc], r12d
jne 0x1400e69c3
cmp dword [rbx + 0x24], r12d
jbe 0x1400e69c3
cmp dword [rbx + 0x24], edi
je 0x1400e69c3
cmp dword [rbx + 0xc0], r12d
jne 0x1400e69c3
cmp dword [rbx + 0xd8], r12d
je 0x1400e6945
mov rdx, qword [rbx + 0x78]
lea rcx, str.CMFCMenuBar
call fcn.14005a7e4
mov rdi, rax
mov rax, qword [rbx + 0xb8]
cmp rax, r12
je 0x1400e6a0d
mov dword [rax + 0x1a8], r12d
mov rcx, qword [rbx + 0xb8]
mov rdx, qword [rcx]
call qword [rdx + 0xc0]
mov qword [rbx + 0xb8], r12
cmp rdi, r12
je 0x1400e6a8b
xor edx, edx
jmp 0x1400e6a83
mov rdx, qword [rbx + 0x78]
lea rcx, str.CMFCPopupMenuBar
call fcn.14005a7e4
cmp esi, r12d
je 0x1400e6a43
cmp rax, r12
je 0x1400e6a43
cmp dword [0x140257f98], r12d
jne 0x1400e6a43
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.1400c2f7c
jmp 0x1400e6a7b
cmp rdi, r12
je 0x1400e6a63
xor edx, edx
mov rcx, rdi
call fcn.14002e6dc
cmp rax, r12
je 0x1400e6a63
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xb0]
mov rax, qword [rbx]
mov rdx, rbp
mov rcx, rbx
call qword [rax + 0x190]
cmp eax, r12d
je 0x1400e6945
cmp rdi, r12
je 0x1400e6a8b
mov rdx, rbx
mov rcx, rdi
call fcn.1400320d8
cmp qword [rbx + 0x78], r12
je 0x1400e6ad1
movdqu xmm0, xmmword [rbx + 0x60]
movdqu xmmword [rsp + 0x20], xmm0
call fcn.14000fc40
lea rcx, [rsp + 0x20]
mov edx, dword [rax + 0xfc]
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
mov rcx, qword [rbx + 0x78]
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx + 0x40]
mov r9d, 0x401
xor r8d, r8d
call qword [sym.imp.USER32.dll_RedrawWindow]
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x1400ecf50
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rdi, rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
cmp ax, si
jge 0x1400ecf74
xor eax, eax
jmp 0x1400ed009
mov rbx, qword [rdi + 0x208]
cmp rbx, rsi
jne 0x1400ecfa3
mov rcx, qword [rdi + 0xf0]
call fcn.14001bd38
lea rcx, vtable.CGlobalUtils.0
mov rdx, rax
call fcn.1400cd444
mov rbx, rax
cmp rax, rsi
je 0x1400ed004
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov r8, qword [rsp + 0x78]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x30]
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0x68], esi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x70], rsi
call fcn.1400535d8
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_IsRectEmpty]
cmp eax, esi
je 0x1400ed004
cmp dword [rsp + 0x68], esi
je 0x1400ecf6d
mov eax, 1
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400ed5bc
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [rcx + 0xcd], 0
mov rdi, rdx
mov rbx, rcx
jne 0x1400ed68d
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetCapture]
mov rcx, rax
call fcn.14001bcf4
cmp qword [rbx + 0xf8], 0
jne 0x1400ed5fc
mov qword [rbx + 0xf8], rdi
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov byte [rbx + 0xcd], 1
call qword [rax + 0x3c8]
lea rcx, [rbx + 0x190]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x310]
test al, 1
je 0x1400ed65d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x310]
test al, al
js 0x1400ed65d
call fcn.14005b520
mov edx, 0x7f86
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
lea rcx, [rbx + 0x138]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbx + 0x208]
test rcx, rcx
jne 0x1400ed688
lea rcx, vtable.CGlobalUtils.0
mov rdx, rbx
call fcn.1400cd444
mov rcx, rax
call fcn.1400553a0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400f9024
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov rbx, rcx
mov ecx, 0x104
mov rdi, rdx
cmp eax, ecx
ja 0x1400f91c6
je 0x1400f91ec
cmp eax, 0xa1
jb 0x1400f923b
cmp eax, 0xa2
jbe 0x1400f91ec
cmp eax, 0xa3
jbe 0x1400f923b
cmp eax, 0xa5
jbe 0x1400f91ec
cmp eax, 0xa6
jbe 0x1400f923b
cmp eax, 0xa8
jbe 0x1400f91ec
cmp eax, 0x100
jne 0x1400f923b
cmp dword [rbx + 0xec], 0xffffffff
je 0x1400f91ec
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1400f91ec
mov rax, qword [rdi + 0x10]
sub rax, 0x21
je 0x1400f916e
cmp rax, 1
jne 0x1400f91ec
mov ecx, dword [rbx + 0xec]
lea edi, [rcx + 1]
add ecx, dword [rbx + 0xe8]
cmp edi, ecx
jge 0x1400f9164
mov eax, edi
mov rcx, rbx
cdq
idiv dword [rbx + 0xe8]
mov rax, qword [rbx]
mov esi, edx
call qword [rax + 0x4a8]
test eax, eax
jne 0x1400f911c
mov eax, dword [rbx + 0xe8]
inc edi
add eax, dword [rbx + 0xec]
cmp edi, eax
jl 0x1400f90ed
jmp 0x1400f9164
mov r8, qword [rbx]
mov edx, esi
mov rcx, rbx
mov dword [rbx + 0x314], 1
call qword [r8 + 0x3d8]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 0x3d0]
mov rcx, rax
call fcn.1400126b0
mov r11, qword [rbx]
mov edx, dword [rbx + 0xec]
mov rcx, rbx
call qword [r11 + 0x490]
and dword [rbx + 0x314], 0
mov eax, 1
jmp 0x1400f9246
mov ecx, dword [rbx + 0xec]
mov eax, dword [rbx + 0xe8]
lea edi, [rax + rcx - 1]
cmp edi, ecx
jle 0x1400f9164
mov eax, edi
mov rcx, rbx
cdq
idiv dword [rbx + 0xe8]
mov rax, qword [rbx]
mov esi, edx
call qword [rax + 0x4a8]
test eax, eax
jne 0x1400f91a9
dec edi
cmp edi, dword [rbx + 0xec]
jg 0x1400f9182
jmp 0x1400f9164
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
mov dword [rbx + 0x314], 1
call qword [rax + 0x3d8]
jmp 0x1400f9135
cmp eax, 0x200
jb 0x1400f923b
cmp eax, 0x202
jbe 0x1400f91ec
cmp eax, 0x203
jbe 0x1400f923b
cmp eax, 0x205
jbe 0x1400f91ec
add eax, 0xfffffdf9
cmp eax, 1
ja 0x1400f923b
mov rcx, qword [rbx + 0x158]
mov esi, 0x407
test rcx, rcx
je 0x1400f9216
cmp qword [rcx + 0x40], 0
je 0x1400f9216
mov rcx, qword [rcx + 0x40]
mov r9, rdi
xor r8d, r8d
mov edx, esi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x150]
test rcx, rcx
je 0x1400f923b
cmp qword [rcx + 0x40], 0
je 0x1400f923b
mov rcx, qword [rcx + 0x40]
mov r9, rdi
xor r8d, r8d
mov edx, esi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rdi
mov rcx, rbx
call fcn.140100d5c
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140104974
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov ebx, ecx
xor edi, edi
cmp dword [0x14024d82c], edi
je 0x140104a84
cmp dword [0x14024fe44], 0xfffffffe
jne 0x140104a69
cmp ecx, 0xffffffff
je 0x140104a84
mov eax, dword [0x14025afb0]
test al, 1
jne 0x140104a01
or eax, 1
mov dword [0x14025afb0], eax
xor edx, edx
lea rcx, [0x14025af78]
call fcn.14010e75c
nop
lea rax, vtable.CCriticalSection.0
mov qword [0x14025af78], rax
lea rcx, [0x14025af78]
call fcn.14003fabc
cmp eax, edi
jne 0x1401049f4
call fcn.140015014
nop
lea rcx, [0x1401ba19c]
call fcn.140185064
nop
lea rcx, [0x14025af78]
call fcn.14003fadc
cmp qword [0x14025af70], rdi
je 0x140104a1c
call fcn.14001505c
int3
xor r8d, r8d
xor edx, edx
lea rcx, [0x140104910]
call fcn.14018a344
mov qword [0x14025af70], rax
cmp rax, rdi
jbe 0x140104a53
cmp rax, 0xffffffffffffffff
je 0x140104a53
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x14024fe44], ebx
jmp 0x140104a5a
mov qword [0x14025af70], rdi
lea rcx, [0x14025af88]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140104a84
mov dword [0x14024fe44], ecx
mov rax, qword [0x14025af70]
cmp ecx, 0xffffffff
cmove rax, rdi
mov qword [0x14025af70], rax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret