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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
test byte [0x1402c58e0], 1
mov rbx, r9
mov edi, r8d
mov esi, edx
mov ebp, ecx
jne 0x1401413df
lock bts qword [0x1402c58e0], 0x1f
setb al
test al, al
je 0x14014131c
test byte [0x1402c58e0], 1
jne 0x1401413df
xor edx, edx
lea rcx, [0x1402c58e0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x1401413df
xor edx, edx
lea rcx, str.cfgmgr32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141379
xor edx, edx
lea rcx, str.cfgmgr32.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141379
cmp dword [0x1402bff40], 0x3e
jae 0x1401413d3
xor r8d, r8d
lea rcx, str.cfgmgr32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x1401413d3
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401413ca
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401413ca
cmp dword [rdx + rcx], 0x4550
jne 0x1401413ca
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401413ca
cmp dword [rdx + 4], 0
je 0x1401413ca
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DevGetObjects
mov word [rsp + 0x20], ax
call fcn.14017dc40
jmp 0x1401413cc
xor eax, eax
mov qword [0x1402cdad8], rax
lea rcx, [0x1402c58e0]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdad8]
test rax, rax
jne 0x1401413f2
mov eax, 0x80004005
jmp 0x140141434
mov rcx, qword [rsp + 0x98]
mov r9, rbx
mov qword [rsp + 0x38], rcx
mov r8d, edi
mov rcx, qword [rsp + 0x90]
mov edx, esi
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0x80]
mov dword [rsp + 0x20], ecx
mov ecx, ebp
call qword [case.0x14013d64a.0]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140141460
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
test byte [0x1402c5a80], 1
mov rbx, rdx
mov edi, ecx
jne 0x14014157c
lock bts qword [0x1402c5a80], 0x1f
setb al
test al, al
je 0x1401414ad
test byte [0x1402c5a80], 1
jne 0x14014157c
xor edx, edx
lea rcx, [0x1402c5a80]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14014157c
xor edx, edx
lea rcx, str.cfgmgr32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141511
xor edx, edx
lea rcx, str.cfgmgr32.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141511
cmp dword [0x1402bff40], 0x3e
jae 0x140141570
xor r8d, r8d
lea rcx, str.cfgmgr32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140141570
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140141567
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140141567
cmp dword [rdx + rcx], 0x4550
jne 0x140141567
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140141567
cmp dword [rdx + 4], 0
je 0x140141567
lea r8, ds:[rcx + rax]
xor eax, eax
lea r9, str.DevFreeObjects
mov word [rsp + 0x20], ax
call fcn.14017dc40
jmp 0x140141569
xor eax, eax
mov qword [0x1402cdac8], rax
lea rcx, [0x1402c5a80]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdac8]
test rax, rax
je 0x140141593
mov rdx, rbx
mov ecx, edi
call qword [case.0x14013d64a.0]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1401415a0
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.14017d8a0
mov rcx, rax
test rax, rax
jne 0x140141636
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141636
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141636
cmp dword [0x1402bff40], 0x3e
jae 0x140141626
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141636
mov eax, 0x8007007e
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401416ee
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401416ee
cmp dword [rdx + rcx], 0x4550
jne 0x1401416ee
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401416ee
cmp dword [rdx + 4], 0
je 0x1401416ee
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017dc40
test rax, rax
je 0x1401416ee
lea r8, [rsp + 0x60]
lea rdx, [0x14020fc00]
lea rcx, [0x14020fbc0]
call qword [case.0x14013d64a.0]
mov ebx, eax
test eax, eax
js 0x1401416f3
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x58]
lea r8, [0x14020fba0]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013d64a.0]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d64a.0]
jmp 0x1401416f3
mov ebx, 0x8007007f
test ebx, ebx
jne 0x14014173b
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013d64a.0]
mov ebx, eax
test eax, eax
je 0x140141733
mov rcx, qword ds:[rsp + 0x58]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x14013d64a.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

Function at 0x140141e80
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
cmp dword [0x1402bff40], 0xffffffff
mov dword [rcx], eax
mov qword [rcx + 0x208], rax
mov qword [rcx + 0x210], rax
mov ecx, dword [0x1402cdaf8]
jae 0x140141ec8
cmp ecx, 0x40
jae 0x140141ec8
mov rdx, qword gs:[0x30]
mov ecx, dword [0x1402cdaf8]
mov rax, qword [rdx + rcx*8 + 0x1480]
jmp 0x140141ed4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x1402cdaf8]
mov rdx, rbx
mov qword [rbx + 0x218], rax
call fcn.140149540
test eax, eax
jns 0x140141ef5
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
add rsp, 0x20
pop rbx
ret
Function at 0x140141f00
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.SystemInformer.exe_PhDrainAutoPool
cmp dword [0x1402bff40], 0xffffffff
mov ecx, dword [0x1402cdaf8]
jae 0x140141f3e
nop dword [rax]
cmp ecx, 0x40
jae 0x140141f3e
mov rdx, qword gs:[0x30]
mov ecx, dword [0x1402cdaf8]
mov rax, qword [rdx + rcx*8 + 0x1480]
jmp 0x140141f4c
nop
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x1402cdaf8]
cmp rax, rbx
jne 0x140141f8d
mov rdx, qword [rbx + 0x218]
call fcn.140149540
nop dword [rax]
test eax, eax
js 0x140141f8d
mov r8, qword [rbx + 0x210]
test r8, r8
je 0x140141f87
mov rcx, qword [0x1402caad0]
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 0x1401420a0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x1402bff40], 0xffffffff
mov rdi, rcx
mov ecx, dword [0x1402cdaf8]
jae 0x1401420db
nop dword [rax]
cmp ecx, 0x40
jae 0x1401420db
lfence
mov rdx, qword gs:[0x30]
mov rbx, qword [rdx + rcx*8 + 0x1480]
jmp 0x1401420e9
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rdi, rdi
jne 0x1401420fb
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, dword ds:[rbx]
cmp eax, 0x40
jae 0x14014211a
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 0x140142152
mov rcx, qword [0x1402caad0]
mov edx, 4
mov r8d, 0x200
mov dword [rbx + 0x20c], 0x40
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rcx, rax
mov qword [rbx + 0x210], rax
mov eax, dword ds:[rbx + 0x20c]
cmp dword [rbx + 0x208], eax
jne 0x1401421b1
add eax, eax
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rbx + 0x20c], eax
test rcx, rcx
jne 0x140142197
mov rcx, qword [0x1402caad0]
mov r8, r9
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x1401421a7
mov r8, rcx
mov rcx, qword [0x1402caad0]
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 0x140142580
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 [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0x120]
lea rax, [r11 - 0x80]
mov rdi, qword [rsp + 0x130]
xor r10d, r10d
mov rsi, qword [rsp + 0x138]
mov r9, rcx
mov rcx, qword [rsp + 0x128]
xorps xmm0, xmm0
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]
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x20], rdx
mov edx, 0x1fffff
movdqa xmm0, xmmword [0x140290880]
mov qword [r11 - 0x68], r10
mov dword [r11 - 0x58], r10d
mov qword [r11 - 0x60], r10
mov qword [r11 - 0x48], r10
mov qword [r11 - 0x50], r10
mov qword [r11 - 0x40], 0x28
movdqu xmmword [r11 - 0x38], xmm0
mov qword [r11 - 0x20], r10
call qword [sym.imp.ntdll.dll_NtCreateThreadEx]
mov ebx, eax
test eax, eax
js 0x14014268d
mov rcx, qword [rsp + 0x60]
test rdi, rdi
je 0x140142673
mov qword [rdi], rcx
jmp 0x14014267e
test rcx, rcx
je 0x14014267e
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
test rsi, rsi
je 0x14014268d
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401e4160
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140142c60
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword ss:[rsp + 8], rcx
push rbx
sub rsp, 0x30
mov rbx, rdx
mov dword [rsp + 0x28], 4
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], 0
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
js 0x140142cc2
test rbx, rbx
je 0x140142cb7
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 0x1401479c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor eax, eax
mov r8, rcx
test rdx, rdx
je 0x1401479e6
nop word [rax + rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
xor eax, ecx
imul eax, eax, 0x1000193
sub rdx, 1
jne 0x1401479d0
ret
Function at 0x140147a00
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov r8, qword [rcx]
xor ebx, ebx
test r8, r8
jne 0x140147a18
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 0x140147a70
test rsi, rsi
je 0x140147a86
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 0x140147a40
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 0x140147a70
mov rsi, qword [rsp + 0x30]
mov eax, ebx
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

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

Disassembly:
mov r10, rcx
test r8d, r8d
je 0x140147b2a
sub r8d, 1
je 0x140147b2a
cmp r8d, 1
jne 0x140147ac5
mov rcx, qword ds:[rcx]
xor r9d, r9d
test rcx, rcx
jne 0x140147ac8
xor eax, eax
ret
mov rax, qword [r10 + 8]
shr rcx, 1
lea r10, [rax + rcx*2]
test dl, dl
je 0x140147b0b
cmp rax, r10
je 0x140147b26
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 0x140147ae0
mov eax, r9d
ret
cmp rax, r10
je 0x140147b26
movzx ecx, word [rax]
add rax, 2
imul r9d, r9d, 0x1003f
add r9d, ecx
cmp rax, r10
jne 0x140147b10
mov eax, r9d
ret
jmp sym.SystemInformer.exe_PhHashStringRef
Function at 0x140149380
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x1402bff40], 0xffffffff
jae 0x14014951b
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
mov edx, 1
call qword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov edi, eax
cmp eax, 0xffffffff
jne 0x140149489
nop dword [rax]
cmp qword [rbx + 0x1780], 0
jne 0x1401494c6
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 0x14014951b
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
mov edx, 1
call qword [sym.imp.ntdll.dll_RtlFindClearBitsAndSet]
mov edi, eax
cmp eax, 0xffffffff
je 0x1401493f0
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
mov edx, 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 0x14014951b
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 0x140149540
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
cmp dword [0x1402bff40], 0xffffffff
jae 0x14014956c
cmp ecx, 0x40
jae 0x14014956c
mov r8, qword gs:[0x30]
mov eax, ecx
mov qword [r8 + rax*8 + 0x1480], rdx
xor eax, eax
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x140149565
cmp dword [0x1402bff40], 0xffffffff
jae 0x140149596
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
mov ecx, eax
add rsp, 0x28
jmp sym.SystemInformer.exe_PhDosErrorToNtStatus
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add rsp, 0x28
jmp sym.SystemInformer.exe_PhDosErrorToNtStatus
Function at 0x140149d80
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x48
mov al, byte [0x7ffe03c4]
cmp al, 1
jne 0x140149dc3
mov eax, dword [0x7ffe03c0]
dec eax
cmp eax, 0x3f
ja 0x140149dc3
movzx eax, word [0x1402caada]
mov word [0x1402ca99a], ax
mov eax, 1
mov word [0x1402ca99c], ax
mov byte [0x1402ca998], 1
add rsp, 0x48
ret
mov eax, dword [0x1402c5dc0]
mov edx, 4
mov rcx, qword [0x1402caad0]
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
mov dword [rsp + 0x58], 4
mov dword [rsp + 0x50], eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, 4
lea rdx, [rsp + 0x58]
mov rsi, rax
mov ecx, 0x6b
lea rax, [rsp + 0x50]
mov r9, rsi
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
mov edi, ebx
cmp eax, 0xc0000004
jne 0x140149ea7
nop dword [rax]
cmp edi, 8
jae 0x140149eab
mov rcx, qword [0x1402caad0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x50]
mov edx, 4
mov rcx, qword [0x1402caad0]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8d, 4
lea rdx, [rsp + 0x58]
mov rsi, rax
mov ecx, 0x6b
lea rax, [rsp + 0x50]
mov r9, rsi
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
inc edi
cmp eax, 0xc0000004
je 0x140149e40
test eax, eax
jns 0x140149f01
lfence
mov rcx, qword [0x1402caad0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
movzx eax, word [0x1402caada]
mov word [0x1402ca99a], ax
mov eax, 1
mov word [0x1402ca99c], ax
mov byte [0x1402ca998], 1
mov rsi, qword ss:[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 0x140149f12
mov dword [0x1402c5dc0], eax
lfence
movzx ebp, word [rsi + 0xa]
mov edi, ebp
cmp bx, bp
jae 0x140149eae
lea rcx, [rsi + 0x21]
mov r8d, ebp
nop dword [rax]
movzx eax, byte ds:[rcx]
lea rcx, [rcx + 0x30]
add bx, ax
sub r8, 1
jne 0x140149f30
cmp ebp, 1
jbe 0x140149eae
lfence
mov rcx, qword [0x1402caad0]
lea r8, [rbp*2]
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [0x1402ca9a0], 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 0x140149f80
mov rcx, qword [0x1402caad0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test bx, bx
je 0x140149ec6
mov byte [0x1402ca998], dil
mov al, 1
mov word [0x1402ca99a], bx
mov word [0x1402ca99c], bp
jmp 0x140149ee7
Function at 0x14014a320
Capabilities:
Parse pe header

Disassembly:
mov qword ss:[rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
test byte [0x1402c5b20], 1
mov rbx, r8
mov edi, edx
mov rsi, rcx
jne 0x14014a43f
lock bts qword [0x1402c5b20], 0x1f
setb al
test al, al
je 0x14014a379
test byte [0x1402c5b20], 1
nop
jne 0x14014a43f
xor edx, edx
lea rcx, [0x1402c5b20]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14014a43f
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 0x14014a3d6
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 0x14014a3d6
cmp dword [0x1402bff40], 0x3e
jae 0x14014a433
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 0x14014a433
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14014a42a
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14014a42a
cmp dword [rdx + rcx], 0x4550
jne 0x14014a42a
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14014a42a
cmp dword [rdx + 4], 0
je 0x14014a42a
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DwmSetWindowAttribute
mov word [rsp + 0x20], ax
call fcn.14017dc40
jmp 0x14014a42c
xor eax, eax
mov qword [0x1402cdb28], rax
lea rcx, [0x1402c5b20]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdb28]
test rax, rax
jne 0x14014a461
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.0x14013d64a.0]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14014fc00
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, r8
mov ebx, edx
mov r14, rcx
test dl, 1
je 0x14014fcd1
test bl, 2
je 0x14014fc57
mov r8d, 0x20
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_InternalGetWindowText]
mov esi, eax
test rdi, rdi
je 0x14014fcca
xor edx, edx
mov qword [rdi], rdx
jmp 0x14014fda0
mov rdx, qword [0x1402ca978]
mov ecx, 0x212
call sym.SystemInformer.exe_PhCreateObject
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 0x14014fcb2
mov qword [rdi], rbx
mov eax, esi
jmp 0x14014fda0
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14014fcca
call fcn.140141ca0
mov eax, esi
jmp 0x14014fda0
mov qword [rsp + 0xa8], rbp
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebp, eax
test eax, eax
je 0x14014fd89
test bl, 2
jne 0x14014fd89
mov rdx, qword [0x1402ca978]
mov ebx, ebp
add rbx, rbx
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
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 0x14014fd59
test rdi, rdi
je 0x14014fd3f
mov qword [rdi], rsi
jmp 0x14014fd96
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14014fd96
call fcn.140141ca0
jmp 0x14014fd96
test rdi, rdi
je 0x14014fd68
nop
call sym.SystemInformer.exe_PhReferenceEmptyString
mov qword [rdi], rax
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14014fd85
nop dword [rax + rax]
call fcn.140141ca0
xor eax, eax
jmp 0x14014fd98
test rdi, rdi
je 0x14014fd96
call sym.SystemInformer.exe_PhReferenceEmptyString
mov qword [rdi], rax
mov eax, ebp
mov rbp, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401e4160
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret