joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400260e0
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 0x1400261e6
lea r9, [rsp + 0x80]
xor r8d, r8d
mov edx, 0x104b
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400261e6
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.1401e4a20
add rsp, 0x510
pop rdi
pop rsi
pop rbx
ret
Function at 0x140048b40
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 [0x1402ca9a8]
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 0x140048c11
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 0x140048c11
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x140048380]
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.1401e4a20
mov rbx, qword [rsp + 0x110]
add rsp, 0xf0
pop rdi
ret
Function at 0x140072140
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 [0x1402caaf0]
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 0x1400721c4
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 0x1400721b0
mov rdi, qword [0x1402ca9a8]
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 0x14007223e
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 0x14007223e
mov rdx, qword [rsp + 0x40]
lea r9, [0x140072a40]
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.1401e4a20
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a5de0
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 [0x1402cfa20]
mov edi, edx
jae 0x1400a5e1b
nop
cmp ecx, 0x40
jae 0x1400a5e1b
lfence
mov r8, qword gs:[0x30]
mov rax, qword [r8 + rcx*8 + 0x1480]
jmp 0x1400a5e26
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 0x1400a5e64
nop
cmp r8, r9
jb 0x1400a5e64
cmp rdx, qword [rcx + 0x40]
ja 0x1400a5e64
lea edx, [rdi - 1]
test r8, rdx
jne 0x1400a5e64
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 0x1400bab00
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 [0x1402ca9a8]
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 0x1400baba6
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 0x1400baba6
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
lea r9, [0x1400bace0]
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.1401e4a20
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x1400bd9c0
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1402cc288]
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 0x1400bdb4a
mov ecx, dword [0x1402ca2ec]
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 [0x1402ca2ec], ecx
xor r8d, r8d
mov rcx, qword [0x1402cc288]
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 [0x1402caaf0]
mov dword [0x1402cb948], edi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, edi
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.14020ab40
mov rcx, qword [0x1402caaf0]
mov eax, esi
shl eax, 7
mov edx, 4
mov qword [0x1402cc290], rbx
mov ebx, eax
mov r8d, eax
mov dword [0x1402cc230], ebx
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.14020ab40
mov rcx, qword [0x1402cc290]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x28], rcx
xor r9d, r9d
mov rcx, qword [0x1402cc288]
mov edx, 0x430
mov qword [0x1402cc228], 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.1401e4a20
add rsp, 0x58
ret

Function at 0x1400bdb60
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 [0x1402cc288]
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.1400bd9c0
Function at 0x1400bf620
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x40
test byte [rcx + 0x718], 8
mov rbx, rcx
jne 0x1400bf73e
mov rcx, qword [rcx + 0x758]
mov qword [rsp + 0x58], rdi
mov qword [rbx + 0x758], 0
test rcx, rcx
je 0x1400bf66a
add rcx, 0xfffffffffffffff0
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400bf66a
call fcn.140141ea0
mov rax, qword [rbx + 0x70]
mov rdx, qword [rax + 0x50]
test rdx, rdx
je 0x1400bf732
test dword [rax + 0xd8], 0x8000
jne 0x1400bf732
mov rcx, qword [rbx + 0x750]
test rcx, rcx
jne 0x1400bf709
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 0x1400bf6da
cmp dword [0x1402bff40], 0x3e
jb 0x1400bf6da
mov rcx, rdx
call fcn.1401522c0
mov byte [rsp + 0x38], al
lea rdx, [rsp + 0x20]
lea rcx, [0x140151ce0]
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 0x1400bf732
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 0x1400ccd20
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 [0x1402ca9a8]
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 0x1400cce0b
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 0x1400cce0b
mov rdx, qword ds:[rsp + 0x40]
lea rax, [rsp + 0x50]
lea r9, [0x1400cc640]
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, rdi
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov rcx, rax
jmp 0x1400cce12
mov rcx, 0xffffffffffffffff
test rbx, rbx
je 0x1400cce1e
movzx eax, byte [rsp + 0x68]
mov byte [rbx], al
mov rax, rcx
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1401e4a20
add rsp, 0x100
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400ea520
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.1400ea440
mov rdx, qword [0x1402ca9a0]
mov ecx, 0x10
call sym.SystemInformer.exe_PhCreateObject
mov rcx, qword [0x1402caaf0]
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.140154880
mov qword [rsp + 0x30], rax
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
mov rcx, rax
lea r8, [rsp + 0x28]
lea rdx, [0x1400ea3e0]
call qword [sym.imp.USER32.dll_EnumDesktopsW]
mov rcx, qword [rsp + 0x28]
xor ebx, ebx
cmp dword [rcx], ebx
jbe 0x1400ea65f
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 0x1400ea5e9
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 0x1400ea646
mov rcx, qword [0x1402caaf0]
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 0x1400ea5d0
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 0x1400ea67e
call fcn.140141ea0
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff0
lock xadd dword [rcx + 8], ebx
cmp ebx, 1
mov rbx, qword [rsp + 0x58]
jne 0x1400ea69b
call fcn.140141ea0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401e4a20
add rsp, 0x48
ret
Function at 0x1400feb80
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 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 [0x1402caaf0]
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 [0x1402caaf0]
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 [0x1402caaf0]
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 [0x1402caaf0]
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.1401e4a20
add rsp, 0x70
pop rsi
ret
Function at 0x140103880
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor edx, edx
lea rcx, str.sechost.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x1401038fa
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 0x1401038fa
cmp dword [0x1402bff40], 0x3e
jae 0x14010399d
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 0x14010399d
cmp byte [0x1402c966d], 0
je 0x140103942
cmp dword [0x1402bff40], 0x3e
jb 0x140103942
xor r8d, r8d
lea rdx, str.SubscribeServiceChangeNotifications
mov rcx, rbx
call fcn.14017e360
xor r8d, r8d
mov qword [0x1402ccbe0], rax
lea rdx, str.UnsubscribeServiceChangeNotifications
mov rcx, rbx
call fcn.14017e360
mov qword [0x1402cd400], rax
nop
jmp 0x14010399d
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140103994
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140103994
cmp dword [rcx + rbx], 0x4550
jne 0x140103994
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140103994
cmp dword [rdx + 4], 0
je 0x140103994
lea r8, [rbx + rax]
mov rcx, rbx
xor eax, eax
lea r9, str.NotifyServiceStatusChangeW
mov word [rsp + 0x20], ax
call fcn.14017e4c0
jmp 0x140103996
xor eax, eax
mov qword [0x1402ccbe8], rax
mov eax, 1
mov byte [0x1402cae64], 1
xchg dword [0x1402ccbc8], eax
cmp qword [0x1402ccbe8], 0
je 0x1401039c7
xor edx, edx
lea rcx, [0x1401030e0]
call sym.SystemInformer.exe_PhCreateThread2
cmp qword [0x1402ccbe0], 0
je 0x1401039fc
call fcn.140174070
mov rcx, rax
lea r8, [0x140103850]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor edx, edx
mov rax, qword [0x1402ccbe0]
call qword [case.0x14013d84a.0]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401e4a20
add rsp, 0x40
pop rbx
ret
Function at 0x140105760
Capabilities:
Capture screenshot

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r9, rcx
mov rdi, rdx
mov rcx, qword [rdx + 0x18]
cmp rcx, qword [0x1402cd410]
jne 0x14010579a
mov rcx, rdx
call fcn.140106980
mov al, 1
jmp 0x14010593f
mov qword [rsp + 0x90], rbx
xor ebx, ebx
cmp rcx, qword [0x1402cd420]
jne 0x140105904
mov eax, dword [rdx + 0x30]
sub eax, dword [rdx + 0x28]
mov dword [rsp + 0x58], eax
mov eax, dword [rdx + 0x34]
sub eax, dword [rdx + 0x2c]
mov dword [rsp + 0x5c], eax
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0x50], rbx
call qword [sym.imp.USER32.dll_GetDC]
mov rbp, rax
test rax, rax
je 0x1401058f8
mov qword ss:[rsp + 0xa8], rsi
mov rcx, rax
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r15
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, dword [rsp + 0x5c]
mov rcx, rbp
mov edx, dword [rsp + 0x58]
mov rsi, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rdx, rax
mov rcx, rsi
mov r14, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, 1
mov rcx, rsi
mov r15, rax
call qword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [0x1402c966f], bl
je 0x140105853
cmp dword [0x1402cf5f4], 1
jne 0x140105886
mov edx, 0x2b2b2b
jmp 0x140105858
mov edx, 0xffffff
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ecx, 0x12
call qword [sym.imp.GDI32.dll_GetStockObject]
lea rdx, ds:[rsp + 0x50]
mov rcx, rsi
mov r8, rax
call qword [sym.imp.USER32.dll_FillRect]
mov eax, dword [rdi + 0x34]
mov rcx, rbp
mov r9d, dword [rdi + 0x30]
mov r8d, dword [rdi + 0x2c]
mov edx, dword [rdi + 0x28]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword ds:[rdi + 0x18]
mov rdx, rbp
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
mov al, 1
jmp 0x140105937
mov r8, qword [0x1402cd438]
mov edx, dword [r8]
test edx, edx
je 0x140105935
mov r8, qword [r8 + 8]
nop word [rax + rax]
mov rcx, qword [r8 + rbx*8]
mov eax, dword [rcx + 0xb0]
cmp r9, rax
je 0x140105955
inc ebx
cmp ebx, edx
jb 0x140105920
xor al, al
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401e4a20
add rsp, 0x80
pop rdi
ret
mov rdx, qword ds:[rdi + 0x20]
lea r8, [rdi + 0x28]
call fcn.140106c20
mov al, 1
jmp 0x140105937
Function at 0x14010bac0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor r9d, r9d
lea rdx, [rsp + 0x68]
mov r8d, 0x31
mov ecx, 0x69
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax]
test eax, eax
js 0x14010bb0b
lea rcx, [rsp + 0x68]
jmp 0x14010bb5b
xor ecx, ecx
mov eax, 0x80000002
cpuid
mov dword [rsp + 0x40], ecx
xor ecx, ecx
mov dword [rsp + 0x38], eax
mov eax, 0x80000003
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x44], edx
cpuid
mov dword [rsp + 0x50], ecx
xor ecx, ecx
mov dword [rsp + 0x48], eax
mov eax, 0x80000004
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x54], edx
cpuid
mov dword [rsp + 0x60], ecx
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], ebx
mov dword [rsp + 0x64], edx
mov edx, 0x30
call sym.SystemInformer.exe_PhConvertUtf8ToUtf16Ex
mov rdi, rax
xorps xmm1, xmm1
mov rbx, qword [rax + 8]
mov rax, rbx
mov ecx, ebx
and rax, 0xfffffffffffffff1
and ecx, 0xf
je 0x14010bb9f
movdqu xmm0, xmmword [rax]
pcmpeqw xmm0, xmm1
pmovmskb edx, xmm0
shr edx, cl
bsf ecx, edx
mov dword [rsp + 0x20], ecx
je 0x14010bb9b
mov eax, ecx
shr rax, 1
jmp 0x14010bbe8
add rax, 0x10
movdqu xmm0, xmmword [rax]
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
bsf edx, ecx
mov dword [rsp + 0x20], edx
jne 0x14010bbda
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rax + 0x10]
add rax, 0x10
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
bsf edx, ecx
mov dword [rsp + 0x20], edx
je 0x14010bbc0
sub rax, rbx
mov ecx, edx
sar rax, 1
shr rcx, 1
add rax, rcx
add rax, rax
lea rdx, [0x1402c5698]
mov qword [rdi], rax
lea rcx, [rsp + 0x28]
movups xmm0, xmmword [rdi]
mov r8d, 2
movups xmmword [rsp + 0x28], xmm0
call sym.SystemInformer.exe_PhTrimStringRef
mov rsi, qword ds:[rsp + 0x28]
mov rdx, qword [0x1402ca998]
lea rcx, [rsi + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdx, qword ds:[rsp + 0x30]
mov rbx, rax
lea rcx, [rax + 0x10]
mov qword [rax], rsi
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + rsi], ax
test rdx, rdx
je 0x14010bc51
mov rcx, qword [rbx + 8]
mov r8, rsi
call fcn.14020af00
test rdi, rdi
je 0x14010bc6e
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14010bc6e
call fcn.140141ea0
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401e4a20
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14010c340
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1402caaf0]
mov edx, 4
mov r8d, 0x100
mov dword [rsp + 0x20], 0x100
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0x64
mov rsi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
xor ebx, ebx
mov edi, eax
cmp eax, 0xc0000004
jne 0x14010c3fb
cmp ebx, 8
jae 0x14010c408
mov rcx, qword [0x1402caaf0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x20]
mov edx, 4
mov rcx, qword [0x1402caaf0]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0x64
mov rsi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
inc ebx
mov edi, eax
cmp eax, 0xc0000004
je 0x14010c3a7
test edi, edi
js 0x14010c408
mov qword [0x1402cd678], rsi
jmp 0x14010c41d
lfence
mov rcx, qword [0x1402caaf0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, edi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401e4a20
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret