joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400010a8
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rdi, rcx
mov ecx, dword [rcx + 0x18]
mov rax, qword [rdi + 0x10]
lea rdx, [rax + rcx]
cmp rdx, rax
jb 0x14000120e
mov rax, qword [rdi + 8]
lea r8, [rax + rcx]
cmp r8, rax
jb 0x14000120e
mov rax, qword [sym.imp.ntoskrnl.exe_MmHighestUserAddress]
mov rcx, qword [rax]
cmp rdx, rcx
ja 0x14000120e
cmp r8, rcx
ja 0x14000120e
and qword [rbp + 0x30], 0
cmp dword [rdi + 0x1c], 0
mov eax, dword [rdi]
je 0x1400011b8
test eax, eax
je 0x1400011b1
mov ecx, eax
lea rdx, [rbp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
jne 0x140001213
mov rcx, qword [rbp + 0x30]
call fcn.1400019c8
mov rcx, qword [rbp + 0x30]
mov r15, rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov esi, dword [rdi + 0x18]
xor r14d, r14d
jmp 0x1400011a8
mov rdx, qword [rdi + 0x10]
mov rcx, r15
add rdx, r14
call fcn.140001a18
test rax, rax
je 0x1400011b1
and qword [rbp + 0x38], 0
lea r9, [rbp + 0x38]
mov rcx, rax
mov edx, 0x1000
and ecx, 0xfff
mov r8, rsi
sub rdx, rcx
mov rcx, rax
cmp rdx, rsi
cmovb r8, rdx
mov rdx, qword [rdi + 8]
add rdx, r14
call fcn.1400019f4
mov ebx, eax
mov rax, qword [rbp + 0x38]
sub rsi, rax
add r14, rax
test ebx, ebx
jne 0x1400011ad
test rax, rax
je 0x1400011ad
test rsi, rsi
jne 0x14000114c
mov eax, ebx
jmp 0x140001213
mov eax, 0xc0000001
jmp 0x140001213
mov rcx, rax
lea rdx, [rbp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
js 0x1400011ad
and qword [rbp + 0x38], 0
mov ebx, dword [rdi + 0x18]
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov r9, qword [rdi + 8]
mov r8, rax
mov rdx, qword [rdi + 0x10]
lea rax, [rbp + 0x38]
mov rcx, qword [rbp + 0x30]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rbx
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov rcx, qword [rbp + 0x30]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1400011ad
mov eax, 0xc0000005
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001228
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rdi, rcx
mov ecx, dword [rcx + 0x18]
mov rax, qword [rdi + 0x10]
lea rdx, [rax + rcx]
cmp rdx, rax
jb 0x14000138e
mov rax, qword [rdi + 8]
lea r8, [rax + rcx]
cmp r8, rax
jb 0x14000138e
mov rax, qword [sym.imp.ntoskrnl.exe_MmHighestUserAddress]
mov rcx, qword [rax]
cmp rdx, rcx
ja 0x14000138e
cmp r8, rcx
ja 0x14000138e
and qword [rbp + 0x30], 0
cmp dword [rdi + 0x1c], 0
mov eax, dword [rdi]
je 0x140001338
test eax, eax
je 0x140001331
mov ecx, eax
lea rdx, [rbp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
jne 0x140001393
mov rcx, qword [rbp + 0x30]
call fcn.1400019c8
mov rcx, qword [rbp + 0x30]
mov r15, rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov esi, dword [rdi + 0x18]
xor r14d, r14d
jmp 0x140001328
mov rdx, qword [rdi + 0x10]
mov rcx, r15
add rdx, r14
call fcn.140001a18
test rax, rax
je 0x140001331
and qword [rbp + 0x38], 0
lea r9, [rbp + 0x38]
mov rcx, rax
mov edx, 0x1000
and ecx, 0xfff
mov r8, rsi
sub rdx, rcx
mov rcx, rax
cmp rdx, rsi
cmovb r8, rdx
mov rdx, qword [rdi + 8]
add rdx, r14
call fcn.140001b94
mov ebx, eax
mov rax, qword [rbp + 0x38]
sub rsi, rax
add r14, rax
test ebx, ebx
jne 0x14000132d
test rax, rax
je 0x14000132d
test rsi, rsi
jne 0x1400012cc
mov eax, ebx
jmp 0x140001393
mov eax, 0xc0000001
jmp 0x140001393
mov rcx, rax
lea rdx, [rbp + 0x30]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov ebx, eax
test eax, eax
js 0x14000132d
and qword [rbp + 0x38], 0
mov ebx, dword [rdi + 0x18]
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov r9, qword [rdi + 8]
mov rcx, rax
mov r8, qword [rbp + 0x30]
lea rax, [rbp + 0x38]
mov rdx, qword [rdi + 0x10]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rbx
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov rcx, qword [rbp + 0x30]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x14000132d
mov eax, 0xc0000005
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400013a8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x28], 0
lea r8, [rbp - 0x30]
mov r14, rdx
mov qword [rbp - 0x20], rcx
xorps xmm0, xmm0
mov dword [rbp - 0x30], 0x30
mov edx, 0xf003f
mov dword [rbp - 0x18], 0x240
lea rcx, [rbp + 0x30]
movdqu xmmword [rbp - 0x10], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
js 0x140001492
mov rcx, qword [rbp + 0x30]
mov rdx, r14
call fcn.140001924
mov esi, eax
test eax, eax
jne 0x140001418
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x140001492
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov r8, rsi
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.140001d00
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
mov r9, rdi
mov r8d, 1
mov dword [rsp + 0x20], esi
mov rdx, r14
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
js 0x14000147d
cmp esi, dword [rbp + 0x20]
jne 0x14000147d
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [rdi + 8]
mov rax, qword [rax + rdi]
jmp 0x140001494
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140001924
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
xor r9d, r9d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
lea r8d, [r9 + 1]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, 0xc0000023
je 0x140001956
cmp eax, 0x80000005
je 0x140001956
xor eax, eax
jmp 0x14000195a
mov eax, dword [rsp + 0x50]
add rsp, 0x38
ret

Function at 0x1400019c8
Capabilities:
Attach user process memory

Disassembly:
sub rsp, 0x28
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rax, cr3
xor ecx, ecx
mov qword [0x140004040], rax
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rax, qword [0x140004040]
add rsp, 0x28
ret
Function at 0x140001c08
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x60
mov rsi, r8
mov qword [rax - 0x28], rcx
mov rbp, rdx
mov dword [rax - 0x38], 0x30
xorps xmm0, xmm0
mov dword [rax - 0x20], 0x240
xor ebx, ebx
lea r8, [rax - 0x38]
mov edx, 0xf003f
mov qword [rax - 0x30], rbx
lea rcx, [rax + 8]
mov edi, r9d
movdqu xmmword [rax - 0x18], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
js 0x140001c98
mov eax, dword [rsp + 0x90]
mov r9d, edi
mov rcx, qword [rsp + 0x70]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov rcx, qword [rsp + 0x70]
mov edx, 1
test eax, eax
movzx ebx, bl
cmovns ebx, edx
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11, [rsp + 0x60]
mov al, bl
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400022b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x1400022cf
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_fflush

Function at 0x140002380
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.14002bea0]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
ret

Function at 0x1400124c0
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor ebx, ebx
xor r13d, r13d
mov rdi, rdx
sar rdx, 0x3f
mov rbp, rcx
shr rdx, 0x3e
mov r12, rdi
lea rsi, [rdi - 1]
lea rax, [rdi + rdx]
and eax, 3
sub rax, rdx
sub r12, rax
cmp rdi, 3
jle 0x140012630
nop dword [rax]
cmp rdi, rbx
jle 0x1400125f0
mov eax, dword [rbp + rbx]
add rbx, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r13d
rol eax, 0xd
lea r13d, [rax + rax*4 - 0x19ab949c]
cmp rbx, r12
jl 0x140012508
mov rax, rdi
xor ebx, ebx
sar rax, 0x3f
shr rax, 0x3e
lea r14, [rdi + rax]
and r14d, 3
sub r14, rax
test r14, r14
jle 0x1400125ac
lea rsi, [rdi - 1]
jmp 0x140012575
test r15, r15
js 0x140012582
movzx eax, byte [rbp + r15]
shl ebx, 8
or ebx, eax
test r14, r14
je 0x14001259d
sub r14, 1
lea r15, [r12 + r14]
cmp r15, rdi
jl 0x140012560
mov rdx, rsi
mov rcx, r15
shl ebx, 8
call fcn.14000e4c0
movzx eax, byte [rbp + r15]
or ebx, eax
test r14, r14
jne 0x140012575
imul ebx, ebx, 0xcc9e2d51
rol ebx, 0xf
imul ebx, ebx, 0x1b873593
xor r13d, edi
mov eax, r13d
xor eax, ebx
mov r13d, eax
shr r13d, 0x10
xor r13d, eax
imul r13d, r13d, 0x85ebca6b
mov edx, r13d
shr edx, 0xd
xor edx, r13d
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
mov rdx, rsi
call fcn.14000e4c0
mov eax, dword [rbp + rbx]
add rbx, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r13d
rol eax, 0xd
lea r13d, [rax + rax*4 - 0x19ab949c]
cmp r12, rbx
jg 0x140012508
jmp 0x14001253b
xor r12d, r12d
jmp 0x14001253b
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
test rcx, rcx
je 0x14001265b
mov rdx, qword [rcx]
test rdx, rdx
js 0x140012670
add rbx, 0x10
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400124c0
lea rax, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, rax
call fcn.140010ff0
mov rdx, qword [rbx]
jmp 0x140012657
Function at 0x140012640
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor ebx, ebx
xor r13d, r13d
mov rdi, rdx
sar rdx, 0x3f
mov rbp, rcx
shr rdx, 0x3e
mov r12, rdi
lea rsi, [rdi - 1]
lea rax, [rdi + rdx]
and eax, 3
sub rax, rdx
sub r12, rax
cmp rdi, 3
jle 0x140012630
nop dword [rax]
cmp rdi, rbx
jle 0x1400125f0
mov eax, dword [rbp + rbx]
add rbx, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r13d
rol eax, 0xd
lea r13d, [rax + rax*4 - 0x19ab949c]
cmp rbx, r12
jl 0x140012508
mov rax, rdi
xor ebx, ebx
sar rax, 0x3f
shr rax, 0x3e
lea r14, [rdi + rax]
and r14d, 3
sub r14, rax
test r14, r14
jle 0x1400125ac
lea rsi, [rdi - 1]
jmp 0x140012575
test r15, r15
js 0x140012582
movzx eax, byte [rbp + r15]
shl ebx, 8
or ebx, eax
test r14, r14
je 0x14001259d
sub r14, 1
lea r15, [r12 + r14]
cmp r15, rdi
jl 0x140012560
mov rdx, rsi
mov rcx, r15
shl ebx, 8
call fcn.14000e4c0
movzx eax, byte [rbp + r15]
or ebx, eax
test r14, r14
jne 0x140012575
imul ebx, ebx, 0xcc9e2d51
rol ebx, 0xf
imul ebx, ebx, 0x1b873593
xor r13d, edi
mov eax, r13d
xor eax, ebx
mov r13d, eax
shr r13d, 0x10
xor r13d, eax
imul r13d, r13d, 0x85ebca6b
mov edx, r13d
shr edx, 0xd
xor edx, r13d
imul edx, edx, 0xc2b2ae35
mov eax, edx
shr eax, 0x10
xor eax, edx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
mov rdx, rsi
call fcn.14000e4c0
mov eax, dword [rbp + rbx]
add rbx, 4
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, r13d
rol eax, 0xd
lea r13d, [rax + rax*4 - 0x19ab949c]
cmp r12, rbx
jg 0x140012508
jmp 0x14001253b
xor r12d, r12d
jmp 0x14001253b
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
test rcx, rcx
je 0x14001265b
mov rdx, qword [rcx]
test rdx, rdx
js 0x140012670
add rbx, 0x10
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400124c0
lea rax, [rdx - 1]
mov r8, rdx
xor ecx, ecx
mov rdx, rax
call fcn.140010ff0
mov rdx, qword [rbx]
jmp 0x140012657

Function at 0x1400225b0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rbx, rcx
lea rax, [rbp + 0x28]
mov ecx, 2
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
mov qword [rbp - 8], rax
call fcn.14002bea0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rbp - 8]
mov ecx, 2
call fcn.14002bea0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140022620
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
movsxd rsi, dword [0x14004ac24]
mov rbx, rcx
test esi, esi
jle 0x140022750
mov rax, qword [0x14004ac28]
xor r9d, r9d
add rax, 0x18
nop dword [rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14002266b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400226f3
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140022650
mov rcx, rbx
call fcn.1400230d0
mov rdi, rax
test rax, rax
je 0x140022772
mov rax, qword [0x14004ac28]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140023210
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14004ac28]
lea rdx, [rbp - 0x30]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140022757
mov eax, dword [rbp - 0xc]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400226ec
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140022700
add dword [0x14004ac24], 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 2
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14004ac28]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400226ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400225b0
nop word [rax + rax]
xor esi, esi
jmp 0x140022678
mov rax, qword [0x14004ac28]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400225b0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400225b0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140022d00
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
lea r13, [0x14004ac80]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14004ac60]
test rbx, rbx
je 0x140022d65
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [rbx]
call r12
mov rsi, rax
call rdi
test rsi, rsi
je 0x140022d5c
test eax, eax
jne 0x140022d5c
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140022d40
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400230d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140032140]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400230f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400230f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400230f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14002314d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140023144
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400230f0
add rax, 0x28
cmp rax, r9
jne 0x140023130
xor eax, eax
ret

Function at 0x140023150
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140032140]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14002316f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140023178
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14002316f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140023210
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140032140]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14002322f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140023238
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001430
Capabilities:
Execute command

Disassembly:
sub rsp, 0x58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov ecx, 0x80
call fcn.1400018c0
mov rcx, rax
mov qword [rsp + 0x20], rax
movdqa xmm0, xmmword [0x1400035f0]
movdqu xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [str.C:UsersuserAppDataLocalCapCutApps1.3.0.140Qt6Core.dll]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140003520]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140003530]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140003540]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140003550]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x140003560]
movups xmmword [rax + 0x50], xmm1
movaps xmm0, xmmword [0x140003570]
movups xmmword [rax + 0x60], xmm0
movsd xmm0, qword [0x140003580]
movsd qword [rax + 0x70], xmm0
movzx eax, word [0x140003588]
mov word [rcx + 0x78], ax
xor eax, eax
mov word [rcx + 0x7a], ax
lea rcx, [rsp + 0x20]
call fcn.140001180
test al, al
je 0x1400014fc
lea rdx, str.Certificate_installation_succeeded.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x14000150a
lea rdx, str.Certificate_installation_failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001600
lea rdx, [0x1400017e0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140001572
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000156d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000156d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400018fc
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400018a0
add rsp, 0x58
ret

Function at 0x140002240
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000228a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000228a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], reloc.MSVCP140.dll__setstate___basic_ios_DU__char_traits_D_std___std__QEAAXH_N_Z
jne 0x14000228a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000228a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000228a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000228c
xor al, al
add rsp, 0x28
ret
Function at 0x140031f2c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14016bb80], rbx
je 0x140031f93
cmp rax, rbx
jne 0x140031f86
mov ebx, 1
mov esi, ebx
jmp 0x140031f98
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140031f6b
mov ebx, 1
mov eax, dword [0x14016bb88]
cmp eax, ebx
jne 0x140031fb0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14003201c
mov eax, dword [0x14016bb88]
test eax, eax
jne 0x140032011
mov dword [0x14016bb88], ebx
lea r15, [0x1400f9f90]
lea rdi, [0x1400f9f78]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140032003
test eax, eax
jne 0x140032007
cmp qword [rdi], r14
je 0x140031ff8
mov rax, qword [rdi]
mov rcx, qword [0x1400f9ec0]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x140031fda
test eax, eax
je 0x140032017
mov eax, 0xff
jmp 0x140032172
mov dword [0x14016b574], ebx
mov edi, 0x1f
mov eax, dword [0x14016bb88]
cmp eax, ebx
jne 0x140032043
lea rdx, [0x1400f9f70]
lea rcx, [0x1400f9ec8]
call sub.msvcrt.dll__initterm
mov dword [0x14016bb88], 2
test esi, esi
jne 0x140032051
mov rax, r14
xchg qword [0x14016bb80], rax
cmp qword [0x14016bba0], r14
je 0x140032084
lea rcx, [0x14016bba0]
call fcn.140032980
test eax, eax
je 0x140032084
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14016bba0]
mov r9, qword [0x1400f9ec0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14003209d
mov eax, 0xff
jmp 0x140032172
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140032123
test ax, ax
je 0x1400320b8
test edx, edx
jne 0x140032123
sub ax, bx
cmp ax, di
ja 0x1400320ce
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400320b8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400315a8
mov dword [0x14016b570], eax
cmp dword [0x14016b590], r14d
jne 0x14003210c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14016b574], r14d
jne 0x140032121
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14016b570]
jmp 0x140032172
cmp ax, 0x22
jne 0x140032137
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400320a6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140209000
add rsp, 0x28
jmp 0x140031f2c