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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
test byte [0x1402c6980], 1
mov rbx, rdx
mov edi, ecx
jne 0x14013ca1c
lock bts qword [0x1402c6980], 0x1f
setb al
test al, al
je 0x14013c94d
test byte [0x1402c6980], 1
jne 0x14013ca1c
xor edx, edx
lea rcx, [0x1402c6980]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14013ca1c
xor edx, edx
lea rcx, str.shell32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013c9b1
xor edx, edx
lea rcx, str.shell32.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013c9b1
cmp dword [0x1402c0f40], 0x3e
jae 0x14013ca10
xor r8d, r8d
lea rcx, str.shell32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14013ca10
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013ca07
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013ca07
cmp dword [rdx + rcx], 0x4550
jne 0x14013ca07
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013ca07
cmp dword [rdx + 4], 0
je 0x14013ca07
lea r8, ds:[rcx + rax]
xor eax, eax
lea r9, str.Shell_NotifyIconW
mov word [rsp + 0x20], ax
call fcn.14017f180
jmp 0x14013ca09
xor eax, eax
mov qword [0x1402ce9b0], rax
lea rcx, [0x1402c6980]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402ce9b0]
test rax, rax
jne 0x14013ca33
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rdx, rbx
mov ecx, edi
call qword [case.0x14013dbaa.0]
mov rbx, qword [rsp + 0x40]
test eax, eax
setne al
add rsp, 0x30
pop rdi
ret
Function at 0x14013d280
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
lea rbx, str.comdlg32.dll
mov qword [rsp + 0x30], 0x18
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rbx
call fcn.14017ede0
mov rcx, rax
test rax, rax
jne 0x14013d309
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013d309
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013d309
cmp dword [0x1402c0f40], 0x3e
jae 0x14013d40d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14013d40d
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013d40d
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013d40d
cmp dword [rdx + rcx], 0x4550
jne 0x14013d40d
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013d40d
cmp dword [rdx + 4], 0
je 0x14013d40d
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017f180
test rax, rax
je 0x14013d40d
lea r8, [rsp + 0x50]
lea rdx, [0x140210c20]
lea rcx, [0x140210bf0]
call qword [case.0x14013dbaa.0]
mov ebx, eax
test eax, eax
js 0x14013d3c9
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
lea r8, [0x140210bd0]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013dbaa.0]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013dbaa.0]
test ebx, ebx
js 0x14013d40d
mov rcx, qword [0x1402cba10]
mov edx, 4
mov rbx, qword [rsp + 0x58]
mov r8d, 0x10
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov byte [rax + 1], 0
test rbx, rbx
je 0x14013d401
mov byte ds:[rax], 1
mov qword [rax + 8], rbx
add rsp, 0x40
pop rbx
ret
mov ecx, 0xc000000d
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x14013d420
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
lea rbx, str.comdlg32.dll
mov qword [rsp + 0x30], 0x18
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rbx
call fcn.14017ede0
mov rcx, rax
test rax, rax
jne 0x14013d4a9
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013d4a9
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013d4a9
cmp dword [0x1402c0f40], 0x3e
jae 0x14013d5ad
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14013d5ad
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013d5ad
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013d5ad
cmp dword [rdx + rcx], 0x4550
jne 0x14013d5ad
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013d5ad
cmp dword [rdx + 4], 0
je 0x14013d5ad
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017f180
test rax, rax
je 0x14013d5ad
lea r8, [rsp + 0x50]
lea rdx, [0x140210c20]
lea rcx, [0x140210c00]
call qword [case.0x14013dbaa.0]
mov ebx, eax
test eax, eax
js 0x14013d569
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
lea r8, [0x140210bd0]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013dbaa.0]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013dbaa.0]
test ebx, ebx
js 0x14013d5ad
mov rcx, qword [0x1402cba10]
mov edx, 4
mov rbx, qword [rsp + 0x58]
mov r8d, 0x10
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov byte [rax + 1], 1
test rbx, rbx
je 0x14013d5a1
mov byte ds:[rax], 1
mov qword [rax + 8], rbx
add rsp, 0x40
pop rbx
ret
mov ecx, 0xc000000d
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x14013e5c0
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
sub rsp, 0x28
mov dword [rcx], edx
test edx, edx
je 0x14013e664
sub edx, 1
je 0x14013e636
sub edx, 1
je 0x14013e62c
cmp edx, 1
je 0x14013e5e9
mov ecx, 0xc00000f0
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
xor eax, eax
mov dword [rcx + 0xc], 0x6a09e667
mov dword [rcx + 0x10], 0xbb67ae85
mov dword [rcx + 0x14], 0x3c6ef372
mov dword [rcx + 0x18], 0xa54ff53a
mov dword [rcx + 0x1c], 0x510e527f
mov dword [rcx + 0x20], 0x9b05688c
mov dword [rcx + 0x24], 0x1f83d9ab
mov dword [rcx + 0x28], 0x5be0cd19
mov qword [rcx + 4], rax
add rsp, 0x28
ret
xor eax, eax
mov dword [rcx + 4], eax
add rsp, 0x28
ret
xor eax, eax
mov dword [rcx + 0x1c], 0x67452301
mov qword [rcx + 0x30], rax
mov dword [rcx + 0x20], 0xefcdab89
mov dword [rcx + 0x24], 0x98badcfe
mov dword [rcx + 0x28], 0x10325476
mov dword [rcx + 0x2c], 0xc3d2e1f0
add rsp, 0x28
ret
xor eax, eax
mov dword [rcx + 0xc], 0x67452301
mov dword [rcx + 0x10], 0xefcdab89
mov dword [rcx + 0x14], 0x98badcfe
mov dword [rcx + 0x18], 0x10325476
mov qword [rcx + 4], rax
add rsp, 0x28
ret

Function at 0x14013e6a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
mov r9d, dword [rcx]
mov r10, rdx
mov r11, rcx
test r9d, r9d
je 0x14013e735
sub r9d, 1
je 0x14013e728
nop dword [rax]
sub r9d, 1
je 0x14013e6e5
cmp r9d, 1
je 0x14013e6d8
mov ecx, 0xc000000d
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
add rcx, 4
add rsp, 0x28
jmp fcn.1401d1560
mov edx, dword [rcx + 4]
mov r8d, r8d
not edx
test r8, r8
je 0x14013e71d
lea r9, [0x14028c160]
nop dword [rax]
movsx ecx, byte [r10]
lea r10, [r10 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
xor edx, dword [r9 + rax*4]
sub r8, 1
jne 0x14013e700
not edx
mov dword [r11 + 4], edx
add rsp, 0x28
ret
add rcx, 4
add rsp, 0x28
jmp fcn.1401d4a80
add rcx, 4
add rsp, 0x28
jmp fcn.1401d18c0
Function at 0x14013f9a0
Capabilities:
Parse pe header

Disassembly:
push rbx
push rdi
sub rsp, 0x38
xor edi, edi
mov rbx, rcx
test byte [0x1402c68b0], 1
jne 0x14013fab1
lock bts qword [0x1402c68b0], 0x1f
setb al
test al, al
jne 0x14013fa9a
xor edx, edx
lea rcx, str.shell32.dll
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013fa31
xor edx, edx
lea rcx, str.shell32.dll
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013fa31
cmp dword [0x1402c0f40], 0x3e
jae 0x14013fa8c
xor r8d, r8d
lea rcx, str.shell32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14013fa8c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013fa82
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013fa82
cmp dword [rdx + rcx], 0x4550
jne 0x14013fa82
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013fa82
cmp dword [rdx + 4], edi
je 0x14013fa82
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.CommandLineToArgvW
call fcn.14017f180
nop
jmp 0x14013fa85
mov rax, rdi
mov qword [0x1402ce9e0], rax
lea rcx, [0x1402c68b0]
call sym.SystemInformer.exe_PhfSetEvent
jmp 0x14013fab1
test byte [0x1402c68b0], 1
jne 0x14013fab1
xor edx, edx
lea rcx, [0x1402c68b0]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rax, qword [0x1402ce9e0]
nop dword [rax + rax]
test rax, rax
je 0x14013fb9b
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x30], r14
mov rcx, rbx
call qword [case.0x14013dbaa.0]
mov r14, rax
test rax, rax
je 0x14013fb8c
mov ecx, dword [rsp + 0x58]
call sym.SystemInformer.exe_PhCreateList
mov rbx, rax
cmp dword [rsp + 0x58], edi
jle 0x14013fb74
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x60], rsi
mov rsi, r14
mov rcx, qword [rsi]
call sym.SystemInformer.exe_PhCreateString
mov rbp, rax
mov eax, dword [rbx + 4]
cmp dword [rbx], eax
jne 0x14013fb52
mov r8, qword [rbx + 8]
add eax, eax
mov rcx, qword [0x1402cba10]
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rbx + 4], eax
test r8, r8
jne 0x14013fb48
mov r8, r9
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x14013fb4e
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov qword [rbx + 8], rax
mov edx, dword [rbx]
inc edi
mov rax, qword [rbx + 8]
add rsi, 8
mov qword [rax + rdx*8], rbp
inc dword [rbx]
cmp edi, dword [rsp + 0x58]
jl 0x14013fb08
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x30]
mov rax, rbx
add rsp, 0x38
pop rdi
pop rbx
ret
mov r14, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x38
pop rdi
pop rbx
ret
mov rax, rdi
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x140140600
Capabilities:
Create directory

Disassembly:
sub rsp, 0x128
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0x110], rax
test byte [0x1402c68d0], 1
jne 0x1401407a6
lock bts qword [0x1402c68d0], 0x1f
setb al
test al, al
jne 0x14014063b
mov al, 1
jmp 0x140140654
test byte [0x1402c68d0], 1
jne 0x140140652
xor edx, edx
lea rcx, [0x1402c68d0]
call sym.SystemInformer.exe_PhfWaitForEvent
xor al, al
test al, al
je 0x1401407a6
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x120], rdi
call fcn.14018a640
mov edx, 1
lea rcx, [rsp + 0x60]
mov rdi, rax
movzx ebx, byte [rax + 1]
call qword [sym.imp.ntdll.dll_RtlCreateSecurityDescriptor]
lea edx, ds:[rbx*4 + 0x4c]
mov r8d, 2
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlCreateAcl]
lea r9, [0x140246490]
mov edx, 2
mov r8d, 0xf000f
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
mov r9, rdi
lea rcx, [rsp + 0x88]
mov edx, 2
mov r8d, 0xf000f
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
lea r9, [0x1402464a0]
mov edx, 2
mov r8d, 7
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntdll.dll_RtlAddAccessAllowedAce]
xor r9d, r9d
lea r8, [rsp + 0x88]
mov dl, 1
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlSetDaclSecurityDescriptor]
xor r8d, r8d
mov dword [rsp + 0x20], 0x420040
cmp dword [0x1402c0f40], 0x64
lea rax, str.BaseNamedObjectsSystemInformer
mov qword [rsp + 0x28], rax
lea rcx, [0x1402ce9a0]
mov edx, 0x80
mov qword [rsp + 0x38], r8
mov eax, 0x1080
mov qword [rsp + 0x58], r8
cmovb eax, edx
mov dword [rsp + 0x30], 0x30
mov dword [rsp + 0x48], eax
lea r8, [rsp + 0x30]
lea rax, [rsp + 0x20]
mov edx, 0x2000000
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
call qword [sym.imp.ntdll.dll_NtCreateDirectoryObject]
lea rcx, [0x1402c68d0]
call sym.SystemInformer.exe_PhfSetEvent
mov rdi, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x130]
mov rax, qword [0x1402ce9a0]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1401e5e20
add rsp, 0x128
ret
Function at 0x1401407e0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
test byte [0x1402c6a10], 1
mov rbx, rcx
jne 0x140140929
lock bts qword [0x1402c6a10], 0x1f
setb al
test al, al
je 0x14014082a
test byte [0x1402c6a10], 1
jne 0x140140929
xor edx, edx
lea rcx, [0x1402c6a10]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140140929
lea r8, [0x140268980]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x140140862
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14014085e
mov edx, ecx
shr rdx, 1
jmp 0x1401408a3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140140895
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140140880
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.14017ede0
mov rcx, rax
test rax, rax
je 0x140140914
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140140914
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140140914
cmp dword [rdx + rcx], 0x4550
jne 0x140140914
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140140914
cmp dword [rdx + 4], 0
je 0x140140914
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.HungWindowFromGhostWindow
mov word [rsp + 0x20], ax
call fcn.14017f180
jmp 0x140140916
xor eax, eax
lea rcx, [0x1402c6a10]
mov qword [0x1402cea40], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cea40]
test rax, rax
jne 0x14014093b
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp qword [case.0x14013dbaa.0]
Function at 0x140140960
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1070
call fcn.14020ad50
sub rsp, rax
mov rax, qword [0x1402c0040]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov r13, r8
mov r12, rdx
mov r15, rcx
mov edi, 0x1000
mov rcx, qword [0x1402cba10]
mov r8d, edi
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r9d, r9d
xor r8d, r8d
mov rbx, rax
xor edx, edx
xor eax, eax
mov rcx, r15
mov qword [rsp + 0x40], rax
mov r14d, eax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
mov ebp, eax
test eax, eax
js 0x140140a9a
lfence
nop word [rax + rax]
mov esi, dword [rsp + 0x58]
test esi, esi
je 0x140140aaa
lea ebp, [rsi + r14]
cmp edi, ebp
jae 0x140140a41
mov rcx, qword [0x1402cba10]
add edi, edi
mov r9d, edi
mov edx, 4
test rbx, rbx
jne 0x140140a35
mov r8d, r9d
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x140140a3e
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov rbx, rax
mov ecx, r14d
lea rdx, [rsp + 0x60]
add rcx, rbx
mov r8, rsi
call fcn.14020be40
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
lea rax, [rsp + 0x60]
mov dword [rsp + 0x30], 0x1000
mov qword [rsp + 0x28], rax
mov rcx, r15
lea rax, [rsp + 0x50]
mov r14d, ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
mov ebp, eax
test eax, eax
jns 0x140140a00
mov r8, rbx
cmp ebp, 0xc0000011
jne 0x140140adb
xor ebp, ebp
mov esi, r14d
mov eax, edi
lea rcx, [rsi + 1]
cmp rax, rcx
jae 0x140140b0f
lea r9d, [rdi + 1]
lfence
mov rcx, qword [0x1402cba10]
mov edx, 4
test rbx, rbx
jne 0x140140b03
mov r8d, r9d
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x140140b0c
test ebp, ebp
jns 0x140140aaa
lfence
mov rcx, qword [0x1402cba10]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [r12], 0
mov dword [r13], 0
jmp 0x140140b1b
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov rbx, rax
mov byte [rsi + rbx], 0
mov qword [r12], rbx
mov dword [r13], r14d
mov eax, ebp
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.1401e5e20
mov rbx, qword [rsp + 0x10c8]
add rsp, 0x1070
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140140d00
Capabilities:
Parse pe header

Disassembly:
mov qword ss:[rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, 0x5a4d
mov rdi, r9
mov rsi, r8
mov rbx, rdx
cmp word [rcx], ax
jne 0x140140dd9
mov r10d, dword [rcx + 0x3c]
lea eax, [r10 - 1]
cmp eax, 0x7ffffffd
ja 0x140140dd9
cmp dword [r10 + rcx], 0x4550
jne 0x140140dd9
lea rdx, [rcx + 0x88]
add rdx, r10
mov eax, dword [rdx]
test eax, eax
je 0x140140dd9
cmp dword ds:[rdx + 4], 0
je 0x140140dd9
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017f180
test rax, rax
je 0x140140dd9
lea r8, [rsp + 0x40]
mov rcx, rbx
lea rdx, [0x140210c20]
call qword [case.0x14013dbaa.0]
mov ebx, eax
test eax, eax
js 0x140140dc7
mov rcx, qword [rsp + 0x40]
mov r9, rdi
mov r8, rsi
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013dbaa.0]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013dbaa.0]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
mov eax, 0x8007007f
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140140ea0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x50
lea r8, str.Windows.Management.Deployment.PackageManager
mov dword [rsp + 0x30], 1
mov r10, rcx
mov rdx, r8
and rdx, 0xfffffffffffffff1
mov rcx, r8
mov rdi, r9
xorps xmm1, xmm1
and ecx, 0xf
je 0x140140ef3
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140140eef
mov edx, ecx
shr rdx, 1
jmp 0x140140f33
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140140f25
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140140f10
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
mov eax, 0x5a4d
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x40], r8
cmp word [r10], ax
jne 0x14014103a
mov ecx, dword [r10 + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14014103a
cmp dword [rcx + r10], 0x4550
jne 0x14014103a
lea rdx, [r10 + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14014103a
cmp dword [rdx + 4], 0
je 0x14014103a
lea r8, ds:[r10 + rax]
mov rcx, r10
xor eax, eax
lea r9, str.DllGetActivationFactory
mov word [rsp + 0x20], ax
call fcn.14017f180
test rax, rax
je 0x14014103a
lea rdx, ds:[rsp + 0x68]
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x30]
call qword [case.0x14013dbaa.0]
mov ebx, eax
test eax, eax
jne 0x14014102d
mov rcx, qword ds:[rsp + 0x68]
lea rdx, [rsp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [case.0x14013dbaa.0]
mov ebx, eax
test eax, eax
jne 0x14014101b
mov rcx, qword [rsp + 0x70]
lea rdx, [0x1402904b8]
mov r8, rdi
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x14013dbaa.0]
mov rcx, qword [rsp + 0x70]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013dbaa.0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013dbaa.0]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
mov eax, 0x8007007f
add rsp, 0x50
pop rdi
ret
Function at 0x140141060
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
test byte [0x1402c69c0], 1
mov rbx, rdx
jne 0x14014113c
lock bts qword [0x1402c69c0], 0x1f
setb al
test al, al
je 0x1401410aa
test byte [0x1402c69c0], 1
jne 0x14014113c
xor edx, edx
lea rcx, [0x1402c69c0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14014113c
lea rax, [0x14023fe60]
mov qword [rsp + 0x30], 0x12
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.14017ede0
mov r10, rax
test rax, rax
je 0x140141130
mov eax, 0x5a4d
cmp word [r10], ax
jne 0x140141127
mov eax, dword [r10 + 0x3c]
lea ecx, [rax - 1]
cmp ecx, 0x7ffffffd
ja 0x140141127
cmp dword [rax + r10], 0x4550
jne 0x140141127
lea rdx, [r10 + 0x88]
add rdx, rax
mov eax, dword [rdx]
test eax, eax
je 0x140141127
cmp dword [rdx + 4], 0
je 0x140141127
lea r8, [r10 + rax]
mov rcx, r10
xor eax, eax
lea r9, str.RtlDelayExecution
mov word [rsp + 0x20], ax
call fcn.14017f180
jmp 0x140141129
xor eax, eax
mov qword [0x1402cea30], rax
lea rcx, [0x1402c69c0]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cea30]
xor ecx, ecx
mov rdx, rbx
test rax, rax
je 0x140141159
add rsp, 0x40
pop rbx
jmp qword [case.0x14013dbaa.0]
add rsp, 0x40
pop rbx
jmp qword [sym.imp.ntdll.dll_NtDelayExecution]
Function at 0x140141820
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 [0x1402c6840], 1
mov rbx, r9
mov edi, r8d
mov esi, edx
mov ebp, ecx
jne 0x14014193f
lock bts qword [0x1402c6840], 0x1f
setb al
test al, al
je 0x14014187c
test byte [0x1402c6840], 1
jne 0x14014193f
xor edx, edx
lea rcx, [0x1402c6840]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14014193f
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 0x1401418d9
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 0x1401418d9
cmp dword [0x1402c0f40], 0x3e
jae 0x140141933
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 0x140141933
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14014192a
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14014192a
cmp dword [rdx + rcx], 0x4550
jne 0x14014192a
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14014192a
cmp dword [rdx + 4], 0
je 0x14014192a
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DevGetObjects
mov word [rsp + 0x20], ax
call fcn.14017f180
jmp 0x14014192c
xor eax, eax
mov qword [0x1402cea28], rax
lea rcx, [0x1402c6840]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cea28]
test rax, rax
jne 0x140141952
mov eax, 0x80004005
jmp 0x140141994
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.0x14013dbaa.0]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret