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

Disassembly:
sub rsp, 0x98
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0x88], rax
test byte [0x1402bb3a0], 1
jne 0x140017605
lock bts qword [0x1402bb3a0], 0x1f
jae 0x140017425
test byte [0x1402bb3a0], 1
jne 0x140017605
xor edx, edx
lea rcx, [0x1402bb3a0]
call sym.SystemInformer.exe_QifWaitForEvent
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401e0100
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 + 0x68]
call qword [sym.imp.ntdll.dll_NtCreateEvent]
test eax, eax
js 0x1400174aa
mov r8, qword ds:[rsp + 0x68]
lea rdx, [0x1400172b0]
lea rcx, [rsp + 0x50]
call sym.SystemInformer.exe_QiCreateThreadEx
test eax, eax
js 0x14001749f
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1400170a0
test al, al
je 0x140017489
lea rdx, [0x1402bb3b0]
mov rcx, rbx
call fcn.140017220
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
xor r9d, r9d
mov byte [rsp + 0x20], 0
xor r8d, r8d
lea rcx, [rsp + 0x68]
mov edx, 0x1f0003
call qword [sym.imp.ntdll.dll_NtCreateEvent]
test eax, eax
js 0x14001752a
mov r8, qword ds:[rsp + 0x68]
lea rdx, [0x140017300]
lea rcx, [rsp + 0x50]
call sym.SystemInformer.exe_QiCreateThreadEx
test eax, eax
js 0x14001751f
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1400170a0
test al, al
je 0x140017509
lea rdx, [0x1402bb3b8]
mov rcx, rbx
call fcn.140017220
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.ntdll.dll_NtSetEvent]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtClose]
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call fcn.14016a6e0
nop dword [rax]
test eax, eax
js 0x1400175f1
mov r8, qword [rsp + 0x58]
lea rdx, [0x140017360]
lea rcx, [rsp + 0x50]
call sym.SystemInformer.exe_QiCreateThreadEx
nop
test eax, eax
js 0x1400175d6
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
mov dword [rsp + 0x70], 0
call fcn.1400170a0
test al, al
je 0x14001758c
lea rdx, [0x1402bb3b4]
mov rcx, rbx
call fcn.140017220
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x70]
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 + 0x78]
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 ds:[rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [0x1402bb3a0]
call sym.SystemInformer.exe_QifSetEvent
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0x98
ret
Function at 0x14001a9c0
Capabilities:
Log keystrokes via polling

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

Function at 0x14001aa20
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp qword [rcx], rdx
jne 0x14001aaa5
cmp dword [rcx + 0x10], 0xffffff65
jne 0x14001aaa5
movzx eax, word ds:[rcx + 0x18]
cmp ax, 0x41
je 0x14001aa72
cmp ax, 0x43
jne 0x14001aaa5
test r8b, 1
je 0x14001aaa5
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax]
test ax, ax
jns 0x14001aaa5
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_QiCopyListView
test r8b, 2
je 0x14001aaa5
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x14001aaa5
mov edx, 2
mov rcx, rbx
mov r8d, edx
add rsp, 0x20
pop rbx
jmp sym.SystemInformer.exe_QiSetStateAllListViewItems
add rsp, 0x20
pop rbx
ret
Function at 0x14001fd30
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 [0x1402ba040]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, qword [0x1402c4fc8]
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
lea r8d, [rsi + 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]
test eax, eax
js 0x14001fe0e
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x79]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x14001fe0e
mov rdx, qword [rbp - 0x79]
lea rax, [rbp - 0x69]
lea r9, [0x14001fe40]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
jmp 0x14001fe15
mov rax, 0xffffffffffffffff
cmp rax, 1
sete al
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0xc8
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140020b00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rbx, qword [0x1402c4fc8]
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 rcx, rbx
movaps xmmword [r11 - 0x78], xmm0
lea r8d, [rax + 3]
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 0x140020bea
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 0x140020bea
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140021440]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
cmp rax, 1
jne 0x140020bea
mov rax, qword [rsp + 0x58]
mov qword [rdi], rax
mov al, 1
jmp 0x140020bec
xor al, al
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0x100
pop rdi
pop rsi
pop rbx
ret
Function at 0x140024260
Capabilities:
Get graphical window text

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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0xf0
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rbx, qword [0x1402c4fc8]
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 rcx, rbx
mov qword [r11 - 0x20], 0x81
movups xmmword [rsp + 0x7c], xmm0
mov dword [r11 - 0x2c], eax
lea r8d, [rax + 3]
movups xmmword [r11 - 0x6c], xmm0
mov qword [r11 - 0x18], rax
movups xmmword [r11 - 0x5c], xmm0
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 0x14004684f
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 0x14004684f
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140045fc0]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1401e0100
mov rbx, qword [rsp + 0x110]
add rsp, 0xf0
pop rdi
ret
Function at 0x14006f9a0
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 [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [0x1402c5110]
mov edx, 4
lea r8d, [rdx + 0x6c]
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 0x14006fa24
nop dword [rax + 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 0x14006fa10
mov rdi, qword [0x1402c4fc8]
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 0x14006fa9e
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 0x14006fa9e
mov rdx, qword [rsp + 0x40]
lea r9, [0x1400702a0]
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.1401e0100
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a46e0
Capabilities:
Get thread local storage value

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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, qword [0x1402c4fc8]
lea r9, [r11 - 0x50]
xor eax, eax
mov qword [r11 - 0x40], rdx
mov rdi, rcx
mov qword [r11 - 0x38], rax
lea rdx, [r11 - 0x30]
mov qword [r11 - 0x30], 5
mov rcx, rbx
mov qword [r11 - 0x28], 0xbd
lea r8d, [rax + 3]
mov qword [r11 - 0x20], rax
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x1400b9046
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 0x1400b9046
mov rdx, qword ds:[rsp + 0x40]
lea rax, [rsp + 0x48]
lea r9, [0x1400b9180]
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.1401e0100
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x1400bdb00
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x40
test byte [rcx + 0x718], 8
mov rbx, rcx
jne 0x1400bdc1e
mov rcx, qword [rcx + 0x758]
mov qword [rsp + 0x58], rdi
mov qword [rbx + 0x758], 0
test rcx, rcx
je 0x1400bdb4a
add rcx, 0xfffffffffffffff0
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400bdb4a
call fcn.14013fb00
mov rax, qword [rbx + 0x70]
mov rdx, qword [rax + 0x50]
test rdx, rdx
je 0x1400bdc12
test dword [rax + 0xd8], 0x8000
jne 0x1400bdc12
mov rcx, qword [rbx + 0x750]
test rcx, rcx
jne 0x1400bdbe9
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 0x1400bdbba
cmp dword [0x1402baf40], 0x3e
jb 0x1400bdbba
mov rcx, rdx
call fcn.14014fbc0
mov byte [rsp + 0x38], al
lea rdx, [rsp + 0x20]
lea rcx, [0x14014f5e0]
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 0x1400bdc12
lea r8, [rbx + 0x758]
mov edx, 1
call sym.SystemInformer.exe_QiGetWindowTextEx
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 0x1400cb050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rdi, qword [0x1402c4fc8]
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
lea r8d, [rax + 3]
mov qword [rsp + 0x60], r9
lea r9, [rsp + 0x38]
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x1400cb133
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 0x1400cb133
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x1400ca980]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, rax
jmp 0x1400cb13a
mov rcx, 0xffffffffffffffff
test rbx, rbx
je 0x1400cb146
movzx eax, byte [rsp + 0x68]
mov byte [rbx], al
mov rax, rcx
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0x100
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400e81e0
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov rbp, rcx
call fcn.1400e8100
mov rdx, qword [0x1402c4fc0]
mov ecx, 0x10
call sym.SystemInformer.exe_QiCreateObject
mov rcx, qword [0x1402c5110]
mov edx, 4
mov rbx, rax
mov dword [rax], 0
lea r8d, [rdx + 0x4c]
mov dword [rax + 4], 0xa
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [rbx + 8], rax
mov qword [rsp + 0x28], rbx
call fcn.140152120
mov qword [rsp + 0x30], rax
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
mov rcx, rax
lea r8, [rsp + 0x28]
lea rdx, [0x1400e80a0]
call qword [sym.imp.USER32.dll_EnumDesktopsW]
mov rcx, qword [rsp + 0x28]
xor ebx, ebx
cmp dword [rcx], ebx
jbe 0x1400e8314
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x40], rdi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx + 8]
lea rdi, [rbx*8]
mov r9, qword [rdi + rax]
test r9, r9
je 0x1400e82a9
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 0x1400e82ff
mov rcx, qword [0x1402c5110]
mov edx, 4
lea r8d, [rdx + 4]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, qword [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 0x1400e8290
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 0x1400e8333
call fcn.14013fb00
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], ebx
cmp ebx, 1
mov rbx, qword [rsp + 0x58]
jne 0x1400e8350
call fcn.14013fb00
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0x48
ret
Function at 0x1400fc640
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
sub rsp, 0x70
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0x58], rax
test byte [rcx + 0xe0], 4
mov rsi, rcx
jne 0x1400fc7cc
mov r8, qword [rcx + 0x58]
mov edx, 1
lea rcx, [rsp + 0x38]
mov r8, qword [r8 + 0x10]
call sym.SystemInformer.exe_QiOpenServiceKey
nop dword [rax]
test eax, eax
js 0x1400fc7c5
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 0x1400fc6f5
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x1400fc799
mov rcx, qword [0x1402c5110]
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 0x1400fc77d
mov rcx, qword [0x1402c5110]
mov r8, rdi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp ebx, 0x80000005
jne 0x1400fc7a0
mov r8d, dword [rsp + 0x30]
mov edx, 4
mov rcx, qword [0x1402c5110]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
add ebp, 0xffffffff
jne 0x1400fc720
nop dword [rax]
test ebx, ebx
js 0x1400fc7a0
mov rcx, qword [0x1402c5110]
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 + 0xe0], 4
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0x70
pop rsi
ret
Function at 0x1400ff000
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdx, qword [0x1402c4f98]
mov ecx, 0x40
call sym.SystemInformer.exe_QiCreateObject
xor edi, edi
mov esi, 1
mov ecx, esi
mov word [rax], di
lock xadd dword [0x1402c4f90], ecx
movzx edx, cl
lea r9d, [rdi + 0x28]
lea rcx, [0x1400ff260]
mov byte [rax + 2], dl
mov qword [rax + 8], rcx
lea r8, [0x1400ff340]
lea rcx, str.ServiceItem
mov dword [rax + 4], edi
mov qword [rax + 0x10], rcx
lea rcx, [0x1402c9280]
mov qword [rcx + rdx*8], rax
lea rdx, [0x1400ff330]
lea ecx, [rdi + 8]
mov qword [0x1402c4f38], rax
call sym.SystemInformer.exe_QiCreateHashtable
mov qword [0x1402c4f28], rax
lea rax, [0x1402c7190]
test al, 0xf
jne 0x1400ff252
cmp byte [0x1402c3fc5], dil
xorps xmm0, xmm0
movaps xmmword [0x1402c7190], xmm0
je 0x1400ff238
xor edx, edx
mov qword [rsp + 0x50], rbx
mov r8d, 0x800
lea rcx, str.sechost.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x1400ff129
xor edx, edx
lea rcx, str.sechost.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x1400ff129
cmp dword [0x1402baf40], 0x3e
nop dword [rax]
jae 0x1400ff1cf
xor r8d, r8d
lea rcx, str.sechost.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x1400ff1cf
cmp byte [0x1402c3fc4], dil
je 0x1400ff16f
cmp dword [0x1402baf40], 0x3e
jb 0x1400ff16f
xor r8d, r8d
lea rdx, str.SubscribeServiceChangeNotifications
mov rcx, rbx
call fcn.140177920
xor r8d, r8d
mov qword [0x1402c71a0], rax
lea rdx, str.UnsubscribeServiceChangeNotifications
mov rcx, rbx
call fcn.140177920
mov qword [0x1402c79c0], rax
jmp 0x1400ff1cf
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x1400ff1c8
mov ecx, dword ds:[rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x1400ff1c8
cmp dword [rcx + rbx], 0x4550
jne 0x1400ff1c8
lea rdx, ds:[rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1400ff1c8
cmp dword [rdx + 4], edi
je 0x1400ff1c8
lea r8, ds:[rbx + rax]
mov word [rsp + 0x20], di
lea r9, str.NotifyServiceStatusChangeW
mov rcx, rbx
call fcn.140177a80
mov rdi, rax
mov qword [0x1402c71a8], rdi
mov rbx, qword [rsp + 0x50]
mov byte [0x1402c53f9], sil
xchg dword [0x1402c718c], esi
cmp qword [0x1402c71a8], 0
je 0x1400ff1f9
xor edx, edx
lea rcx, [0x140100ba0]
call sym.SystemInformer.exe_QiCreateThread2
cmp qword [0x1402c71a0], 0
je 0x1400ff238
call fcn.140171a40
mov rcx, rax
movabs r10, 0xe8ad1ef77457e370
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [0x1401012b0]
mov rax, qword [0x1402c71a0]
xor edx, edx
call qword [0x14020a240]
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401e0100
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80000002
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3