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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
test byte [0x1402c69e0], 1
mov rbx, rdx
mov edi, ecx
jne 0x140141adc
lock bts qword [0x1402c69e0], 0x1f
setb al
test al, al
je 0x140141a0d
test byte [0x1402c69e0], 1
jne 0x140141adc
xor edx, edx
lea rcx, [0x1402c69e0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140141adc
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 0x140141a71
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 0x140141a71
cmp dword [0x1402c0f40], 0x3e
jae 0x140141ad0
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 0x140141ad0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140141ac7
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140141ac7
cmp dword [rdx + rcx], 0x4550
jne 0x140141ac7
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140141ac7
cmp dword [rdx + 4], 0
je 0x140141ac7
lea r8, ds:[rcx + rax]
xor eax, eax
lea r9, str.DevFreeObjects
mov word [rsp + 0x20], ax
call fcn.14017f180
jmp 0x140141ac9
xor eax, eax
mov qword [0x1402cea18], rax
lea rcx, [0x1402c69e0]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cea18]
test rax, rax
je 0x140141af3
mov rdx, rbx
mov ecx, edi
call qword [case.0x14013dbaa.0]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140141b00
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.14017ede0
mov rcx, rax
test rax, rax
jne 0x140141b96
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141b96
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141b96
cmp dword [0x1402c0f40], 0x3e
jae 0x140141b86
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140141b96
mov eax, 0x8007007e
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140141c4e
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140141c4e
cmp dword [rdx + rcx], 0x4550
jne 0x140141c4e
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140141c4e
cmp dword [rdx + 4], 0
je 0x140141c4e
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017f180
test rax, rax
je 0x140141c4e
lea r8, [rsp + 0x60]
lea rdx, [0x140210c20]
lea rcx, [0x140210be0]
call qword [case.0x14013dbaa.0]
mov ebx, eax
test eax, eax
js 0x140141c53
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x58]
lea r8, [0x140210bc0]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013dbaa.0]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013dbaa.0]
jmp 0x140141c53
mov ebx, 0x8007007f
test ebx, ebx
jne 0x140141c9b
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013dbaa.0]
mov ebx, eax
test eax, eax
je 0x140141c93
mov rcx, qword ds:[rsp + 0x58]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x14013dbaa.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 0x1401423e0
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
xor eax, eax
mov rbx, rcx
cmp dword [0x1402c0f40], 0xffffffff
mov dword [rcx], eax
mov qword [rcx + 0x208], rax
mov qword [rcx + 0x210], rax
mov ecx, dword [0x1402cea48]
jae 0x140142428
cmp ecx, 0x40
jae 0x140142428
mov rdx, qword gs:[0x30]
mov ecx, dword [0x1402cea48]
mov rax, qword [rdx + rcx*8 + 0x1480]
jmp 0x140142434
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x1402cea48]
mov rdx, rbx
mov qword [rbx + 0x218], rax
call fcn.140149ba0
test eax, eax
jns 0x140142455
mov ecx, 0xc0000001
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
add rsp, 0x20
pop rbx
ret
Function at 0x140142460
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.SystemInformer.exe_PhDrainAutoPool
cmp dword [0x1402c0f40], 0xffffffff
mov ecx, dword [0x1402cea48]
jae 0x14014249e
nop dword [rax]
cmp ecx, 0x40
jae 0x14014249e
mov rdx, qword gs:[0x30]
mov ecx, dword [0x1402cea48]
mov rax, qword [rdx + rcx*8 + 0x1480]
jmp 0x1401424ac
nop
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x1402cea48]
cmp rax, rbx
jne 0x1401424ed
mov rdx, qword [rbx + 0x218]
call fcn.140149ba0
nop dword [rax]
test eax, eax
js 0x1401424ed
mov r8, qword [rbx + 0x210]
test r8, r8
je 0x1401424e7
mov rcx, qword [0x1402cba10]
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 0x140142600
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x1402c0f40], 0xffffffff
mov rdi, rcx
mov ecx, dword [0x1402cea48]
jae 0x14014263b
nop dword [rax]
cmp ecx, 0x40
jae 0x14014263b
lfence
mov rdx, qword gs:[0x30]
mov rbx, qword [rdx + rcx*8 + 0x1480]
jmp 0x140142649
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rdi, rdi
jne 0x14014265b
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, dword ds:[rbx]
cmp eax, 0x40
jae 0x14014267a
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 0x1401426b2
mov rcx, qword [0x1402cba10]
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 0x140142711
add eax, eax
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rbx + 0x20c], eax
test rcx, rcx
jne 0x1401426f7
mov rcx, qword [0x1402cba10]
mov r8, r9
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x140142707
mov r8, rcx
mov rcx, qword [0x1402cba10]
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 0x140142ae0
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 [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0x120]
lea rax, [r11 - 0x80]
movdqa xmm1, xmmword [0x140291c30]
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 0x140142bed
mov rcx, qword [rsp + 0x60]
test rdi, rdi
je 0x140142bd3
mov qword [rdi], rcx
jmp 0x140142bde
test rcx, rcx
je 0x140142bde
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
test rsi, rsi
je 0x140142bed
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401e5e20
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1401431c0
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 0x140143222
test rbx, rbx
je 0x140143217
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 0x140148020
Capabilities:
Encode data using xor
Hash data using fnv

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

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

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

Disassembly:
mov r10, rcx
test r8d, r8d
je 0x14014818a
sub r8d, 1
je 0x14014818a
cmp r8d, 1
jne 0x140148125
mov rcx, qword ds:[rcx]
xor r9d, r9d
test rcx, rcx
jne 0x140148128
xor eax, eax
ret
mov rax, qword [r10 + 8]
shr rcx, 1
lea r10, [rax + rcx*2]
test dl, dl
je 0x14014816b
cmp rax, r10
je 0x140148186
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 0x140148140
mov eax, r9d
ret
cmp rax, r10
je 0x140148186
movzx ecx, word [rax]
add rax, 2
imul r9d, r9d, 0x1003f
add r9d, ecx
cmp rax, r10
jne 0x140148170
mov eax, r9d
ret
jmp sym.SystemInformer.exe_PhHashStringRef
Function at 0x1401499e0
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x1402c0f40], 0xffffffff
jae 0x140149b7b
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 0x140149ae9
nop dword [rax]
cmp qword [rbx + 0x1780], 0
jne 0x140149b26
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 0x140149b7b
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 0x140149a50
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 0x140149b7b
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 0x140149ba0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
cmp dword [0x1402c0f40], 0xffffffff
jae 0x140149bcc
cmp ecx, 0x40
jae 0x140149bcc
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 0x140149bc5
cmp dword [0x1402c0f40], 0xffffffff
jae 0x140149bf6
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 0x14014a3e0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x48
mov al, byte [0x7ffe03c4]
cmp al, 1
jne 0x14014a423
mov eax, dword [0x7ffe03c0]
dec eax
cmp eax, 0x3f
ja 0x14014a423
movzx eax, word [0x1402cba1a]
mov word [0x1402cb8e2], ax
mov eax, 1
mov word [0x1402cb8e4], ax
mov byte [0x1402cb8e0], 1
add rsp, 0x48
ret
mov eax, dword [0x1402c6d20]
mov edx, 4
mov rcx, qword [0x1402cba10]
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 0x14014a507
nop dword [rax]
cmp edi, 8
jae 0x14014a50b
mov rcx, qword [0x1402cba10]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x50]
mov edx, 4
mov rcx, qword [0x1402cba10]
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 0x14014a4a0
test eax, eax
jns 0x14014a561
lfence
mov rcx, qword [0x1402cba10]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
movzx eax, word [0x1402cba1a]
mov word [0x1402cb8e2], ax
mov eax, 1
mov word [0x1402cb8e4], ax
mov byte [0x1402cb8e0], 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 0x14014a572
mov dword [0x1402c6d20], eax
lfence
movzx ebp, word [rsi + 0xa]
mov edi, ebp
cmp bx, bp
jae 0x14014a50e
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 0x14014a590
cmp ebp, 1
jbe 0x14014a50e
lfence
mov rcx, qword [0x1402cba10]
lea r8, [rbp*2]
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [0x1402cb8e8], 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 0x14014a5e0
mov rcx, qword [0x1402cba10]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test bx, bx
je 0x14014a526
mov byte [0x1402cb8e0], dil
mov al, 1
mov word [0x1402cb8e2], bx
mov word [0x1402cb8e4], bp
jmp 0x14014a547
Function at 0x14014a980
Capabilities:
Parse pe header

Disassembly:
mov qword ss:[rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
test byte [0x1402c6a80], 1
mov rbx, r8
mov edi, edx
mov rsi, rcx
jne 0x14014aa9f
lock bts qword [0x1402c6a80], 0x1f
setb al
test al, al
je 0x14014a9d9
test byte [0x1402c6a80], 1
nop
jne 0x14014aa9f
xor edx, edx
lea rcx, [0x1402c6a80]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14014aa9f
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 0x14014aa36
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 0x14014aa36
cmp dword [0x1402c0f40], 0x3e
jae 0x14014aa93
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 0x14014aa93
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14014aa8a
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14014aa8a
cmp dword [rdx + rcx], 0x4550
jne 0x14014aa8a
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14014aa8a
cmp dword [rdx + 4], 0
je 0x14014aa8a
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DwmSetWindowAttribute
mov word [rsp + 0x20], ax
call fcn.14017f180
jmp 0x14014aa8c
xor eax, eax
mov qword [0x1402cea78], rax
lea rcx, [0x1402c6a80]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cea78]
test rax, rax
jne 0x14014aac1
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.0x14013dbaa.0]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140150360
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, r8
mov ebx, edx
mov r14, rcx
test dl, 1
je 0x140150431
test bl, 2
je 0x1401503b7
mov r8d, 0x20
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_InternalGetWindowText]
mov esi, eax
test rdi, rdi
je 0x14015042a
xor edx, edx
mov qword [rdi], rdx
jmp 0x140150500
mov rdx, qword [0x1402cb8c0]
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 0x140150412
mov qword [rdi], rbx
mov eax, esi
jmp 0x140150500
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14015042a
call fcn.140142200
mov eax, esi
jmp 0x140150500
mov qword [rsp + 0xa8], rbp
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebp, eax
test eax, eax
je 0x1401504e9
test bl, 2
jne 0x1401504e9
mov rdx, qword [0x1402cb8c0]
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 0x1401504b9
test rdi, rdi
je 0x14015049f
mov qword [rdi], rsi
jmp 0x1401504f6
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401504f6
call fcn.140142200
jmp 0x1401504f6
test rdi, rdi
je 0x1401504c8
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 0x1401504e5
nop dword [rax + rax]
call fcn.140142200
xor eax, eax
jmp 0x1401504f8
test rdi, rdi
je 0x1401504f6
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.1401e5e20
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret
Function at 0x140151220
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.14020be40
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 0x1401512b3
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x1401512b3
mov rdx, rbp
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x1401512b3
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1401512bc
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 0x1401513a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x1402c0040]
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 0x140151434
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 0x140151434
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 0x140151436
xor eax, eax
mov rcx, qword ds:[rsp + 0x60]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140151460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x1402c0040]
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 0x1401514f4
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 0x1401514f4
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 0x1401514fb
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret