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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
test byte [0x1402bb760], 1
mov rbx, rdx
mov edi, ecx
jne 0x140137dbc
lock bts qword [0x1402bb760], 0x1f
jae 0x140137cea
test byte [0x1402bb760], 1
jne 0x140137dbc
xor edx, edx
lea rcx, [0x1402bb760]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140137dbc
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 0x140137d4e
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 0x140137d4e
cmp dword [0x1402b5e88], 0x3e
jae 0x140137db0
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 0x140137db0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140137da7
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140137da7
cmp dword [rdx + rcx], 0x4550
jne 0x140137da7
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140137da7
cmp dword [rdx + 4], 0
je 0x140137da7
lea r8, ds:[rcx + rax]
xor eax, eax
lea r9, str.Shell_NotifyIconW
mov word [rsp + 0x20], ax
call fcn.140174840
jmp 0x140137da9
xor eax, eax
mov qword [0x1402c2d68], rax
lea rcx, [0x1402bb760]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402c2d68]
test rax, rax
jne 0x140137dd3
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rdx, rbx
mov ecx, edi
call qword [str.PB__]
mov rbx, qword [rsp + 0x40]
test eax, eax
setne al
add rsp, 0x30
pop rdi
ret
Function at 0x140138640
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.140174480
mov rcx, rax
test rax, rax
jne 0x1401386c9
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401386c9
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401386c9
cmp dword [0x1402b5e88], 0x3e
jae 0x1401387ca
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x1401387ca
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401387ca
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401387ca
cmp dword [rdx + rcx], 0x4550
jne 0x1401387ca
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401387ca
cmp dword [rdx + 4], 0
je 0x1401387ca
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.140174840
test rax, rax
je 0x1401387ca
lea r8, [rsp + 0x50]
lea rdx, [0x140208ae0]
lea rcx, [0x140208ab0]
call qword [str.PB__]
mov ebx, eax
test eax, eax
js 0x140138789
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
lea r8, [0x140208a90]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [str.PB__]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.PB__]
test ebx, ebx
js 0x1401387ca
mov rcx, qword [0x1402bfe50]
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 0x1401387be
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 0x1401387e0
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.140174480
mov rcx, rax
test rax, rax
jne 0x140138869
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140138869
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140138869
cmp dword [0x1402b5e88], 0x3e
jae 0x14013896a
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14013896a
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013896a
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013896a
cmp dword [rdx + rcx], 0x4550
jne 0x14013896a
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013896a
cmp dword [rdx + 4], 0
je 0x14013896a
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.140174840
test rax, rax
je 0x14013896a
lea r8, [rsp + 0x50]
lea rdx, [0x140208ae0]
lea rcx, [0x140208ac0]
call qword [str.PB__]
mov ebx, eax
test eax, eax
js 0x140138929
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
lea r8, [0x140208a90]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [str.PB__]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.PB__]
test ebx, ebx
js 0x14013896a
mov rcx, qword [0x1402bfe50]
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 0x14013895e
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 0x140139940
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
sub rsp, 0x28
mov dword [rcx], edx
test edx, edx
je 0x1401399e4
sub edx, 1
je 0x1401399b6
sub edx, 1
je 0x1401399ac
cmp edx, 1
je 0x140139969
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 0x140139a20
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 0x140139ab5
sub r9d, 1
je 0x140139aa8
nop dword [rax]
sub r9d, 1
je 0x140139a65
cmp r9d, 1
je 0x140139a58
mov ecx, 0xc000000d
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
add rcx, 4
add rsp, 0x28
jmp fcn.1401c97c0
mov edx, dword [rcx + 4]
mov r8d, r8d
not edx
test r8, r8
je 0x140139a9d
lea r9, [0x140283120]
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 0x140139a80
not edx
mov dword [r11 + 4], edx
add rsp, 0x28
ret
add rcx, 4
add rsp, 0x28
jmp fcn.1401ccce0
add rcx, 4
add rsp, 0x28
jmp fcn.1401c9b20
Function at 0x14013ab00
Capabilities:
Parse pe header

Disassembly:
push rbx
push rdi
sub rsp, 0x38
xor edi, edi
mov rbx, rcx
test byte [0x1402bb6a0], 1
jne 0x14013ac11
lock bts qword [0x1402bb6a0], 0x1f
jb 0x14013abfa
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 0x14013ab8e
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 0x14013ab8e
cmp dword [0x1402b5e88], 0x3e
jae 0x14013abec
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 0x14013abec
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013abe2
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013abe2
cmp dword [rdx + rcx], 0x4550
jne 0x14013abe2
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013abe2
cmp dword [rdx + 4], edi
je 0x14013abe2
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.CommandLineToArgvW
call fcn.140174840
nop
jmp 0x14013abe5
mov rax, rdi
mov qword [0x1402c2d90], rax
lea rcx, [0x1402bb6a0]
call sym.SystemInformer.exe_PhfSetEvent
jmp 0x14013ac11
test byte [0x1402bb6a0], 1
jne 0x14013ac11
xor edx, edx
lea rcx, [0x1402bb6a0]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rax, qword [0x1402c2d90]
nop dword [rax + rax]
test rax, rax
je 0x14013ace9
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x30], r14
mov rcx, rbx
call qword [str.PB__]
mov r14, rax
test rax, rax
je 0x14013acda
mov ecx, dword [rsp + 0x58]
call sym.SystemInformer.exe_PhCreateList
mov rbx, rax
cmp dword [rsp + 0x58], edi
jle 0x14013acc2
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 0x14013aca0
mov r8, qword [rbx + 8]
add eax, eax
mov rcx, qword [0x1402bfe50]
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rbx + 4], eax
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 0x14013ac68
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 0x14013b7a0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x128
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x110], rax
test byte [0x1402bb6c0], 1
jne 0x14013b946
lock bts qword [0x1402bb6c0], 0x1f
jb 0x14013b7d6
mov al, 1
jmp 0x14013b7ef
test byte [0x1402bb6c0], 1
jne 0x14013b7ed
xor edx, edx
lea rcx, [0x1402bb6c0]
call sym.SystemInformer.exe_PhfWaitForEvent
xor al, al
test al, al
je 0x14013b946
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x120], rdi
call fcn.140182ac0
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, [0x14023dcc0]
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, [0x14023dcd0]
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 [0x1402b5e88], 0x64
lea rax, str.BaseNamedObjectsSystemInformer
mov qword [rsp + 0x28], rax
lea rcx, [0x1402c2d58]
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, [0x1402bb6c0]
call sym.SystemInformer.exe_PhfSetEvent
mov rdi, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x130]
mov rax, qword [0x1402c2d58]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1401dd6a0
add rsp, 0x128
ret
Function at 0x14013b980
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
test byte [0x1402bb7f0], 1
mov rbx, rcx
jne 0x14013babc
lock bts qword [0x1402bb7f0], 0x1f
jae 0x14013b9c5
test byte [0x1402bb7f0], 1
jne 0x14013babc
xor edx, edx
lea rcx, [0x1402bb7f0]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x14013babc
lea r8, [0x1402601c0]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x14013b9fb
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14013b9f7
mov edx, ecx
shr rdx, 1
jmp 0x14013ba33
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14013ba25
nop dword [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14013ba10
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.140174480
mov rcx, rax
test rax, rax
je 0x14013baa7
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013baa7
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013baa7
cmp dword [rdx + rcx], 0x4550
jne 0x14013baa7
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013baa7
cmp dword [rdx + 4], 0
je 0x14013baa7
lea r8, ds:[rcx + rax]
xor eax, eax
lea r9, str.HungWindowFromGhostWindow
mov word [rsp + 0x20], ax
call fcn.140174840
jmp 0x14013baa9
xor eax, eax
lea rcx, [0x1402bb7f0]
mov qword [0x1402c2df0], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402c2df0]
test rax, rax
jne 0x14013bace
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp qword [str.PB__]
Function at 0x14013bae0
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.1402033c0
sub rsp, rax
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov r13, r8
mov r12, rdx
mov r15, rcx
mov ebx, 0x1000
mov rcx, qword [0x1402bfe50]
mov r8d, ebx
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r9d, r9d
xor r8d, r8d
mov rsi, 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], ebx
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 0x14013bc11
lfence
nop word [rax + rax]
mov edi, dword [rsp + 0x58]
test edi, edi
je 0x14013bc20
lea r14d, [rdi + rbp]
cmp ebx, r14d
jae 0x14013bbb2
mov rcx, qword [0x1402bfe50]
add ebx, ebx
mov r9d, ebx
mov r8, rsi
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov rsi, rax
mov ecx, ebp
lea rdx, [rsp + 0x60]
add rcx, rsi
mov r8, rdi
call fcn.1401e3aa0
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 0x14013bb80
mov r8, rsi
cmp r14d, 0xc0000011
jne 0x14013bc86
xor r14d, r14d
mov edi, ebp
mov eax, ebx
lea rcx, [rdi + 1]
cmp rax, rcx
jae 0x14013bc4c
lfence
mov rcx, qword [0x1402bfe50]
lea r9d, [rbx + 1]
mov r8, rsi
mov edx, 4
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov rsi, rax
mov byte [rdi + rsi], 0
mov qword [r12], rsi
mov dword [r13], ebp
mov eax, r14d
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.1401dd6a0
mov rbx, qword [rsp + 0x10c8]
add rsp, 0x1070
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test r14d, r14d
jns 0x14013bc20
lfence
mov rcx, qword [0x1402bfe50]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [r12], 0
mov dword [r13], 0
jmp 0x14013bc58
Function at 0x14013bdc0
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 0x14013be99
mov r10d, dword [rcx + 0x3c]
lea eax, [r10 - 1]
cmp eax, 0x7ffffffd
ja 0x14013be99
cmp dword [r10 + rcx], 0x4550
jne 0x14013be99
lea rdx, [rcx + 0x88]
add rdx, r10
mov eax, dword [rdx]
test eax, eax
je 0x14013be99
cmp dword ds:[rdx + 4], 0
je 0x14013be99
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.140174840
test rax, rax
je 0x14013be99
lea r8, [rsp + 0x40]
mov rcx, rbx
lea rdx, [0x140208ae0]
call qword [str.PB__]
mov ebx, eax
test eax, eax
js 0x14013be87
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 [str.PB__]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.PB__]
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 0x14013bf60
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 0x14013bfb3
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14013bfaf
mov edx, ecx
shr rdx, 1
jmp 0x14013bff3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14013bfe5
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14013bfd0
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 0x14013c0fa
mov ecx, dword [r10 + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14013c0fa
cmp dword [rcx + r10], 0x4550
jne 0x14013c0fa
lea rdx, [r10 + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013c0fa
cmp dword [rdx + 4], 0
je 0x14013c0fa
lea r8, ds:[r10 + rax]
mov rcx, r10
xor eax, eax
lea r9, str.DllGetActivationFactory
mov word [rsp + 0x20], ax
call fcn.140174840
test rax, rax
je 0x14013c0fa
lea rdx, ds:[rsp + 0x68]
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x30]
call qword [str.PB__]
mov ebx, eax
test eax, eax
js 0x14013c0ed
mov rcx, qword ds:[rsp + 0x68]
lea rdx, [rsp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [str.PB__]
mov ebx, eax
test eax, eax
js 0x14013c0db
mov rcx, qword [rsp + 0x70]
lea rdx, [0x140287608]
mov r8, rdi
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [str.PB__]
mov rcx, qword [rsp + 0x70]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.PB__]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.PB__]
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 0x14013c120
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
test byte [0x1402bb7a0], 1
mov rbx, rdx
jne 0x14013c1fc
lock bts qword [0x1402bb7a0], 0x1f
jae 0x14013c165
test byte [0x1402bb7a0], 1
jne 0x14013c1fc
xor edx, edx
lea rcx, [0x1402bb7a0]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x14013c1fc
lea rax, [0x1402379c0]
mov qword ds:[rsp + 0x30], 0x12
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.140174480
mov r10, rax
test rax, rax
je 0x14013c1f0
mov eax, 0x5a4d
cmp word [r10], ax
jne 0x14013c1e7
mov eax, dword ds:[r10 + 0x3c]
lea ecx, [rax - 1]
cmp ecx, 0x7ffffffd
ja 0x14013c1e7
cmp dword [rax + r10], 0x4550
jne 0x14013c1e7
lea rdx, ds:[r10 + 0x88]
add rdx, rax
mov eax, dword [rdx]
test eax, eax
je 0x14013c1e7
cmp dword [rdx + 4], 0
je 0x14013c1e7
lea r8, ds:[r10 + rax]
mov rcx, r10
xor eax, eax
lea r9, str.RtlDelayExecution
mov word [rsp + 0x20], ax
call fcn.140174840
jmp 0x14013c1e9
xor eax, eax
mov qword [0x1402c2de0], rax
lea rcx, [0x1402bb7a0]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402c2de0]
xor ecx, ecx
mov rdx, rbx
test rax, rax
je 0x14013c219
add rsp, 0x40
pop rbx
jmp qword [str.PB__]
add rsp, 0x40
pop rbx
jmp qword [sym.imp.ntdll.dll_NtDelayExecution]
Function at 0x14013c8a0
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 [0x1402bb630], 1
mov rbx, r9
mov edi, r8d
mov esi, edx
mov ebp, ecx
jne 0x14013c9bf
lock bts qword [0x1402bb630], 0x1f
jae 0x14013c8f9
test byte [0x1402bb630], 1
nop
jne 0x14013c9bf
xor edx, edx
lea rcx, [0x1402bb630]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14013c9bf
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 0x14013c956
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 0x14013c956
cmp dword [0x1402b5e88], 0x3e
jae 0x14013c9b3
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 0x14013c9b3
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013c9aa
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013c9aa
cmp dword [rdx + rcx], 0x4550
jne 0x14013c9aa
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013c9aa
cmp dword [rdx + 4], 0
je 0x14013c9aa
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DevGetObjects
mov word [rsp + 0x20], ax
call fcn.140174840
jmp 0x14013c9ac
xor eax, eax
mov qword [0x1402c2dd8], rax
lea rcx, [0x1402bb630]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402c2dd8]
test rax, rax
jne 0x14013c9d2
mov eax, 0x80004005
jmp 0x14013ca14
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 [str.PB__]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14013ca40
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
test byte [0x1402bb7c0], 1
mov rbx, rdx
mov edi, ecx
jne 0x14013cb5c
lock bts qword [0x1402bb7c0], 0x1f
jae 0x14013ca8a
test byte [0x1402bb7c0], 1
jne 0x14013cb5c
xor edx, edx
lea rcx, [0x1402bb7c0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14013cb5c
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 0x14013caee
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 0x14013caee
cmp dword [0x1402b5e88], 0x3e
jae 0x14013cb50
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 0x14013cb50
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013cb47
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013cb47
cmp dword [rdx + rcx], 0x4550
jne 0x14013cb47
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013cb47
cmp dword [rdx + 4], 0
je 0x14013cb47
lea r8, ds:[rcx + rax]
xor eax, eax
lea r9, str.DevFreeObjects
mov word [rsp + 0x20], ax
call fcn.140174840
jmp 0x14013cb49
xor eax, eax
mov qword [0x1402c2dc8], rax
lea rcx, [0x1402bb7c0]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402c2dc8]
test rax, rax
je 0x14013cb73
mov rdx, rbx
mov ecx, edi
call qword [str.PB__]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret