joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14018e430
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x14018e613
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x40], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.14007ba50
mov rdx, qword [rsi + 8]
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov rdx, qword [rdx]
cmp rdx, rdi
je 0x14018e5d8
mov qword [rsp + 0x30], rbp
mov rcx, rdx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x14]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x15]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x16]
imul r9, rbx
xor r9, rax
movzx eax, byte [rcx + 0x17]
imul r9, rbx
xor r9, rax
imul r9, rbx
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rdi
jne 0x14018e54c
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x14018e5c7
mov rax, qword [r11 + 8]
mov r9, qword [rcx + 0x10]
cmp r9, qword [rax + 0x10]
jne 0x14018e589
mov r10, qword [rax]
cmp r10, rcx
je 0x14018e583
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x14018e5c7
mov r8, rax
cmp r10, rax
je 0x14018e5a3
mov rax, qword [rax + 8]
mov r8, rax
cmp r9, qword [rax + 0x10]
je 0x14018e5ed
cmp r10, rax
jne 0x14018e591
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rdi
jne 0x14018e4d0
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x14018e5c7
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2a0
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x290], rax
lea rdi, str.cs2.exe
nop word [rax + rax]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov dword [rsp + 0x160], 0x130
nop dword [rax]
xor ecx, ecx
lea rax, [rsp + 0x18c]
nop word [rax + rax]
movzx edx, byte [rax + rcx]
inc rcx
cmp dl, byte [rdi + rcx - 1]
jne 0x1400010ea
cmp rcx, 8
jne 0x140001060
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x34]
mov r8d, 0x12c
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x130
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14000112e
nop word [rax + rax]
xor ecx, ecx
lea rdx, [rsp + 0x5c]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [rdi + rcx - 1]
jne 0x14000111c
cmp rcx, 8
jne 0x1400010d0
mov r8d, dword [rsp + 0x38]
jmp 0x140001134
lea rdx, [rsp + 0x160]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001050
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x1e
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001030
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400010c0
mov r8d, 0xdead
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
movabs rdi, 0x219fc0c0000
mov dword [rsp + 0x20], 0x40
mov rdx, rdi
mov rcx, rax
mov r9d, 0x3000
mov r8d, 0x94a000
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, 0x94a000
mov qword [rsp + 0x20], 0
lea r8, [0x140004040]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor eax, eax
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400011d0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x2a0
pop rdi
ret

Function at 0x140001aac
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x14000cf0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14000cf1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14000cf05
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14000cf35
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14000cf22
sub eax, 3
jb 0x14000cf4f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14000cf86
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14000cf76
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14000cf74
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14000cf63
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14000cec2
jmp 0x14000cf0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xc00
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14000cfd2
cmp rsi, rcx
jae 0x14000cfda
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14000cfb9
cmp al, 0x8f
ja 0x14000cfb9
cmp byte [rsi - 2], 0xf
je 0x14000cfbf
sub al, 0xe8
cmp al, 1
ja 0x14000cfa3
cmp rsi, rcx
jae 0x14000cfda
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14000cfa9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14000cfda
lodsb al, byte [rsi]
jmp 0x14000cfb9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xa000]
mov eax, dword [rdi]
or eax, eax
je 0x14000d037
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x11720]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14000cfe7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14000d031
mov qword [rbx], rax
add rbx, 8
jmp 0x14000d007
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14000d071
cmp al, 0xef
ja 0x14000d063
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14000d043
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14000d052
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x217]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14000d0c5
sub rsp, 0xffffffffffffff80
jmp 0x140001870
Function at 0x14000f880
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14000f903
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
add rax, 1
cmp rax, 2
jb 0x14000f8ce
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov rdx, rsi
mov r9, rax
call fcn.1400146c0
mov rcx, qword [rsi]
call fcn.140014650
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x14000f8fc
mov qword [rsi], rdi
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.140014680
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
invalid
and ax, 0x6f54
sbb eax, 0xe51713d1
invalid
mov al, 0x2c
lodsb al, byte [rsi]
mov edi, 0x95a67675
invalid

Function at 0x140010e90
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov r14, rcx
mov rax, qword [0x140065020]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov word [rdi], 0
xor ebx, ebx
lea r15, str.PROGRAMFILES
mov rsi, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r15]
mov word [rsp + 0x20], 0
mov r8d, 0x104
mov rdx, rdi
call rsi
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140010eff
mov edx, eax
mov rcx, rdi
mov r8, r14
call fcn.140010e20
test al, al
jne 0x140010f0d
add rbx, 8
cmp rbx, 0x18
jne 0x140010ecd
xor esi, esi
jmp 0x140010f10
mov sil, 1
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14002a340
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14001f390
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f3b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001f3b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x9b2b30
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x9b2b3d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x9b2b4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x9b2b35
lea eax, [rcx + 1]
jmp 0x9b2b5b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x9b2b6e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x9b2b54
sub eax, 3
jb 0x9b2b8e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x9b2bdd
sar eax, 1
movsxd rbp, eax
jb 0x9b2bc4
jmp 0x9b2b9c
add ebx, ebx
jne 0x9b2b9a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x9b2bc4
inc ecx
add ebx, ebx
jne 0x9b2baa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x9b2bc4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x9b2bbd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x9b2bac
add ecx, 2
jmp 0x9b2bc9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.009b2af2
jmp 0x9b2b3d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x26ac00
mov dl, 0x36
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x9b2c29
cmp rsi, rcx
jae 0x9b2c31
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x9b2c10
cmp al, 0x8f
ja 0x9b2c10
cmp byte [rsi - 2], 0xf
je 0x9b2c16
sub al, 0xe8
cmp al, 1
ja 0x9b2bfa
cmp rsi, rcx
jae 0x9b2c31
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x9b2c00
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x9b2c31
lodsb al, byte [rsi]
jmp 0x9b2c10
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x5aa000]
mov eax, dword [rdi]
or eax, eax
je 0x9b2c8e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x5b3174]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x9b2c3e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x9b2c88
mov qword [rbx], rax
add rbx, 8
jmp 0x9b2c5e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x9b2cd2
cmp al, 0xef
ja 0x9b2cba
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x9b2c9a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x9b2ca9
mov eax, dword [rdi]
add rdi, 4
jmp 0x9b2ca9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x9b2d26
sub rsp, 0xffffffffffffff80
jmp 0x4685a0
Function at 0x140006198
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov rax, qword [0x14002a370]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor esi, esi
mov dword [rsp + 0x78], 0xff
lea rax, [rsp + 0x68]
mov dword [rsp + 0x60], esi
mov r9d, 0x20019
mov dword [rsp + 0x70], esi
xor r8d, r8d
mov dword [rsp + 0x74], esi
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersion_rempl_shell
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov edi, 0x80070000
test eax, eax
je 0x140006227
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x140006227
mov ecx, ebx
call fcn.140009328
jmp 0x1400062ec
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rsi
xor r9d, r9d
mov qword [rsp + 0x50], rsi
xor r8d, r8d
mov qword [rsp + 0x48], rsi
xor edx, edx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140006274
mov ebx, esi
jmp 0x140006282
movzx ebx, ax
or ebx, edi
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x14000621b
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400062ec
mov edi, esi
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x74]
mov qword [rsp + 0x38], rsi
lea r9, [rsp + 0x78]
mov qword [rsp + 0x30], rsi
lea r8, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov edx, edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
test eax, eax
jne 0x1400062e4
lea rdx, str..IterationCount
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsstr]
test rax, rax
je 0x1400062e4
mov rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
inc edi
cmp edi, dword [rsp + 0x60]
jb 0x14000628c
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400062fc
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ecx, ebx
call fcn.140009344
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140018010
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400083e4
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
and qword [rbp + 0x20], 0
lea r8, [rbp + 0x20]
xor ebx, ebx
lea rcx, str.D:PAI_A_OICI_FA___WD_
xor esi, esi
xor r9d, r9d
mov qword [rbp + 0x28], rsi
lea edi, [rbx + 1]
mov edx, edi
call qword [sym.imp.api_ms_win_security_sddl_l1_1_0.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
jne 0x140008444
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x140008431
mov edi, 0x80004005
jmp 0x140008514
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x140008514
xor eax, eax
lea r8, str.GlobalMicrosoft.Windows.Remediation.TelemetryLauncher
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x10], rax
xor edx, edx
mov rax, qword [rbp + 0x20]
and dword [rbp - 0x10], ebx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x20], 0x18
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
mov rbx, rax
test rax, rax
je 0x14000841d
mov edx, 0x2710
mov rcx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
test eax, eax
je 0x1400084c2
cmp eax, 0x102
je 0x1400084bb
cmp eax, 0xffffffff
jne 0x140008427
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x1400084a7
xor edi, edi
jmp 0x14000851b
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14000851b
jmp 0x140008514
mov edi, 0x800705b4
jmp 0x140008514
lea r9, [rbp + 0x28]
call fcn.14000b420
mov rsi, qword [rbp + 0x28]
test eax, eax
cmovs rsi, rdi
call fcn.14000b5c4
mov edi, eax
test eax, eax
jns 0x1400084e4
mov ecx, eax
jmp 0x140008516
xor ecx, ecx
call fcn.140009344
lea r9, [rsi + 1]
mov dword [rsp + 0x20], 8
call fcn.14000be48
mov edi, eax
test eax, eax
jns 0x140008509
mov ecx, eax
call fcn.140009328
mov ecx, edi
call fcn.140009344
test edi, edi
jns 0x14000851b
mov ecx, edi
call fcn.140009328
test rbx, rbx
je 0x140008529
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
test edi, edi
jns 0x14000853b
lea rdx, str.Failed_to_get_a_proper_GlobalEventCounter_for_telemetry__using_0
mov ecx, edi
call fcn.1400088b0
test rbx, rbx
je 0x140008549
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140008558
call qword [sym.imp.api_ms_win_core_heap_obsolete_l1_1_0.dll_LocalFree]
mov rax, rsi
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008e34
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor ebx, ebx
xor edi, edi
mov qword [rax - 0x40], rbx
mov r15, r9
mov r12, r8
mov r13, rdx
mov rbp, rcx
test rcx, rcx
jne 0x140008e7a
mov ecx, 0x80070057
mov edi, ecx
call fcn.140009328
jmp 0x140008f5c
test r13, r13
je 0x140008e69
test r12, r12
je 0x140008e69
test r15, r15
je 0x140008e69
mov r14, qword [rsp + 0x90]
test r14, r14
je 0x140008e69
lea rdx, [rsp + 0x70]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
jne 0x140008ec7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
je 0x140008ec7
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x140008ec7
mov ecx, edi
jmp 0x140008e70
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.14000ac60
mov rbx, qword [rsp + 0x28]
test rbx, rbx
jne 0x140008ee5
mov edi, 0x8007000e
jmp 0x140008ec3
mov r9, rbx
mov r8d, esi
xor edx, edx
mov rcx, rbp
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x140008f1b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x140008f0b
mov edi, 0x80004005
jmp 0x140008ec3
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x140008ec3
lea r9, [rsp + 0x20]
mov rcx, rbx
lea r8, [rsp + 0x30]
lea rdx, [0x14001c510]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
test eax, eax
je 0x140008efa
mov rdx, qword [rsp + 0x30]
movzx ecx, word [rdx + 0xa]
mov dword [r13], ecx
movzx ecx, word [rdx + 8]
mov dword [r12], ecx
movzx ecx, word [rdx + 0xe]
mov dword [r15], ecx
movzx ecx, word [rdx + 0xc]
mov dword [r14], ecx
mov ecx, edi
call fcn.140009344
mov rcx, rbx
call fcn.1400186f0
lea r11, [rsp + 0x40]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000b420
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov r15, r9
lea rax, [rbp + 0x30]
xor edi, edi
mov qword [r11 - 0x38], rax
xor ebx, ebx
lea rdx, str.SoftwareMicrosoftRemediationLocalStateTelemetryLauncher
and qword [rbp + 0x30], rbx
xor r8d, r8d
mov rcx, 0xffffffff80000002
lea r9d, [rdi + 1]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov r14d, 0x80070000
test eax, eax
jne 0x14000b4a8
xor esi, esi
mov rdi, qword [rbp + 0x30]
and qword [rbp + 0x30], rbx
mov ecx, esi
call fcn.140009344
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14000b49d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
and qword [rbp + 0x30], rbx
test esi, esi
jns 0x14000b4c0
mov ecx, esi
jmp 0x14000b57c
movzx esi, ax
or esi, r14d
test eax, eax
cmovle esi, eax
test esi, esi
je 0x14000b47b
mov ecx, esi
call fcn.140009328
jmp 0x14000b483
and dword [rbp + 0x40], ebx
lea rax, [rbp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x38]
lea rdx, [0x14001da40]
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x14000b4fb
movzx esi, ax
or esi, r14d
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x14000b4a1
test rbx, rbx
jne 0x14000b539
mov eax, dword [rbp + 0x40]
test eax, eax
je 0x14000b52f
mov ebx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x14000b4c3
mov esi, 0x8007000e
jmp 0x14000b4a1
mov esi, 0x8000ffff
jmp 0x14000b4a1
cmp dword [rbp + 0x38], 0xb
je 0x14000b549
mov esi, 0x8007000d
jmp 0x14000b4a1
xor r14d, r14d
cmp dword [rbp + 0x40], 8
je 0x14000b563
mov esi, 0x8007000d
mov ecx, esi
mov r14d, esi
call fcn.140009328
jmp 0x14000b569
mov rax, qword [rbx]
mov qword [r15], rax
mov ecx, r14d
call fcn.140009344
mov esi, r14d
test r14d, r14d
jns 0x14000b581
mov ecx, r14d
call fcn.140009328
mov ecx, esi
call fcn.140009344
test rbx, rbx
je 0x14000b5a1
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
test rdi, rdi
je 0x14000b5af
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000be48
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
push rdi
sub rsp, 0x30
xor ebx, ebx
lea rax, [r11 + 0x18]
and qword [r11 + 0x18], rbx
lea rdx, str.SoftwareMicrosoftRemediationLocalStateTelemetryLauncher
xor r8d, r8d
mov qword [r11 - 0x18], rax
mov rcx, 0xffffffff80000002
lea r9d, [rbx + 2]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000bef1
xor edi, edi
mov rbx, qword [rsp + 0x50]
and qword [rsp + 0x50], 0
mov ecx, edi
call fcn.140009344
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000beb3
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
and qword [rsp + 0x50], 0
test edi, edi
js 0x14000bf1e
xor ecx, ecx
call fcn.140009344
mov eax, dword [rsp + 0x60]
lea rdx, [0x14001da40]
mov dword [rsp + 0x28], eax
mov r9d, 0xb
lea rax, [rsp + 0x58]
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
jne 0x14000bf0c
xor edi, edi
jmp 0x14000bf25
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14000be8b
mov ecx, edi
call fcn.140009328
jmp 0x14000be96
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14000bf25
mov ecx, edi
call fcn.140009328
mov ecx, edi
call fcn.140009344
test rbx, rbx
je 0x14000bf3a
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret