joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d6e4c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov rbx, rcx
mov ecx, 0x104
xor edi, edi
mov rbp, rdx
cmp eax, ecx
ja 0x1400d701b
je 0x1400d7041
cmp eax, 0xa1
jb 0x1400d7091
cmp eax, 0xa2
jbe 0x1400d7041
cmp eax, 0xa3
jbe 0x1400d7091
cmp eax, 0xa5
jbe 0x1400d7041
cmp eax, 0xa6
jbe 0x1400d7091
cmp eax, 0xa8
jbe 0x1400d7041
cmp eax, 0x100
jne 0x1400d7091
cmp dword [rbx + 0x154], 0xffffffff
je 0x1400d7041
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1400d7041
mov rax, qword [rbp + 0x10]
sub rax, 0x21
je 0x1400d6f9c
cmp rax, 1
jne 0x1400d7041
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx + 1]
add ecx, dword [rbx + 0x150]
cmp ebp, ecx
jge 0x1400d6f92
mov eax, ebp
mov rcx, rbx
cdq
idiv dword [rbx + 0x150]
mov rax, qword [rbx]
mov r14d, edx
call qword [rax + 0x4f8]
test eax, eax
jne 0x1400d6f4b
mov eax, dword [rbx + 0x150]
inc ebp
add eax, dword [rbx + 0x154]
cmp ebp, eax
jl 0x1400d6f1b
jmp 0x1400d6f92
mov r8, qword [rbx]
mov edx, r14d
mov rcx, rbx
mov dword [rbx + 0x3b8], 1
call qword [r8 + 0x428]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x420]
mov rcx, rax
call fcn.140023d54
mov r8, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
call qword [r8 + 0x4e0]
mov dword [rbx + 0x3b8], edi
mov eax, 1
jmp 0x1400d70bf
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx - 1]
add ebp, dword [rbx + 0x150]
cmp ebp, ecx
jle 0x1400d6f92
mov eax, ebp
mov rcx, rbx
cdq
idiv dword [rbx + 0x150]
mov rax, qword [rbx]
mov r14d, edx
call qword [rax + 0x4f8]
test eax, eax
jne 0x1400d6fd7
dec ebp
cmp ebp, dword [rbx + 0x154]
jg 0x1400d6faf
jmp 0x1400d6f92
mov rax, qword [rbx]
mov edx, r14d
mov rcx, rbx
mov dword [rbx + 0x3b8], 1
call qword [rax + 0x428]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x420]
mov rcx, rax
call fcn.140023d54
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
call qword [rax + 0x4e0]
jmp 0x1400d6f8c
cmp eax, 0x200
jb 0x1400d7091
cmp eax, 0x202
jbe 0x1400d7041
cmp eax, 0x203
jbe 0x1400d7091
cmp eax, 0x205
jbe 0x1400d7041
add eax, 0xfffffdf9
cmp eax, 1
ja 0x1400d7091
mov rcx, qword [rbx + 0x1c0]
mov r14d, 0x407
test rcx, rcx
je 0x1400d706c
cmp qword [rcx + 0x40], rdi
je 0x1400d706c
mov rcx, qword [rcx + 0x40]
mov r9, rbp
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 0x1b8]
test rcx, rcx
je 0x1400d7091
cmp qword [rcx + 0x40], rdi
je 0x1400d7091
mov rcx, qword [rcx + 0x40]
mov r9, rbp
xor r8d, r8d
mov edx, r14d
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rbp + 8], 0x203
jne 0x1400d70b4
lea rax, [rbx + 0x3208]
test rax, rax
je 0x1400d70aa
mov rdi, qword [rax + 0x40]
cmp qword [rbp], rdi
je 0x1400d6f92
mov rdx, rbp
mov rcx, rbx
call fcn.14010d79c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400e3d90
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
and dword [rax - 0x18], 0
and qword [rax + 0x18], 0
xor ebx, ebx
mov eax, dword [0x1402d924c]
test eax, eax
je 0x1400e3dd2
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x1400e3ddb
call fcn.140022f2c
test eax, eax
je 0x1400e3df7
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
test ebx, ebx
jne 0x1400e3dff
xor eax, eax
jmp 0x1400e3e43
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test eax, eax
sete bl
test ebx, ebx
je 0x1400e3e26
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400e3e28
xor esi, esi
mov rdx, qword [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400e3e41
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400ec260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x30
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], r12
mov rax, qword [0x1402d18f8]
xor rax, rbp
mov qword [rbp], rax
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r12, rcx
test rdx, rdx
jne 0x1400ec2a4
xor eax, eax
jmp 0x1400ec3d1
test r8, r8
je 0x1400ec29d
call fcn.14004e0d4
mov r8, rdi
mov rdx, rsi
mov r14, qword [rax + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400ec29d
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x1400ec29d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x1400ec3f7
mov rcx, rax
call fcn.1401db1c0
lea r15d, [rax + 1]
lea ecx, [r15 + r15]
movsxd r8, ecx
lea rdx, [r8 + 0x10]
cmp r8, rdx
sbb rcx, rcx
test rdx, rcx
je 0x1400ec38a
lea rcx, [r8 + 0x10]
cmp r8, rcx
sbb rax, rax
and rax, rcx
cmp rax, 0x400
lea rax, [r8 + 0x10]
ja 0x1400ec368
cmp r8, rax
sbb rcx, rcx
and rcx, rax
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1400ec346
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1401cfb40
sub rsp, rax
lea rdi, [rsp + 0x20]
test rdi, rdi
je 0x1400ec3fd
mov dword [rdi], 0xcccc
jmp 0x1400ec384
cmp r8, rax
sbb rcx, rcx
and rcx, rax
call fcn.1401d99c8
mov rdi, rax
test rax, rax
je 0x1400ec38d
mov dword [rax], 0xdddd
add rdi, 0x10
jmp 0x1400ec38d
mov rdi, rbx
test rdi, rdi
je 0x1400ec3fd
mov r8d, r15d
mov rdx, r14
mov rcx, rdi
call fcn.1400256a8
test rax, rax
je 0x1400ec3b5
mov rdx, rax
mov rcx, r12
call fcn.1400eea24
mov ebx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rcx, [rdi - 0x10]
cmp dword [rcx], 0xdddd
jne 0x1400ec3cf
call fcn.1401d85c8
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rbp
call fcn.1401cf0f0
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
mov rdi, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
lea rsp, [rbp + 0x10]
pop r15
pop r14
pop rbp
ret
call fcn.1400251b0
int3
call fcn.1400251b0
int3
Function at 0x1400f4ec8
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, rdx
mov rbp, rcx
je 0x1400f4ef1
mov rdi, qword [rdx + 0x10]
jmp 0x1400f4f42
mov rdx, qword [rdx + 0x10]
mov r8d, 5
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
jne 0x1400f4f12
call fcn.140027a5c
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x1400f4f2c
call fcn.140027a5c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1400f4f42
call fcn.140027a5c
call fcn.14004e0d4
cmp qword [rax + 0x68], 0
je 0x1400f4f5c
mov rdx, rdi
mov rcx, rbp
call fcn.1400f4314
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.1400f51c0
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x1400f4f83
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1400f4f92
mov rdi, rsi
mov qword [rbp + 0xf8], rsi
or dword [rbx + 4], 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400f5330
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rcx
xor ebx, ebx
mov qword [rax - 0x18], rbx
mov r14, qword [0x1402dfe78]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x1402d924c]
test eax, eax
je 0x1400f537c
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x1400f5385
call fcn.140022f2c
test eax, eax
je 0x1400f53a1
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400f53ac
xor eax, eax
jmp 0x1400f5430
test r14, r14
jne 0x1400f53c9
lea rcx, str.CreatePropertySheetPageW
call fcn.1400f562c
test rax, rax
je 0x1400f53fb
mov qword [0x1402dfe78], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x1400f53ea
cmp dword [rdi], 0x60
jb 0x1400f53ea
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x1402d0008]
mov qword [rdi + 0x58], rax
mov rcx, rdi
call qword [0x1402dfe78]
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x1400f5412
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400f5414
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1400f542d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400f5448
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
xor edi, edi
mov dword [rax - 0x18], edi
mov rbx, qword [0x1402dfe80]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x1402d924c]
test eax, eax
je 0x1400f5493
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x1400f549c
call fcn.140022f2c
test eax, eax
je 0x1400f54b8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400f54c0
xor eax, eax
jmp 0x1400f551d
test rbx, rbx
jne 0x1400f54e0
lea rcx, str.DestroyPropertySheetPage
call fcn.1400f562c
mov rbx, rax
test rax, rax
je 0x1400f54eb
mov qword [0x1402dfe80], rax
mov rcx, r14
call rbx
mov edi, eax
mov dword [rsp + 0x20], eax
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x1400f5500
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400f5502
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400f551b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400f5534
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov r14, rcx
or rdi, 0xffffffffffffffff
mov qword [rax - 0x18], rdi
mov rbx, qword [0x1402dfe88]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x1402d924c]
test eax, eax
je 0x1400f5583
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1402d924c]
test eax, eax
jne 0x1400f558c
call fcn.140022f2c
test eax, eax
je 0x1400f55a8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d0008]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400f55b2
or rax, 0xffffffffffffffff
jmp 0x1400f5614
test rbx, rbx
jne 0x1400f55d2
lea rcx, str.PropertySheetW
call fcn.1400f562c
mov rbx, rax
test rax, rax
je 0x1400f55df
mov qword [0x1402dfe88], rax
mov rcx, r14
call rbx
mov rdi, rax
mov qword [rsp + 0x20], rax
xor ebx, ebx
cmp rdi, 0xffffffffffffffff
sete bl
test ebx, ebx
je 0x1400f55f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400f55f8
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400f5611
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400f5ac8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x30
mov qword [rax - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, r9
mov rsi, r8
mov rbx, rcx
lea rcx, [rax + 8]
call fcn.140003330
nop
cmp rbx, 0xffffffff80000000
jne 0x1400f5b51
call fcn.14004e150
cmp eax, 1
jne 0x1400f5b51
lea r8, [rsp + 0x40]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x20]
call fcn.14007829c
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140017d30
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400f5b4a
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
sub ecx, 1
jg 0x1400f5b87
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 0x1400f5b9c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x40
mov qword [rax - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, r9
mov esi, r8d
mov rbx, rcx
lea rcx, [rax + 8]
call fcn.140003330
nop
cmp rbx, 0xffffffff80000000
jne 0x1400f5c25
call fcn.14004e150
cmp eax, 1
jne 0x1400f5c25
lea r8, [rsp + 0x50]
lea rdx, str.SoftwareClasses_
lea rcx, [rsp + 0x30]
call fcn.14007829c
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140017d30
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400f5c1e
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
sub ecx, 1
jg 0x1400f5c63
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 0x140100dbc
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140100de2
mov r8, rdx
mov rdx, qword [rbx]
call fcn.140078840
jmp 0x140100e49
cmp byte [0x1402e0218], 0
jne 0x140100e26
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140100e16
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402e0210], rax
jmp 0x140100e1d
mov rax, qword [0x1402e0210]
mov byte [0x1402e0218], 1
jmp 0x140100e2d
mov rax, qword [0x1402e0210]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x140100e43
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x140100e49
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140100e54
Capabilities:
Delete registry value

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

Function at 0x1401010ac
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_RegQueryValueExW]
xor edx, edx
test eax, eax
jne 0x1401010ee
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 0x1401014fc
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 0x1401015ce
test rbx, rbx
je 0x1401015d4
test r9, r9
je 0x1401015da
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_RegQueryValueExW]
test eax, eax
jne 0x1401015b7
cmp dword [rsp + 0x48], 3
jne 0x1401015b7
test eax, eax
jne 0x1401015b7
cmp dword [rdi], eax
je 0x1401015b7
mov ecx, dword [rdi]
call fcn.1400182e0
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_RegQueryValueExW]
test eax, eax
jne 0x1401015ab
cmp dword [rsp + 0x48], 3
jne 0x1401015ab
test eax, eax
jne 0x1401015ab
mov eax, 1
jmp 0x1401015b9
mov rcx, qword [rbx]
call fcn.1400182e8
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
call fcn.1400251b0
int3
call fcn.1400251b0
int3
call fcn.1400251b0
int3
Function at 0x1401019a0
Capabilities:
Set registry value

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

Function at 0x1401019e8
Capabilities:
Set registry value

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

Function at 0x140104010
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov ebx, ecx
cmp dword [0x1402d069c], edi
je 0x140104119
cmp dword [0x1402d0c30], 0xfffffffe
jne 0x1401040fe
cmp ecx, 0xffffffff
je 0x140104119
mov edx, dword [0x1402e367c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1402e03e0], ecx
jle 0x14010409c
lea rcx, [0x1402e03e0]
call fcn.1401cf584
cmp dword [0x1402e03e0], 0xffffffff
jne 0x14010409c
lea rcx, [0x1402e03a8]
call fcn.14003e3dc
lea rcx, [0x1402095f8]
call fcn.1401cf970
lea rcx, [0x1402e03e0]
call fcn.1401cf524
lea rcx, [0x1402e03b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1402e0380], rdi
jne 0x140104124
xor r8d, r8d
lea rcx, [0x14010412c]
xor edx, edx
call fcn.1401e278c
mov qword [0x1402e0380], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1401040e8
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x1402d0c30], ebx
jmp 0x1401040ef
mov qword [0x1402e0380], rdi
lea rcx, [0x1402e03b8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140104119
mov rax, qword [0x1402e0380]
cmp ecx, 0xffffffff
mov dword [0x1402d0c30], ecx
cmove rax, rdi
mov qword [0x1402e0380], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.1400251b0
int3
Function at 0x1401173e4
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x10d], 0
mov rdi, rdx
mov rbx, rcx
jne 0x1401174b4
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetCapture]
mov rcx, rax
call fcn.14001d010
cmp qword [rbx + 0x138], 0
jne 0x140117424
mov qword [rbx + 0x138], rdi
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov byte [rbx + 0x10d], 1
call qword [rax + 0x418]
lea rcx, [rbx + 0x1d0]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x360]
test al, 1
je 0x140117484
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x360]
test al, al
js 0x140117484
call fcn.14004e0d4
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 + 0x178]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rbx + 0x248]
test rcx, rcx
jne 0x1401174af
mov rdx, rbx
lea rcx, vtable.CGlobalUtils.0
call fcn.1401254f4
mov rcx, rax
call fcn.140093498
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14011e658
Capabilities:
Get file system object information

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x238]
sub rsp, 0x338
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1402d18f8]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov r14d, r9d
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov word [r8], r15w
test rcx, rcx
je 0x14011e812
mov dword [rsp + 0x20], 0x800
mov r9d, 0x2b8
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x14011e812
test dword [rsp + 0x6c], 0x10000
je 0x14011e812
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x14023cfb0]
xor r8d, r8d
lea rdx, [0x14023cfa0]
lea rcx, [rsp + 0x30]
call fcn.14011ea68
test eax, eax
js 0x14011e812
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14011e812
mov qword [rsp + 0x40], r15
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x14026edb0]
call qword [rax]
test eax, eax
js 0x14011e807
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140003330
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14011e7e8
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
call qword [rax + 0x28]
test eax, eax
js 0x14011e7d7
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea r8d, [r15 + 2]
mov rdx, qword [rdi + 0x40]
call qword [rax + 0x98]
test eax, eax
js 0x14011e7d7
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
xor r9d, r9d
mov r8d, r14d
mov rdx, rsi
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14011e7d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
jmp 0x14011e814
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14011e7e8
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14011e807
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor eax, eax
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1401cf0f0
add rsp, 0x338
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret