joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140142780
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 [0x1402908d0]
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 0x14014288d
mov rcx, qword [rsp + 0x60]
test rdi, rdi
je 0x140142873
mov qword [rdi], rcx
jmp 0x14014287e
test rcx, rcx
je 0x14014287e
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
test rsi, rsi
je 0x14014288d
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1401e4a20
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140142e60
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 0x140142ec2
test rbx, rbx
je 0x140142eb7
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 0x140147bc0
Capabilities:
Encode data using xor
Hash data using fnv

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

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

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

Disassembly:
mov r10, rcx
test r8d, r8d
je 0x140147d2a
sub r8d, 1
je 0x140147d2a
cmp r8d, 1
jne 0x140147cc5
mov rcx, qword ds:[rcx]
xor r9d, r9d
test rcx, rcx
jne 0x140147cc8
xor eax, eax
ret
mov rax, qword [r10 + 8]
shr rcx, 1
lea r10, [rax + rcx*2]
test dl, dl
je 0x140147d0b
cmp rax, r10
je 0x140147d26
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 0x140147ce0
mov eax, r9d
ret
cmp rax, r10
je 0x140147d26
movzx ecx, word [rax]
add rax, 2
imul r9d, r9d, 0x1003f
add r9d, ecx
cmp rax, r10
jne 0x140147d10
mov eax, r9d
ret
jmp sym.SystemInformer.exe_PhHashStringRef
Function at 0x140149580
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 0x14014971b
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 0x140149689
nop dword [rax]
cmp qword [rbx + 0x1780], 0
jne 0x1401496c6
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 0x14014971b
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 0x1401495f0
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 0x14014971b
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 0x140149740
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
cmp dword [0x1402bff40], 0xffffffff
jae 0x14014976c
cmp ecx, 0x40
jae 0x14014976c
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 0x140149765
cmp dword [0x1402bff40], 0xffffffff
jae 0x140149796
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 0x140149f80
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x48
mov al, byte [0x7ffe03c4]
cmp al, 1
jne 0x140149fc3
mov eax, dword [0x7ffe03c0]
dec eax
cmp eax, 0x3f
ja 0x140149fc3
movzx eax, word [0x1402caafa]
mov word [0x1402ca9ba], ax
mov eax, 1
mov word [0x1402ca9bc], ax
mov byte [0x1402ca9b8], 1
add rsp, 0x48
ret
mov eax, dword [0x1402c5de0]
mov edx, 4
mov rcx, qword [0x1402caaf0]
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 0x14014a0a7
nop dword [rax]
cmp edi, 8
jae 0x14014a0ab
mov rcx, qword [0x1402caaf0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r8d, dword [rsp + 0x50]
mov edx, 4
mov rcx, qword [0x1402caaf0]
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 0x14014a040
test eax, eax
jns 0x14014a101
lfence
mov rcx, qword [0x1402caaf0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
movzx eax, word [0x1402caafa]
mov word [0x1402ca9ba], ax
mov eax, 1
mov word [0x1402ca9bc], ax
mov byte [0x1402ca9b8], 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 0x14014a112
mov dword [0x1402c5de0], eax
lfence
movzx ebp, word [rsi + 0xa]
mov edi, ebp
cmp bx, bp
jae 0x14014a0ae
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 0x14014a130
cmp ebp, 1
jbe 0x14014a0ae
lfence
mov rcx, qword [0x1402caaf0]
lea r8, [rbp*2]
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov qword [0x1402ca9c0], 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 0x14014a180
mov rcx, qword [0x1402caaf0]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test bx, bx
je 0x14014a0c6
mov byte [0x1402ca9b8], dil
mov al, 1
mov word [0x1402ca9ba], bx
mov word [0x1402ca9bc], bp
jmp 0x14014a0e7
Function at 0x14014a520
Capabilities:
Parse pe header

Disassembly:
mov qword ss:[rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
test byte [0x1402c5b40], 1
mov rbx, r8
mov edi, edx
mov rsi, rcx
jne 0x14014a63f
lock bts qword [0x1402c5b40], 0x1f
setb al
test al, al
je 0x14014a579
test byte [0x1402c5b40], 1
nop
jne 0x14014a63f
xor edx, edx
lea rcx, [0x1402c5b40]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14014a63f
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 0x14014a5d6
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 0x14014a5d6
cmp dword [0x1402bff40], 0x3e
jae 0x14014a633
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 0x14014a633
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14014a62a
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14014a62a
cmp dword [rdx + rcx], 0x4550
jne 0x14014a62a
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14014a62a
cmp dword [rdx + 4], 0
je 0x14014a62a
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DwmSetWindowAttribute
mov word [rsp + 0x20], ax
call fcn.14017e4c0
jmp 0x14014a62c
xor eax, eax
mov qword [0x1402cdb48], rax
lea rcx, [0x1402c5b40]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdb48]
test rax, rax
jne 0x14014a661
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.0x14013d84a.0]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14014fe00
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 0x14014fed1
test bl, 2
je 0x14014fe57
mov r8d, 0x20
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_InternalGetWindowText]
mov esi, eax
test rdi, rdi
je 0x14014feca
xor edx, edx
mov qword [rdi], rdx
jmp 0x14014ffa0
mov rdx, qword [0x1402ca998]
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 0x14014feb2
mov qword [rdi], rbx
mov eax, esi
jmp 0x14014ffa0
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14014feca
call fcn.140141ea0
mov eax, esi
jmp 0x14014ffa0
mov qword [rsp + 0xa8], rbp
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebp, eax
test eax, eax
je 0x14014ff89
test bl, 2
jne 0x14014ff89
mov rdx, qword [0x1402ca998]
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 0x14014ff59
test rdi, rdi
je 0x14014ff3f
mov qword [rdi], rsi
jmp 0x14014ff96
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14014ff96
call fcn.140141ea0
jmp 0x14014ff96
test rdi, rdi
je 0x14014ff68
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 0x14014ff85
nop dword [rax + rax]
call fcn.140141ea0
xor eax, eax
jmp 0x14014ff98
test rdi, rdi
je 0x14014ff96
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.1401e4a20
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop r14
pop rdi
pop rsi
ret
Function at 0x140150cc0
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.14020af00
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 0x140150d53
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x140150d53
mov rdx, rbp
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x140150d53
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x140150d5c
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 0x140150e40
Capabilities:
Extract resource via kernel32 functions

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

Function at 0x140150f00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x1402bf040]
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 0x140150f94
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 0x140150f94
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 0x140150f9b
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401e4a20
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140151dc0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp + 0x18], rax
mov rbx, rdx
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x40], rcx
mov byte [rbp - 0x37], 1
movups xmmword [rbp - 0x50], xmm0
test rdx, rdx
je 0x140151dfa
mov rcx, rdx
mov qword [rbp + 0x18], rdx
jmp 0x140151e49
cmp dword [0x1402cddd8], 3
mov edx, 0x1000
mov qword [rbp - 0x60], rcx
lea rcx, [rbp + 0x18]
mov qword [rbp - 0x58], rax
jge 0x140151e3b
lea r9, [rbp - 0x60]
mov dword [rbp - 0x30], 0x30
lea r8, [rbp - 0x30]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x18], eax
mov qword [rbp - 0x20], rax
movdqu xmmword [rbp - 0x10], xmm0
call qword [sym.imp.ntdll.dll_NtOpenProcess]
jmp 0x140151e45
lea r8, ds:[rbp - 0x60]
call fcn.140177760
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140151e5f
cmp dword [0x1402bff40], 0x3e
jb 0x140151e5f
call fcn.1401522c0
mov byte [rbp - 0x38], al
lea rdx, [rbp - 0x50]
lea rcx, [0x140151ce0]
call qword [sym.imp.USER32.dll_EnumWindows]
test rbx, rbx
jne 0x140151e86
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140151e86
nop
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x50]
test rcx, rcx
mov rbx, qword [rsp + 0xa0]
cmovne rax, rcx
add rsp, 0x80
pop rbp
ret

Function at 0x1401522c0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
test byte [0x1402c5c30], 1
mov rbx, rcx
jne 0x140152409
lock bts qword [0x1402c5c30], 0x1f
setb al
test al, al
je 0x14015230a
test byte [0x1402c5c30], 1
jne 0x140152409
xor edx, edx
lea rcx, [0x1402c5c30]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140152409
cmp dword [0x1402bff40], 0x3e
jb 0x1401523fd
lea r8, [0x1402675e0]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x14015234d
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140152349
mov edx, ecx
shr rdx, 1
jmp 0x140152383
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140152375
nop dword [rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140152360
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
lea rax, [rdx + rdx]
mov qword [rsp + 0x38], r8
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.14017e120
mov rcx, rax
test rax, rax
je 0x1401523f4
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401523f4
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401523f4
cmp dword [rdx + rcx], 0x4550
jne 0x1401523f4
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401523f4
cmp dword [rdx + 4], 0
je 0x1401523f4
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.IsImmersiveProcess
mov word [rsp + 0x20], ax
call fcn.14017e4c0
jmp 0x1401523f6
xor eax, eax
mov qword [0x1402cdc20], rax
lea rcx, [0x1402c5c30]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdc20]
test rax, rax
jne 0x14015241b
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call qword [case.0x14013d84a.0]
test eax, eax
setne al
add rsp, 0x40
pop rbx
ret
Function at 0x140152440
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov rdi, rdx
test byte [0x1402c5ba0], 1
mov rsi, rcx
jne 0x140152585
lock bts qword [0x1402c5ba0], 0x1f
setb al
test al, al
je 0x14015249a
test byte [0x1402c5ba0], 1
jne 0x140152585
xor edx, edx
lea rcx, [0x1402c5ba0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140152585
lea rax, [0x1402675e0]
mov qword [rsp + 0x30], 0x14
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.14017e120
mov rbx, rax
test rax, rax
je 0x140152575
cmp dword [0x1402bff40], 0x66
jb 0x140152507
xor r8d, r8d
lea rdx, str.GetDpiAwarenessContextForProcess
mov rcx, rax
call fcn.14017e360
xor r8d, r8d
mov qword [0x1402cdc60], rax
lea rdx, str.AreDpiAwarenessContextsEqual
mov rcx, rbx
call fcn.14017e360
mov qword [0x1402cdbc0], rax
jmp 0x14015250e
mov rax, qword [0x1402cdbc0]
cmp qword [0x1402cdc60], rbp
je 0x14015251c
test rax, rax
jne 0x140152575
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14015256b
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14015256b
cmp dword [rcx + rbx], 0x4550
jne 0x14015256b
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14015256b
cmp dword [rdx + 4], ebp
je 0x14015256b
lea r8, [rbx + rax]
mov word [rsp + 0x20], bp
lea r9, str.GetProcessDpiAwarenessInternal
mov rcx, rbx
call fcn.14017e4c0
jmp 0x14015256e
mov rax, rbp
mov qword [0x1402cdc38], rax
lea rcx, [0x1402c5ba0]
nop dword [rax]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdc60]
test rax, rax
je 0x140152659
cmp qword [0x1402cdbc0], rbp
nop dword [rax]
je 0x140152659
mov rcx, rsi
call qword [case.0x14013d84a.0]
mov rbx, rax
mov rcx, rax
mov rax, qword [0x1402cdbc0]
mov rdx, 0xffffffffffffffff
call qword [case.0x14013d84a.0]
test eax, eax
jne 0x1401526a2
mov rax, qword [0x1402cdbc0]
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
call qword [case.0x14013d84a.0]
test eax, eax
jne 0x140152698
mov rax, qword [0x1402cdbc0]
mov rdx, 0xfffffffffffffffd
mov rcx, rbx
call qword [case.0x14013d84a.0]
test eax, eax
jne 0x14015268e
mov rax, qword [0x1402cdbc0]
mov rdx, 0xfffffffffffffffc
mov rcx, rbx
call qword [case.0x14013d84a.0]
test eax, eax
je 0x140152634
mov dword [rdi], 3
mov al, 1
jmp 0x1401526aa
mov rax, qword [0x1402cdbc0]
mov rdx, 0xfffffffffffffffb
mov rcx, rbx
call qword [case.0x14013d84a.0]
test eax, eax
je 0x140152659
mov dword [rdi], 4
mov al, 1
jmp 0x1401526aa
mov rax, qword [0x1402cdc38]
test rax, rax
je 0x1401526a8
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], ebp
mov rcx, rsi
call qword [case.0x14013d84a.0]
test eax, eax
je 0x1401526a8
mov eax, dword ds:[rsp + 0x60]
test eax, eax
je 0x1401526a2
sub eax, 1
je 0x140152698
cmp eax, 1
jne 0x1401526a8
mov dword [rdi], 2
mov al, 1
jmp 0x1401526aa
mov dword [rdi], 1
mov al, 1
jmp 0x1401526aa
mov dword [rdi], ebp
mov al, 1
jmp 0x1401526aa
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret