joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013f3e0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
lea rbx, str.explorerframe.dll
mov qword [rsp + 0x30], 0x22
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rbx
mov rdi, rcx
call fcn.1401776c0
mov rcx, rax
test rax, rax
jne 0x14013f476
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013f476
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013f476
cmp dword [0x1402baf40], 0x3e
jae 0x14013f466
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013f476
mov eax, 0x8007007e
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013f598
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013f598
cmp dword [rdx + rcx], 0x4550
jne 0x14013f598
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013f598
cmp dword ds:[rdx + 4], 0
je 0x14013f598
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.140177a80
nop dword [rax]
test rax, rax
je 0x14013f598
lea r8, ds:[rsp + 0x60]
lea rdx, [0x14020cba0]
lea rcx, [0x14020cb60]
call qword [case.0x14013b5a0.0]
mov ebx, eax
test eax, eax
js 0x14013f546
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x58]
lea r8, [0x14020cb40]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013b5a0.0]
mov rcx, qword ds:[rsp + 0x60]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013b5a0.0]
test ebx, ebx
jne 0x14013f576
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013b5a0.0]
mov ebx, eax
test eax, eax
je 0x14013f583
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x14013b5a0.0]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rax, qword [rsp + 0x58]
mov qword [rdi], rax
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x50]
mov eax, 0x8007007f
add rsp, 0x40
pop rdi
ret
Function at 0x14013fce0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
cmp dword [0x1402baf40], 0xffffffff
mov dword [rcx], eax
mov qword [rcx + 0x208], rax
mov qword [rcx + 0x210], rax
mov ecx, dword [0x1402c7eac]
jae 0x14013fd29
cmp ecx, 0x40
jae 0x14013fd29
mov rcx, qword gs:[0x30]
mov r8d, dword [0x1402c7eac]
mov rax, qword [rcx + r8*8 + 0x1480]
jmp 0x14013fd36
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r8d, dword [0x1402c7eac]
cmp dword [0x1402baf40], 0xffffffff
mov qword [rbx + 0x218], rax
jae 0x14013fd69
cmp r8d, 0x40
jae 0x14013fd69
mov rcx, qword gs:[0x30]
mov eax, dword [0x1402c7eac]
mov qword [rcx + rax*8 + 0x1480], rbx
add rsp, 0x20
pop rbx
ret
mov rdx, rbx
mov ecx, r8d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14013fd63
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_QiDosErrorToNtStatus
test eax, eax
jns 0x14013fd63
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3

Function at 0x14013fda0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.SystemInformer.exe_QiDrainAutoPool
cmp dword [0x1402baf40], 0xffffffff
mov ecx, dword [0x1402c7eac]
jae 0x14013fdde
nop dword [rax]
cmp ecx, 0x40
jae 0x14013fdde
mov rdx, qword gs:[0x30]
mov ecx, dword [0x1402c7eac]
mov rax, qword [rdx + rcx*8 + 0x1480]
jmp 0x14013fdec
nop
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x1402c7eac]
cmp rax, rbx
jne 0x14013fe64
cmp dword [0x1402baf40], 0xffffffff
mov rdx, qword ds:[rbx + 0x218]
jae 0x14013fe22
cmp ecx, 0x40
jae 0x14013fe22
mov rcx, qword gs:[0x30]
mov eax, dword [0x1402c7eac]
mov qword [rcx + rax*8 + 0x1480], rdx
jmp 0x14013fe3d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14013fe3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_QiDosErrorToNtStatus
test eax, eax
js 0x14013fe64
mov r8, qword [rbx + 0x210]
test r8, r8
je 0x14013fe5e
mov rcx, qword [0x1402c5110]
xor edx, edx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.ntdll.dll_RtlFreeHeap]
add rsp, 0x20
pop rbx
ret
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
Function at 0x14013ff80
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x1402baf40], 0xffffffff
mov rdi, rcx
mov ecx, dword [0x1402c7eac]
jae 0x14013ffbb
nop dword [rax]
cmp ecx, 0x40
jae 0x14013ffbb
lfence
mov rdx, qword gs:[0x30]
mov rbx, qword [rdx + rcx*8 + 0x1480]
jmp 0x14013ffc9
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rdi, rdi
jne 0x14013ffdb
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, dword ds:[rbx]
cmp eax, 0x40
jae 0x14013fffa
mov qword [rbx + rax*8 + 8], rdi
mov rax, rdi
inc dword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 0x210]
test rcx, rcx
jne 0x140140030
lea edx, [rcx + 4]
mov dword [rbx + 0x20c], 0x40
mov rcx, qword [0x1402c5110]
mov r8d, 0x200
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, rax
mov qword [rbx + 0x210], rax
mov eax, dword [rbx + 0x20c]
cmp dword [rbx + 0x208], eax
jne 0x140140083
add eax, eax
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rbx + 0x20c], eax
test rcx, rcx
jne 0x140140069
mov rcx, qword [0x1402c5110]
mov r8, r9
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x140140079
mov r8, rcx
mov rcx, qword [0x1402c5110]
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov rcx, rax
mov qword [rbx + 0x210], rax
mov eax, dword [rbx + 0x208]
mov qword [rcx + rax*8], rdi
mov rax, rdi
inc dword [rbx + 0x208]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140140460
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0x120]
lea rax, [r11 - 0x80]
movdqa xmm1, xmmword [0x14028d400]
xor r10d, r10d
mov rdi, qword [rsp + 0x130]
mov r9, rcx
mov rcx, qword [rsp + 0x128]
xorps xmm0, xmm0
mov rsi, qword [rsp + 0x138]
mov dword [rsp + 0x78], 0x30
mov qword [r11 - 0x28], rax
lea rax, [r11 - 0x40]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x30], r8d
lea r8, [r11 - 0x70]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov edx, 0x1fffff
movups xmmword [rsp + 0x68], xmm0
mov qword [r11 - 0x68], r10
mov dword [r11 - 0x58], r10d
mov qword [r11 - 0x60], r10
movdqu xmmword [r11 - 0x50], xmm0
mov qword [r11 - 0x40], 0x28
movdqu xmmword [r11 - 0x38], xmm1
mov qword [r11 - 0x20], r10
call qword [sym.imp.ntdll.dll_NtCreateThreadEx]
mov ebx, eax
test eax, eax
js 0x14014056d
mov rcx, qword [rsp + 0x60]
test rdi, rdi
je 0x140140553
mov qword [rdi], rcx
jmp 0x14014055e
test rcx, rcx
je 0x14014055e
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
test rsi, rsi
je 0x14014056d
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401e0100
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140140b00
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov rbx, rdx
mov qword [rsp + 0x50], 0
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 0x1000
lea rdx, [rsp + 0x50]
lea rcx, [r8 - 1]
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
nop dword [rax]
test eax, eax
js 0x140140b5c
test rbx, rbx
je 0x140140b51
mov rax, qword [rsp + 0x40]
mov qword [rbx], rax
mov rax, qword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x140145820
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor eax, eax
mov r8, rcx
test rdx, rdx
je 0x140145846
nop word [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
xor eax, ecx
imul eax, eax, 0x1000193
sub rdx, 1
jne 0x140145830
ret

Function at 0x140145860
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov r8, qword [rcx]
xor ebx, ebx
test r8, r8
jne 0x140145878
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x30], rsi
mov rsi, r8
shr rsi, 1
mov qword [rsp + 0x38], rdi
mov rdi, qword [rcx + 8]
test dl, dl
je 0x1401458d0
test rsi, rsi
je 0x1401458e6
nop word [rax + rax]
movzx ecx, word [rdi]
lea rdi, [rdi + 2]
call qword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
movzx eax, ax
xor eax, ebx
imul ebx, eax, 0x1000193
sub rsi, 1
jne 0x1401458a0
mov rsi, qword [rsp + 0x30]
mov eax, ebx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
movzx eax, byte ds:[rdi]
lea rdi, [rdi + 1]
xor ebx, eax
imul ebx, ebx, 0x1000193
sub r8, 1
jne 0x1401458d0
mov rsi, qword [rsp + 0x30]
mov eax, ebx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x140145900
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r10, rcx
test r8d, r8d
je 0x14014598a
sub r8d, 1
je 0x14014598a
cmp r8d, 1
jne 0x140145925
mov rcx, qword ds:[rcx]
xor r9d, r9d
test rcx, rcx
jne 0x140145928
xor eax, eax
ret
mov rax, qword [r10 + 8]
shr rcx, 1
lea r10, [rax + rcx*2]
test dl, dl
je 0x14014596b
cmp rax, r10
je 0x140145986
nop dword [rax]
movzx r8d, word [rax]
lea ecx, [r8 - 0x61]
cmp cx, 0x19
lea edx, [r8 - 0x20]
cmova edx, r8d
imul r9d, r9d, 0x1003f
add rax, 2
add r9d, edx
cmp rax, r10
jne 0x140145940
mov eax, r9d
ret
cmp rax, r10
je 0x140145986
movzx ecx, word [rax]
add rax, 2
imul r9d, r9d, 0x1003f
add r9d, ecx
cmp rax, r10
jne 0x140145970
mov eax, r9d
ret
jmp sym.SystemInformer.exe_QiHashStringRef
Function at 0x1401471a0
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x1402baf40], 0xffffffff
jae 0x14014733a
mov rbx, qword gs:[0x30]
mov rax, qword gs:[0x30]
mov rsi, qword [rbx + 0x60]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov rcx, qword [rsi + 0x78]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1401472a9
nop dword [rax]
cmp qword [rbx + 0x1780], 0
jne 0x1401472e6
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov rax, qword gs:[0x30]
mov edx, 8
mov r8d, 0x2000
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword ds:[rbx + 0x1780], rax
test rax, rax
je 0x14014733a
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov rcx, qword [rsi + 0x78]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov edi, eax
cmp eax, 0xffffffff
je 0x140147210
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov eax, edi
mov qword [rbx + rax*8 + 0x1480], 0
mov eax, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rsi + 0x238]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov rcx, qword gs:[0x30]
mov edi, eax
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
cmp edi, 0xffffffff
je 0x14014733a
mov rcx, qword [rbx + 0x1780]
lea eax, [rdi + 0x40]
mov qword [rcx + rdi*8], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]
Function at 0x140147ae0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x48
mov al, byte [0x7ffe03c4]
cmp al, 1
jne 0x140147b23
mov eax, dword [0x7ffe03c0]
dec eax
cmp eax, 0x3f
ja 0x140147b23
movzx eax, word [sym.SystemInformer.exe_QiSystemBasicInformation]
mov word [0x1402c4fda], ax
mov eax, 1
mov word [0x1402c4fdc], ax
mov byte [0x1402c4fd8], 1
add rsp, 0x48
ret
mov eax, dword [0x1402c0c80]
mov rcx, qword [0x1402c5110]
mov r8d, eax
mov qword [rsp + 0x60], rbx
xor ebx, ebx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdi
lea edx, [rbx + 4]
mov dword [rsp + 0x58], 4
mov dword [rsp + 0x50], eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, rax
lea r8d, [rbx + 4]
lea rax, [rsp + 0x50]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x58]
mov eax, dword [rsp + 0x50]
lea ecx, [rbx + 0x6b]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov edi, ebx
cmp eax, 0xc0000004
jne 0x140147bf5
cmp edi, 8
jae 0x140147bf9
mov rcx, qword [0x1402c5110]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x50]
mov edx, 4
mov rcx, qword [0x1402c5110]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, 4
lea rdx, [rsp + 0x58]
mov rsi, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov r9, rsi
mov eax, dword [rsp + 0x50]
lea ecx, [r8 + 0x67]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
inc edi
cmp eax, 0xc0000004
je 0x140147b91
test eax, eax
jns 0x140147c48
lfence
mov rcx, qword [0x1402c5110]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
movzx eax, word [sym.SystemInformer.exe_QiSystemBasicInformation]
mov word [0x1402c4fda], ax
mov eax, 1
mov word [0x1402c4fdc], ax
mov byte [0x1402c4fd8], 1
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
add rsp, 0x48
ret
mov eax, dword [rsp + 0x50]
cmp eax, 0x100000
ja 0x140147c59
mov dword [0x1402c0c80], eax
lfence
movzx ebp, word [rsi + 0xa]
mov edi, ebp
cmp bx, bp
jae 0x140147bfc
lea rcx, [rsi + 0x21]
mov r8d, ebp
nop
movzx eax, byte ds:[rcx]
lea rcx, [rcx + 0x30]
add bx, ax
sub r8, 1
jne 0x140147c70
cmp ebp, 1
jbe 0x140147bfc
lfence
mov rcx, qword [0x1402c5110]
lea r8, [rbp*2]
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [0x1402c4fe0], rax
lea rdx, [rsi + 0x21]
nop word [rax + rax]
movzx ecx, byte [rdx]
lea rdx, [rdx + 0x30]
mov word [rax], cx
lea rax, [rax + 2]
sub rdi, 1
jne 0x140147cc0
mov rcx, qword [0x1402c5110]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test bx, bx
je 0x140147c0e
mov byte [0x1402c4fd8], dil
mov al, 1
mov word [0x1402c4fda], bx
mov word [0x1402c4fdc], bp
jmp 0x140147c2f
Function at 0x140148040
Capabilities:
Parse pe header

Disassembly:
mov qword ss:[rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
test byte [0x1402c0a60], 1
mov rbx, r8
mov edi, edx
mov rsi, rcx
jne 0x14014815c
lock bts qword [0x1402c0a60], 0x1f
jae 0x140148092
test byte [0x1402c0a60], 1
jne 0x14014815c
xor edx, edx
lea rcx, [0x1402c0a60]
call sym.SystemInformer.exe_QifWaitForEvent
jmp 0x14014815c
xor edx, edx
lea rcx, str.dwmapi.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401480f1
xor edx, edx
lea rcx, str.dwmapi.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401480f1
cmp dword [0x1402baf40], 0x3e
jae 0x140148150
xor r8d, r8d
lea rcx, str.dwmapi.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140148150
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140148147
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140148147
cmp dword [rdx + rcx], 0x4550
jne 0x140148147
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140148147
cmp dword [rdx + 4], 0
je 0x140148147
lea r8, ds:[rcx + rax]
xor eax, eax
lea r9, str.DwmSetWindowAttribute
mov word [rsp + 0x20], ax
call fcn.140177a80
jmp 0x140148149
xor eax, eax
mov qword [0x1402c80e8], rax
lea rcx, [0x1402c0a60]
call sym.SystemInformer.exe_QifSetEvent
mov rax, qword [0x1402c80e8]
test rax, rax
jne 0x14014817d
mov eax, 0x8007007f
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov r9d, 4
mov r8, rbx
mov edx, edi
mov rcx, rsi
call qword [case.0x14013b5a0.0]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14014d900
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, r8
mov ebx, edx
mov r14, rcx
test dl, 1
je 0x14014d9d1
test bl, 2
je 0x14014d957
mov r8d, 0x20
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_InternalGetWindowText]
mov esi, eax
test rdi, rdi
je 0x14014d9ca
xor edx, edx
mov qword [rdi], rdx
jmp 0x14014daa0
mov rdx, qword [0x1402c4fb8]
mov ecx, 0x212
call sym.SystemInformer.exe_QiCreateObject
xor edx, edx
mov rbx, rax
lea rcx, [rax + 0x10]
mov qword [rax], 0x200
mov qword [rax + 8], rcx
mov word [rcx + 0x200], dx
mov rcx, r14
mov r8d, dword [rax]
mov rdx, qword [rax + 8]
shr r8d, 1
inc r8d
call qword [sym.imp.USER32.dll_InternalGetWindowText]
mov esi, eax
mov eax, eax
add rax, rax
mov qword [rbx], rax
test rdi, rdi
je 0x14014d9b2
mov qword [rdi], rbx
mov eax, esi
jmp 0x14014daa0
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14014d9ca
call fcn.14013fb00
mov eax, esi
jmp 0x14014daa0
mov qword [rsp + 0xa8], rbp
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebp, eax
test eax, eax
je 0x14014da89
test bl, 2
jne 0x14014da89
mov rdx, qword [0x1402c4fb8]
mov ebx, ebp
add rbx, rbx
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_QiCreateObject
xor edx, edx
mov rsi, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rcx + rbx], dx
mov rcx, r14
mov r8d, dword [rax]
mov rdx, qword [rax + 8]
shr r8d, 1
inc r8d
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x14014da59
test rdi, rdi
je 0x14014da3f
mov qword [rdi], rsi
jmp 0x14014da96
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14014da96
call fcn.14013fb00
jmp 0x14014da96
test rdi, rdi
je 0x14014da68
nop
call sym.SystemInformer.exe_QiReferenceEmptyString
mov qword [rdi], rax
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14014da85
nop dword [rax + rax]
call fcn.14013fb00
xor eax, eax
jmp 0x14014da98
test rdi, rdi
je 0x14014da96
call sym.SystemInformer.exe_QiReferenceEmptyString
mov qword [rdi], rax
mov eax, ebp
mov rbp, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401e0100
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret
Function at 0x14014e7c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov ecx, 2
add rdx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, qword [rdi]
mov rcx, rax
mov rdx, qword [rdi + 8]
mov rbx, rax
call fcn.1402074d0
mov rcx, qword [rdi]
xor eax, eax
mov word [rbx + rcx], ax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rsi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14014e853
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x14014e853
mov rdx, rbp
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x14014e853
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x14014e85c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14014e940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, qword [rsp + 0xc0]
mov rsi, r9
mov rdi, r8
mov qword [rsp + 0x50], rdx
lea r9, [rsp + 0x38]
mov qword [rsp + 0x48], 5
mov r8d, 3
mov qword [rsp + 0x58], 0
lea rdx, [rsp + 0x48]
mov rbx, rcx
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14014e9d4
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 0x14014e9d4
mov rdx, qword [rsp + 0x40]
mov r9, rsi
mov r8, rdi
mov qword [rsp + 0x20], rbp
mov rcx, rbx
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
jmp 0x14014e9d6
xor eax, eax
mov rcx, qword ds:[rsp + 0x60]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14014ea00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, qword [rsp + 0xc0]
mov rsi, r9
mov rdi, r8
mov qword [rsp + 0x50], rdx
lea r9, [rsp + 0x38]
mov qword [rsp + 0x48], 5
mov r8d, 3
mov qword [rsp + 0x58], 0
lea rdx, [rsp + 0x48]
mov rbx, rcx
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x14014ea94
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 0x14014ea94
mov rdx, qword [rsp + 0x40]
mov r9, rsi
mov r8, rdi
mov qword [rsp + 0x20], rbp
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
jmp 0x14014ea9b
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret