joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400021c0
Capabilities:
Lock the desktop

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.USER32.dll_LockWorkStation]
test eax, eax
je 0x1400021db
mov al, 1
add rsp, 0x30
pop rdi
ret
cmp dword [0x1402c0f40], 0xffffffff
mov qword [rsp + 0x40], rbx
jae 0x1400021f7
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
jmp 0x1400021fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
test eax, eax
jne 0x14000220d
xor ecx, ecx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x140002214
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea r8, [0x14023b2dc]
mov rbx, rax
lea r9, str.Unable_to_lock_the_computer.
mov rcx, rdi
test rax, rax
je 0x140002272
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r8d, 0xfffe
call sym.SystemInformer.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000227c
nop
call fcn.140142200
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
mov edx, 0x10
call sym.SystemInformer.exe_PhShowMessage
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret

Function at 0x1400022a0
Capabilities:
Shutdown system

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x1400022bf
mov al, 1
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400022d7
xor ecx, ecx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x1400022de
mov ecx, eax
call sym.SystemInformer.exe_PhGetWin32Message
lea r8, [0x14023b2dc]
mov rbx, rax
lea r9, str.Unable_to_log_off_the_computer.
mov rcx, rdi
test rax, rax
je 0x14000233a
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r8d, 0xfffe
call sym.SystemInformer.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140002345
call fcn.140142200
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
mov edx, 0x10
call sym.SystemInformer.exe_PhShowMessage
mov rbx, qword [rsp + 0x40]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x140014680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, qword [0x1402cb8d0]
lea r9, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [r11 - 0x28], 5
movups xmmword [rsp + 0x50], xmm0
mov rdi, rcx
mov rcx, rbx
movups xmmword [rsp + 0x60], xmm0
mov qword [r11 - 0x20], 0x95
movups xmmword [rsp + 0x70], xmm0
mov qword [r11 - 0x78], rdx
lea rdx, [r11 - 0x28]
mov qword [r11 - 0x70], r8
mov r8d, 3
movups xmmword [r11 - 0x58], xmm0
mov qword [r11 - 0x18], 0
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14001474c
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x14001474c
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140014e20]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401e5e20
mov rbx, qword [rsp + 0xf8]
add rsp, 0xd0
pop rdi
ret

Function at 0x140014780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, qword [0x1402cb8d0]
lea r9, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [r11 - 0x38], 5
movups xmmword [rsp + 0x60], xmm0
xor eax, eax
mov rdi, r8
movups xmmword [rsp + 0x50], xmm0
mov rsi, rcx
mov r8d, 3
movups xmmword [rsp + 0x70], xmm0
mov rcx, rbx
mov qword [r11 - 0x30], 0x95
movups xmmword [r11 - 0x68], xmm0
mov qword [r11 - 0x28], rax
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
mov qword [rsp + 0x60], rdx
lea rdx, [r11 - 0x38]
mov qword [r11 - 0x80], rax
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14001485e
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x14001485e
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140014e20]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
cmp rax, 1
jne 0x14001485e
mov rax, qword [rsp + 0x70]
mov qword [rdi], rax
mov al, 1
jmp 0x140014860
xor al, al
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0xd0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001c640
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp qword [rcx], rdx
jne 0x14001c689
cmp dword [rcx + 0x10], 0xffffff65
jne 0x14001c689
movzx eax, word ds:[rcx + 0x18]
cmp ax, 0x41
je 0x14001c689
cmp ax, 0x43
jne 0x14001c689
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14001c689
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_PhCopyListView
add rsp, 0x20
pop rbx
ret

Function at 0x14001c6a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp qword [rcx], rdx
jne 0x14001c725
cmp dword [rcx + 0x10], 0xffffff65
jne 0x14001c725
movzx eax, word ds:[rcx + 0x18]
cmp ax, 0x41
je 0x14001c6f2
cmp ax, 0x43
jne 0x14001c725
test r8b, 1
je 0x14001c725
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax]
test ax, ax
jns 0x14001c725
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_PhCopyListView
test r8b, 2
je 0x14001c725
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14001c725
mov edx, 2
mov rcx, rbx
mov r8d, edx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_PhSetStateAllListViewItems
add rsp, 0x20
pop rbx
ret
Function at 0x140021a40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xf]
sub rsp, 0xc8
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, qword [0x1402cb8d0]
mov rax, r8
mov r8, qword [rbp + 0x6f]
xor esi, esi
mov r10, qword [rbp + 0x77]
mov rdi, rcx
mov rcx, qword [rbp + 0x5f]
mov r11, qword [rbp + 0x7f]
mov qword [rbp - 0x61], rax
mov eax, dword [rbp + 0x57]
mov dword [rbp - 0x51], eax
mov eax, dword [rbp + 0x67]
mov qword [rbp - 0x69], rdx
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x59], r9
lea r9, [rsp + 0x38]
mov qword [rbp - 0x49], rcx
mov rcx, rbx
mov qword [rbp - 0x39], r8
mov r8d, 3
mov dword [rbp - 0x41], eax
mov dword [rbp - 0x4d], esi
mov dword [rbp - 0x3d], esi
mov qword [rbp - 0x21], rsi
mov qword [rbp - 0x31], r10
mov qword [rbp - 0x29], r11
mov qword [rbp - 0x19], 5
mov qword [rbp - 0x11], 0x9b
mov qword [rbp - 9], rsi
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
nop dword [rax]
test eax, eax
js 0x140021b28
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x79]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
nop
test eax, eax
js 0x140021b28
mov rdx, qword ds:[rbp - 0x79]
lea rax, [rbp - 0x69]
lea r9, [0x140021b60]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
jmp 0x140021b2f
mov rax, 0xffffffffffffffff
cmp rax, 1
sete al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0xc8
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140022840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rbx, qword [0x1402cb8d0]
lea r9, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [r11 - 0x38], 5
movaps xmmword [rsp + 0x60], xmm0
xor eax, eax
movaps xmmword [rsp + 0x70], xmm0
mov rdi, r8
movaps xmmword [rsp + 0x80], xmm0
mov rsi, rcx
movaps xmmword [rsp + 0x90], xmm0
mov r8d, 3
movaps xmmword [r11 - 0x78], xmm0
mov rcx, rbx
movaps xmmword [r11 - 0x68], xmm0
movaps xmmword [r11 - 0x58], xmm0
movaps xmmword [r11 - 0x48], xmm0
mov qword [rsp + 0x50], rdx
lea rdx, [r11 - 0x38]
mov qword [rsp + 0x58], rax
mov qword [r11 - 0x30], 0xbe
mov qword [r11 - 0x28], rax
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x140022932
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x140022932
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140023160]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
nop word [rax + rax]
cmp rax, 1
jne 0x140022932
mov rax, qword [rsp + 0x58]
mov qword [rdi], rax
mov al, 1
jmp 0x140022934
xor al, al
mov rcx, qword ds:[rsp + 0xf8]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0x100
pop rdi
pop rsi
pop rbx
ret
Function at 0x140025fe0
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x510
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov rbx, rcx
mov dword [rsp + 0x24], edx
xor ecx, ecx
mov dword [rsp + 0x84], r8d
lea rax, [rsp + 0xe0]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x20]
mov dword [rsp + 0x88], ecx
lea rax, [rsp + 0x2f0]
mov esi, r8d
mov qword [rsp + 0x98], rax
mov edi, edx
mov dword [rsp + 0x20], 0xd
mov rcx, rbx
mov dword [rsp + 0x30], 0xffffffff
xor r8d, r8d
mov dword [rsp + 0x40], 0x208
mov edx, 0x104b
mov dword [rsp + 0x80], 0xd
mov dword [rsp + 0x90], 0xffffffff
mov dword [rsp + 0xa0], 0x208
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400260e6
lea r9, [rsp + 0x80]
xor r8d, r8d
mov edx, 0x104b
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400260e6
lea r9, [rsp + 0x20]
mov dword [rsp + 0x24], esi
xor r8d, r8d
mov dword [rsp + 0x84], edi
mov edx, 0x104c
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, ds:[rsp + 0x80]
xor r8d, r8d
mov edx, 0x104c
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0x510
pop rdi
pop rsi
pop rbx
ret
Function at 0x140048ac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0xf0
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rbx, qword [0x1402cb8d0]
lea r9, [rsp + 0x38]
xorps xmm0, xmm0
mov qword [r11 - 0x28], 5
movups xmmword [rsp + 0x5c], xmm0
xor eax, eax
mov rdi, rcx
movups xmmword [rsp + 0x6c], xmm0
mov r8d, 3
mov rcx, rbx
movups xmmword [rsp + 0x7c], xmm0
mov dword [r11 - 0x2c], eax
movups xmmword [r11 - 0x6c], xmm0
mov qword [r11 - 0x20], 0x81
movups xmmword [r11 - 0x5c], xmm0
mov qword [r11 - 0x18], rax
movups xmmword [r11 - 0x4c], xmm0
movups xmmword [r11 - 0x3c], xmm0
mov qword [rsp + 0x50], rdx
lea rdx, [r11 - 0x28]
mov dword [rsp + 0x58], eax
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x140048b91
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x140048b91
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140048300]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, qword ds:[rsp + 0xe8]
xor rcx, rsp
call fcn.1401e5e20
mov rbx, qword [rsp + 0x110]
add rsp, 0xf0
pop rdi
ret
Function at 0x1400a5b20
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x1402c0f40], 0xffffffff
mov rbx, rcx
mov ecx, dword [0x1402d0960]
mov edi, edx
jae 0x1400a5b5b
nop
cmp ecx, 0x40
jae 0x1400a5b5b
lfence
mov r8, qword gs:[0x30]
mov rax, qword [r8 + rcx*8 + 0x1480]
jmp 0x1400a5b66
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, qword [rax]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx]
mov r9, qword [rcx + 0x38]
add r8, r9
add rdx, r8
cmp rdx, r8
jb 0x1400a5ba4
nop
cmp r8, r9
jb 0x1400a5ba4
cmp rdx, qword [rcx + 0x40]
ja 0x1400a5ba4
lea edx, [rdi - 1]
test r8, rdx
jne 0x1400a5ba4
lfence
mov rax, r8
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x1400ba860
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, qword [0x1402cb8d0]
lea r9, [r11 - 0x50]
xor eax, eax
mov qword [r11 - 0x40], rdx
mov rdi, rcx
mov qword [r11 - 0x38], rax
mov rcx, rbx
mov qword [r11 - 0x30], 5
mov r8d, 3
mov qword [r11 - 0x28], 0xbd
lea rdx, [r11 - 0x30]
mov qword [r11 - 0x20], rax
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
nop dword [rax]
test eax, eax
js 0x1400ba906
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
nop
test eax, eax
js 0x1400ba906
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
lea r9, [0x1400baa40]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401e5e20
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x1400bd720
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1402cd1b8]
lea r9, [rsp + 0x38]
mov edx, 0x433
mov dword [rsp + 0x38], 5
mov r8d, 4
mov dword [rsp + 0x3c], 0x4b
mov dword [rsp + 0x40], 0x56
mov dword [rsp + 0x44], 0x61
call qword [sym.imp.USER32.dll_SendMessageW]
test al, al
je 0x1400bd8aa
mov ecx, dword [0x1402cb228]
mov edx, 0x41e
mov eax, ecx
mov qword [rsp + 0x60], rbx
btr ecx, 0xd
mov qword [rsp + 0x68], rsi
bts eax, 0xd
mov qword [rsp + 0x50], rdi
cmp dword [rsp + 0x38], 0
cmovne ecx, eax
mov eax, ecx
btr ecx, 0x13
bts eax, 0x13
cmp dword [rsp + 0x3c], 0
cmovne ecx, eax
mov eax, ecx
btr ecx, 0x14
bts eax, 0x14
cmp dword [rsp + 0x40], 0
cmovne ecx, eax
mov eax, ecx
btr ecx, 0x15
bts eax, 0x15
cmp dword [rsp + 0x44], 0
cmovne ecx, eax
xor r9d, r9d
mov dword [0x1402cb228], ecx
xor r8d, r8d
mov rcx, qword [0x1402cd1b8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
mov edx, 4
shl ecx, 4
mov rsi, rax
mov edi, ecx
mov r8d, ecx
mov rcx, qword [0x1402cba10]
mov dword [0x1402cc878], edi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, edi
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.14020ba80
mov rcx, qword [0x1402cba10]
mov eax, esi
shl eax, 7
mov edx, 4
mov qword [0x1402cd1c0], rbx
mov ebx, eax
mov r8d, eax
mov dword [0x1402cd160], ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.14020ba80
mov rcx, qword [0x1402cd1c0]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov rcx, qword [0x1402cd1b8]
mov edx, 0x430
mov qword [0x1402cd158], rdi
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x30], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0x58
ret

Function at 0x1400bd8c0
Capabilities:
Get graphical window text

Disassembly:
push rbx
sub rsp, 0x30
lea rax, str.EnableInstantTooltips
mov qword [rsp + 0x20], 0x2a
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
call sym.SystemInformer.exe_PhGetIntegerStringRefSetting
mov rcx, qword [0x1402cd1b8]
neg eax
mov edx, 0x41b
sbb rbx, rbx
xor r9d, r9d
xor r8d, r8d
neg rbx
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rbx - 1]
mov edx, 0x403
mov rcx, rax
mov r8d, 3
call qword [sym.imp.USER32.dll_SendMessageW]
add rsp, 0x30
pop rbx
jmp fcn.1400bd720
Function at 0x1400bf380
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x40
test byte [rcx + 0x718], 8
mov rbx, rcx
jne 0x1400bf49e
mov rcx, qword [rcx + 0x758]
mov qword [rsp + 0x58], rdi
mov qword [rbx + 0x758], 0
test rcx, rcx
je 0x1400bf3ca
add rcx, 0xfffffffffffffff0
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400bf3ca
call fcn.140142200
mov rax, qword [rbx + 0x70]
mov rdx, qword [rax + 0x50]
test rdx, rdx
je 0x1400bf492
test dword [rax + 0xd8], 0x8000
jne 0x1400bf492
mov rcx, qword [rbx + 0x750]
test rcx, rcx
jne 0x1400bf469
mov rax, qword ds:[rbx + 0x68]
xorps xmm0, xmm0
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x50], rdx
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x39], 1
movups xmmword [rsp + 0x20], xmm0
test rdx, rdx
je 0x1400bf43a
cmp dword [0x1402c0f40], 0x3e
jb 0x1400bf43a
mov rcx, rdx
call fcn.140152820
mov byte [rsp + 0x38], al
lea rdx, [rsp + 0x20]
lea rcx, [0x140152240]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
test rax, rax
cmovne rcx, rax
mov qword [rbx + 0x750], rcx
test rcx, rcx
je 0x1400bf492
lea r8, [rbx + 0x758]
mov edx, 1
call sym.SystemInformer.exe_PhGetWindowTextEx
mov rcx, qword [rbx + 0x750]
call qword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
setne al
mov byte [rbx + 0x760], al
or dword [rbx + 0x718], 8
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop rbx
ret
Function at 0x1400cca80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rdi, qword [0x1402cb8d0]
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x140]
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov rsi, rcx
mov rcx, rdi
movups xmmword [rsp + 0x78], xmm0
mov qword [r11 - 0x38], 5
movups xmmword [rsp + 0x88], xmm0
mov qword [r11 - 0x40], rax
movups xmmword [r11 - 0x80], xmm0
mov qword [r11 - 0x30], 0xdd
movups xmmword [r11 - 0x70], xmm0
mov qword [r11 - 0x28], rax
movups xmmword [r11 - 0x60], xmm0
movups xmmword [r11 - 0x50], xmm0
mov qword [rsp + 0x50], rdx
lea rdx, [r11 - 0x38]
mov qword [rsp + 0x58], r8
mov r8d, 3
mov qword [rsp + 0x60], r9
lea r9, [rsp + 0x38]
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x1400ccb6b
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x1400ccb6b
mov rdx, qword ds:[rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x1400cc3a0]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, rax
jmp 0x1400ccb72
mov rcx, 0xffffffffffffffff
test rbx, rbx
je 0x1400ccb7e
movzx eax, byte [rsp + 0x68]
mov byte [rbx], al
mov rax, rcx
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0x100
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400ea480
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov rbp, rcx
call fcn.1400ea3a0
mov rdx, qword [0x1402cb8c8]
mov ecx, 0x10
call sym.SystemInformer.exe_PhCreateObject
mov rcx, qword [0x1402cba10]
mov edx, 4
mov r8d, 0x50
mov rbx, rax
mov dword [rax], 0
mov dword [rax + 4], 0xa
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbx + 8], rax
mov qword [rsp + 0x28], rbx
call fcn.140154de0
mov qword [rsp + 0x30], rax
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
mov rcx, rax
lea r8, [rsp + 0x28]
lea rdx, [0x1400ea340]
call qword [sym.imp.USER32.dll_EnumDesktopsW]
mov rcx, qword [rsp + 0x28]
xor ebx, ebx
cmp dword [rcx], ebx
jbe 0x1400ea5bf
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x40], rdi
nop word [rax + rax]
mov rax, qword [rcx + 8]
lea rdi, [rbx*8]
mov r9, qword [rdi + rax]
test r9, r9
je 0x1400ea549
mov r9, qword [r9 + 8]
xor r8d, r8d
mov edx, 0x143
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
cmp eax, 0xffffffff
je 0x1400ea5a6
mov rcx, qword [0x1402cba10]
mov edx, 4
mov r8d, 8
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword ds:[rsp + 0x28]
mov r9, rax
movsxd r8, esi
mov rdx, qword [rcx + 8]
mov rcx, qword [rdi + rdx]
mov edx, 0x151
mov qword [rax], rcx
mov rcx, rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x28]
inc ebx
cmp ebx, dword [rcx]
jb 0x1400ea530
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x68]
mov ebx, 0xffffffff
add rcx, 0xfffffffffffffff0
mov eax, ebx
lock xadd dword [rcx + 8], eax
mov rbp, qword [rsp + 0x60]
cmp eax, 1
jne 0x1400ea5de
call fcn.140142200
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], ebx
cmp ebx, 1
mov rbx, qword [rsp + 0x58]
jne 0x1400ea5fb
call fcn.140142200
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0x48
ret
Function at 0x1400feb80
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
sub rsp, 0x70
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0x58], rax
test byte [rcx + 0xe8], 4
mov rsi, rcx
jne 0x1400fed0c
mov r8, qword [rcx + 0x58]
mov edx, 1
lea rcx, [rsp + 0x38]
mov r8, qword [r8 + 0x10]
call sym.SystemInformer.exe_PhOpenServiceKey
nop dword [rax]
test eax, eax
js 0x1400fed05
mov qword [rsp + 0x90], rbp
lea r8, [rsp + 0x40]
xor eax, eax
mov qword [rsp + 0x60], r14
mov r14, qword [rsp + 0x38]
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
mov ebp, 0x10
mov dword [rsp + 0x34], eax
mov rcx, r14
lea rax, [rsp + 0x34]
mov qword [rsp + 0x88], rbx
mov r9d, ebp
mov qword [rsp + 0x20], rax
xor edx, edx
mov qword [rsp + 0x68], rdi
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.ntdll.dll_NtQueryKey]
nop dword [rax]
cmp eax, 0x80000005
jne 0x1400fec35
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x1400fecd9
mov rcx, qword [0x1402cba10]
mov edx, 4
mov r8d, 0x100
mov dword [rsp + 0x30], 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
nop dword [rax + rax]
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov r8, rdi
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtQueryKey]
mov ebx, eax
test eax, eax
jns 0x1400fecbd
mov rcx, qword [0x1402cba10]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp ebx, 0x80000005
jne 0x1400fece0
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, qword [0x1402cba10]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
add ebp, 0xffffffff
jne 0x1400fec60
nop dword [rax]
test ebx, ebx
js 0x1400fece0
mov rcx, qword [0x1402cba10]
mov r8, rdi
mov rbx, qword [rdi]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [rsi + 0xc8], rbx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntdll.dll_NtClose]
mov r14, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
or dword [rsi + 0xe8], 4
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0x70
pop rsi
ret