joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003ecc0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
test edx, edx
je 0x18003ecf6
cmp edx, 1
jne 0x18003ed24
xor eax, eax
lea r8, [0x18003ec50]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
cmp dword [0x18016da70], 0
je 0x18003ed24
xor edx, edx
xor ecx, ecx
call fcn.1800389a0
mov rcx, qword [0x18016da68]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov qword [0x18016da68], rax
mov dword [0x18016da70], eax
mov eax, 1
add rsp, 0x38
ret

Function at 0x18003f830
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov r8d, dword [0x18016da90]
lea r11, [0x18016da90]
mov r9d, 0x270
cmp r8d, r9d
jne 0x18003f895
lea r8, [0x18016da98]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x18003f850
mov r8d, dword [0x18016da90]
jmp 0x18003f96f
cmp r8d, 0x4e0
jb 0x18003f96f
xor r8d, r8d
mov r9d, 0x38c
mov r10d, r8d
nop
mov eax, dword [r10 + r11 + 0x9c4]
mov edx, eax
xor edx, dword [r10 + r11 + 0x9c8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + r11 + 0xff8]
xor ecx, edx
mov dword [r10 + r11 + 4], ecx
add r10, 4
cmp r10, r9
jb 0x18003f8b0
mov eax, dword [r9 + r11 + 0x9c4]
mov edx, eax
xor edx, dword [r9 + r11 + 0x9c8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + r11 - 0x388]
xor ecx, edx
mov dword [r9 + r11 + 4], ecx
add r9, 4
cmp r9, 0x9bc
jb 0x18003f8f0
mov edx, dword [0x18016da94]
xor edx, dword [0x18016ee10]
btr edx, 0x1f
mov dword [0x18016da90], r8d
xor edx, dword [0x18016ee10]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [0x18016e0c4]
mov dword [0x18016e450], ecx
mov eax, r8d
inc r8d
mov ecx, dword [r11 + rax*4 + 4]
mov eax, ecx
shr eax, 0xb
and eax, dword [0x18016ee14]
xor ecx, eax
mov dword [0x18016da90], r8d
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
Function at 0x14002934c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c944
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c944
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002949c
cmp rax, 0xffffffffffffffff
je 0x14002949c
xor edi, edi
test rbp, rbp
jle 0x140029447
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f258
mov rbx, rax
test rax, rax
jne 0x1400293d4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002943d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a278
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d620
cmp eax, 0xffffffff
je 0x14002941d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400293e4
mov edx, r15d
mov ecx, r14d
call fcn.14001a278
jmp 0x14002943d
cmp byte [rsi + 0x38], dil
je 0x140029434
cmp dword [rsi + 0x34], 5
jne 0x140029434
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002943d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b00c
jmp 0x1400294b0
jns 0x1400294b0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c944
cmp rax, 0xffffffffffffffff
jne 0x140029468
cmp byte [rsi + 0x30], dil
je 0x1400294b0
mov edi, dword [rsi + 0x2c]
jmp 0x1400294b0
mov ecx, r14d
call fcn.140018730
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400294b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400294b0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400294a9
mov eax, dword [rsi + 0x2c]
jmp 0x1400294ae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c944
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140eba40c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140eba416
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140eba43f
pop rbp
sub rbp, 0x33
sub rbp, 0xeba40c
sub rsp, 0x20
jmp 0x140eba45e
mov rax, 0xeba40c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x30eb91bb
xor byte [rax], dl
inc rax
dec rcx
jne 0x140eba47d
jmp 0x140eba494
xor dl, byte [rdx + 0x30]
xor al, byte [rdi - 0xc444445]
cmp bh, byte [rdx - 0x4d]
mov edx, 0xbaf3bbbb
push rdx
jl 0x140eba525
mov bl, 0xbb
mov ebx, 0x797cf3bb
xchg ebx, eax
mov ebx, 0x4cf3bbbb
pop rcx
mov edx, 0xb73a307a
mov ebx, 0xbaf3bbbb
push rbx
jmp 0x140eba4b1
mov ebx, 0xb93652bb
mov ebx, 0xc653e9bb
mov ebx, 0xece1bbbb
xor ch, byte [rbx + rsi*8 - 0x76]
jb 0x140eba52e
invalid
mov ch, byte [rcx + 0x38]
push rbx
mov esi, 0xb47344f3
invalid
Function at 0x1400111ef
Capabilities:
Terminate process

Disassembly:
jmp 0x140013050
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011276
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400143a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400143c0
xor al, al
jmp 0x140014441
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400143d3
xor al, al
jmp 0x140014441
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400143fd
xor al, al
jmp 0x140014441
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014411
xor al, al
jmp 0x140014441
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014423
xor al, al
jmp 0x140014441
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001443f
xor al, al
jmp 0x140014441
mov al, 1
add rsp, 0x38
ret
Function at 0x140006250
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
xor esi, esi
lea ecx, [rsi + 0x10]
call fcn.140078e70
mov qword [rax], rbx
lea rcx, [0x1400065b0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140007b40]
xor edx, edx
xor ecx, ecx
call fcn.14007f9bc
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400063b1
cmp dword [rbx + 0x1e8], esi
jne 0x1400063ab
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmmword [rbx + 0x1e0], xmm1
lea ecx, [rsi + 0x10]
call fcn.140078e70
mov qword [rax], rbx
lea rcx, [0x140006f80]
mov qword [rax + 8], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140007b40]
xor edx, edx
xor ecx, ecx
call fcn.14007f9bc
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400063db
cmp dword [rbx + 0x1d8], esi
jne 0x1400063d5
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmmword [rbx + 0x1d0], xmm1
lea ecx, [rsi + 0x18]
call fcn.140078e70
mov qword [rax], rdi
mov qword [rax + 8], rbx
lea rcx, [0x140006d70]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140007b70]
xor edx, edx
xor ecx, ecx
call fcn.14007f9bc
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400063c6
cmp dword [rbx + 0x1f8], esi
jne 0x1400063c0
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x1f0], xmm1
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.14007fa9c
nop
mov dword [rsp + 0x38], esi
mov ecx, 6
call fcn.1400754c8
nop
call fcn.14007fa9c
nop
mov dword [rsp + 0x38], esi
mov ecx, 6
call fcn.1400754c8
nop
call fcn.14007fa9c
nop
mov dword [rsp + 0x38], esi
mov ecx, 6
call fcn.1400754c8
int3
Function at 0x14000b2f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400f1200]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x80]
call fcn.14000afe0
mov r8d, 0x22
lea rdx, str.ToolsPowerToys.BugReportTool.exe
lea rcx, [rsp + 0x80]
call fcn.14000ae00
mov ebx, 1
xor eax, eax
lock cmpxchg byte [0x1400f9f10], bl
jne 0x14000b3e8
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400072d0
lea ecx, [rbx + 0x1f]
call fcn.140078e70
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rax + 0x10], xmm1
xor edi, edi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], di
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14000b540]
xor edx, edx
xor ecx, ecx
call fcn.14007f9bc
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000b41f
cmp dword [rsp + 0x48], edi
je 0x14000b42e
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.140075ba8
test eax, eax
jne 0x14000b417
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x60]
call fcn.1400073a0
lea rcx, [rsp + 0x80]
call fcn.1400073a0
nop
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140078e50
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
mov ecx, eax
call fcn.14007548c
int3
mov dword [rsp + 0x48], edi
mov ecx, 6
call fcn.1400754c8
int3
mov ecx, ebx
call fcn.1400754c8
int3
Function at 0x14000ea20
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x220
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1400f1200]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov edi, r8d
mov r13, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov eax, dword [rcx + 0x40]
cmp r8d, eax
setge r12b
movzx esi, byte [rcx + 0xd8]
jge 0x14000ea7f
test sil, sil
je 0x14000ec22
mov qword [rsp + 0xe0], 0
lea rax, vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe8], 0xfa
mov qword [rsp + 0x30], r9
mov rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], 0
jne 0x14000eac2
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x30]
call fcn.140052220
mov r14, qword [rsp + 0xe0]
mov r15, qword [rsp + 0xd8]
lea rcx, [rbx + 8]
cmp qword [rbx + 0x20], 0x10
jb 0x14000eb0e
mov rcx, qword [rbx + 8]
mov qword [rsp + 0xb0], rcx
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0xb8], rax
movups xmm6, xmmword [r13]
movsd xmm7, qword [r13 + 0x10]
call fcn.140077590
movups xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x68], rax
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov ecx, 0x18
mov eax, dword [rcx + rdi]
mov r13d, 0x10
test al, 1
jne 0x14000eb7d
or eax, 1
mov dword [rcx + rdi], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov eax, eax
lea rcx, [rdi + r13]
mov qword [rcx], rax
jmp 0x14000eb81
lea rcx, [rdi + r13]
mov rax, qword [rcx]
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
movups xmmword [rsp + 0x88], xmm6
movsd qword [rsp + 0x98], xmm7
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0xa8], r14
movzx r9d, sil
movzx r8d, r12b
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140054150
nop
lea rax, vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0xf0]
mov rcx, qword [rsp + 0xd8]
cmp rcx, rax
je 0x14000ec22
mov rdx, qword [rsp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ec1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ec59
call fcn.140078eb4
nop
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140078e50
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14007fed8
nop
int3
Function at 0x14000ecc0
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x240
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x1400f1200]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov eax, dword [rcx + 0x40]
cmp eax, 4
setle r13b
movzx esi, byte [rcx + 0xd8]
jle 0x14000ed1d
test sil, sil
je 0x14000ef00
mov qword [rsp + 0x100], 0
lea rax, vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x108], 0xfa
mov rax, qword [rsp + 0x280]
mov rcx, qword [rax]
mov qword [rsp + 0xe0], rcx
movaps xmm0, xmmword [rsp + 0xe0]
movdqa xmmword [rsp + 0xe0], xmm0
mov qword [rsp + 0x30], 0xc
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [r9]
movaps xmmword [rsp + 0xc0], xmm1
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xf0]
call fcn.1400417a0
mov r15, qword [rsp + 0x100]
mov r12, qword [rsp + 0xf8]
lea rcx, [rdi + 8]
cmp qword [rdi + 0x20], 0x10
jb 0x14000ede1
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x40], rcx
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x48], rax
movups xmm6, xmmword [r14]
movsd xmm7, qword [r14 + 0x10]
call fcn.140077590
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 4
mov qword [rsp + 0x78], rax
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov ecx, 0x18
mov eax, dword [rcx + r14]
mov edx, 0x10
test al, 1
jne 0x14000ee4f
or eax, 1
mov dword [rcx + r14], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov eax, eax
mov ecx, 0x10
add rcx, r14
mov qword [rcx], rax
jmp 0x14000ee53
lea rcx, [r14 + rdx]
mov rax, qword [rcx]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
movups xmmword [rsp + 0x98], xmm6
movsd qword [rsp + 0xa8], xmm7
mov qword [rsp + 0xb0], r12
mov qword [rsp + 0xb8], r15
movzx r9d, sil
movzx r8d, r13b
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140054150
nop
lea rax, vtable.fmt::v7::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0x110]
mov rcx, qword [rsp + 0xf8]
cmp rcx, rax
je 0x14000ef00
mov rdx, qword [rsp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eefa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ef38
call fcn.140078eb4
nop
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140078e50
lea r11, [rsp + 0x240]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
ret
call fcn.14007fed8
nop
int3
Function at 0x14001aa40
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400f1200]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebx, ebx
mov word [rsp + 0x7c], 0x500
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x68], rbx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x70]
lea edx, [rbx + 8]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
test eax, eax
je 0x14001ab19
mov r9d, dword [rsp + 0x60]
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
lea edx, [rbx + 2]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetTokenInformation]
test eax, eax
jne 0x14001aac3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001ab19
mov edx, dword [rsp + 0x60]
mov ecx, 0x40
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_GlobalAlloc]
mov r9d, dword [rsp + 0x60]
mov edx, 2
mov rcx, qword [rsp + 0x70]
mov rdi, rax
lea rax, [rsp + 0x60]
mov r8, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_GetTokenInformation]
test eax, eax
jne 0x14001ab3c
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001ab0b
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
test rdi, rdi
je 0x14001ab19
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_GlobalFree]
mov al, 1
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140078e50
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
lea rax, [rsp + 0x68]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x48], ebx
mov r8d, 0x20
mov dword [rsp + 0x40], ebx
mov dl, 2
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14001aafb
cmp dword [rdi], ebx
jbe 0x14001ab9f
nop
mov rcx, qword [rsp + 0x68]
mov edx, ebx
add rdx, rdx
mov rdx, qword [rdi + rdx*8 + 8]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
test eax, eax
jne 0x14001abbf
inc ebx
cmp ebx, dword [rdi]
jb 0x14001ab80
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001abaf
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_GlobalFree]
xor al, al
jmp 0x14001ab1b
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001ab10
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_FreeSid]
jmp 0x14001ab10
Function at 0x14001f510
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rbp, qword [r8 + 0x18]
mov rbx, r8
mov rdi, qword [r8 + 0x10]
mov r14, rdx
mov r11, rcx
mov r10, r8
cmp rbp, 8
jb 0x14001f543
mov r10, qword [r8]
xor esi, esi
lea r8, [rdi + rdi]
movabs r9, 0xcbf29ce484222325
mov ecx, esi
test r8, r8
je 0x14001f584
movabs rdx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r10]
inc rcx
xor r9, rax
imul r9, rdx
cmp rcx, r8
jb 0x14001f570
mov rcx, qword [r11 + 0x30]
mov rax, qword [r11 + 0x18]
and rcx, r9
mov r11, qword [r11 + 8]
add rcx, rcx
mov r9, qword [rax + rcx*8 + 8]
cmp r9, r11
je 0x14001f5f7
mov r10, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
cmp qword [r9 + 0x28], 8
lea rax, [r9 + 0x10]
mov rcx, qword [rax + 0x10]
jb 0x14001f5c2
mov rax, qword [rax]
mov r8, rbx
cmp rbp, 8
jb 0x14001f5ce
mov r8, qword [rbx]
cmp rdi, rcx
jne 0x14001f61b
mov rdx, rdi
test rdi, rdi
je 0x14001f5f4
sub r8, rax
nop
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x14001f61b
add rax, 2
sub rdx, 1
jne 0x14001f5e0
mov rsi, r9
mov rbx, qword [rsp + 0x10]
test rsi, rsi
mov rbp, qword [rsp + 0x18]
mov rax, r14
mov rdi, qword [rsp + 0x28]
cmove rsi, r11
mov qword [r14], rsi
mov rsi, qword [rsp + 0x20]
pop r14
ret
cmp r9, r10
je 0x14001f5f7
mov r9, qword [r9 + 8]
jmp 0x14001f5b0
Function at 0x140023f30
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb0
mov eax, dword [rcx + 0x40]
mov edi, r8d
movzx esi, byte [rcx + 0xd8]
cmp r8d, eax
mov rbx, rcx
setge bpl
jge 0x140023f69
test sil, sil
je 0x14002404e
movups xmm0, xmmword [r9]
add rcx, 8
cmp qword [rbx + 0x20], 0x10
movups xmmword [rsp + 0x40], xmm0
jb 0x140023f81
mov rcx, qword [rbx + 8]
movups xmm0, xmmword [rdx]
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x20], rcx
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x28], rax
movsd xmm0, qword [rdx + 0x10]
movsd qword [rsp + 0xc0], xmm0
call fcn.140077590
movups xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x68], rax
mov rax, qword gs:[0x58]
mov edx, 0x18
movaps xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], edi
mov rcx, qword [rax]
mov r8d, 0x10
mov eax, dword [rdx + rcx]
test al, 1
jne 0x140023ff2
or eax, 1
lea rdi, [rcx + r8]
mov dword [rdx + rcx], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rdi], rax
jmp 0x140023ff6
lea rdi, [r8 + rcx]
movups xmm0, xmmword [rsp + 0x30]
mov rax, qword [rdi]
lea rdx, [rsp + 0x50]
movsd xmm1, qword [rsp + 0xc0]
movzx r9d, sil
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x70], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x40]
movzx r8d, bpl
mov qword [rsp + 0x78], rax
mov rcx, rbx
mov qword [rsp + 0x80], rax
movaps xmmword [rsp + 0xa0], xmm0
movsd qword [rsp + 0x98], xmm1
call fcn.140054150
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140024210
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1400f1200]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], rcx
lea rdx, str.LocalPowerToys_Runner_MSI_InstanceMutex
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x38], xmm0
mov rdi, rcx
xor esi, esi
movdqu xmmword [rsp + 0x48], xmm1
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], si
jne 0x140024260
lea rcx, [rsp + 0x38]
call fcn.1400075d0
cmp qword [rsp + 0x50], 8
lea r8, [rsp + 0x38]
mov edx, 1
cmovae r8, qword [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400242dd
lea rax, [rsp + 0x30]
mov qword [rdi], rsi
mov qword [rax], rsi
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400242c5
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x140024377
test rbx, rbx
je 0x140024300
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x140024367
jmp 0x140024300
lea rax, [rsp + 0x20]
mov qword [rdi], rbx
mov qword [rax], rsi
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140024300
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x140024387
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14002433e
mov rcx, qword [rsp + 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024339
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024361
call fcn.140078eb4
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140078e50
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
call fcn.14007fed8
int3
mov rcx, qword [rsp + 0x68]
mov edx, 0x93e
call fcn.1400239e0
int3
mov rcx, qword [rsp + 0x68]
mov edx, 0x93e
call fcn.1400239e0
int3
mov rcx, qword [rsp + 0x68]
mov edx, 0x93e
call fcn.1400239e0
int3