joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140150ac0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov ecx, 2
add rdx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, qword [rdi]
mov rcx, rax
mov rdx, qword [rdi + 8]
mov rbx, rax
call fcn.14020a640
mov rcx, qword [rdi]
xor eax, eax
mov word [rbx + rcx], ax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rsi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140150b53
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x140150b53
mov rdx, rbp
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x140150b53
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x140150b5c
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140150c40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, qword [rsp + 0xc0]
mov rsi, r9
mov rdi, r8
mov qword [rsp + 0x50], rdx
lea r9, [rsp + 0x38]
mov qword [rsp + 0x48], 5
mov r8d, 3
mov qword [rsp + 0x58], 0
lea rdx, [rsp + 0x48]
mov rbx, rcx
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x140150cd4
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x140150cd4
mov rdx, qword [rsp + 0x40]
mov r9, rsi
mov r8, rdi
mov qword [rsp + 0x20], rbp
mov rcx, rbx
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
jmp 0x140150cd6
xor eax, eax
mov rcx, qword ds:[rsp + 0x60]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140150d00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, qword [rsp + 0xc0]
mov rsi, r9
mov rdi, r8
mov qword [rsp + 0x50], rdx
lea r9, [rsp + 0x38]
mov qword [rsp + 0x48], 5
mov r8d, 3
mov qword [rsp + 0x58], 0
lea rdx, [rsp + 0x48]
mov rbx, rcx
call qword [sym.imp.ntdll.dll_LdrFindResource_U]
test eax, eax
js 0x140150d94
lfence
mov rdx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_LdrAccessResource]
test eax, eax
js 0x140150d94
mov rdx, qword [rsp + 0x40]
mov r9, rsi
mov r8, rdi
mov qword [rsp + 0x20], rbp
mov rcx, rbx
call qword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
jmp 0x140150d9b
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140151bc0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp + 0x18], rax
mov rbx, rdx
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x40], rcx
mov byte [rbp - 0x37], 1
movups xmmword [rbp - 0x50], xmm0
test rdx, rdx
je 0x140151bfa
mov rcx, rdx
mov qword [rbp + 0x18], rdx
jmp 0x140151c49
cmp dword [0x1402cddb8], 3
mov edx, 0x1000
mov qword [rbp - 0x60], rcx
lea rcx, [rbp + 0x18]
mov qword [rbp - 0x58], rax
jge 0x140151c3b
lea r9, [rbp - 0x60]
mov dword [rbp - 0x30], 0x30
lea r8, [rbp - 0x30]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x18], eax
mov qword [rbp - 0x20], rax
movdqu xmmword [rbp - 0x10], xmm0
call qword [sym.imp.ntdll.dll_NtOpenProcess]
jmp 0x140151c45
lea r8, ds:[rbp - 0x60]
call fcn.140176ee0
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140151c5f
cmp dword [0x1402bff40], 0x3e
jb 0x140151c5f
call fcn.1401520c0
mov byte [rbp - 0x38], al
lea rdx, [rbp - 0x50]
lea rcx, [0x140151ae0]
call qword [sym.imp.USER32.dll_EnumWindows]
test rbx, rbx
jne 0x140151c86
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140151c86
nop
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x50]
test rcx, rcx
mov rbx, qword [rsp + 0xa0]
cmovne rax, rcx
add rsp, 0x80
pop rbp
ret

Function at 0x1401520c0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
test byte [0x1402c5c10], 1
mov rbx, rcx
jne 0x140152209
lock bts qword [0x1402c5c10], 0x1f
setb al
test al, al
je 0x14015210a
test byte [0x1402c5c10], 1
jne 0x140152209
xor edx, edx
lea rcx, [0x1402c5c10]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140152209
cmp dword [0x1402bff40], 0x3e
jb 0x1401521fd
lea r8, [0x1402675e0]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x14015214d
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140152149
mov edx, ecx
shr rdx, 1
jmp 0x140152183
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140152175
nop dword [rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140152160
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 0x1401521f4
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401521f4
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401521f4
cmp dword [rdx + rcx], 0x4550
jne 0x1401521f4
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401521f4
cmp dword [rdx + 4], 0
je 0x1401521f4
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.IsImmersiveProcess
mov word [rsp + 0x20], ax
call fcn.14017dc40
jmp 0x1401521f6
xor eax, eax
mov qword [0x1402cdc00], rax
lea rcx, [0x1402c5c10]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdc00]
test rax, rax
jne 0x14015221b
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call qword [case.0x14013d64a.0]
test eax, eax
setne al
add rsp, 0x40
pop rbx
ret
Function at 0x140152240
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 [0x1402c5b80], 1
mov rsi, rcx
jne 0x140152385
lock bts qword [0x1402c5b80], 0x1f
setb al
test al, al
je 0x14015229a
test byte [0x1402c5b80], 1
jne 0x140152385
xor edx, edx
lea rcx, [0x1402c5b80]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140152385
lea rax, [0x1402675e0]
mov qword [rsp + 0x30], 0x14
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.14017d8a0
mov rbx, rax
test rax, rax
je 0x140152375
cmp dword [0x1402bff40], 0x66
jb 0x140152307
xor r8d, r8d
lea rdx, str.GetDpiAwarenessContextForProcess
mov rcx, rax
call fcn.14017dae0
xor r8d, r8d
mov qword [0x1402cdc40], rax
lea rdx, str.AreDpiAwarenessContextsEqual
mov rcx, rbx
call fcn.14017dae0
mov qword [0x1402cdba0], rax
jmp 0x14015230e
mov rax, qword [0x1402cdba0]
cmp qword [0x1402cdc40], rbp
je 0x14015231c
test rax, rax
jne 0x140152375
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14015236b
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14015236b
cmp dword [rcx + rbx], 0x4550
jne 0x14015236b
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14015236b
cmp dword [rdx + 4], ebp
je 0x14015236b
lea r8, [rbx + rax]
mov word [rsp + 0x20], bp
lea r9, str.GetProcessDpiAwarenessInternal
mov rcx, rbx
call fcn.14017dc40
jmp 0x14015236e
mov rax, rbp
mov qword [0x1402cdc18], rax
lea rcx, [0x1402c5b80]
nop dword [rax]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdc40]
test rax, rax
je 0x140152459
cmp qword [0x1402cdba0], rbp
nop dword [rax]
je 0x140152459
mov rcx, rsi
call qword [case.0x14013d64a.0]
mov rbx, rax
mov rcx, rax
mov rax, qword [0x1402cdba0]
mov rdx, 0xffffffffffffffff
call qword [case.0x14013d64a.0]
test eax, eax
jne 0x1401524a2
mov rax, qword [0x1402cdba0]
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
call qword [case.0x14013d64a.0]
test eax, eax
jne 0x140152498
mov rax, qword [0x1402cdba0]
mov rdx, 0xfffffffffffffffd
mov rcx, rbx
call qword [case.0x14013d64a.0]
test eax, eax
jne 0x14015248e
mov rax, qword [0x1402cdba0]
mov rdx, 0xfffffffffffffffc
mov rcx, rbx
call qword [case.0x14013d64a.0]
test eax, eax
je 0x140152434
mov dword [rdi], 3
mov al, 1
jmp 0x1401524aa
mov rax, qword [0x1402cdba0]
mov rdx, 0xfffffffffffffffb
mov rcx, rbx
call qword [case.0x14013d64a.0]
test eax, eax
je 0x140152459
mov dword [rdi], 4
mov al, 1
jmp 0x1401524aa
mov rax, qword [0x1402cdc18]
test rax, rax
je 0x1401524a8
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], ebp
mov rcx, rsi
call qword [case.0x14013d64a.0]
test eax, eax
je 0x1401524a8
mov eax, dword ds:[rsp + 0x60]
test eax, eax
je 0x1401524a2
sub eax, 1
je 0x140152498
cmp eax, 1
jne 0x1401524a8
mov dword [rdi], 2
mov al, 1
jmp 0x1401524aa
mov dword [rdi], 1
mov al, 1
jmp 0x1401524aa
mov dword [rdi], ebp
mov al, 1
jmp 0x1401524aa
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 0x1401524c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x40
xor ebx, ebx
test byte [0x1402c5bf0], 1
mov qword [rsp + 0x58], rbx
jne 0x140152605
lock bts qword [0x1402c5bf0], 0x1f
setb al
test al, al
je 0x14015250f
test byte [0x1402c5bf0], 1
jne 0x140152605
xor edx, edx
lea rcx, [0x1402c5bf0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140152605
lea r8, str.kernel32.dll
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x140152546
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140152542
mov edx, ecx
shr rdx, 1
jmp 0x140152583
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140152575
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140152560
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 0x1401525f2
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401525f2
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401525f2
cmp dword [rdx + rcx], 0x4550
jne 0x1401525f2
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401525f2
cmp dword [rdx + 4], ebx
je 0x1401525f2
lea r8, [rcx + rax]
mov word [rsp + 0x20], bx
lea r9, str.GetPhysicallyInstalledSystemMemory
call fcn.14017dc40
mov rbx, rax
lea rcx, [0x1402c5bf0]
mov qword [0x1402cdb78], rbx
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdb78]
test rax, rax
je 0x140152657
lea rcx, [rsp + 0x58]
call qword [case.0x14013d64a.0]
nop dword [rax]
test eax, eax
je 0x140152657
mov rcx, qword [rsp + 0x58]
mov rax, rcx
shl rax, 0xa
mov qword [0x1402cd8c8], rax
mov eax, dword [0x1402caadc]
shl rax, 2
sub rcx, rax
mov al, 1
shl rcx, 0xa
mov qword [0x1402cd970], rcx
add rsp, 0x40
pop rbx
ret
xor al, al
add rsp, 0x40
pop rbx
ret
Function at 0x140152660
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
test byte [0x1402c5b30], 1
mov rbx, rdx
mov rdi, rcx
jne 0x1401527a9
lock bts qword [0x1402c5b30], 0x1f
setb al
test al, al
je 0x1401526ae
test byte [0x1402c5b30], 1
jne 0x1401527a9
xor edx, edx
lea rcx, [0x1402c5b30]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x1401527a9
lea r8, [0x1402675e0]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x1401526e6
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x1401526e2
mov edx, ecx
shr rdx, 1
jmp 0x140152723
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140152715
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140152700
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 0x140152794
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140152794
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140152794
cmp dword [rdx + rcx], 0x4550
jne 0x140152794
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140152794
cmp dword [rdx + 4], 0
je 0x140152794
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.GetSendMessageReceiver
mov word [rsp + 0x20], ax
call fcn.14017dc40
jmp 0x140152796
xor eax, eax
lea rcx, [0x1402c5b30]
mov qword [0x1402cdbb8], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdbb8]
test rax, rax
je 0x1401527d5
mov rcx, rdi
call qword [case.0x14013d64a.0]
nop
test rax, rax
je 0x1401527d5
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 0x140152800
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 [0x1402c5bb0], 1
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x30], rbp
jne 0x140152967
lock bts qword [0x1402c5bb0], 0x1f
setb al
test al, al
je 0x14015286a
test byte [0x1402c5bb0], 1
jne 0x140152967
xor edx, edx
lea rcx, [0x1402c5bb0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140152967
lea r8, [0x1402675e0]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x1401528a2
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14015289e
mov edx, ecx
shr rdx, 1
jmp 0x1401528e3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x1401528d5
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x1401528c0
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.14017d8a0
mov rcx, rax
test rax, rax
je 0x140152951
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140152951
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140152951
cmp dword [rdx + rcx], 0x4550
jne 0x140152951
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140152951
cmp dword [rdx + 4], ebp
je 0x140152951
lea r8, [rcx + rax]
mov word [rsp + 0x20], bp
lea r9, str.PrivateExtractIconExW
call fcn.14017dc40
jmp 0x140152954
mov rax, rbp
lea rcx, [0x1402c5bb0]
mov qword [0x1402cdb50], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdb50]
test rax, rax
je 0x1401529e6
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 [case.0x14013d64a.0]
nop
test eax, eax
jle 0x1401529c2
test rdi, rdi
je 0x1401529b1
mov rax, qword [rsp + 0x78]
mov qword [rdi], rax
test rbx, rbx
je 0x1401529be
mov rax, qword [rsp + 0x30]
mov qword [rbx], rax
mov al, 1
jmp 0x1401529e8
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1401529d2
call qword [sym.imp.USER32.dll_DestroyIcon]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1401529e6
nop dword [rax]
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 0x140153640
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x38
xor r9d, r9d
test cl, 1
je 0x140153655
lfence
mov r9d, 4
test cl, 2
je 0x140153661
lfence
or r9d, 8
test cl, 4
je 0x14015366d
lfence
or r9d, 0x40
test cl, 8
je 0x14015367a
lfence
bts r9d, 9
test cl, 0x10
je 0x140153687
lfence
bts r9d, 0xa
test cl, cl
jns 0x140153693
lfence
bts r9d, 0x13
or r9d, 1
mov dword [rsp + 0x20], 0x80000000
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateShutdownW]
add rsp, 0x38
ret
Function at 0x1401536c0
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 [0x1402bf040]
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 0x140153718
mov rbx, qword [0x7ffe0014]
mov rdi, rbx
sub rdi, qword [r9]
jmp 0x14015375b
cmp qword [0x1402cdb88], 0
jne 0x140153749
xor r9d, r9d
lea rdx, [rbp - 0x21]
mov r8d, 0x30
mov ecx, 3
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x140153749
mov rax, qword [rbp - 0x21]
mov qword [0x1402cdb88], rax
mov rbx, qword [0x7ffe0014]
mov rdi, rbx
sub rdi, qword [0x1402cdb88]
sub rbx, qword [r15]
xorps xmm1, xmm1
movss xmm6, dword [0x140290808]
xorps xmm0, xmm0
cvtsi2ss xmm0, rdi
cvtsi2ss xmm1, rbx
divss xmm1, xmm0
movss xmm0, dword [0x140290764]
mulss xmm1, dword [0x140290808]
minss xmm6, xmm1
comiss xmm0, xmm6
jbe 0x140153796
xorps xmm6, xmm6
and r14d, 2
je 0x1401537a5
mov r8, qword [0x1402cab00]
jmp 0x1401537b3
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov r8, rax
lea rdx, ds:[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 0x140153805
mov r8, qword [0x1402cab00]
lea rdx, [rbp - 0x41]
mov rcx, rsi
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, rsi
mov edx, 0x808080
cmp rbx, rdi
jg 0x140153838
mov edx, 0x878200
jmp 0x140153838
mov ecx, 0xf
call qword [sym.imp.USER32.dll_GetSysColorBrush]
lea rdx, ds:[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 0x140153838
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 [rbp - 0x39]
mov rcx, rsi
mov eax, dword [rbp - 0x41]
divss xmm6, dword [0x140290808]
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, [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.1401e4160
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 0x1401539a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x48
test byte [0x1402c5c20], 1
jne 0x140153c4a
lock bts qword [0x1402c5c20], 0x1f
setb al
test al, al
je 0x1401539eb
test byte [0x1402c5c20], 1
jne 0x140153c4a
xor edx, edx
lea rcx, [0x1402c5c20]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rax, qword [0x1402cdc10]
add rsp, 0x48
ret
cmp dword [0x1402bff40], 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 0x140153b05
call fcn.14017d8a0
mov rcx, rax
test rax, rax
jne 0x140153a89
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140153a89
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140153a89
cmp dword [0x1402bff40], 0x3e
nop
jae 0x140153c38
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140153c38
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140153c38
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140153c38
cmp dword [rdx + rcx], 0x4550
jne 0x140153c38
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140153c38
cmp dword [rdx + 4], 0
je 0x140153c38
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017dc40
test rax, rax
je 0x140153c38
lea rcx, [0x140288e28]
nop dword [rax]
jmp 0x140153bec
call fcn.14017d8a0
mov rcx, rax
test rax, rax
jne 0x140153b72
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140153b72
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140153b72
cmp dword [0x1402bff40], 0x3e
jae 0x140153c38
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140153c38
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140153c38
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140153c38
cmp dword [rdx + rcx], 0x4550
jne 0x140153c38
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140153c38
cmp dword ds:[rdx + 4], 0
je 0x140153c38
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017dc40
nop dword [rax]
test rax, rax
je 0x140153c38
lea rcx, [0x140288e48]
lea r8, [rsp + 0x50]
lea rdx, [0x14020fc00]
call qword [case.0x14013d64a.0]
nop
test eax, eax
js 0x140153c38
mov rcx, qword [rsp + 0x50]
lea r9, [0x1402cdc10]
lea r8, [0x14020fb20]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013d64a.0]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013d64a.0]
lea rcx, [0x1402c5c20]
nop
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x40]
mov rax, qword [0x1402cdc10]
add rsp, 0x48
ret
Function at 0x140154460
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
test byte [0x1402c5ba0], 1
mov rbx, rdx
mov rdi, rcx
jne 0x1401545a9
lock bts qword [0x1402c5ba0], 0x1f
setb al
test al, al
je 0x1401544ae
test byte [0x1402c5ba0], 1
jne 0x1401545a9
xor edx, edx
lea rcx, [0x1402c5ba0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x1401545a9
lea r8, [0x1402675e0]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x1401544e6
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x1401544e2
mov edx, ecx
shr rdx, 1
jmp 0x140154523
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140154515
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140154500
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 0x140154594
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140154594
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140154594
cmp dword [rdx + rcx], 0x4550
jne 0x140154594
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140154594
cmp dword [rdx + 4], 0
je 0x140154594
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.SetWindowCompositionAttribute
mov word [rsp + 0x20], ax
call fcn.14017dc40
jmp 0x140154596
xor eax, eax
lea rcx, [0x1402c5ba0]
mov qword [0x1402cdb58], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402cdb58]
test rax, rax
je 0x1401545d6
mov rdx, rbx
mov rcx, rdi
call qword [case.0x14013d64a.0]
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