joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140055b8c
Capabilities:
Set thread local storage value

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 r12
push r14
push r15
sub rsp, 0x20
mov ebp, 1
mov r12, r8
mov rdi, rdx
mov r15, rcx
mov r14d, ebp
cmp dword [rdx + 0x10], ebp
jle 0x140055c20
lea ebx, [rbp + 7]
lea esi, [rbp + 0xf]
test r12, r12
je 0x140055be5
mov rax, qword [r15 + 0x10]
cmp qword [rax + rsi + 8], r12
je 0x140055be5
mov rax, qword [rdi + 0x18]
cmp qword [rbx + rax], 0
je 0x140055c0c
xor r14d, r14d
jmp 0x140055c0c
mov rax, qword [rdi + 0x18]
mov rcx, qword [rbx + rax]
test rcx, rcx
je 0x140055c03
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x14007c0ea.0]
mov rax, qword [rdi + 0x18]
and qword [rbx + rax], 0
inc ebp
add rsi, 0x10
add rbx, 8
cmp ebp, dword [rdi + 0x10]
jl 0x140055bc5
test r14d, r14d
je 0x140055c6c
lea rcx, [r15 + 0x28]
mov rsi, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [r15 + 0x18]
mov rdx, rdi
call fcn.140055f40
lea rcx, [r15 + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x14007c0ea.0]
mov ecx, dword [r15]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400590c4
Capabilities:
Identify system language via api

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1402837b0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov edi, ecx
xor esi, esi
mov rcx, qword [0x140453548]
mov r12, r9
mov r15, r8
mov r14, rdx
test rcx, rcx
jne 0x140059134
lea rcx, [0x1401ef500]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005915b
lea rdx, str.GetThreadPreferredUILanguages
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140453548], rax
jmp 0x14005913d
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rbx, rax
test rbx, rbx
je 0x14005915b
mov r9, r12
mov r8, r15
mov rdx, r14
mov ecx, edi
mov rax, rbx
call qword [case.0x14007c0ea.0]
jmp 0x1400592ad
mov dword [r14], esi
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov r8d, 7
mov esi, ecx
lea rdx, [rbp - 0x20]
and ecx, 0xfc00
and esi, 0x3ff
or ecx, esi
call fcn.140059560
lea rcx, [rbp - 0x20]
call fcn.1401c5850
mov edx, dword [r12]
lea r8, [rbp - 0x20]
mov rcx, r15
lea rdi, [rax + 1]
call fcn.1401d1da4
inc dword [r14]
lea rdx, [rbp - 0x20]
mov r8d, 7
mov ecx, esi
call fcn.140059560
lea rcx, [rbp - 0x20]
call fcn.1401c5850
mov edx, dword [r12]
lea rcx, [r15 + rdi*2]
sub rdx, rdi
lea r8, [rbp - 0x20]
lea rbx, [rax + 1]
call fcn.1401d1da4
inc dword [r14]
add rdi, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
mov r8d, 7
mov esi, ecx
lea rdx, [rbp - 0x20]
and ecx, 0xfc00
and esi, 0x3ff
or ecx, esi
call fcn.140059560
lea rcx, [rbp - 0x20]
call fcn.1401c5850
mov edx, dword [r12]
lea rcx, [r15 + rdi*2]
sub rdx, rdi
lea r8, [rbp - 0x20]
lea rbx, [rax + 1]
call fcn.1401d1da4
inc dword [r14]
lea rdx, [rbp - 0x20]
mov r8d, 7
mov ecx, esi
add rdi, rbx
call fcn.140059560
lea rcx, [rbp - 0x20]
call fcn.1401c5850
mov edx, dword [r12]
lea rcx, [r15 + rdi*2]
sub rdx, rdi
lea r8, [rbp - 0x20]
lea rbx, [rax + 1]
call fcn.1401d1da4
inc dword [r14]
lea rdx, [rbp - 0x20]
mov r8d, 7
mov ecx, 0x800
add rdi, rbx
call fcn.140059560
lea rcx, [rbp - 0x20]
call fcn.1401c5850
mov edx, dword [r12]
lea rcx, [r15 + rdi*2]
sub rdx, rdi
lea r8, [rbp - 0x20]
mov rbx, rax
call fcn.1401d1da4
inc dword [r14]
lea rcx, [rdi + rbx]
xor eax, eax
mov word [r15 + rcx*2 + 2], ax
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401bacf0
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14005bae0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
test byte [rdx + 4], 1
mov esi, r8d
mov rbx, qword [rdx + 0x10]
mov rdi, rdx
mov rbp, rcx
jne 0x14005bb57
mov rcx, qword [rdi + 8]
mov r8d, 5
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
jne 0x14005bb27
call fcn.140037be0
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
jne 0x14005bb41
call fcn.140037be0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x14005bb57
call fcn.140037be0
call fcn.14002b288
cmp qword [rax + 0x68], 0
je 0x14005bb71
mov rdx, rbx
mov rcx, rbp
call fcn.14005afa0
mov rbx, rax
mov edx, esi
mov rcx, rbx
call fcn.14005bdd0
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x14005bb98
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x14005bba7
mov rbx, rsi
mov qword [rbp + 0xf8], rsi
or dword [rdi + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x10], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140069fb0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, qword [rdx]
cmp dword [rcx - 0x10], 0
je 0x140069fe2
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140069fe2
lea rcx, [rdi + 0x120]
mov rdx, rbx
call fcn.140076754
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x140069ff4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14006a01a
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14004d3dc
jmp 0x14006a086
cmp byte [0x140453950], 0
jne 0x14006a05e
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14006a04e
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140453948], rax
jmp 0x14006a055
mov rax, qword [0x140453948]
mov byte [0x140453950], 1
jmp 0x14006a065
mov rax, qword [0x140453948]
mov rdx, rdi
mov rcx, qword [rbx]
test rax, rax
je 0x14006a07f
xor r9d, r9d
mov r8d, dword [rbx + 8]
call qword [case.0x14007c0ea.0]
jmp 0x14006a086
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
nop
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14006c2fc
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0x88
mov rdi, rcx
mov esi, 1
mov rax, qword [rcx + 0x20]
neg rax
sbb rdx, rdx
mov qword [rbp + 0x77], rdx
cmp qword [rcx + 0x20], 0
je 0x14006c3e7
xor esi, esi
and qword [rbp + 0x17], rsi
and dword [rbp + 0x1f], esi
and qword [rbp + 0x27], rsi
mov rax, qword [rcx]
lea rdx, [rbp + 0xf]
mov rax, qword [rax + 0x40]
call qword [case.0x14007c0ea.0]
nop
mov rbx, qword [rax]
call fcn.14002b288
xor edx, edx
mov rcx, qword [rax + 8]
call fcn.14004bcc0
nop
and qword [rbp + 0x7f], rsi
lea rcx, [rbp + 0x67]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x7f]
mov qword [rsp + 0x38], rcx
and qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x2001f
and dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, eax
test eax, eax
jne 0x14006c3ab
mov rax, qword [rbp + 0x7f]
mov qword [rbp + 0x17], rax
and dword [rbp + 0x1f], ebx
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006c3d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007c0ea.0]
test ebx, ebx
je 0x14006c4d1
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14006c3e7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
add rsp, 0x88
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14001e770
mov rcx, rax
test rax, rax
je 0x14006c500
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14007c0ea.0]
add rax, 0x18
mov qword [rbp + 0x6f], rax
call fcn.14001e770
mov rcx, rax
test rax, rax
je 0x14006c4f5
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14007c0ea.0]
add rax, 0x18
mov qword [rbp + 7], rax
lea rcx, [rdi + 8]
lea r9, [rbp + 7]
lea r8, [rbp + 0x6f]
lea rdx, [rbp + 0x77]
call fcn.14006a6a8
mov rbx, qword [rbp + 7]
test rbx, rbx
je 0x14006c48a
mov rcx, rbx
call fcn.1401c17c0
inc eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x6f]
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006c4ac
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007c0ea.0]
nop
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006c4d1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14007c0ea.0]
cmp qword [rbp + 0x77], 0
jne 0x14006c3f5
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14006c4eb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14006c3e9
mov ecx, 0x80004005
call fcn.140002f90
nop
mov ecx, 0x80004005
call fcn.140002f90
int3
Function at 0x140070070
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
test r8, r8
jne 0x1400700cc
test rdx, rdx
jne 0x14007009d
mov eax, ebx
jmp 0x1400700a5
mov rcx, rdi
call fcn.1401c17c0
mov r9, rdi
mov dword [rsp + 0x20], eax
mov r8d, 1
mov rdx, rsi
mov rcx, 0xffffffff80000000
call fcn.140054ea4
test eax, eax
jne 0x140070134
mov eax, 1
jmp 0x140070136
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, rsi
mov rcx, 0xffffffff80000000
call fcn.140054b78
test eax, eax
jne 0x140070134
test rdi, rdi
jne 0x1400700f0
mov eax, ebx
jmp 0x1400700f8
mov rcx, rdi
call fcn.1401c17c0
mov rcx, qword [rsp + 0x50]
inc eax
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x50]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x140070134
test edi, edi
sete bl
mov eax, ebx
jmp 0x140070136
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140089c94
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x1c0
mov rax, qword [0x1402837b0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x38], rdx
mov rax, r8
mov rbx, rdx
test r8, r8
je 0x140089d13
mov rcx, qword [rax + 8]
lea r8, [rsp + 0x40]
mov r9d, 0x168
mov dword [rsp + 0x20], 0x208
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov rcx, rbx
lea rdx, [rsp + 0x50]
test rax, rax
jne 0x140089cf2
lea rdx, [0x14024bca0]
call fcn.140004130
mov rax, rbx
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1401bacf0
add rsp, 0x1c0
pop rbx
ret
call fcn.14001fba0
int3

Function at 0x14008d4a8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov r14, r8
mov rdi, rdx
mov r8, rcx
test rdx, rdx
je 0x14008d548
movzx eax, word [rdx]
mov r9d, ebx
test ax, ax
je 0x14008d548
movzx eax, ax
inc r9d
add rdx, rax
movzx eax, word [rdx]
test ax, ax
jne 0x14008d4d8
test r9d, r9d
je 0x14008d548
cmp r9d, 1
jne 0x14008d508
mov r8, r14
xor edx, edx
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x14008d561
xor eax, eax
jmp 0x14008d54b
lea esi, [r9 - 1]
mov rcx, rdi
test esi, esi
je 0x14008d524
mov edx, esi
movzx eax, word [rcx]
add bx, ax
add rcx, rax
sub rdx, 1
jne 0x14008d515
movzx edx, bx
mov rcx, r8
add edx, 2
call fcn.14008d408
movzx r8d, bx
mov rdx, rdi
mov rcx, rax
mov qword [r14], rax
call fcn.1401bcce0
mov eax, esi
jmp 0x14008d54b
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
call fcn.14001fba0
int3
Function at 0x1400970f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
test r8, r8
jne 0x140097123
call fcn.14002b288
mov rbx, qword [rax + 0x18]
lea r8, [0x140207b00]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdi, rax
test rax, rax
je 0x14009717c
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14009717c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
test rax, rax
je 0x14009717c
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rsi
mov rcx, rbp
mov r8d, eax
call fcn.140097194
jmp 0x14009717e
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400e6f98
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x150
mov rax, qword [0x1402837b0]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor esi, esi
lea eax, [rcx - 0x60]
mov edi, ecx
lea ebx, [rsi + 0x12]
cmp eax, 9
ja 0x1400e6fdf
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1400e700b
cmp dword [0x140453d94], esi
jne 0x1400e700b
lea eax, [rdi - 0x41]
cmp eax, 0x19
jbe 0x1400e7007
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x1400e7007
mov ecx, edi
call fcn.1401d473c
jmp 0x1400e707c
mov eax, edi
jmp 0x1400e707c
lea rcx, [rsp + 0x40]
mov word [rsp + 0x34], si
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x1400e70a5
call fcn.14004d7b0
mov ecx, dword [rax + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
xor edx, edx
mov ecx, edi
mov rbx, rax
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x34]
mov edx, eax
mov dword [rsp + 0x20], 1
lea r8, [rsp + 0x40]
mov ecx, edi
call qword [sym.imp.USER32.dll_ToAsciiEx]
mov al, byte [rsp + 0x34]
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x30], al
mov byte [rsp + 0x31], sil
call qword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401bacf0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14001fba0
int3
Function at 0x140100c78
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1402837b0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
test ax, ax
js 0x140100d4f
mov rdi, qword [rsi + 0x248]
test rdi, rdi
jne 0x140100ce5
mov rcx, qword [rsi + 0x130]
call fcn.1400227c8
mov rdx, rax
lea rcx, vtable.CGlobalUtils.0
call fcn.14011f218
mov rdi, rax
test rax, rax
je 0x140100d48
lea rcx, [rbp - 0x28]
mov qword [rbp - 0x28], rbx
call qword [sym.imp.USER32.dll_GetCursorPos]
xorps xmm0, xmm0
lea rcx, [rbp - 0x18]
movups xmmword [rbp - 0x18], xmm0
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov r8, qword [rbp - 0x28]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x18]
lea rax, [rbp - 0x30]
mov dword [rbp - 0x30], ebx
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov qword [rbp - 0x20], rbx
call fcn.140107cd8
lea rcx, [rbp - 0x18]
call qword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x140100d48
cmp dword [rbp - 0x30], ebx
setne bl
mov eax, ebx
jmp 0x140100d51
mov eax, 1
jmp 0x140100d51
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401bacf0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14011dd08
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14011de40
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 8]
mov qword [r11 - 0x10], rax
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edx, edx
test eax, eax
jne 0x14011de82
mov ecx, dword [rsp + 0x58]
sub ecx, 4
neg ecx
sbb eax, eax
and eax, 0xd
test eax, eax
sete dl
mov eax, edx
add rsp, 0x38
ret

Function at 0x14011df7c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r14, r8
mov rsi, rdx
mov r15, rcx
test rdx, rdx
je 0x14011e093
mov rcx, r8
call fcn.1400029b0
mov rcx, qword [r15 + 8]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov dword [rsp + 0x68], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14011e080
mov eax, dword [rsp + 0x78]
dec eax
cmp eax, 1
ja 0x14011e080
mov ebp, dword [rsp + 0x68]
test ebp, ebp
jne 0x14011dff7
lea eax, [rbx + 1]
jmp 0x14011e082
lea ecx, [rbp + 1]
call fcn.140006890
mov rcx, qword [r15 + 8]
lea r9, [rsp + 0x78]
mov rdi, rax
mov dword [rsp + 0x68], ebp
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14011e074
mov eax, dword [rsp + 0x78]
dec eax
cmp eax, 1
ja 0x14011e074
test rdi, rdi
je 0x14011e061
cmp dword [rsp + 0x68], ebx
je 0x14011e050
mov eax, dword [rsp + 0x68]
cmp byte [rax + rdi - 1], bl
je 0x14011e052
jmp 0x14011e074
mov byte [rdi], bl
test rdi, rdi
je 0x14011e061
mov rcx, rdi
call fcn.1401c17c0
mov ebx, eax
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call fcn.140002e30
mov ebx, 1
mov rcx, rdi
call fcn.140002990
mov eax, ebx
jmp 0x14011e082
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14001fba0
int3
Function at 0x14011e294
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14011e35e
test rbx, rbx
je 0x14011e35e
test r9, r9
je 0x14011e35e
and qword [r8], 0
xor r8d, r8d
and dword [r9], 0
mov rcx, qword [rcx + 8]
mov qword [rax - 0x10], r9
lea r9, [rax + 0x10]
and qword [rax - 0x18], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14011e35a
cmp dword [rsp + 0x48], 3
jne 0x14011e35a
cmp dword [rdi], eax
je 0x14011e35a
mov ecx, dword [rdi]
call fcn.140006890
mov qword [rbx], rax
lea r9, [rsp + 0x48]
mov rcx, qword [rbp + 8]
xor r8d, r8d
mov qword [rsp + 0x28], rdi
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14011e34e
cmp dword [rsp + 0x48], 3
jne 0x14011e34e
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx]
call fcn.140002990
and qword [rbx], 0
xor eax, eax
jmp 0x14011e339
call fcn.14001fba0
int3

Function at 0x14011e61c
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14011e62d
xor eax, eax
jmp 0x14011e65b
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_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14011e664
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14011e675
xor eax, eax
jmp 0x14011e699
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov r9d, 3
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140140fec
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1402837b0]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
mov esi, r8d
mov r14, rdx
mov rbx, rcx
mov edi, 0xfffffffd
mov dword [rcx + 0xd4], r15d
cmp dword [rcx + 0xc8], r15d
je 0x14014108c
test r8d, r8d
jne 0x14014108c
cmp dword [rcx + 0xcc], r15d
jne 0x14014108c
mov eax, dword [rcx + 0x24]
dec eax
cmp eax, edi
ja 0x140141082
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], r15
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [r14 + 0x40]
lea rdx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rdx, qword [rbp - 0x20]
lea rcx, [rbx + 0x108]
call qword [sym.imp.USER32.dll_PtInRect]
mov dword [rbx + 0xd4], eax
test eax, eax
je 0x140141258
jmp 0x14014108c
mov dword [rcx + 0xd4], 1
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x1e0]
call qword [case.0x14007c0ea.0]
test eax, eax
je 0x1401410dc
test esi, esi
jne 0x1401410dc
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], r15
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [r14 + 0x40]
lea rdx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rdx, qword [rbp - 0x20]
lea rcx, [rbx + 0x118]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x140141258
cmp dword [rbx + 0xd4], r15d
jne 0x140141104
mov eax, dword [rbx + 0x24]
dec eax
cmp eax, edi
ja 0x140141104
cmp dword [rbx + 0xc8], r15d
jne 0x140141104
cmp dword [rbx + 0xe0], r15d
je 0x140141258
mov rdx, qword [rbx + 0x80]
lea rcx, str.CMFCMenuBar
call fcn.14002d4d0
mov rdi, rax
mov rax, qword [rbx + 0xc0]
test rax, rax
je 0x140141154
mov dword [rax + 0x1f0], r15d
mov rcx, qword [rbx + 0xc0]
mov rax, qword [rcx]
mov rax, qword [rax + 0xc0]
call qword [case.0x14007c0ea.0]
mov qword [rbx + 0xc0], r15
test rdi, rdi
je 0x1401411a6
xor edx, edx
jmp 0x14014119e
mov rdx, qword [rbx + 0x80]
lea rcx, str.0g__
call fcn.14002d4d0
test esi, esi
je 0x140141213
test rax, rax
je 0x140141213
cmp dword [0x140453dac], r15d
jne 0x140141213
mov r8d, 1
mov rdx, rbx
mov rcx, rax
call fcn.140119974
test rdi, rdi
je 0x1401411a6
mov rdx, rbx
mov rcx, rdi
call fcn.1400b8864
cmp qword [rbx + 0x80], r15
je 0x1401411ee
movups xmm0, xmmword [rbx + 0x68]
movdqu xmmword [rbp - 0x20], xmm0
call fcn.140073764
lea rcx, [rbp - 0x20]
mov edx, dword [rax + 0xcc]
mov r8d, edx
call qword [sym.imp.USER32.dll_InflateRect]
mov rcx, qword [rbx + 0x80]
lea rdx, [rbp - 0x20]
mov r9d, 0x401
xor r8d, r8d
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_RedrawWindow]
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401bacf0
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
test rdi, rdi
je 0x14014123a
xor edx, edx
mov rcx, rdi
call fcn.1400b0970
mov rcx, rax
test rax, rax
je 0x14014123a
mov rax, qword [rax]
mov rax, qword [rax + 0xb0]
call qword [case.0x14007c0ea.0]
mov rax, qword [rbx]
mov rdx, r14
mov rcx, rbx
mov rax, qword [rax + 0x198]
call qword [case.0x14007c0ea.0]
test eax, eax
jne 0x140141196
xor eax, eax
jmp 0x1401411f3