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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov rdi, rdx
test byte [0x1402bb8c0], 1
mov rsi, rcx
jne 0x14014d345
lock bts qword [0x1402bb8c0], 0x1f
jae 0x14014d259
test byte [0x1402bb8c0], 1
nop dword [rax]
jne 0x14014d345
xor edx, edx
lea rcx, [0x1402bb8c0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14014d345
lea rax, [0x1402601c0]
mov qword [rsp + 0x30], 0x14
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.140174480
mov rbx, rax
test rax, rax
je 0x14014d335
cmp dword [0x1402b5e88], 0x66
jb 0x14014d2c7
xor r8d, r8d
lea rdx, str.GetDpiAwarenessContextForProcess
mov rcx, rax
call fcn.1401746e0
xor r8d, r8d
mov qword [0x1402c2f38], rax
lea rdx, str.AreDpiAwarenessContextsEqual
mov rcx, rbx
call fcn.1401746e0
mov qword [0x1402c2ea0], rax
jmp 0x14014d2ce
mov rax, qword [0x1402c2ea0]
cmp qword [0x1402c2f38], rbp
je 0x14014d2dc
test rax, rax
jne 0x14014d335
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14014d32b
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14014d32b
cmp dword [rcx + rbx], 0x4550
jne 0x14014d32b
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14014d32b
cmp dword [rdx + 4], ebp
je 0x14014d32b
lea r8, [rbx + rax]
mov word [rsp + 0x20], bp
lea r9, str.GetProcessDpiAwarenessInternal
mov rcx, rbx
call fcn.140174840
jmp 0x14014d32e
mov rax, rbp
mov qword [0x1402c2f18], rax
lea rcx, [0x1402bb8c0]
nop dword [rax]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402c2f38]
test rax, rax
je 0x14014d41c
cmp qword [0x1402c2ea0], rbp
nop dword [rax]
je 0x14014d41c
mov rcx, rsi
call qword [str.PB__]
mov rbx, rax
mov rcx, rax
mov rax, qword [0x1402c2ea0]
mov rdx, 0xffffffffffffffff
call qword [str.PB__]
test eax, eax
jne 0x14014d464
mov rax, qword [0x1402c2ea0]
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
call qword [str.PB__]
test eax, eax
jne 0x14014d45a
mov rax, qword [0x1402c2ea0]
mov rdx, 0xfffffffffffffffd
mov rcx, rbx
call qword [str.PB__]
test eax, eax
jne 0x14014d450
mov rax, qword [0x1402c2ea0]
mov rdx, 0xfffffffffffffffc
mov rcx, rbx
call qword [str.PB__]
test eax, eax
je 0x14014d3f7
mov dword [rdi], 3
mov al, 1
jmp 0x14014d46c
mov rax, qword [0x1402c2ea0]
mov rdx, 0xfffffffffffffffb
mov rcx, rbx
call qword [str.PB__]
test eax, eax
je 0x14014d41c
mov dword [rdi], 4
mov al, 1
jmp 0x14014d46c
mov rax, qword [0x1402c2f18]
test rax, rax
je 0x14014d46a
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], ebp
mov rcx, rsi
call qword [str.PB__]
test eax, eax
je 0x14014d46a
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14014d464
sub eax, 1
je 0x14014d45a
cmp eax, 1
jne 0x14014d46a
mov dword [rdi], 2
mov al, 1
jmp 0x14014d46c
mov dword [rdi], 1
mov al, 1
jmp 0x14014d46c
mov dword [rdi], ebp
mov al, 1
jmp 0x14014d46c
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14014d4a0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x40
xor ebx, ebx
test byte [0x1402bb930], 1
mov qword [rsp + 0x58], rbx
jne 0x14014d5e5
lock bts qword [0x1402bb930], 0x1f
jae 0x14014d4ea
test byte [0x1402bb930], 1
jne 0x14014d5e5
xor edx, edx
lea rcx, [0x1402bb930]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14014d5e5
lea r8, str.kernel32.dll
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x14014d522
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14014d51e
mov edx, ecx
shr rdx, 1
jmp 0x14014d563
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14014d555
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14014d540
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 0x14014d5d2
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14014d5d2
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14014d5d2
cmp dword [rdx + rcx], 0x4550
jne 0x14014d5d2
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14014d5d2
cmp dword [rdx + 4], ebx
je 0x14014d5d2
lea r8, [rcx + rax]
mov word [rsp + 0x20], bx
lea r9, str.GetPhysicallyInstalledSystemMemory
call fcn.140174840
mov rbx, rax
lea rcx, [0x1402bb930]
mov qword [0x1402c2e78], rbx
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402c2e78]
test rax, rax
je 0x14014d637
lea rcx, [rsp + 0x58]
call qword [str.PB__]
nop dword [rax]
test eax, eax
je 0x14014d637
mov rcx, qword [rsp + 0x58]
mov rax, rcx
shl rax, 0xa
mov qword [0x1402c2bd0], rax
mov eax, dword [0x1402bfe5c]
shl rax, 2
sub rcx, rax
mov al, 1
shl rcx, 0xa
mov qword [0x1402c2c80], rcx
add rsp, 0x40
pop rbx
ret
xor al, al
add rsp, 0x40
pop rbx
ret
Function at 0x14014d640
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
test byte [0x1402bb870], 1
mov rbx, rdx
mov rdi, rcx
jne 0x14014d789
lock bts qword [0x1402bb870], 0x1f
jae 0x14014d68a
test byte [0x1402bb870], 1
jne 0x14014d789
xor edx, edx
lea rcx, [0x1402bb870]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14014d789
lea r8, [0x1402601c0]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x14014d6c2
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14014d6be
mov edx, ecx
shr rdx, 1
jmp 0x14014d703
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14014d6f5
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14014d6e0
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 0x14014d774
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14014d774
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14014d774
cmp dword [rdx + rcx], 0x4550
jne 0x14014d774
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14014d774
cmp dword [rdx + 4], 0
je 0x14014d774
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.GetSendMessageReceiver
mov word [rsp + 0x20], ax
call fcn.140174840
jmp 0x14014d776
xor eax, eax
lea rcx, [0x1402bb870]
mov qword [0x1402c2eb8], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402c2eb8]
test rax, rax
je 0x14014d7b5
mov rcx, rdi
call qword [str.PB__]
nop
test rax, rax
je 0x14014d7b5
mov qword [rbx], rax
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x40
pop rdi
ret
Function at 0x14014d7e0
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
xor ebp, ebp
mov rbx, r8
test byte [0x1402bb8f0], 1
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x30], rbp
jne 0x14014d938
lock bts qword [0x1402bb8f0], 0x1f
jae 0x14014d845
test byte [0x1402bb8f0], 1
jne 0x14014d938
xor edx, edx
lea rcx, [0x1402bb8f0]
call sym.SystemInformer.exe_PhfWaitForEvent
nop dword [rax]
jmp 0x14014d938
lea r8, [0x1402601c0]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x14014d87b
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14014d877
mov edx, ecx
shr rdx, 1
jmp 0x14014d8b3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14014d8a5
nop dword [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14014d890
sub rdx, r8
mov eax, ecx
sar rdx, 1
shr rax, 1
add rdx, rax
lea rax, [rdx + rdx]
mov qword [rsp + 0x40], r8
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x38], rax
call fcn.140174480
mov rcx, rax
test rax, rax
je 0x14014d922
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14014d922
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14014d922
cmp dword [rdx + rcx], 0x4550
jne 0x14014d922
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14014d922
cmp dword [rdx + 4], ebp
je 0x14014d922
lea r8, [rcx + rax]
mov word [rsp + 0x20], bp
lea r9, str.PrivateExtractIconExW
call fcn.140174840
nop
jmp 0x14014d925
mov rax, rbp
lea rcx, [0x1402bb8f0]
mov qword [0x1402c2e50], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402c2e50]
nop
test rax, rax
je 0x14014d9b6
test rbx, rbx
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x30]
mov rcx, rsi
cmove r9, rbp
lea r8, [rsp + 0x78]
test rdi, rdi
cmove r8, rbp
xor edx, edx
call qword [str.PB__]
test eax, eax
jle 0x14014d992
test rdi, rdi
je 0x14014d981
mov rax, qword [rsp + 0x78]
mov qword [rdi], rax
test rbx, rbx
je 0x14014d98e
mov rax, qword [rsp + 0x30]
mov qword [rbx], rax
mov al, 1
jmp 0x14014d9b8
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14014d9a6
nop dword [rax]
call qword [sym.imp.USER32.dll_DestroyIcon]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14014d9b6
call qword [sym.imp.USER32.dll_DestroyIcon]
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x14014e5c0
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x38
mov r10d, ecx
mov dword [rsp + 0x20], 0x80000000
mov edx, ecx
and edx, 1
shl edx, 2
mov r8d, edx
or r8d, 8
test cl, 2
cmove r8d, edx
mov ecx, r8d
or ecx, 0x40
test r10b, 4
cmove ecx, r8d
mov edx, ecx
bts edx, 9
test r10b, 8
cmove edx, ecx
mov ecx, edx
bts ecx, 0xa
test r10b, 0x10
cmove ecx, edx
mov r9d, ecx
bts r9d, 0x13
test r10b, 0x80
cmove r9d, ecx
xor r8d, r8d
or r9d, 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
add rsp, 0x38
ret
Function at 0x14014e640
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x1402b5020]
xor rax, rsp
mov qword [rbp + 0xf], rax
movaps xmm0, xmmword [rdx]
mov r14d, r8d
mov r15, qword [rbp + 0x7f]
mov rsi, rcx
movups xmmword [rbp - 0x41], xmm0
movups xmmword [rbp - 0x31], xmm0
test r9, r9
je 0x14014e698
mov rbx, qword [0x7ffe0014]
mov rdi, rbx
sub rdi, qword [r9]
jmp 0x14014e6d8
cmp qword [0x1402c2e88], 0
jne 0x14014e6c6
xor r9d, r9d
lea rdx, [rbp - 0x21]
lea r8d, [r9 + 0x30]
lea ecx, [r9 + 3]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14014e6c6
mov rax, qword [rbp - 0x21]
mov qword [0x1402c2e88], rax
mov rbx, qword [0x7ffe0014]
mov rdi, rbx
sub rdi, qword [0x1402c2e88]
sub rbx, qword [r15]
xorps xmm1, xmm1
movss xmm6, dword [0x140288b68]
xorps xmm0, xmm0
cvtsi2ss xmm0, rdi
cvtsi2ss xmm1, rbx
divss xmm1, xmm0
movss xmm0, dword [0x140288abc]
mulss xmm1, dword [0x140288b68]
minss xmm6, xmm1
comiss xmm0, xmm6
jbe 0x14014e713
xorps xmm6, xmm6
and r14d, 2
je 0x14014e722
mov r8, qword [0x1402bfe80]
jmp 0x14014e730
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov r8, rax
lea rdx, [rbp - 0x41]
mov rcx, rsi
call qword [sym.imp.USER32.dll_FillRect]
inc dword [rbp - 0x41]
inc dword [rbp - 0x3d]
dec dword [rbp - 0x39]
inc dword [rbp - 0x31]
inc dword [rbp - 0x2d]
dec dword [rbp - 0x29]
test r14d, r14d
je 0x14014e77c
mov r8, qword [0x1402bfe80]
lea rdx, [rbp - 0x41]
mov rcx, rsi
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, rsi
mov edx, 0x808080
cmp rbx, rdi
jg 0x14014e7aa
mov edx, 0x878200
jmp 0x14014e7aa
mov ecx, 0xf
call qword [sym.imp.USER32.dll_GetSysColorBrush]
lea rdx, [rbp - 0x41]
mov rcx, rsi
mov r8, rax
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, rsi
mov edx, 0x808080
cmp rbx, rdi
jg 0x14014e7aa
mov edx, 0x9eca9e
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ecx, 0x12
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov r9d, dword ds:[rbp - 0x39]
mov rcx, rsi
mov eax, dword [rbp - 0x41]
divss xmm6, dword [0x140288b68]
mov r8d, dword [rbp - 0x3d]
sub eax, r9d
mov dword [rsp + 0x28], 0xf00021
movd xmm1, eax
mov eax, dword [rbp - 0x35]
cvtdq2ps xmm1, xmm1
movd xmm0, r9d
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm6
addss xmm1, xmm0
cvttss2si edx, xmm1
cmp edx, dword [rbp - 0x31]
cmovl edx, dword [rbp - 0x31]
sub eax, r8d
sub r9d, edx
mov dword [rsp + 0x20], eax
mov dword [rbp - 0x41], edx
call qword [sym.imp.GDI32.dll_PatBlt]
mov ecx, 2
call qword [sym.imp.GDI32.dll_GetStockObject]
lea rdx, ds:[rbp - 0x31]
mov rcx, rsi
mov r8, rax
call qword [sym.imp.USER32.dll_FrameRect]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1401dd6a0
mov rbx, qword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14014e920
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x48
test byte [0x1402bb960], 1
jne 0x14014ebaf
lock bts qword [0x1402bb960], 0x1f
jae 0x14014e964
test byte [0x1402bb960], 1
jne 0x14014ebaf
xor edx, edx
lea rcx, [0x1402bb960]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rax, qword [0x1402c2f10]
add rsp, 0x48
ret
cmp dword [0x1402b5e88], 0x3e
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x40], rbx
lea rbx, str.windowscodecs.dll
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], 0x22
jb 0x14014ea75
call fcn.140174480
mov rcx, rax
test rax, rax
jne 0x14014e9f6
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14014e9f6
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14014e9f6
cmp dword [0x1402b5e88], 0x3e
jae 0x14014eb9e
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14014eb9e
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14014eb9e
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14014eb9e
cmp dword [rdx + rcx], 0x4550
jne 0x14014eb9e
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14014eb9e
cmp dword ds:[rdx + 4], 0
je 0x14014eb9e
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.140174840
nop dword [rax]
test rax, rax
je 0x14014eb9e
lea rcx, [0x140281148]
jmp 0x14014eb51
call fcn.140174480
mov rcx, rax
test rax, rax
jne 0x14014eae9
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14014eae9
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x14014eae9
cmp dword [0x1402b5e88], 0x3e
nop
jae 0x14014eb9e
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x14014eb9e
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14014eb9e
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14014eb9e
cmp dword [rdx + rcx], 0x4550
jne 0x14014eb9e
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14014eb9e
cmp dword [rdx + 4], 0
je 0x14014eb9e
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.140174840
test rax, rax
je 0x14014eb9e
lea rcx, [0x140281168]
lea r8, ds:[rsp + 0x50]
lea rdx, [0x140208ae0]
call qword [str.PB__]
test eax, eax
js 0x14014eb9e
mov rcx, qword [rsp + 0x50]
lea r9, [0x1402c2f10]
lea r8, [0x1402089f0]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [str.PB__]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.PB__]
lea rcx, [0x1402bb960]
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x40]
mov rax, qword [0x1402c2f10]
add rsp, 0x48
ret
Function at 0x14014f3c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
test byte [0x1402bb8e0], 1
mov rbx, rdx
mov rdi, rcx
jne 0x14014f509
lock bts qword [0x1402bb8e0], 0x1f
jae 0x14014f40a
test byte [0x1402bb8e0], 1
jne 0x14014f509
xor edx, edx
lea rcx, [0x1402bb8e0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x14014f509
lea r8, [0x1402601c0]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x14014f442
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14014f43e
mov edx, ecx
shr rdx, 1
jmp 0x14014f483
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14014f475
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14014f460
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 0x14014f4f4
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14014f4f4
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14014f4f4
cmp dword [rdx + rcx], 0x4550
jne 0x14014f4f4
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14014f4f4
cmp dword [rdx + 4], 0
je 0x14014f4f4
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.SetWindowCompositionAttribute
mov word [rsp + 0x20], ax
call fcn.140174840
jmp 0x14014f4f6
xor eax, eax
lea rcx, [0x1402bb8e0]
mov qword [0x1402c2e58], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402c2e58]
test rax, rax
je 0x14014f536
mov rdx, rbx
mov rcx, rdi
call qword [str.PB__]
test eax, eax
setne al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14014fe20
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x70
mov esi, dword [rsp + 0xa8]
mov r14, rcx
xor ebp, ebp
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x40], rbp
lea eax, [rsi*8]
not eax
and eax, 0x20
or eax, 0x40
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r9d
xor r9d, r9d
mov dword [rsp + 0x20], 0x80
call sym.SystemInformer.exe_PhCreateFileWin32Ex
test eax, eax
jns 0x14014fe93
lfence
lea r11, [rsp + 0x70]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
test byte [0x1402bb970], 1
jne 0x14014fec5
lock bts qword [0x1402bb970], 0x1f
jae 0x14014ff93
test byte [0x1402bb970], 1
jne 0x14014fec5
xor edx, edx
lea rcx, [0x1402bb970]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rdx, qword [0x1402bfea0]
mov ecx, 0x30
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
call sym.SystemInformer.exe_PhCreateObject
mov rcx, qword [rsp + 0x50]
mov rbx, rax
mov qword [rax], rcx
mov ecx, esi
shl ecx, 0xb
mov dword [rax + 8], esi
not ecx
and ecx, 0x1000
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
mov dword [rax + 0x20], ecx
mov qword [rax + 0x24], rbp
mov dword [rax + 0x2c], ebp
bt esi, 0x10
jae 0x140150027
mov rcx, qword [rax]
lea rdx, [rax + 0x10]
call sym.SystemInformer.exe_PhGetFileSize
test eax, eax
js 0x14014ff6e
test byte [rbx + 8], 8
jne 0x140150027
lfence
mov rax, qword [rbx + 0x10]
lea r8, [rsp + 0x58]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x60]
mov r9d, 8
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], 0xe
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
test eax, eax
jns 0x140150027
lfence
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14015002d
call fcn.14013d2a0
jmp 0x14015002d
mov rdx, qword [0x1402bfcd8]
mov ecx, 0x40
call sym.SystemInformer.exe_PhCreateObject
mov ecx, 1
mov r8, rax
mov word [rax], cx
lock xadd dword [0x1402bfcd0], ecx
mov dword [rax + 4], ebp
movzx ecx, cl
mov byte [rax + 2], cl
lea rax, [0x1401501a0]
mov qword [r8 + 8], rax
lea rax, [0x140281188]
mov qword [r8 + 0x10], rax
lea rax, [0x1402c3fc0]
mov qword [rax + rcx*8], r8
lea rax, [r8 + 0x20]
test al, 0xf
jne 0x14015001a
xorps xmm0, xmm0
mov qword [0x1402bfea0], r8
movaps xmmword [rax], xmm0
lea rcx, [0x1402bb970]
mov dword [rax + 0x10], ebp
mov dword [rax + 0x14], 0x10
mov qword [rax + 0x18], 0x40
call sym.SystemInformer.exe_PhfSetEvent
jmp 0x14014fec5
mov ecx, 0x80000002
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
lfence
mov qword [r14], rbx
mov rbx, qword [rsp + 0x80]
lea r11, [rsp + 0x70]
mov rbp, qword [r11 + 0x20]
xor eax, eax
mov rsi, qword [r11 + 0x28]
mov rdi, qword [rsp + 0x88]
mov rsp, r11
pop r14
ret
Function at 0x140150240
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x40
test byte [rcx + 8], 0xc
mov rbx, rcx
jne 0x140150297
mov rcx, qword [rcx]
lea r8, [rsp + 0x50]
mov r9d, 8
mov dword [rsp + 0x20], 0xe
lea rdx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
jns 0x140150280
lfence
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
mov rax, qword [rsp + 0x50]
cmp qword [rbx + 0x10], rax
je 0x140150297
mov ecx, 0xc00000e5
call qword [sym.imp.ntdll.dll_RtlRaiseStatus]
int3
add rsp, 0x40
pop rbx
ret

Function at 0x1401502a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword ss:[rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [rcx + 0x20]
lea r9, [rsp + 0x48]
xor edi, edi
mov dword [rsp + 0x28], 4
mov rbx, rcx
mov qword [rsp + 0x48], rax
xor r8d, r8d
mov qword [rsp + 0x40], rdi
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x20], 0x1000
lea rcx, [rdi - 1]
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
mov eax, 0xc0000017
js 0x140150309
mov rcx, qword [rsp + 0x40]
test rcx, rcx
mov qword [rbx + 0x18], rcx
cmovne eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov qword [rbx + 0x18], rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140150320
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x60
test byte [rcx + 8], 8
lea rax, [rcx + 0x10]
mov rsi, rcx
mov rdi, r9
mov ecx, 0
cmove rax, rcx
mov qword [r11 - 0x28], rcx
mov qword [r11 - 0x30], rax
xor r9d, r9d
mov rcx, qword [rsi]
lea rax, [r11 - 0x18]
mov dword [r11 - 0x38], r8d
xor r8d, r8d
mov qword [r11 - 0x40], rdx
xor edx, edx
mov qword [r11 - 0x48], rax
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14015038e
mov rcx, qword ds:[rsi]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
test eax, eax
js 0x1401503a7
mov eax, dword [rsp + 0x50]
test eax, eax
js 0x1401503a7
mov rcx, qword ds:[rsp + 0x58]
add qword [rsi + 0x10], rcx
test rdi, rdi
je 0x1401503a7
mov dword [rdi], ecx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret