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

Disassembly:
push rbx
sub rsp, 0x30
test byte [0x1402c5a50], 1
mov rbx, rcx
jne 0x14013ba7c
lock bts qword [0x1402c5a50], 0x1f
setb al
test al, al
je 0x14013b9aa
test byte [0x1402c5a50], 1
jne 0x14013ba7c
xor edx, edx
lea rcx, [0x1402c5a50]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14013ba7c
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 0x14013ba0e
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 0x14013ba0e
cmp dword [0x1402bff40], 0x3e
jae 0x14013ba70
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 0x14013ba70
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013ba67
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013ba67
cmp dword [rdx + rcx], 0x4550
jne 0x14013ba67
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013ba67
cmp dword [rdx + 4], 0
je 0x14013ba67
lea r8, ds:[rcx + rax]
xor eax, eax
lea r9, str.ShellExecuteExW
mov word [rsp + 0x20], ax
call fcn.14017dc40
jmp 0x14013ba69
xor eax, eax
mov qword [0x1402cdae8], rax
lea rcx, [0x1402c5a50]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdae8]
test rax, rax
jne 0x14013ba8e
add rsp, 0x30
pop rbx
ret
mov rcx, rbx
call qword [case.0x14013d64a.0]
test eax, eax
setne al
add rsp, 0x30
pop rbx
ret
Function at 0x14013c3a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
test byte [0x1402c5a20], 1
mov rbx, rdx
mov edi, ecx
jne 0x14013c4bc
lock bts qword [0x1402c5a20], 0x1f
setb al
test al, al
je 0x14013c3ed
test byte [0x1402c5a20], 1
jne 0x14013c4bc
xor edx, edx
lea rcx, [0x1402c5a20]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14013c4bc
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 0x14013c451
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 0x14013c451
cmp dword [0x1402bff40], 0x3e
jae 0x14013c4b0
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 0x14013c4b0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013c4a7
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013c4a7
cmp dword [rdx + rcx], 0x4550
jne 0x14013c4a7
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013c4a7
cmp dword [rdx + 4], 0
je 0x14013c4a7
lea r8, ds:[rcx + rax]
xor eax, eax
lea r9, str.Shell_NotifyIconW
mov word [rsp + 0x20], ax
call fcn.14017dc40
jmp 0x14013c4a9
xor eax, eax
mov qword [0x1402cda60], rax
lea rcx, [0x1402c5a20]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cda60]
test rax, rax
jne 0x14013c4d3
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rdx, rbx
mov ecx, edi
call qword [case.0x14013d64a.0]
mov rbx, qword [rsp + 0x40]
test eax, eax
setne al
add rsp, 0x30
pop rdi
ret
Function at 0x14013cd20
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.14017d8a0
mov rcx, rax
test rax, rax
jne 0x14013cda9
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013cda9
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013cda9
cmp dword [0x1402bff40], 0x3e
jae 0x14013cead
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14013cead
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013cead
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013cead
cmp dword [rdx + rcx], 0x4550
jne 0x14013cead
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013cead
cmp dword [rdx + 4], 0
je 0x14013cead
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017dc40
test rax, rax
je 0x14013cead
lea r8, [rsp + 0x50]
lea rdx, [0x14020fc00]
lea rcx, [0x14020fbd0]
call qword [case.0x14013d64a.0]
mov ebx, eax
test eax, eax
js 0x14013ce69
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
lea r8, [0x14020fbb0]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013d64a.0]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d64a.0]
test ebx, ebx
js 0x14013cead
mov rcx, qword [0x1402caad0]
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 0x14013cea1
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 0x14013cec0
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.14017d8a0
mov rcx, rax
test rax, rax
jne 0x14013cf49
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013cf49
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14013cf49
cmp dword [0x1402bff40], 0x3e
jae 0x14013d04d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14013d04d
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013d04d
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013d04d
cmp dword [rdx + rcx], 0x4550
jne 0x14013d04d
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013d04d
cmp dword [rdx + 4], 0
je 0x14013d04d
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017dc40
test rax, rax
je 0x14013d04d
lea r8, [rsp + 0x50]
lea rdx, [0x14020fc00]
lea rcx, [0x14020fbe0]
call qword [case.0x14013d64a.0]
mov ebx, eax
test eax, eax
js 0x14013d009
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
lea r8, [0x14020fbb0]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013d64a.0]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d64a.0]
test ebx, ebx
js 0x14013d04d
mov rcx, qword [0x1402caad0]
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 0x14013d041
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 0x14013e060
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
sub rsp, 0x28
mov dword [rcx], edx
test edx, edx
je 0x14013e104
sub edx, 1
je 0x14013e0d6
sub edx, 1
je 0x14013e0cc
cmp edx, 1
je 0x14013e089
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 0x14013e140
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 0x14013e1d5
sub r9d, 1
je 0x14013e1c8
nop dword [rax]
sub r9d, 1
je 0x14013e185
cmp r9d, 1
je 0x14013e178
mov ecx, 0xc000000d
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
add rcx, 4
add rsp, 0x28
jmp fcn.1401d0020
mov edx, dword [rcx + 4]
mov r8d, r8d
not edx
test r8, r8
je 0x14013e1bd
lea r9, [0x14028add0]
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 0x14013e1a0
not edx
mov dword [r11 + 4], edx
add rsp, 0x28
ret
add rcx, 4
add rsp, 0x28
jmp fcn.1401d3540
add rcx, 4
add rsp, 0x28
jmp fcn.1401d0380
Function at 0x14013f440
Capabilities:
Parse pe header

Disassembly:
push rbx
push rdi
sub rsp, 0x38
xor edi, edi
mov rbx, rcx
test byte [0x1402c5950], 1
jne 0x14013f551
lock bts qword [0x1402c5950], 0x1f
setb al
test al, al
jne 0x14013f53a
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 0x14013f4d1
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 0x14013f4d1
cmp dword [0x1402bff40], 0x3e
jae 0x14013f52c
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 0x14013f52c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14013f522
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14013f522
cmp dword [rdx + rcx], 0x4550
jne 0x14013f522
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14013f522
cmp dword [rdx + 4], edi
je 0x14013f522
lea r8, [rcx + rax]
mov word [rsp + 0x20], di
lea r9, str.CommandLineToArgvW
call fcn.14017dc40
nop
jmp 0x14013f525
mov rax, rdi
mov qword [0x1402cda90], rax
lea rcx, [0x1402c5950]
call sym.SystemInformer.exe_PhfSetEvent
jmp 0x14013f551
test byte [0x1402c5950], 1
jne 0x14013f551
xor edx, edx
lea rcx, [0x1402c5950]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rax, qword [0x1402cda90]
nop dword [rax + rax]
test rax, rax
je 0x14013f63b
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x30], r14
mov rcx, rbx
call qword [case.0x14013d64a.0]
mov r14, rax
test rax, rax
je 0x14013f62c
mov ecx, dword [rsp + 0x58]
call sym.SystemInformer.exe_PhCreateList
mov rbx, rax
cmp dword [rsp + 0x58], edi
jle 0x14013f614
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 0x14013f5f2
mov r8, qword [rbx + 8]
add eax, eax
mov rcx, qword [0x1402caad0]
mov edx, 4
mov r9d, eax
shl r9, 3
mov dword [rbx + 4], eax
test r8, r8
jne 0x14013f5e8
mov r8, r9
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x14013f5ee
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 0x14013f5a8
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 0x1401400a0
Capabilities:
Create directory

Disassembly:
sub rsp, 0x128
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x110], rax
test byte [0x1402c5970], 1
jne 0x140140246
lock bts qword [0x1402c5970], 0x1f
setb al
test al, al
jne 0x1401400db
mov al, 1
jmp 0x1401400f4
test byte [0x1402c5970], 1
jne 0x1401400f2
xor edx, edx
lea rcx, [0x1402c5970]
call sym.SystemInformer.exe_PhfWaitForEvent
xor al, al
test al, al
je 0x140140246
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x120], rdi
call fcn.140189140
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, [0x1402450f0]
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, [0x140245100]
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 [0x1402bff40], 0x64
lea rax, str.BaseNamedObjectsSystemInformer
mov qword [rsp + 0x28], rax
lea rcx, [0x1402cda50]
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, [0x1402c5970]
call sym.SystemInformer.exe_PhfSetEvent
mov rdi, qword [rsp + 0x120]
mov rbx, qword [rsp + 0x130]
mov rax, qword [0x1402cda50]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x128
ret
Function at 0x140140280
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
test byte [0x1402c5ab0], 1
mov rbx, rcx
jne 0x1401403c9
lock bts qword [0x1402c5ab0], 0x1f
setb al
test al, al
je 0x1401402ca
test byte [0x1402c5ab0], 1
jne 0x1401403c9
xor edx, edx
lea rcx, [0x1402c5ab0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x1401403c9
lea r8, [0x1402675e0]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x140140302
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x1401402fe
mov edx, ecx
shr rdx, 1
jmp 0x140140343
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140140335
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140140320
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.14017d8a0
mov rcx, rax
test rax, rax
je 0x1401403b4
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401403b4
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401403b4
cmp dword [rdx + rcx], 0x4550
jne 0x1401403b4
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401403b4
cmp dword [rdx + 4], 0
je 0x1401403b4
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.HungWindowFromGhostWindow
mov word [rsp + 0x20], ax
call fcn.14017dc40
jmp 0x1401403b6
xor eax, eax
lea rcx, [0x1402c5ab0]
mov qword [0x1402cdaf0], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdaf0]
test rax, rax
jne 0x1401403db
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
add rsp, 0x40
pop rbx
jmp qword [case.0x14013d64a.0]
Function at 0x140140400
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.140209550
sub rsp, rax
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov r13, r8
mov r12, rdx
mov r15, rcx
mov edi, 0x1000
mov rcx, qword [0x1402caad0]
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 0x14014053a
lfence
nop word [rax + rax]
mov esi, dword [rsp + 0x58]
test esi, esi
je 0x14014054a
lea ebp, [rsi + r14]
cmp edi, ebp
jae 0x1401404e1
mov rcx, qword [0x1402caad0]
add edi, edi
mov r9d, edi
mov edx, 4
test rbx, rbx
jne 0x1401404d5
mov r8d, r9d
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x1401404de
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.14020a640
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 0x1401404a0
mov r8, rbx
cmp ebp, 0xc0000011
jne 0x14014057b
xor ebp, ebp
mov esi, r14d
mov eax, edi
lea rcx, [rsi + 1]
cmp rax, rcx
jae 0x1401405af
lea r9d, [rdi + 1]
lfence
mov rcx, qword [0x1402caad0]
mov edx, 4
test rbx, rbx
jne 0x1401405a3
mov r8d, r9d
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x1401405ac
test ebp, ebp
jns 0x14014054a
lfence
mov rcx, qword [0x1402caad0]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov qword [r12], 0
mov dword [r13], 0
jmp 0x1401405bb
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.1401e4160
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 0x1401407a0
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 0x140140879
mov r10d, dword [rcx + 0x3c]
lea eax, [r10 - 1]
cmp eax, 0x7ffffffd
ja 0x140140879
cmp dword [r10 + rcx], 0x4550
jne 0x140140879
lea rdx, [rcx + 0x88]
add rdx, r10
mov eax, dword [rdx]
test eax, eax
je 0x140140879
cmp dword ds:[rdx + 4], 0
je 0x140140879
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017dc40
test rax, rax
je 0x140140879
lea r8, [rsp + 0x40]
mov rcx, rbx
lea rdx, [0x14020fc00]
call qword [case.0x14013d64a.0]
mov ebx, eax
test eax, eax
js 0x140140867
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.0x14013d64a.0]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d64a.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 0x140140940
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 0x140140993
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14014098f
mov edx, ecx
shr rdx, 1
jmp 0x1401409d3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x1401409c5
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x1401409b0
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 0x140140ada
mov ecx, dword [r10 + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140140ada
cmp dword [rcx + r10], 0x4550
jne 0x140140ada
lea rdx, [r10 + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140140ada
cmp dword [rdx + 4], 0
je 0x140140ada
lea r8, ds:[r10 + rax]
mov rcx, r10
xor eax, eax
lea r9, str.DllGetActivationFactory
mov word [rsp + 0x20], ax
call fcn.14017dc40
test rax, rax
je 0x140140ada
lea rdx, ds:[rsp + 0x68]
mov qword [rsp + 0x60], rbx
lea rcx, [rsp + 0x30]
call qword [case.0x14013d64a.0]
mov ebx, eax
test eax, eax
jne 0x140140acd
mov rcx, qword ds:[rsp + 0x68]
lea rdx, [rsp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [case.0x14013d64a.0]
mov ebx, eax
test eax, eax
jne 0x140140abb
mov rcx, qword [rsp + 0x70]
lea rdx, [0x14028f2a8]
mov r8, rdi
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x14013d64a.0]
mov rcx, qword [rsp + 0x70]
mov ebx, eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d64a.0]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d64a.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 0x140140b00
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
test byte [0x1402c5a60], 1
mov rbx, rdx
jne 0x140140bdc
lock bts qword [0x1402c5a60], 0x1f
setb al
test al, al
je 0x140140b4a
test byte [0x1402c5a60], 1
jne 0x140140bdc
xor edx, edx
lea rcx, [0x1402c5a60]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140140bdc
lea rax, [0x14023ec90]
mov qword [rsp + 0x30], 0x12
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.14017d8a0
mov r10, rax
test rax, rax
je 0x140140bd0
mov eax, 0x5a4d
cmp word [r10], ax
jne 0x140140bc7
mov eax, dword [r10 + 0x3c]
lea ecx, [rax - 1]
cmp ecx, 0x7ffffffd
ja 0x140140bc7
cmp dword [rax + r10], 0x4550
jne 0x140140bc7
lea rdx, [r10 + 0x88]
add rdx, rax
mov eax, dword [rdx]
test eax, eax
je 0x140140bc7
cmp dword [rdx + 4], 0
je 0x140140bc7
lea r8, [r10 + rax]
mov rcx, r10
xor eax, eax
lea r9, str.RtlDelayExecution
mov word [rsp + 0x20], ax
call fcn.14017dc40
jmp 0x140140bc9
xor eax, eax
mov qword [0x1402cdae0], rax
lea rcx, [0x1402c5a60]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdae0]
xor ecx, ecx
mov rdx, rbx
test rax, rax
je 0x140140bf9
add rsp, 0x40
pop rbx
jmp qword [case.0x14013d64a.0]
add rsp, 0x40
pop rbx
jmp qword [sym.imp.ntdll.dll_NtDelayExecution]