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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
test byte [0x1402c0960], 1
mov rbx, rdx
mov edi, ecx
jne 0x14013a3dc
lock bts qword [0x1402c0960], 0x1f
jae 0x14013a30a
test byte [0x1402c0960], 1
jne 0x14013a3dc
xor edx, edx
lea rcx, [0x1402c0960]
call sym.SystemInformer.exe_QifWaitForEvent
jmp 0x14013a3dc
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 0x14013a36e
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 0x14013a36e
cmp dword [0x1402baf40], 0x3e
jae 0x14013a3d0
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 0x14013a3d0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013a3c7
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013a3c7
cmp dword [rdx + rcx], 0x4550
jne 0x14013a3c7
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013a3c7
cmp dword [rdx + 4], 0
je 0x14013a3c7
lea r8, ds:[rcx + rax]
xor eax, eax
lea r9, str.Shell_NotifyIconW
mov word [rsp + 0x20], ax
call fcn.140177a80
jmp 0x14013a3c9
xor eax, eax
mov qword [0x1402c8028], rax
lea rcx, [0x1402c0960]
call sym.SystemInformer.exe_QifSetEvent
mov rax, qword [0x1402c8028]
test rax, rax
jne 0x14013a3f3
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rdx, rbx
mov ecx, edi
call qword [case.0x14013b5a0.0]
mov rbx, qword [rsp + 0x40]
test eax, eax
setne al
add rsp, 0x30
pop rdi
ret
Function at 0x14013ac80
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.1401776c0
mov rcx, rax
test rax, rax
jne 0x14013ad09
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013ad09
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013ad09
cmp dword [0x1402baf40], 0x3e
jae 0x14013ae0a
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14013ae0a
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013ae0a
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013ae0a
cmp dword [rdx + rcx], 0x4550
jne 0x14013ae0a
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013ae0a
cmp dword [rdx + 4], 0
je 0x14013ae0a
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.140177a80
test rax, rax
je 0x14013ae0a
lea r8, [rsp + 0x50]
lea rdx, [0x14020cba0]
lea rcx, [0x14020cb70]
call qword [case.0x14013b5a0.0]
mov ebx, eax
test eax, eax
js 0x14013adc9
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
lea r8, [0x14020cb50]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013b5a0.0]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013b5a0.0]
test ebx, ebx
js 0x14013ae0a
mov rcx, qword [0x1402c5110]
mov edx, 4
mov rbx, qword [rsp + 0x58]
lea r8d, [rdx + 0xc]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov byte [rax + 1], 0
test rbx, rbx
je 0x14013adfe
mov byte [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 0x14013ae20
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.1401776c0
mov rcx, rax
test rax, rax
jne 0x14013aea9
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013aea9
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013aea9
cmp dword [0x1402baf40], 0x3e
jae 0x14013afaa
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14013afaa
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013afaa
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013afaa
cmp dword [rdx + rcx], 0x4550
jne 0x14013afaa
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013afaa
cmp dword [rdx + 4], 0
je 0x14013afaa
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.140177a80
test rax, rax
je 0x14013afaa
lea r8, [rsp + 0x50]
lea rdx, [0x14020cba0]
lea rcx, [0x14020cb80]
call qword [case.0x14013b5a0.0]
mov ebx, eax
test eax, eax
js 0x14013af69
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
lea r8, [0x14020cb50]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013b5a0.0]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013b5a0.0]
test ebx, ebx
js 0x14013afaa
mov rcx, qword [0x1402c5110]
mov edx, 4
mov rbx, qword [rsp + 0x58]
lea r8d, [rdx + 0xc]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov byte [rax + 1], 1
test rbx, rbx
je 0x14013af9e
mov byte [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 0x14013bf80
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
sub rsp, 0x28
mov dword [rcx], edx
test edx, edx
je 0x14013c024
sub edx, 1
je 0x14013bff6
sub edx, 1
je 0x14013bfec
cmp edx, 1
je 0x14013bfa9
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 0x14013c060
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 0x14013c0f5
sub r9d, 1
je 0x14013c0e8
nop dword [rax]
sub r9d, 1
je 0x14013c0a5
cmp r9d, 1
je 0x14013c098
mov ecx, 0xc000000d
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
add rcx, 4
add rsp, 0x28
jmp fcn.1401cbfa0
mov edx, dword [rcx + 4]
mov r8d, r8d
not edx
test r8, r8
je 0x14013c0dd
lea r9, [0x140287940]
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 0x14013c0c0
not edx
mov dword [r11 + 4], edx
add rsp, 0x28
ret
add rcx, 4
add rsp, 0x28
jmp fcn.1401cf4a0
add rcx, 4
add rsp, 0x28
jmp fcn.1401cc300
Function at 0x14013d3a0
Capabilities:
Parse pe header

Disassembly:
push rbx
push rdi
sub rsp, 0x38
xor edi, edi
mov rbx, rcx
test byte [0x1402c0890], 1
jne 0x14013d4b1
lock bts qword [0x1402c0890], 0x1f
jb 0x14013d49a
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 0x14013d42e
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 0x14013d42e
cmp dword [0x1402baf40], 0x3e
jae 0x14013d48c
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 0x14013d48c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013d482
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013d482
cmp dword [rdx + rcx], 0x4550
jne 0x14013d482
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013d482
cmp dword [rdx + 4], edi
je 0x14013d482
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.CommandLineToArgvW
call fcn.140177a80
nop
jmp 0x14013d485
mov rax, rdi
mov qword [0x1402c8058], rax
lea rcx, [0x1402c0890]
call sym.SystemInformer.exe_QifSetEvent
jmp 0x14013d4b1
test byte [0x1402c0890], 1
jne 0x14013d4b1
xor edx, edx
lea rcx, [0x1402c0890]
call sym.SystemInformer.exe_QifWaitForEvent
mov rax, qword [0x1402c8058]
nop dword [rax + rax]
test rax, rax
je 0x14013d59b
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x30], r14
mov rcx, rbx
call qword [case.0x14013b5a0.0]
mov r14, rax
test rax, rax
je 0x14013d58c
mov ecx, dword [rsp + 0x58]
call sym.SystemInformer.exe_QiCreateList
mov rbx, rax
cmp dword [rsp + 0x58], edi
jle 0x14013d574
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x60], rsi
mov rsi, r14
mov rcx, qword [rsi]
call sym.SystemInformer.exe_QiCreateString
mov rbp, rax
mov eax, dword [rbx + 4]
cmp dword [rbx], eax
jne 0x14013d552
mov r8, qword [rbx + 8]
add eax, eax
mov rcx, qword [0x1402c5110]
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rbx + 4], eax
test r8, r8
jne 0x14013d548
mov r8, r9
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x14013d54e
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov qword [rbx + 8], rax
mov ecx, dword [rbx]
inc edi
mov rax, qword [rbx + 8]
add rsi, 8
mov qword [rax + rcx*8], rbp
inc dword [rbx]
cmp edi, dword [rsp + 0x58]
jl 0x14013d508
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 0x14013dfe0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x128
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0x110], rax
test byte [0x1402c08b0], 1
jne 0x14013e186
lock bts qword [0x1402c08b0], 0x1f
jb 0x14013e016
mov al, 1
jmp 0x14013e02f
test byte [0x1402c08b0], 1
jne 0x14013e02d
xor edx, edx
lea rcx, [0x1402c08b0]
call sym.SystemInformer.exe_QifWaitForEvent
xor al, al
test al, al
je 0x14013e186
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x120], rdi
call fcn.140185b00
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, [0x140241e90]
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]
mov edx, 2
lea r9, [0x140241ea0]
lea rcx, [rsp + 0x88]
lea r8d, [rdx + 5]
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 [0x1402baf40], 0x64
lea rax, str.BaseNamedObjectsSystemInformer
mov qword [rsp + 0x28], rax
lea rcx, [0x1402c8018]
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, [0x1402c08b0]
call sym.SystemInformer.exe_QifSetEvent
mov rdi, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x130]
mov rax, qword [0x1402c8018]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0x128
ret
Function at 0x14013e1c0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
test byte [0x1402c09f0], 1
mov rbx, rcx
jne 0x14013e2fc
lock bts qword [0x1402c09f0], 0x1f
jae 0x14013e205
test byte [0x1402c09f0], 1
jne 0x14013e2fc
xor edx, edx
lea rcx, [0x1402c09f0]
call sym.SystemInformer.exe_QifWaitForEvent
nop dword [rax]
jmp 0x14013e2fc
lea r8, [0x140264380]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x14013e23b
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14013e237
mov edx, ecx
shr rdx, 1
jmp 0x14013e273
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14013e265
nop dword [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14013e250
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.1401776c0
mov rcx, rax
test rax, rax
je 0x14013e2e7
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013e2e7
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013e2e7
cmp dword [rdx + rcx], 0x4550
jne 0x14013e2e7
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013e2e7
cmp dword [rdx + 4], 0
je 0x14013e2e7
lea r8, ds:[rcx + rax]
xor eax, eax
lea r9, str.HungWindowFromGhostWindow
mov word [rsp + 0x20], ax
call fcn.140177a80
jmp 0x14013e2e9
xor eax, eax
lea rcx, [0x1402c09f0]
mov qword [0x1402c80b8], rax
call sym.SystemInformer.exe_QifSetEvent
mov rax, qword [0x1402c80b8]
test rax, rax
jne 0x14013e30e
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp qword [case.0x14013b5a0.0]
Function at 0x14013e320
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.1402063e0
sub rsp, rax
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov r13, r8
mov r12, rdx
mov r15, rcx
mov edi, 0x1000
mov rcx, qword [0x1402c5110]
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 ebp, 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 r14d, eax
test eax, eax
js 0x14013e45b
lfence
nop word [rax + rax]
mov esi, dword [rsp + 0x58]
test esi, esi
je 0x14013e46c
lea r14d, [rsi + rbp]
cmp edi, r14d
jae 0x14013e402
mov rcx, qword [0x1402c5110]
add edi, edi
mov r9d, edi
mov edx, 4
test rbx, rbx
jne 0x14013e3f6
mov r8d, r9d
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x14013e3ff
mov r8, rbx
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov rbx, rax
mov ecx, ebp
lea rdx, [rsp + 0x60]
add rcx, rbx
mov r8, rsi
call fcn.1402074d0
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 ebp, r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
mov r14d, eax
test eax, eax
jns 0x14013e3c0
mov r8, rbx
cmp r14d, 0xc0000011
jne 0x14013e49c
xor r14d, r14d
mov esi, ebp
mov eax, edi
lea rcx, [rsi + 1]
cmp rax, rcx
jae 0x14013e4d5
lea r9d, [rdi + 1]
lfence
mov rcx, qword [0x1402c5110]
mov edx, 4
test rbx, rbx
jne 0x14013e4c9
mov r8d, r9d
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x14013e4d2
nop dword [rax]
test r14d, r14d
jns 0x14013e46c
lfence
mov rcx, qword [0x1402c5110]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [r12], 0
mov dword [r13], 0
jmp 0x14013e4e1
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], ebp
mov eax, r14d
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.1401e0100
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 0x14013e620
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 0x14013e6f9
mov r10d, dword [rcx + 0x3c]
lea eax, [r10 - 1]
cmp eax, 0x7ffffffd
ja 0x14013e6f9
cmp dword [r10 + rcx], 0x4550
jne 0x14013e6f9
lea rdx, [rcx + 0x88]
add rdx, r10
mov eax, dword [rdx]
test eax, eax
je 0x14013e6f9
cmp dword ds:[rdx + 4], 0
je 0x14013e6f9
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.140177a80
test rax, rax
je 0x14013e6f9
lea r8, [rsp + 0x40]
mov rcx, rbx
lea rdx, [0x14020cba0]
call qword [case.0x14013b5a0.0]
mov ebx, eax
test eax, eax
js 0x14013e6e7
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.0x14013b5a0.0]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013b5a0.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 0x14013e7c0
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 0x14013e813
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14013e80f
mov edx, ecx
shr rdx, 1
jmp 0x14013e853
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14013e845
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14013e830
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 0x14013e95a
mov ecx, dword [r10 + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14013e95a
cmp dword [rcx + r10], 0x4550
jne 0x14013e95a
lea rdx, [r10 + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013e95a
cmp dword [rdx + 4], 0
je 0x14013e95a
lea r8, ds:[r10 + rax]
mov rcx, r10
xor eax, eax
lea r9, str.DllGetActivationFactory
mov word [rsp + 0x20], ax
call fcn.140177a80
test rax, rax
je 0x14013e95a
lea rdx, ds:[rsp + 0x68]
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x30]
call qword [case.0x14013b5a0.0]
mov ebx, eax
test eax, eax
js 0x14013e94d
mov rcx, qword ds:[rsp + 0x68]
lea rdx, [rsp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [case.0x14013b5a0.0]
mov ebx, eax
test eax, eax
js 0x14013e93b
mov rcx, qword [rsp + 0x70]
lea rdx, [0x14028be18]
mov r8, rdi
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x14013b5a0.0]
mov rcx, qword [rsp + 0x70]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013b5a0.0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013b5a0.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 0x14013e980
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
test byte [0x1402c09a0], 1
mov rbx, rdx
jne 0x14013ea5c
lock bts qword [0x1402c09a0], 0x1f
jae 0x14013e9c5
test byte [0x1402c09a0], 1
jne 0x14013ea5c
xor edx, edx
lea rcx, [0x1402c09a0]
call sym.SystemInformer.exe_QifWaitForEvent
nop dword [rax]
jmp 0x14013ea5c
lea rax, [0x14023bb00]
mov qword ds:[rsp + 0x30], 0x12
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.1401776c0
mov r10, rax
test rax, rax
je 0x14013ea50
mov eax, 0x5a4d
cmp word [r10], ax
jne 0x14013ea47
mov eax, dword ds:[r10 + 0x3c]
lea ecx, [rax - 1]
cmp ecx, 0x7ffffffd
ja 0x14013ea47
cmp dword [rax + r10], 0x4550
jne 0x14013ea47
lea rdx, ds:[r10 + 0x88]
add rdx, rax
mov eax, dword [rdx]
test eax, eax
je 0x14013ea47
cmp dword [rdx + 4], 0
je 0x14013ea47
lea r8, ds:[r10 + rax]
mov rcx, r10
xor eax, eax
lea r9, str.RtlDelayExecution
mov word [rsp + 0x20], ax
call fcn.140177a80
jmp 0x14013ea49
xor eax, eax
mov qword [0x1402c80a8], rax
lea rcx, [0x1402c09a0]
call sym.SystemInformer.exe_QifSetEvent
mov rax, qword [0x1402c80a8]
xor ecx, ecx
mov rdx, rbx
test rax, rax
je 0x14013ea79
add rsp, 0x40
pop rbx
jmp qword [case.0x14013b5a0.0]
add rsp, 0x40
pop rbx
jmp qword [sym.imp.ntdll.dll_NtDelayExecution]
Function at 0x14013f100
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 [0x1402c0820], 1
mov rbx, r9
mov edi, r8d
mov esi, edx
mov ebp, ecx
jne 0x14013f21f
lock bts qword [0x1402c0820], 0x1f
jae 0x14013f159
test byte [0x1402c0820], 1
nop
jne 0x14013f21f
xor edx, edx
lea rcx, [0x1402c0820]
call sym.SystemInformer.exe_QifWaitForEvent
jmp 0x14013f21f
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 0x14013f1b6
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 0x14013f1b6
cmp dword [0x1402baf40], 0x3e
jae 0x14013f213
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 0x14013f213
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013f20a
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013f20a
cmp dword [rdx + rcx], 0x4550
jne 0x14013f20a
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013f20a
cmp dword [rdx + 4], 0
je 0x14013f20a
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DevGetObjects
mov word [rsp + 0x20], ax
call fcn.140177a80
jmp 0x14013f20c
xor eax, eax
mov qword [0x1402c80a0], rax
lea rcx, [0x1402c0820]
call sym.SystemInformer.exe_QifSetEvent
mov rax, qword [0x1402c80a0]
test rax, rax
jne 0x14013f232
mov eax, 0x80004005
jmp 0x14013f274
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.0x14013b5a0.0]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14013f2a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
test byte [0x1402c09c0], 1
mov rbx, rdx
mov edi, ecx
jne 0x14013f3bc
lock bts qword [0x1402c09c0], 0x1f
jae 0x14013f2ea
test byte [0x1402c09c0], 1
jne 0x14013f3bc
xor edx, edx
lea rcx, [0x1402c09c0]
call sym.SystemInformer.exe_QifWaitForEvent
jmp 0x14013f3bc
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 0x14013f34e
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 0x14013f34e
cmp dword [0x1402baf40], 0x3e
jae 0x14013f3b0
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 0x14013f3b0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013f3a7
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013f3a7
cmp dword [rdx + rcx], 0x4550
jne 0x14013f3a7
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013f3a7
cmp dword [rdx + 4], 0
je 0x14013f3a7
lea r8, ds:[rcx + rax]
xor eax, eax
lea r9, str.DevFreeObjects
mov word [rsp + 0x20], ax
call fcn.140177a80
jmp 0x14013f3a9
xor eax, eax
mov qword [0x1402c8090], rax
lea rcx, [0x1402c09c0]
call sym.SystemInformer.exe_QifSetEvent
mov rax, qword [0x1402c8090]
test rax, rax
je 0x14013f3d3
mov rdx, rbx
mov ecx, edi
call qword [case.0x14013b5a0.0]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret