joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140152320
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 0x14015235a
mov rcx, rdx
mov qword [rbp + 0x18], rdx
jmp 0x1401523a9
cmp dword [0x1402ced08], 3
mov edx, 0x1000
mov qword [rbp - 0x60], rcx
lea rcx, [rbp + 0x18]
mov qword [rbp - 0x58], rax
jge 0x14015239b
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 0x1401523a5
lea r8, ds:[rbp - 0x60]
call fcn.1401783e0
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1401523bf
cmp dword [0x1402c0f40], 0x3e
jb 0x1401523bf
call fcn.140152820
mov byte [rbp - 0x38], al
lea rdx, [rbp - 0x50]
lea rcx, [0x140152240]
call qword [sym.imp.USER32.dll_EnumWindows]
test rbx, rbx
jne 0x1401523e6
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1401523e6
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 0x140152820
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
test byte [0x1402c6b70], 1
mov rbx, rcx
jne 0x140152969
lock bts qword [0x1402c6b70], 0x1f
setb al
test al, al
je 0x14015286a
test byte [0x1402c6b70], 1
jne 0x140152969
xor edx, edx
lea rcx, [0x1402c6b70]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140152969
cmp dword [0x1402c0f40], 0x3e
jb 0x14015295d
lea r8, [0x140268980]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x1401528ad
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x1401528a9
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]
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 + 0x38], r8
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.14017ede0
mov rcx, rax
test rax, rax
je 0x140152954
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140152954
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140152954
cmp dword [rdx + rcx], 0x4550
jne 0x140152954
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140152954
cmp dword [rdx + 4], 0
je 0x140152954
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.IsImmersiveProcess
mov word [rsp + 0x20], ax
call fcn.14017f180
jmp 0x140152956
xor eax, eax
mov qword [0x1402ceb50], rax
lea rcx, [0x1402c6b70]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402ceb50]
test rax, rax
jne 0x14015297b
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call qword [case.0x14013dbaa.0]
test eax, eax
setne al
add rsp, 0x40
pop rbx
ret
Function at 0x1401529a0
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 [0x1402c6ae0], 1
mov rsi, rcx
jne 0x140152ae5
lock bts qword [0x1402c6ae0], 0x1f
setb al
test al, al
je 0x1401529fa
test byte [0x1402c6ae0], 1
jne 0x140152ae5
xor edx, edx
lea rcx, [0x1402c6ae0]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140152ae5
lea rax, [0x140268980]
mov qword [rsp + 0x30], 0x14
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.14017ede0
mov rbx, rax
test rax, rax
je 0x140152ad5
cmp dword [0x1402c0f40], 0x66
jb 0x140152a67
xor r8d, r8d
lea rdx, str.GetDpiAwarenessContextForProcess
mov rcx, rax
call fcn.14017f020
xor r8d, r8d
mov qword [0x1402ceb90], rax
lea rdx, str.AreDpiAwarenessContextsEqual
mov rcx, rbx
call fcn.14017f020
mov qword [0x1402ceaf0], rax
jmp 0x140152a6e
mov rax, qword [0x1402ceaf0]
cmp qword [0x1402ceb90], rbp
je 0x140152a7c
test rax, rax
jne 0x140152ad5
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140152acb
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x140152acb
cmp dword [rcx + rbx], 0x4550
jne 0x140152acb
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140152acb
cmp dword [rdx + 4], ebp
je 0x140152acb
lea r8, [rbx + rax]
mov word [rsp + 0x20], bp
lea r9, str.GetProcessDpiAwarenessInternal
mov rcx, rbx
call fcn.14017f180
jmp 0x140152ace
mov rax, rbp
mov qword [0x1402ceb68], rax
lea rcx, [0x1402c6ae0]
nop dword [rax]
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402ceb90]
test rax, rax
je 0x140152bb9
cmp qword [0x1402ceaf0], rbp
nop dword [rax]
je 0x140152bb9
mov rcx, rsi
call qword [case.0x14013dbaa.0]
mov rbx, rax
mov rcx, rax
mov rax, qword [0x1402ceaf0]
mov rdx, 0xffffffffffffffff
call qword [case.0x14013dbaa.0]
test eax, eax
jne 0x140152c02
mov rax, qword [0x1402ceaf0]
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
call qword [case.0x14013dbaa.0]
test eax, eax
jne 0x140152bf8
mov rax, qword [0x1402ceaf0]
mov rdx, 0xfffffffffffffffd
mov rcx, rbx
call qword [case.0x14013dbaa.0]
test eax, eax
jne 0x140152bee
mov rax, qword [0x1402ceaf0]
mov rdx, 0xfffffffffffffffc
mov rcx, rbx
call qword [case.0x14013dbaa.0]
test eax, eax
je 0x140152b94
mov dword [rdi], 3
mov al, 1
jmp 0x140152c0a
mov rax, qword [0x1402ceaf0]
mov rdx, 0xfffffffffffffffb
mov rcx, rbx
call qword [case.0x14013dbaa.0]
test eax, eax
je 0x140152bb9
mov dword [rdi], 4
mov al, 1
jmp 0x140152c0a
mov rax, qword [0x1402ceb68]
test rax, rax
je 0x140152c08
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], ebp
mov rcx, rsi
call qword [case.0x14013dbaa.0]
test eax, eax
je 0x140152c08
mov eax, dword ds:[rsp + 0x60]
test eax, eax
je 0x140152c02
sub eax, 1
je 0x140152bf8
cmp eax, 1
jne 0x140152c08
mov dword [rdi], 2
mov al, 1
jmp 0x140152c0a
mov dword [rdi], 1
mov al, 1
jmp 0x140152c0a
mov dword [rdi], ebp
mov al, 1
jmp 0x140152c0a
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 0x140152c20
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x40
xor ebx, ebx
test byte [0x1402c6b50], 1
mov qword [rsp + 0x58], rbx
jne 0x140152d65
lock bts qword [0x1402c6b50], 0x1f
setb al
test al, al
je 0x140152c6f
test byte [0x1402c6b50], 1
jne 0x140152d65
xor edx, edx
lea rcx, [0x1402c6b50]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140152d65
lea r8, str.kernel32.dll
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x140152ca6
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140152ca2
mov edx, ecx
shr rdx, 1
jmp 0x140152ce3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140152cd5
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140152cc0
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.14017ede0
mov rcx, rax
test rax, rax
je 0x140152d52
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140152d52
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140152d52
cmp dword [rdx + rcx], 0x4550
jne 0x140152d52
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140152d52
cmp dword [rdx + 4], ebx
je 0x140152d52
lea r8, [rcx + rax]
mov word [rsp + 0x20], bx
lea r9, str.GetPhysicallyInstalledSystemMemory
call fcn.14017f180
mov rbx, rax
lea rcx, [0x1402c6b50]
mov qword [0x1402ceac8], rbx
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402ceac8]
test rax, rax
je 0x140152db7
lea rcx, [rsp + 0x58]
call qword [case.0x14013dbaa.0]
nop dword [rax]
test eax, eax
je 0x140152db7
mov rcx, qword [rsp + 0x58]
mov rax, rcx
shl rax, 0xa
mov qword [0x1402ce818], rax
mov eax, dword [0x1402cba1c]
shl rax, 2
sub rcx, rax
mov al, 1
shl rcx, 0xa
mov qword [0x1402ce8c0], rcx
add rsp, 0x40
pop rbx
ret
xor al, al
add rsp, 0x40
pop rbx
ret
Function at 0x140152dc0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
test byte [0x1402c6a90], 1
mov rbx, rdx
mov rdi, rcx
jne 0x140152f09
lock bts qword [0x1402c6a90], 0x1f
setb al
test al, al
je 0x140152e0e
test byte [0x1402c6a90], 1
jne 0x140152f09
xor edx, edx
lea rcx, [0x1402c6a90]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140152f09
lea r8, [0x140268980]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x140152e46
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140152e42
mov edx, ecx
shr rdx, 1
jmp 0x140152e83
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140152e75
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140152e60
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.14017ede0
mov rcx, rax
test rax, rax
je 0x140152ef4
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140152ef4
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140152ef4
cmp dword [rdx + rcx], 0x4550
jne 0x140152ef4
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140152ef4
cmp dword [rdx + 4], 0
je 0x140152ef4
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.GetSendMessageReceiver
mov word [rsp + 0x20], ax
call fcn.14017f180
jmp 0x140152ef6
xor eax, eax
lea rcx, [0x1402c6a90]
mov qword [0x1402ceb08], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402ceb08]
test rax, rax
je 0x140152f35
mov rcx, rdi
call qword [case.0x14013dbaa.0]
nop
test rax, rax
je 0x140152f35
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 0x140152f60
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 [0x1402c6b10], 1
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x30], rbp
jne 0x1401530c7
lock bts qword [0x1402c6b10], 0x1f
setb al
test al, al
je 0x140152fca
test byte [0x1402c6b10], 1
jne 0x1401530c7
xor edx, edx
lea rcx, [0x1402c6b10]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x1401530c7
lea r8, [0x140268980]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x140153002
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140152ffe
mov edx, ecx
shr rdx, 1
jmp 0x140153043
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140153035
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140153020
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.14017ede0
mov rcx, rax
test rax, rax
je 0x1401530b1
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401530b1
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401530b1
cmp dword [rdx + rcx], 0x4550
jne 0x1401530b1
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401530b1
cmp dword [rdx + 4], ebp
je 0x1401530b1
lea r8, [rcx + rax]
mov word [rsp + 0x20], bp
lea r9, str.PrivateExtractIconExW
call fcn.14017f180
jmp 0x1401530b4
mov rax, rbp
lea rcx, [0x1402c6b10]
mov qword [0x1402ceaa0], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402ceaa0]
test rax, rax
je 0x140153146
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.0x14013dbaa.0]
nop
test eax, eax
jle 0x140153122
test rdi, rdi
je 0x140153111
mov rax, qword [rsp + 0x78]
mov qword [rdi], rax
test rbx, rbx
je 0x14015311e
mov rax, qword [rsp + 0x30]
mov qword [rbx], rax
mov al, 1
jmp 0x140153148
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140153132
call qword [sym.imp.USER32.dll_DestroyIcon]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140153146
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 0x140153da0
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x38
xor r9d, r9d
test cl, 1
je 0x140153db5
lfence
mov r9d, 4
test cl, 2
je 0x140153dc1
lfence
or r9d, 8
test cl, 4
je 0x140153dcd
lfence
or r9d, 0x40
test cl, 8
je 0x140153dda
lfence
bts r9d, 9
test cl, 0x10
je 0x140153de7
lfence
bts r9d, 0xa
test cl, cl
jns 0x140153df3
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 0x140153e20
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 [0x1402c0040]
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 0x140153e78
mov rbx, qword [0x7ffe0014]
mov rdi, rbx
sub rdi, qword [r9]
jmp 0x140153ebb
cmp qword [0x1402cead8], 0
jne 0x140153ea9
xor r9d, r9d
lea rdx, [rbp - 0x21]
mov r8d, 0x30
mov ecx, 3
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x140153ea9
mov rax, qword [rbp - 0x21]
mov qword [0x1402cead8], rax
mov rbx, qword [0x7ffe0014]
mov rdi, rbx
sub rdi, qword [0x1402cead8]
sub rbx, qword [r15]
xorps xmm1, xmm1
movss xmm6, dword [0x140291bb8]
xorps xmm0, xmm0
cvtsi2ss xmm0, rdi
cvtsi2ss xmm1, rbx
divss xmm1, xmm0
movss xmm0, dword [0x140291b14]
mulss xmm1, dword [0x140291bb8]
minss xmm6, xmm1
comiss xmm0, xmm6
jbe 0x140153ef6
xorps xmm6, xmm6
and r14d, 2
je 0x140153f05
mov r8, qword [0x1402cba40]
jmp 0x140153f13
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 0x140153f65
mov r8, qword [0x1402cba40]
lea rdx, [rbp - 0x41]
mov rcx, rsi
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, rsi
mov edx, 0x808080
cmp rbx, rdi
jg 0x140153f98
mov edx, 0x878200
jmp 0x140153f98
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 0x140153f98
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 [0x140291bb8]
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.1401e5e20
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 0x140154100
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x48
test byte [0x1402c6b80], 1
jne 0x1401543aa
lock bts qword [0x1402c6b80], 0x1f
setb al
test al, al
je 0x14015414b
test byte [0x1402c6b80], 1
jne 0x1401543aa
xor edx, edx
lea rcx, [0x1402c6b80]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rax, qword [0x1402ceb60]
add rsp, 0x48
ret
cmp dword [0x1402c0f40], 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 0x140154265
call fcn.14017ede0
mov rcx, rax
test rax, rax
jne 0x1401541e9
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401541e9
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401541e9
cmp dword [0x1402c0f40], 0x3e
nop
jae 0x140154398
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140154398
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140154398
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140154398
cmp dword [rdx + rcx], 0x4550
jne 0x140154398
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140154398
cmp dword [rdx + 4], 0
je 0x140154398
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017f180
test rax, rax
je 0x140154398
lea rcx, [0x14028a198]
nop dword [rax]
jmp 0x14015434c
call fcn.14017ede0
mov rcx, rax
test rax, rax
jne 0x1401542d2
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401542d2
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x1401542d2
cmp dword [0x1402c0f40], 0x3e
jae 0x140154398
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x140154398
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140154398
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140154398
cmp dword [rdx + rcx], 0x4550
jne 0x140154398
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140154398
cmp dword ds:[rdx + 4], 0
je 0x140154398
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.14017f180
nop dword [rax]
test rax, rax
je 0x140154398
lea rcx, [0x14028a1b8]
lea r8, [rsp + 0x50]
lea rdx, [0x140210c20]
call qword [case.0x14013dbaa.0]
nop
test eax, eax
js 0x140154398
mov rcx, qword [rsp + 0x50]
lea r9, [0x1402ceb60]
lea r8, [0x140210b40]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013dbaa.0]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013dbaa.0]
lea rcx, [0x1402c6b80]
nop
call sym.SystemInformer.exe_PhfSetEvent
mov rbx, qword [rsp + 0x40]
mov rax, qword [0x1402ceb60]
add rsp, 0x48
ret
Function at 0x140154bc0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
test byte [0x1402c6b00], 1
mov rbx, rdx
mov rdi, rcx
jne 0x140154d09
lock bts qword [0x1402c6b00], 0x1f
setb al
test al, al
je 0x140154c0e
test byte [0x1402c6b00], 1
jne 0x140154d09
xor edx, edx
lea rcx, [0x1402c6b00]
call sym.SystemInformer.exe_PhfWaitForEvent
jmp 0x140154d09
lea r8, [0x140268980]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x140154c46
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140154c42
mov edx, ecx
shr rdx, 1
jmp 0x140154c83
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140154c75
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140154c60
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.14017ede0
mov rcx, rax
test rax, rax
je 0x140154cf4
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140154cf4
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140154cf4
cmp dword [rdx + rcx], 0x4550
jne 0x140154cf4
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140154cf4
cmp dword [rdx + 4], 0
je 0x140154cf4
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.SetWindowCompositionAttribute
mov word [rsp + 0x20], ax
call fcn.14017f180
jmp 0x140154cf6
xor eax, eax
lea rcx, [0x1402c6b00]
mov qword [0x1402ceaa8], rax
call sym.SystemInformer.exe_PhfSetEvent
mov rax, qword [0x1402ceaa8]
test rax, rax
je 0x140154d36
mov rdx, rbx
mov rcx, rdi
call qword [case.0x14013dbaa.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
Function at 0x140155620
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 0x140155693
lfence
lea r11, [rsp + 0x70]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
test byte [0x1402c6b90], 1
jne 0x1401556c8
lock bts qword [0x1402c6b90], 0x1f
setb al
test al, al
je 0x14015579d
test byte [0x1402c6b90], 1
jne 0x1401556c8
xor edx, edx
lea rcx, [0x1402c6b90]
call sym.SystemInformer.exe_PhfWaitForEvent
mov rdx, qword [0x1402cba60]
mov ecx, 0x30
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
call sym.SystemInformer.exe_PhCreateObject
mov rcx, qword ds:[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 0x140155831
mov rcx, qword [rax]
lea rdx, [rax + 0x10]
call sym.SystemInformer.exe_PhGetFileSize
test eax, eax
js 0x140155779
test byte [rbx + 8], 8
mov rax, qword [rbx + 0x10]
mov qword [rbx + 0x10], rax
jne 0x140155831
lfence
mov rcx, qword [rbx]
lea r8, [rsp + 0x50]
mov r9d, 8
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x20], 0xe
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
test eax, eax
jns 0x140155831
lfence
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140155837
call fcn.140142200
jmp 0x140155837
mov rdx, qword [0x1402cb8a0]
mov ecx, 0x40
call sym.SystemInformer.exe_PhCreateObject
mov ecx, 1
mov r8, rax
mov word [rax], cx
lock xadd dword [0x1402cb54c], ecx
mov dword [rax + 4], ebp
movzx ecx, cl
mov byte [rax + 2], cl
lea rax, [0x1401559a0]
mov qword [r8 + 8], rax
lea rax, [0x14028a1d8]
mov qword [r8 + 0x10], rax
lea rax, [0x1402cfc40]
mov qword [rax + rcx*8], r8
lea rax, [r8 + 0x20]
test al, 0xf
jne 0x140155825
xorps xmm0, xmm0
mov qword [0x1402cba60], r8
movaps xmmword [rax], xmm0
lea rcx, [0x1402c6b90]
mov dword [rax + 0x10], ebp
mov dword [rax + 0x14], 0x10
mov qword [rax + 0x18], 0x40
call sym.SystemInformer.exe_PhfSetEvent
nop
jmp 0x1401556c8
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