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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r15, rdx
mov qword [rax + 8], rbx
mov rdi, rcx
mov rax, qword [rcx]
call qword [rax + 0x370]
mov edx, dword [0x140296874]
lea r8, [rsp + 0x50]
or ecx, 0xffffffff
and al, 0x80
mov rax, qword [rdi]
cmovne edx, ecx
mov rcx, rdi
call qword [rax + 0x568]
mov rdx, qword [rsp + 0x50]
lea rcx, str.CDockablePane
mov ebp, eax
call fcn.14003eb94
mov rsi, rax
cmp rax, rdi
je 0x1400cc7a4
lea ecx, [rbx + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400cc7a4
test rsi, rsi
je 0x1400cc749
mov r8, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [r8 + 0x450]
mov rdx, rax
lea rcx, str.Hp__
call fcn.14003eb94
mov r14, rax
jmp 0x1400cc74c
mov r14, rbx
cmp ebp, 2
jne 0x1400cc7bf
test r14, r14
je 0x1400cc789
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x380]
test al, 0x40
je 0x1400cc7a4
cmp qword [rsp + 0x50], rbx
je 0x1400cc789
mov rax, qword [r14]
mov rdx, rdi
mov rcx, r14
call qword [rax + 0x498]
test eax, eax
mov rax, rdi
sete bl
mov dword [r15], ebx
jmp 0x1400cc7a6
mov rax, qword [rdi]
mov r9d, 5
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x3f0]
mov dword [r15], eax
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
cmp ebp, 3
jne 0x1400cc7a4
test rsi, rsi
je 0x1400cc7a4
mov rax, qword [rsi]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x308]
test eax, eax
je 0x1400cc7a4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x318]
test eax, eax
je 0x1400cc7a4
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x480]
mov rax, qword [rdi]
lea r9d, [rbp - 2]
lea r8d, [rbp + 2]
mov qword [rsp + 0x20], rbx
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x698]
test rax, rax
setne bl
mov dword [r15], ebx
jmp 0x1400cc7a6
Function at 0x1400ceef8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rsi, rcx
mov edx, dword [0x1402a8d28]
mov rdi, r8
mov ecx, 4
mov rdx, qword [rax + rdx*8]
mov eax, dword [rcx + rdx]
cmp dword [0x1402a5560], eax
jle 0x1400cef7f
lea rcx, [0x1402a5560]
call fcn.1401a5ec0
cmp dword [0x1402a5560], 0xffffffff
jne 0x1400cef7f
call fcn.1400157c0
mov rcx, rax
test rax, rax
je 0x1400cf04e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
lea rcx, [0x1401e2970]
mov qword [0x1402a5558], rax
call fcn.1401a5a64
lea rcx, [0x1402a5560]
call fcn.1401a5e60
test rdi, rdi
je 0x1400cf059
mov rax, qword [rsi + 0x4b8]
test rax, rax
je 0x1400cf03c
cmp qword [rax + 0x40], 0
je 0x1400cf03c
test rax, rax
je 0x1400cefac
mov rax, qword [rax + 0x40]
cmp qword [rdi], rax
jne 0x1400cf03c
mov rax, qword [rdi + 8]
sub rax, 1
je 0x1400cf003
sub rax, 1
je 0x1400cefd2
cmp rax, 1
jne 0x1400cf03c
mov ebx, 0x428e
jmp 0x1400cf008
mov ecx, 0x11
mov ebx, 0x3ea1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1400cf008
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x680]
test eax, eax
je 0x1400cf008
mov ebx, 0x3ea4
jmp 0x1400cf008
mov ebx, 0x3ea0
mov ecx, ebx
call fcn.14002f144
test rax, rax
je 0x1400cf05f
mov r8d, ebx
lea rcx, [0x1402a5558]
mov rdx, rax
call fcn.140010430
test eax, eax
je 0x1400cf05f
mov rax, qword [0x1402a5558]
mov qword [rdi + 0x18], rax
mov eax, 1
jmp 0x1400cf03e
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80004005
call fcn.14000d27c
int3
call fcn.14001461c
int3
call fcn.14001461c
int3
Function at 0x1400d0f88
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 [0x1402a55d8]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14029ebe4]
test eax, eax
je 0x1400d0fd3
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14029ebe4]
test eax, eax
jne 0x1400d0fdc
call fcn.1400196c4
test eax, eax
je 0x1400d0ff8
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140296478]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400d1000
xor eax, eax
jmp 0x1400d105d
test rbx, rbx
jne 0x1400d1020
lea rcx, str.ImageList_Destroy
call fcn.14002a82c
mov rbx, rax
test rax, rax
je 0x1400d102b
mov qword [0x1402a55d8], 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 0x1400d1040
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400d1042
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400d105b
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
sub rsp, 0x28
cmp qword [rcx + 8], 0
jne 0x140106a0a
xor eax, eax
add rsp, 0x28
ret
call fcn.140106a1c
mov rcx, rax
add rsp, 0x28
jmp 0x1400d0f88

Function at 0x1400dd988
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 0x1400dd9b1
mov rdi, qword [rdx + 0x10]
jmp 0x1400dda02
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 0x1400dd9d2
call fcn.140016b2c
mov rcx, qword [rbx + 8]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
jne 0x1400dd9ec
call fcn.140016b2c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
test rax, rax
jne 0x1400dda02
call fcn.140016b2c
call fcn.1400314cc
cmp qword [rax + 0x68], 0
je 0x1400dda1c
mov rdx, rdi
mov rcx, rbp
call fcn.1400dce9c
mov rdi, rax
mov edx, esi
mov rcx, rdi
call fcn.1400ddc80
mov rcx, qword [rbp + 0xf8]
mov rsi, rax
test rcx, rcx
je 0x1400dda43
call qword [sym.imp.KERNEL32.dll_GlobalFree]
and qword [rbp + 0xf8], 0
test rsi, rsi
je 0x1400dda52
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 0x1400dddf0
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 [0x1402a5878]
and qword [rax + 8], rbx
xor esi, esi
mov eax, dword [0x14029ebe4]
test eax, eax
je 0x1400dde3c
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14029ebe4]
test eax, eax
jne 0x1400dde45
call fcn.1400196c4
test eax, eax
je 0x1400dde61
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140296478]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400dde6c
xor eax, eax
jmp 0x1400ddef0
test r14, r14
jne 0x1400dde89
lea rcx, str.CreatePropertySheetPageW
call fcn.1400de0ec
test rax, rax
je 0x1400ddebb
mov qword [0x1402a5878], rax
mov eax, dword [rdi + 4]
mov ecx, 0x4000
test ecx, eax
jne 0x1400ddeaa
cmp dword [rdi], 0x60
jb 0x1400ddeaa
or eax, ecx
mov dword [rdi + 4], eax
mov rax, qword [0x140296478]
mov qword [rdi + 0x58], rax
mov rcx, rdi
call qword [0x1402a5878]
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edi, edi
test rbx, rbx
sete dil
test edi, edi
je 0x1400dded2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400dded4
xor esi, esi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test edi, edi
je 0x1400ddeed
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 0x1400ddf08
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 [0x1402a5880]
and qword [rax + 0x10], rdi
xor esi, esi
mov eax, dword [0x14029ebe4]
test eax, eax
je 0x1400ddf53
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14029ebe4]
test eax, eax
jne 0x1400ddf5c
call fcn.1400196c4
test eax, eax
je 0x1400ddf78
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140296478]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400ddf80
xor eax, eax
jmp 0x1400ddfdd
test rbx, rbx
jne 0x1400ddfa0
lea rcx, str.DestroyPropertySheetPage
call fcn.1400de0ec
mov rbx, rax
test rax, rax
je 0x1400ddfab
mov qword [0x1402a5880], 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 0x1400ddfc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400ddfc2
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400ddfdb
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 0x1400ddff4
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 [0x1402a5888]
and qword [rax + 0x10], 0
xor esi, esi
mov eax, dword [0x14029ebe4]
test eax, eax
je 0x1400de043
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14029ebe4]
test eax, eax
jne 0x1400de04c
call fcn.1400196c4
test eax, eax
je 0x1400de068
lea rdx, [rsp + 0x48]
mov rcx, qword [0x140296478]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne esi, ecx
test esi, esi
jne 0x1400de072
or rax, 0xffffffffffffffff
jmp 0x1400de0d4
test rbx, rbx
jne 0x1400de092
lea rcx, str.PropertySheetW
call fcn.1400de0ec
mov rbx, rax
test rax, rax
je 0x1400de09f
mov qword [0x1402a5888], 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 0x1400de0b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400de0b8
xor esi, esi
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x1400de0d1
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 0x1400dfdc4
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xd40]
sub rsp, 0xe40
mov rax, qword [0x1402979c0]
xor rax, rsp
mov qword [rbp + 0xd30], rax
xor ebx, ebx
mov esi, r9d
mov rdi, r8
mov r10, rdx
test rdx, rdx
je 0x1400dffba
test r8, r8
je 0x1400dffc0
mov qword [rbp + 0x170], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x160], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x30], xmm1
mov ecx, r9d
mov qword [rsp + 0x40], rbx
test r9d, r9d
je 0x1400dff78
sub ecx, 1
je 0x1400dfe4c
sub ecx, 1
je 0x1400dfef8
cmp ecx, 1
jne 0x1400dff96
mov rcx, qword [r10 + 8]
lea rdx, [rbp + 0x910]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400dff73
xor r8d, r8d
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x910]
call fcn.1400d9058
test eax, eax
je 0x1400dff73
mov rcx, qword [rdi + 8]
lea rdx, [rbp + 0xb20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400dff6c
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xb20]
call fcn.1400d9058
test eax, eax
je 0x1400dff6c
cmp esi, 1
jne 0x1400dff59
test byte [rbp + 0x180], 0x10
jne 0x1400dff73
test byte [rsp + 0x50], 0x10
jne 0x1400dff6c
mov rax, qword [rbp + 0x178]
cmp rax, qword [rsp + 0x48]
seta bl
or ecx, 0xffffffff
cmp rax, qword [rsp + 0x48]
cmovb ebx, ecx
jmp 0x1400dff96
mov rcx, qword [r10 + 8]
lea r8, [rbp + 0x650]
mov esi, 0x408
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], esi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400dff96
mov rcx, qword [rdi + 8]
lea r8, [rbp + 0x390]
mov r9d, 0x2b8
mov dword [rsp + 0x20], esi
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400dff96
lea rdx, [rbp + 0x5a8]
lea rcx, [rbp + 0x868]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, eax
jmp 0x1400dff96
mov rax, qword [rbp + 0x168]
cmp rax, qword [rsp + 0x38]
jl 0x1400dff73
setg bl
jmp 0x1400dff96
mov ebx, 1
jmp 0x1400dff96
or ebx, 0xffffffff
jmp 0x1400dff96
mov rcx, qword [rdx]
mov r9, qword [r8 + 0x10]
mov r8, qword [rdx + 0x10]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
jns 0x1400dff93
xor eax, eax
jmp 0x1400dff98
movsx ebx, ax
mov eax, ebx
mov rcx, qword [rbp + 0xd30]
xor rcx, rsp
call fcn.1401a61b0
mov rbx, qword [rsp + 0xe60]
add rsp, 0xe40
pop rdi
pop rsi
pop rbp
ret
call fcn.14001461c
int3
call fcn.14001461c
int3
Function at 0x140107184
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, r9d
mov r15d, r8d
mov r12, rdx
mov r13, rcx
xor esi, esi
mov qword [rax - 0x20], rsi
mov rbx, qword [0x1402a5d78]
and qword [rax - 0x28], rsi
xor edi, edi
mov eax, dword [0x14029ebe4]
test eax, eax
je 0x1401071e1
lea rcx, str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x14029ebe4]
test eax, eax
jne 0x1401071ea
call fcn.1400196c4
test eax, eax
je 0x140107206
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140296478]
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov ecx, 1
test eax, eax
cmovne edi, ecx
test edi, edi
jne 0x140107211
xor eax, eax
jmp 0x14010729c
test rbx, rbx
jne 0x140107231
lea rcx, str.ImageList_LoadImageW
call fcn.14002a82c
mov rbx, rax
test rax, rax
je 0x140107268
mov qword [0x1402a5d78], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov r8d, r15d
mov rdx, r12
mov rcx, r13
call rbx
mov rsi, rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
test rsi, rsi
sete bl
test ebx, ebx
je 0x14010727e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140107280
xor edi, edi
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_DeactivateActCtx]
test ebx, ebx
je 0x140107299
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret

Function at 0x14011adcc
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 0x14011af04
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 0x14011af46
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 0x14011b354
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 0x14011b426
test rbx, rbx
je 0x14011b42c
test r9, r9
je 0x14011b432
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 0x14011b40f
cmp dword [rsp + 0x48], 3
jne 0x14011b40f
test eax, eax
jne 0x14011b40f
cmp dword [rdi], eax
je 0x14011b40f
mov ecx, dword [rdi]
call fcn.1400145f0
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 0x14011b403
cmp dword [rsp + 0x48], 3
jne 0x14011b403
test eax, eax
jne 0x14011b403
mov eax, 1
jmp 0x14011b411
mov rcx, qword [rbx]
call fcn.1400145e8
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.14001461c
int3
call fcn.14001461c
int3
call fcn.14001461c
int3

Function at 0x14011b6f0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14011b701
xor eax, eax
jmp 0x14011b72f
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 0x14011b738
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x14011b749
xor eax, eax
jmp 0x14011b76d
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 0x14011cdb0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov ebx, ecx
cmp dword [0x140296a58], edi
je 0x14011ceb9
cmp dword [0x140296e90], 0xfffffffe
jne 0x14011ce9e
cmp ecx, 0xffffffff
je 0x14011ceb9
mov edx, dword [0x1402a8d28]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov ecx, dword [rcx + rax]
cmp dword [0x1402a6338], ecx
jle 0x14011ce3c
lea rcx, [0x1402a6338]
call fcn.1401a5ec0
cmp dword [0x1402a6338], 0xffffffff
jne 0x14011ce3c
lea rcx, [0x1402a6300]
call fcn.1400590e4
lea rcx, [0x1401e2ac8]
call fcn.1401a5a64
lea rcx, [0x1402a6338]
call fcn.1401a5e60
lea rcx, [0x1402a6310]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1402a62d8], rdi
jne 0x14011cec4
xor r8d, r8d
lea rcx, [0x14011cecc]
xor edx, edx
call fcn.1401b63ac
mov qword [0x1402a62d8], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14011ce88
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x140296e90], ebx
jmp 0x14011ce8f
mov qword [0x1402a62d8], rdi
lea rcx, [0x1402a6310]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14011ceb9
mov rax, qword [0x1402a62d8]
cmp ecx, 0xffffffff
mov dword [0x140296e90], ecx
cmove rax, rdi
mov qword [0x1402a62d8], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
call fcn.14001461c
int3
Function at 0x140125a80
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 0x140125c4f
je 0x140125c75
cmp eax, 0xa1
jb 0x140125cc5
cmp eax, 0xa2
jbe 0x140125c75
cmp eax, 0xa3
jbe 0x140125cc5
cmp eax, 0xa5
jbe 0x140125c75
cmp eax, 0xa6
jbe 0x140125cc5
cmp eax, 0xa8
jbe 0x140125c75
cmp eax, 0x100
jne 0x140125cc5
cmp dword [rbx + 0x154], 0xffffffff
je 0x140125c75
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x140125c75
mov rax, qword [rbp + 0x10]
sub rax, 0x21
je 0x140125bd0
cmp rax, 1
jne 0x140125c75
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx + 1]
add ecx, dword [rbx + 0x150]
cmp ebp, ecx
jge 0x140125bc6
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 0x140125b7f
mov eax, dword [rbx + 0x150]
inc ebp
add eax, dword [rbx + 0x154]
cmp ebp, eax
jl 0x140125b4f
jmp 0x140125bc6
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.14003bab8
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 0x140125cf3
mov ecx, dword [rbx + 0x154]
lea ebp, [rcx - 1]
add ebp, dword [rbx + 0x150]
cmp ebp, ecx
jle 0x140125bc6
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 0x140125c0b
dec ebp
cmp ebp, dword [rbx + 0x154]
jg 0x140125be3
jmp 0x140125bc6
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.14003bab8
mov rax, qword [rbx]
mov rcx, rbx
mov edx, dword [rbx + 0x154]
call qword [rax + 0x4e0]
jmp 0x140125bc0
cmp eax, 0x200
jb 0x140125cc5
cmp eax, 0x202
jbe 0x140125c75
cmp eax, 0x203
jbe 0x140125cc5
cmp eax, 0x205
jbe 0x140125c75
add eax, 0xfffffdf9
cmp eax, 1
ja 0x140125cc5
mov rcx, qword [rbx + 0x1c0]
mov r14d, 0x407
test rcx, rcx
je 0x140125ca0
cmp qword [rcx + 0x40], rdi
je 0x140125ca0
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 0x140125cc5
cmp qword [rcx + 0x40], rdi
je 0x140125cc5
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 0x140125ce8
lea rax, [rbx + 0x3208]
test rax, rax
je 0x140125cde
mov rdi, qword [rax + 0x40]
cmp qword [rbp], rdi
je 0x140125bc6
mov rdx, rbp
mov rcx, rbx
call fcn.1400a0a78
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret