joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018fa0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x98
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x80], rax
test byte [0x1402c03b0], 1
jne 0x1400191e7
lock bts qword [0x1402c03b0], 0x1f
setb al
test al, al
je 0x14001900d
test byte [0x1402c03b0], 1
nop
jne 0x1400191e7
xor edx, edx
lea rcx, [0x1402c03b0]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rcx, qword ds:[rsp + 0x80]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x98
ret
xor r9d, r9d
mov qword [rsp + 0x90], rbx
xor r8d, r8d
mov byte [rsp + 0x20], 0
mov edx, 0x1f0003
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtCreateEvent]
test eax, eax
js 0x140019091
mov r8, qword [rsp + 0x60]
lea rdx, [0x140018e90]
lea rcx, [rsp + 0x70]
call sym.SystemInformer.exe_PhCreateThreadEx
test eax, eax
js 0x140019086
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
call fcn.140018c60
test al, al
je 0x14001906e
lea rdx, [0x1402c03c0]
mov rcx, rbx
call fcn.140018e00
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
xor r9d, r9d
mov byte [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x60]
mov edx, 0x1f0003
call qword [sym.imp.ntdll.dll_NtCreateEvent]
test eax, eax
js 0x140019111
mov r8, qword [rsp + 0x60]
lea rdx, [0x140018ee0]
lea rcx, [rsp + 0x70]
call sym.SystemInformer.exe_PhCreateThreadEx
test eax, eax
js 0x140019106
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
call fcn.140018c60
test al, al
je 0x1400190ea
lea rdx, [0x1402c03c8]
mov rcx, rbx
call fcn.140018e00
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.14016b5c0
test eax, eax
js 0x1400191d3
mov r8, qword ds:[rsp + 0x50]
lea rdx, [0x140018f40]
lea rcx, [rsp + 0x70]
call sym.SystemInformer.exe_PhCreateThreadEx
test eax, eax
js 0x1400191bd
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
mov dword [rsp + 0x68], 0
call fcn.140018c60
nop
test al, al
je 0x140019173
lea rdx, [0x1402c03c4]
mov rcx, rbx
call fcn.140018e00
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], 0
xor r9d, r9d
mov qword [rsp + 0x38], 0
xor r8d, r8d
mov dword [rsp + 0x30], 4
xor edx, edx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [0x1402c03b0]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x98
ret
Function at 0x14001c5c0
Capabilities:
Log keystrokes via polling

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

Function at 0x14001c620
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp qword [rcx], rdx
jne 0x14001c6a5
cmp dword [rcx + 0x10], 0xffffff65
jne 0x14001c6a5
movzx eax, word ds:[rcx + 0x18]
cmp ax, 0x41
je 0x14001c672
cmp ax, 0x43
jne 0x14001c6a5
test r8b, 1
je 0x14001c6a5
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax]
test ax, ax
jns 0x14001c6a5
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_PhCopyListView
test r8b, 2
je 0x14001c6a5
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14001c6a5
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 0x140021b40
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 [0x1402bf040]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, qword [0x1402ca988]
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 0x140021c28
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 0x140021c28
mov rdx, qword ds:[rbp - 0x79]
lea rax, [rbp - 0x69]
lea r9, [0x140021c60]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
jmp 0x140021c2f
mov rax, 0xffffffffffffffff
cmp rax, 1
sete al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0xc8
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140022940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rbx, qword [0x1402ca988]
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 0x140022a32
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 0x140022a32
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140023260]
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 0x140022a32
mov rax, qword [rsp + 0x58]
mov qword [rdi], rax
mov al, 1
jmp 0x140022a34
xor al, al
mov rcx, qword ds:[rsp + 0xf8]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x100
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400260c0
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x510
mov rax, qword [0x1402bf040]
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 0x1400261c6
lea r9, [rsp + 0x80]
xor r8d, r8d
mov edx, 0x104b
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400261c6
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.1401e4160
add rsp, 0x510
pop rdi
pop rsi
pop rbx
ret
Function at 0x140048a60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0xf0
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rbx, qword [0x1402ca988]
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 0x140048b31
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 0x140048b31
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x1400482a0]
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.1401e4160
mov rbx, qword [rsp + 0x110]
add rsp, 0xf0
pop rdi
ret
Function at 0x140072220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [0x1402caad0]
mov edx, 4
mov r8d, 0x70
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xorps xmm0, xmm0
mov rsi, rax
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov qword [rax], rbx
mov qword [rax + 8], rdi
lock inc dword [rdi - 8]
xor ebx, ebx
mov eax, ebx
cmp dword [rdi], ebx
jbe 0x1400722a4
nop dword [rax]
mov rcx, qword ds:[rdi + 8]
mov edx, eax
mov rdx, qword [rcx + rdx*8]
lock inc dword [rdx]
inc eax
cmp eax, dword [rdi]
jb 0x140072290
mov rdi, qword [0x1402ca988]
lea r9, [rsp + 0x38]
mov rcx, rdi
mov qword [rsp + 0x48], 5
mov r8d, 3
mov qword [rsp + 0x50], 0xb7
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x58], rbx
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14007231e
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 0x14007231e
mov rdx, qword [rsp + 0x40]
lea r9, [0x140072b20]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rbx, rax
mov edx, 5
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, qword ds:[rsp + 0x60]
xor rcx, rsp
call fcn.1401e4160
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a5dc0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x1402bff40], 0xffffffff
mov rbx, rcx
mov ecx, dword [0x1402cfa00]
mov edi, edx
jae 0x1400a5dfb
nop
cmp ecx, 0x40
jae 0x1400a5dfb
lfence
mov r8, qword gs:[0x30]
mov rax, qword [r8 + rcx*8 + 0x1480]
jmp 0x1400a5e06
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 0x1400a5e44
nop
cmp r8, r9
jb 0x1400a5e44
cmp rdx, qword [rcx + 0x40]
ja 0x1400a5e44
lea edx, [rdi - 1]
test r8, rdx
jne 0x1400a5e44
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 0x1400baaa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, qword [0x1402ca988]
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 0x1400bab46
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 0x1400bab46
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
lea r9, [0x1400bac80]
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.1401e4160
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x1400bd960
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1402cc268]
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 0x1400bdaea
mov ecx, dword [0x1402ca2cc]
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 [0x1402ca2cc], ecx
xor r8d, r8d
mov rcx, qword [0x1402cc268]
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 [0x1402caad0]
mov dword [0x1402cb928], edi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, edi
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.14020a280
mov rcx, qword [0x1402caad0]
mov eax, esi
shl eax, 7
mov edx, 4
mov qword [0x1402cc270], rbx
mov ebx, eax
mov r8d, eax
mov dword [0x1402cc210], ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.14020a280
mov rcx, qword [0x1402cc270]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov rcx, qword [0x1402cc268]
mov edx, 0x430
mov qword [0x1402cc208], 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.1401e4160
add rsp, 0x58
ret

Function at 0x1400bdb00
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 [0x1402cc268]
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.1400bd960
Function at 0x1400bf5c0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x40
test byte [rcx + 0x718], 8
mov rbx, rcx
jne 0x1400bf6de
mov rcx, qword [rcx + 0x758]
mov qword [rsp + 0x58], rdi
mov qword [rbx + 0x758], 0
test rcx, rcx
je 0x1400bf60a
add rcx, 0xfffffffffffffff0
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400bf60a
call fcn.140141ca0
mov rax, qword [rbx + 0x70]
mov rdx, qword [rax + 0x50]
test rdx, rdx
je 0x1400bf6d2
test dword [rax + 0xd8], 0x8000
jne 0x1400bf6d2
mov rcx, qword [rbx + 0x750]
test rcx, rcx
jne 0x1400bf6a9
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 0x1400bf67a
cmp dword [0x1402bff40], 0x3e
jb 0x1400bf67a
mov rcx, rdx
call fcn.1401520c0
mov byte [rsp + 0x38], al
lea rdx, [rsp + 0x20]
lea rcx, [0x140151ae0]
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 0x1400bf6d2
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 0x1400cccc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rdi, qword [0x1402ca988]
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 0x1400ccdab
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 0x1400ccdab
mov rdx, qword ds:[rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x1400cc5e0]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, rax
jmp 0x1400ccdb2
mov rcx, 0xffffffffffffffff
test rbx, rbx
je 0x1400ccdbe
movzx eax, byte [rsp + 0x68]
mov byte [rbx], al
mov rax, rcx
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x100
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400ea560
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov rbp, rcx
call fcn.1400ea480
mov rdx, qword [0x1402ca980]
mov ecx, 0x10
call sym.SystemInformer.exe_PhCreateObject
mov rcx, qword [0x1402caad0]
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.140154680
mov qword [rsp + 0x30], rax
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
mov rcx, rax
lea r8, [rsp + 0x28]
lea rdx, [0x1400ea420]
call qword [sym.imp.USER32.dll_EnumDesktopsW]
mov rcx, qword [rsp + 0x28]
xor ebx, ebx
cmp dword [rcx], ebx
jbe 0x1400ea69f
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 0x1400ea629
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 0x1400ea686
mov rcx, qword [0x1402caad0]
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 0x1400ea610
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 0x1400ea6be
call fcn.140141ca0
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], ebx
cmp ebx, 1
mov rbx, qword [rsp + 0x58]
jne 0x1400ea6db
call fcn.140141ca0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x48
ret
Function at 0x1400feb20
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
sub rsp, 0x70
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x58], rax
test byte [rcx + 0xe8], 4
mov rsi, rcx
jne 0x1400fecac
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 0x1400feca5
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 0x1400febd5
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x1400fec79
mov rcx, qword [0x1402caad0]
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 0x1400fec5d
mov rcx, qword [0x1402caad0]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp ebx, 0x80000005
jne 0x1400fec80
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, qword [0x1402caad0]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
add ebp, 0xffffffff
jne 0x1400fec00
nop dword [rax]
test ebx, ebx
js 0x1400fec80
mov rcx, qword [0x1402caad0]
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.1401e4160
add rsp, 0x70
pop rsi
ret