joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014f6c0
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 0x14014f6fa
mov rcx, rdx
mov qword [rbp + 0x18], rdx
jmp 0x14014f749
cmp dword [0x1402c825c], 3
mov edx, 0x1000
mov qword [rbp - 0x60], rcx
lea rcx, [rbp + 0x18]
mov qword [rbp - 0x58], rax
jge 0x14014f73b
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 0x14014f745
lea r8, ds:[rbp - 0x60]
call fcn.140174cc0
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14014f75f
cmp dword [0x1402baf40], 0x3e
jb 0x14014f75f
call fcn.14014fbc0
mov byte [rbp - 0x38], al
lea rdx, [rbp - 0x50]
lea rcx, [0x14014f5e0]
call qword [sym.imp.USER32.dll_EnumWindows]
test rbx, rbx
jne 0x14014f786
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14014f786
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 0x14014fbc0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
test byte [0x1402c0b50], 1
mov rbx, rcx
jne 0x14014fd09
lock bts qword [0x1402c0b50], 0x1f
jae 0x14014fc05
test byte [0x1402c0b50], 1
jne 0x14014fd09
xor edx, edx
lea rcx, [0x1402c0b50]
call sym.SystemInformer.exe_QifWaitForEvent
nop dword [rax]
jmp 0x14014fd09
cmp dword [0x1402baf40], 0x3e
jb 0x14014fcfd
lea r8, [0x140264380]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x14014fc48
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14014fc44
mov edx, ecx
shr rdx, 1
jmp 0x14014fc83
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x14014fc75
nop dword [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x14014fc60
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.1401776c0
mov rcx, rax
test rax, rax
je 0x14014fcf4
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14014fcf4
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14014fcf4
cmp dword [rdx + rcx], 0x4550
jne 0x14014fcf4
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14014fcf4
cmp dword [rdx + 4], 0
je 0x14014fcf4
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.IsImmersiveProcess
mov word [rsp + 0x20], ax
call fcn.140177a80
jmp 0x14014fcf6
xor eax, eax
mov qword [0x1402c81c0], rax
lea rcx, [0x1402c0b50]
call sym.SystemInformer.exe_QifSetEvent
mov rax, qword [0x1402c81c0]
test rax, rax
jne 0x14014fd1b
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call qword [case.0x14013b5a0.0]
test eax, eax
setne al
add rsp, 0x40
pop rbx
ret
Function at 0x14014fd40
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 [0x1402c0ac0], 1
mov rsi, rcx
jne 0x14014fe85
lock bts qword [0x1402c0ac0], 0x1f
jae 0x14014fd99
test byte [0x1402c0ac0], 1
nop dword [rax]
jne 0x14014fe85
xor edx, edx
lea rcx, [0x1402c0ac0]
call sym.SystemInformer.exe_QifWaitForEvent
jmp 0x14014fe85
lea rax, [0x140264380]
mov qword [rsp + 0x30], 0x14
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
call fcn.1401776c0
mov rbx, rax
test rax, rax
je 0x14014fe75
cmp dword [0x1402baf40], 0x66
jb 0x14014fe07
xor r8d, r8d
lea rdx, str.GetDpiAwarenessContextForProcess
mov rcx, rax
call fcn.140177920
xor r8d, r8d
mov qword [0x1402c8200], rax
lea rdx, str.AreDpiAwarenessContextsEqual
mov rcx, rbx
call fcn.140177920
mov qword [0x1402c8160], rax
jmp 0x14014fe0e
mov rax, qword [0x1402c8160]
cmp qword [0x1402c8200], rbp
je 0x14014fe1c
test rax, rax
jne 0x14014fe75
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x14014fe6b
mov ecx, dword [rbx + 0x3c]
lea eax, [rcx - 1]
cmp eax, 0x7ffffffd
ja 0x14014fe6b
cmp dword [rcx + rbx], 0x4550
jne 0x14014fe6b
lea rdx, [rbx + 0x88]
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14014fe6b
cmp dword [rdx + 4], ebp
je 0x14014fe6b
lea r8, [rbx + rax]
mov word [rsp + 0x20], bp
lea r9, str.GetProcessDpiAwarenessInternal
mov rcx, rbx
call fcn.140177a80
jmp 0x14014fe6e
mov rax, rbp
mov qword [0x1402c81d8], rax
lea rcx, [0x1402c0ac0]
nop dword [rax]
call sym.SystemInformer.exe_QifSetEvent
mov rax, qword [0x1402c8200]
test rax, rax
je 0x14014ff5c
cmp qword [0x1402c8160], rbp
nop dword [rax]
je 0x14014ff5c
mov rcx, rsi
call qword [case.0x14013b5a0.0]
mov rbx, rax
mov rcx, rax
mov rax, qword [0x1402c8160]
mov rdx, 0xffffffffffffffff
call qword [case.0x14013b5a0.0]
test eax, eax
jne 0x14014ffa4
mov rax, qword [0x1402c8160]
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
call qword [case.0x14013b5a0.0]
test eax, eax
jne 0x14014ff9a
mov rax, qword [0x1402c8160]
mov rdx, 0xfffffffffffffffd
mov rcx, rbx
call qword [case.0x14013b5a0.0]
test eax, eax
jne 0x14014ff90
mov rax, qword [0x1402c8160]
mov rdx, 0xfffffffffffffffc
mov rcx, rbx
call qword [case.0x14013b5a0.0]
test eax, eax
je 0x14014ff37
mov dword [rdi], 3
mov al, 1
jmp 0x14014ffac
mov rax, qword [0x1402c8160]
mov rdx, 0xfffffffffffffffb
mov rcx, rbx
call qword [case.0x14013b5a0.0]
test eax, eax
je 0x14014ff5c
mov dword [rdi], 4
mov al, 1
jmp 0x14014ffac
mov rax, qword [0x1402c81d8]
test rax, rax
je 0x14014ffaa
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], ebp
mov rcx, rsi
call qword [case.0x14013b5a0.0]
test eax, eax
je 0x14014ffaa
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14014ffa4
sub eax, 1
je 0x14014ff9a
cmp eax, 1
jne 0x14014ffaa
mov dword [rdi], 2
mov al, 1
jmp 0x14014ffac
mov dword [rdi], 1
mov al, 1
jmp 0x14014ffac
mov dword [rdi], ebp
mov al, 1
jmp 0x14014ffac
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 0x14014ffe0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x40
xor ebx, ebx
test byte [0x1402c0b30], 1
mov qword [rsp + 0x58], rbx
jne 0x140150125
lock bts qword [0x1402c0b30], 0x1f
jae 0x14015002a
test byte [0x1402c0b30], 1
jne 0x140150125
xor edx, edx
lea rcx, [0x1402c0b30]
call sym.SystemInformer.exe_QifWaitForEvent
jmp 0x140150125
lea r8, str.kernel32.dll
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x140150062
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x14015005e
mov edx, ecx
shr rdx, 1
jmp 0x1401500a3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140150095
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140150080
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.1401776c0
mov rcx, rax
test rax, rax
je 0x140150112
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140150112
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140150112
cmp dword [rdx + rcx], 0x4550
jne 0x140150112
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140150112
cmp dword [rdx + 4], ebx
je 0x140150112
lea r8, [rcx + rax]
mov word [rsp + 0x20], bx
lea r9, str.GetPhysicallyInstalledSystemMemory
call fcn.140177a80
mov rbx, rax
lea rcx, [0x1402c0b30]
mov qword [0x1402c8138], rbx
call sym.SystemInformer.exe_QifSetEvent
mov rax, qword [0x1402c8138]
test rax, rax
je 0x140150177
lea rcx, [rsp + 0x58]
call qword [case.0x14013b5a0.0]
nop dword [rax]
test eax, eax
je 0x140150177
mov rcx, qword [rsp + 0x58]
mov rax, rcx
shl rax, 0xa
mov qword [0x1402c7e90], rax
mov eax, dword [0x1402c511c]
shl rax, 2
sub rcx, rax
mov al, 1
shl rcx, 0xa
mov qword [0x1402c7f40], rcx
add rsp, 0x40
pop rbx
ret
xor al, al
add rsp, 0x40
pop rbx
ret
Function at 0x140150180
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
test byte [0x1402c0a70], 1
mov rbx, rdx
mov rdi, rcx
jne 0x1401502c9
lock bts qword [0x1402c0a70], 0x1f
jae 0x1401501ca
test byte [0x1402c0a70], 1
jne 0x1401502c9
xor edx, edx
lea rcx, [0x1402c0a70]
call sym.SystemInformer.exe_QifWaitForEvent
jmp 0x1401502c9
lea r8, [0x140264380]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x140150202
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x1401501fe
mov edx, ecx
shr rdx, 1
jmp 0x140150243
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140150235
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140150220
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.1401776c0
mov rcx, rax
test rax, rax
je 0x1401502b4
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401502b4
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401502b4
cmp dword [rdx + rcx], 0x4550
jne 0x1401502b4
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401502b4
cmp dword [rdx + 4], 0
je 0x1401502b4
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.GetSendMessageReceiver
mov word [rsp + 0x20], ax
call fcn.140177a80
jmp 0x1401502b6
xor eax, eax
lea rcx, [0x1402c0a70]
mov qword [0x1402c8178], rax
call sym.SystemInformer.exe_QifSetEvent
mov rax, qword [0x1402c8178]
test rax, rax
je 0x1401502f5
mov rcx, rdi
call qword [case.0x14013b5a0.0]
nop
test rax, rax
je 0x1401502f5
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 0x140150320
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 [0x1402c0af0], 1
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x30], rbp
jne 0x140150478
lock bts qword [0x1402c0af0], 0x1f
jae 0x140150385
test byte [0x1402c0af0], 1
jne 0x140150478
xor edx, edx
lea rcx, [0x1402c0af0]
call sym.SystemInformer.exe_QifWaitForEvent
nop dword [rax]
jmp 0x140150478
lea r8, [0x140264380]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x1401503bb
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x1401503b7
mov edx, ecx
shr rdx, 1
jmp 0x1401503f3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x1401503e5
nop dword [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x1401503d0
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.1401776c0
mov rcx, rax
test rax, rax
je 0x140150462
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140150462
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140150462
cmp dword [rdx + rcx], 0x4550
jne 0x140150462
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140150462
cmp dword [rdx + 4], ebp
je 0x140150462
lea r8, [rcx + rax]
mov word [rsp + 0x20], bp
lea r9, str.PrivateExtractIconExW
call fcn.140177a80
nop
jmp 0x140150465
mov rax, rbp
lea rcx, [0x1402c0af0]
mov qword [0x1402c8110], rax
call sym.SystemInformer.exe_QifSetEvent
mov rax, qword [0x1402c8110]
nop
test rax, rax
je 0x1401504f6
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.0x14013b5a0.0]
test eax, eax
jle 0x1401504d2
test rdi, rdi
je 0x1401504c1
mov rax, qword [rsp + 0x78]
mov qword [rdi], rax
test rbx, rbx
je 0x1401504ce
mov rax, qword [rsp + 0x30]
mov qword [rbx], rax
mov al, 1
jmp 0x1401504f8
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1401504e6
nop dword [rax]
call qword [sym.imp.USER32.dll_DestroyIcon]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1401504f6
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 0x140151100
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 0x140151180
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 [0x1402ba040]
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 0x1401511d8
mov rbx, qword [0x7ffe0014]
mov rdi, rbx
sub rdi, qword [r9]
jmp 0x140151218
cmp qword [0x1402c8148], 0
jne 0x140151206
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 0x140151206
mov rax, qword [rbp - 0x21]
mov qword [0x1402c8148], rax
mov rbx, qword [0x7ffe0014]
mov rdi, rbx
sub rdi, qword [0x1402c8148]
sub rbx, qword [r15]
xorps xmm1, xmm1
movss xmm6, dword [0x14028d388]
xorps xmm0, xmm0
cvtsi2ss xmm0, rdi
cvtsi2ss xmm1, rbx
divss xmm1, xmm0
movss xmm0, dword [0x14028d2dc]
mulss xmm1, dword [0x14028d388]
minss xmm6, xmm1
comiss xmm0, xmm6
jbe 0x140151253
xorps xmm6, xmm6
and r14d, 2
je 0x140151262
mov r8, qword [0x1402c5140]
jmp 0x140151270
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 0x1401512bc
mov r8, qword [0x1402c5140]
lea rdx, [rbp - 0x41]
mov rcx, rsi
call qword [sym.imp.USER32.dll_FillRect]
mov rcx, rsi
mov edx, 0x808080
cmp rbx, rdi
jg 0x1401512ea
mov edx, 0x878200
jmp 0x1401512ea
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 0x1401512ea
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 [0x14028d388]
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.1401e0100
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 0x140151460
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x48
test byte [0x1402c0b60], 1
jne 0x1401516ef
lock bts qword [0x1402c0b60], 0x1f
jae 0x1401514a4
test byte [0x1402c0b60], 1
jne 0x1401516ef
xor edx, edx
lea rcx, [0x1402c0b60]
call sym.SystemInformer.exe_QifWaitForEvent
mov rax, qword [0x1402c81d0]
add rsp, 0x48
ret
cmp dword [0x1402baf40], 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 0x1401515b5
call fcn.1401776c0
mov rcx, rax
test rax, rax
jne 0x140151536
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140151536
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140151536
cmp dword [0x1402baf40], 0x3e
jae 0x1401516de
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x1401516de
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401516de
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401516de
cmp dword [rdx + rcx], 0x4550
jne 0x1401516de
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401516de
cmp dword ds:[rdx + 4], 0
je 0x1401516de
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.140177a80
nop dword [rax]
test rax, rax
je 0x1401516de
lea rcx, [0x140285958]
jmp 0x140151691
call fcn.1401776c0
mov rcx, rax
test rax, rax
jne 0x140151629
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140151629
xor edx, edx
mov r8d, 0x200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
jne 0x140151629
cmp dword [0x1402baf40], 0x3e
nop
jae 0x1401516de
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, rax
test rax, rax
je 0x1401516de
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1401516de
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x1401516de
cmp dword [rdx + rcx], 0x4550
jne 0x1401516de
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x1401516de
cmp dword [rdx + 4], 0
je 0x1401516de
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.DllGetClassObject
mov word [rsp + 0x20], ax
call fcn.140177a80
test rax, rax
je 0x1401516de
lea rcx, [0x140285978]
lea r8, ds:[rsp + 0x50]
lea rdx, [0x14020cba0]
call qword [case.0x14013b5a0.0]
test eax, eax
js 0x1401516de
mov rcx, qword [rsp + 0x50]
lea r9, [0x1402c81d0]
lea r8, [0x14020cac0]
xor edx, edx
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14013b5a0.0]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14013b5a0.0]
lea rcx, [0x1402c0b60]
call sym.SystemInformer.exe_QifSetEvent
mov rbx, qword [rsp + 0x40]
mov rax, qword [0x1402c81d0]
add rsp, 0x48
ret
Function at 0x140151f00
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
test byte [0x1402c0ae0], 1
mov rbx, rdx
mov rdi, rcx
jne 0x140152049
lock bts qword [0x1402c0ae0], 0x1f
jae 0x140151f4a
test byte [0x1402c0ae0], 1
jne 0x140152049
xor edx, edx
lea rcx, [0x1402c0ae0]
call sym.SystemInformer.exe_QifWaitForEvent
jmp 0x140152049
lea r8, [0x140264380]
xorps xmm1, xmm1
mov rdx, r8
mov rcx, r8
and rdx, 0xfffffffffffffff1
and ecx, 0xf
je 0x140151f82
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
shr eax, cl
bsf ecx, eax
je 0x140151f7e
mov edx, ecx
shr rdx, 1
jmp 0x140151fc3
add rdx, 0x10
xorps xmm0, xmm0
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
jne 0x140151fb5
nop dword [rax]
nop word [rax + rax]
add rdx, 0x10
movdqa xmm0, xmm1
pcmpeqw xmm0, xmmword [rdx]
pmovmskb eax, xmm0
bsf ecx, eax
je 0x140151fa0
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.1401776c0
mov rcx, rax
test rax, rax
je 0x140152034
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140152034
mov edx, dword [rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x140152034
cmp dword [rdx + rcx], 0x4550
jne 0x140152034
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x140152034
cmp dword [rdx + 4], 0
je 0x140152034
lea r8, [rcx + rax]
xor eax, eax
lea r9, str.SetWindowCompositionAttribute
mov word [rsp + 0x20], ax
call fcn.140177a80
jmp 0x140152036
xor eax, eax
lea rcx, [0x1402c0ae0]
mov qword [0x1402c8118], rax
call sym.SystemInformer.exe_QifSetEvent
mov rax, qword [0x1402c8118]
test rax, rax
je 0x140152076
mov rdx, rbx
mov rcx, rdi
call qword [case.0x14013b5a0.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 0x140156980
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_QiCreateFileWin32Ex
test eax, eax
jns 0x1401569f3
lfence
lea r11, [rsp + 0x70]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
test byte [0x1402c0b70], 1
jne 0x140156a25
lock bts qword [0x1402c0b70], 0x1f
jae 0x140156af3
test byte [0x1402c0b70], 1
jne 0x140156a25
xor edx, edx
lea rcx, [0x1402c0b70]
call sym.SystemInformer.exe_QifWaitForEvent
mov rdx, qword [0x1402c5168]
mov ecx, 0x30
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
call sym.SystemInformer.exe_QiCreateObject
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 0x140156b87
mov rcx, qword [rax]
lea rdx, [rax + 0x10]
call sym.SystemInformer.exe_QiGetFileSize
test eax, eax
js 0x140156ace
test byte [rbx + 8], 8
jne 0x140156b87
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 0x140156b87
lfence
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140156b8d
call fcn.14013fb00
jmp 0x140156b8d
mov rdx, qword [0x1402c4f98]
mov ecx, 0x40
call sym.SystemInformer.exe_QiCreateObject
mov ecx, 1
mov r8, rax
mov word [rax], cx
lock xadd dword [0x1402c4f90], ecx
mov dword [rax + 4], ebp
movzx ecx, cl
mov byte [rax + 2], cl
lea rax, [0x140156d00]
mov qword [r8 + 8], rax
lea rax, str.FileStream
mov qword [r8 + 0x10], rax
lea rax, [0x1402c9280]
mov qword [rax + rcx*8], r8
lea rax, [r8 + 0x20]
test al, 0xf
jne 0x140156b7a
xorps xmm0, xmm0
mov qword [0x1402c5168], r8
movaps xmmword [rax], xmm0
lea rcx, [0x1402c0b70]
mov dword [rax + 0x10], ebp
mov dword [rax + 0x14], 0x10
mov qword [rax + 0x18], 0x40
call sym.SystemInformer.exe_QifSetEvent
jmp 0x140156a25
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