joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001d80
Capabilities:
Link many functions at runtime

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 r15d, edx
mov rbx, rcx
lea rdx, str.Py_Initialize
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Py_SetProgramName
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Py_Finalize
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyRun_SimpleString
mov rcx, rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PySys_GetObject
mov rcx, rbx
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Py_OptimizeFlag
mov rcx, rbx
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
cmp qword [0x14008aa20], rcx
jne 0x140001e1e
xor eax, eax
jmp 0x140001e65
test rdi, rdi
je 0x140001e62
test rsi, rsi
je 0x140001e62
test rbp, rbp
je 0x140001e62
test r14, r14
je 0x140001e62
test r12, r12
je 0x140001e62
test rax, rax
je 0x140001e62
test r15d, r15d
setne cl
mov dword [rax], ecx
lea rcx, [0x14008b5a0]
call rsi
call rdi
mov edx, r15d
mov rcx, r14
call fcn.140001b8c
mov ebx, eax
call rbp
mov eax, ebx
jmp 0x140001e65
or eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14000264c
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
lea rbp, [rsp + 0x20]
mov qword [rbp + 0xa0], rbx
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x48], rax
mov rbx, rdx
mov r14, r9
lea rdx, str.Py_Initialize
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PySys_SetArgv
mov rcx, rdi
mov qword [rbp], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyRun_SimpleString
mov rcx, rdi
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Py_Finalize
mov rcx, rdi
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Py_BuildValue
mov rcx, rdi
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyCFunction_New
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyArg_ParseTuple
mov rcx, rdi
mov qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyErr_Format
mov rcx, rdi
mov qword [rbp + 8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
cmp qword [rbp], rcx
je 0x1400028bb
test r15, r15
je 0x1400028bb
test r13, r13
je 0x1400028bb
test r12, r12
je 0x1400028bb
test rsi, rsi
je 0x1400028bb
cmp qword [rbp + 8], rcx
je 0x1400028bb
test rax, rax
je 0x1400028bb
cmp qword [rbp + 0x10], rcx
je 0x1400028bb
test rbx, rbx
je 0x1400028b4
cmp byte [rbx], cl
je 0x1400028b4
mov edx, 0x80
mov rcx, rbx
call fcn.14004b88c
mov esi, eax
cmp eax, 0xffffffff
jne 0x1400027a8
lea ecx, [rax + 3]
call fcn.1400133d8
mov rcx, rax
lea rdx, str.Could_not_open_postinstall_script__s_n
mov r8, rbx
call fcn.1400017a0
lea eax, [rsi + 4]
jmp 0x1400028c0
mov rcx, qword [0x14008bb70]
lea r8, str.Running_Script...
mov edx, 0x3ec
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
call qword [rbp]
mov rcx, rdi
call fcn.1400024ac
lea rbx, [0x14008ab40]
xor edx, edx
mov rcx, rbx
mov r8d, 0x800
call fcn.14000a9e0
sub r14, rbx
mov rdi, rbx
mov rcx, qword [r14 + rdi]
test rcx, rcx
je 0x1400027f9
call fcn.140001ce8
jmp 0x1400027fb
xor eax, eax
mov qword [rdi], rax
add rdi, 8
lea rax, [0x14008ab50]
cmp rdi, rax
jl 0x1400027e9
mov rdx, rbx
mov ecx, 2
call r15
lea rax, [0x14008ab50]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140002834
call fcn.1400301c8
lea rax, [0x14008ab50]
add rbx, 8
cmp rbx, rax
jl 0x140002820
lea rdx, [rbp + 0x18]
mov ecx, esi
mov ebx, 3
call fcn.140045244
test eax, eax
jne 0x1400028a6
mov r8d, dword [rbp + 0x2c]
lea eax, [r8 + 5]
movsxd rcx, eax
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x14000286f
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
int3
call r12
mov ecx, esi
call fcn.14004cd9c
mov eax, ebx
jmp 0x1400028c0
mov eax, 2
jmp 0x1400028c0
mov eax, 1
mov rcx, qword [rbp + 0x48]
xor rcx, rbp
call fcn.140009140
mov rbx, qword [rbp + 0xa0]
lea rsp, [rbp + 0x50]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002a8c
Capabilities:
Link many functions at runtime

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 r12, rdx
mov r14, rcx
lea rdx, str.Py_Initialize
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Py_SetProgramName
mov rcx, r14
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Py_Finalize
mov rcx, r14
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyRun_SimpleString
mov rcx, r14
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyErr_Print
mov rcx, r14
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test r15, r15
je 0x140002b4b
test rbx, rbx
je 0x140002b4b
test rdi, rdi
je 0x140002b4b
test rbp, rbp
je 0x140002b4b
test rax, rax
je 0x140002b4b
lea rcx, [0x14008b5a0]
call rbx
call r15
mov rcx, r14
call fcn.1400024ac
mov rcx, r12
call rbp
mov ebx, eax
test eax, eax
je 0x140002b45
call rsi
call rdi
mov eax, ebx
jmp 0x140002b4e
or eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140004c48
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xc8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x28], 1
lea r9, [0x14007aba2]
and qword [rsp + 0x20], 0
lea r8, [0x14008ba00]
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x140004cc0
mov r8d, eax
lea rdx, str.Failed_to_start_elevated_process__ShellExecute_returned__d_
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfA]
mov r9d, 0x10
lea r8, [0x14007ba54]
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140009140
add rsp, 0xc8
ret
Function at 0x1400096bd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rax, rax
sub rcx, 0xd55f
add rax, rcx
add rax, 0xd55f
add rcx, 0xd55f
sub rsp, 0x3f0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
and rcx, 0
add rcx, rsi
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x5aa1
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x441e
lea r9, [0x14000549c]
add byte [rax - 0x7d], cl
invalid
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x14000977a
je 0x140009791
insb byte [rdi], dx
cld
add byte [rax], al
je 0x14000979b
jne 0x140009765
lea rax, [0x140008c8e]
add rax, 0xb32
call rax
je 0x140009736
push rsp
ror byte [rax - 0x39], cl
shl dword [rsi], 0x3e
add byte [rax], al
mov rcx, 0x3e26
mov r9d, 0x8d68
mov r10d, 0x92819200
lea eax, [rax]
add byte [rcx - 0x46], al
add byte [rdx - 0xb76d7f], dl
leave
dec rcx
xor byte [rax + rcx], r9b
add r9d, r10d
rol r9d, 1
test rcx, rcx
jne 0x1400097a4
add rax, 0x1ebd
mov rsp, rbp
mov rbp, qword [rsp]
add rsp, 8
ret

Function at 0x140009778
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rax, rax
sub rcx, 0xd55f
add rax, rcx
add rax, 0xd55f
add rcx, 0xd55f
sub rsp, 0x3f0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
and rcx, 0
add rcx, rsi
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x5aa1
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x441e
lea r9, [0x14000549c]
add byte [rax - 0x7d], cl
invalid
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x14000977a
je 0x140009791
insb byte [rdi], dx
cld
add byte [rax], al
je 0x14000979b
jne 0x140009765
lea rax, [0x140008c8e]
add rax, 0xb32
call rax
je 0x140009736
push rsp
ror byte [rax - 0x39], cl
shl dword [rsi], 0x3e
add byte [rax], al
mov rcx, 0x3e26
mov r9d, 0x8d68
mov r10d, 0x92819200
lea eax, [rax]
add byte [rcx - 0x46], al
add byte [rdx - 0xb76d7f], dl
leave
dec rcx
xor byte [rax + rcx], r9b
add r9d, r10d
rol r9d, 1
test rcx, rcx
jne 0x1400097a4
add rax, 0x1ebd
mov rsp, rbp
mov rbp, qword [rsp]
add rsp, 8
ret
Function at 0x140067884
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x140067656
call fcn.14002d340
mov dword [rax], 0x16
call fcn.14004d904
mov eax, 0xffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140067638
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x140067638
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x20]
shr ecx, 1
test cl, 1
je 0x140067688
lock or dword [rax + 0x14], 0x10
jmp 0x140067638
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400676a5
mov rcx, qword [rbp + 0x20]
int3
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x10], 1
jne 0x1400676ba
mov rcx, qword [rax]
mov sil, 1
mov r14b, byte [rcx]
jmp 0x1400676c0
xor sil, sil
xor r14b, r14b
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.14005067c
mov rdx, qword [rbp + 0x20]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14004c690
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x20]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 2
ja 0x140067713
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x20]
and dword [rax + 0x10], 0
jmp 0x140067638
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14006777f
mov rcx, qword [rbp + 0x20]
call fcn.14005067c
cmp eax, 0xffffffff
je 0x140067766
mov rcx, qword [rbp + 0x20]
call fcn.14005067c
cmp eax, 0xfffffffe
je 0x140067766
mov rbx, qword [rbp + 0x20]
mov rcx, rbx
call fcn.14005067c
movsxd rdi, eax
lea r15, [0x14008a240]
mov rcx, rbx
sar rdi, 6
call fcn.14005067c
and eax, 0x3f
shl rax, 6
add rax, qword [r15 + rdi*8]
jmp 0x14006776d
lea rax, [0x140088270]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14006777f
mov rax, qword [rbp + 0x20]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x20]
cmp dword [rax + 0x20], 0x200
jne 0x1400677b5
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400677b1
mov rax, qword [rbp + 0x20]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400677b1
mov rax, qword [rbp + 0x20]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax]
test sil, sil
je 0x1400677d3
movzx edx, byte [rcx]
dec dword [rax + 0x10]
shl dx, 8
movzx ecx, r14b
or dx, cx
inc qword [rax]
jmp 0x1400677de
movzx edx, word [rcx]
add dword [rax + 0x10], 0xfffffffe
add qword [rax], 2
movzx eax, dx
jmp 0x14006763d
jmp 0x140067604
Function at 0x1400065cc
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x14005a8e0]
xor rax, rsp
mov qword [rbp + 0x140], rax
xor r15d, r15d
lea rax, [rsp + 0x30]
mov ebx, 0x104
mov qword [r8], r15
mov r9d, ebx
lea rdx, [rsp + 0x30]
sub rcx, rax
mov r14, r8
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x14000663f
movzx eax, word [rcx + rdx]
test ax, ax
je 0x14000663f
mov word [rdx], ax
add rdx, 2
sub r9, 1
jne 0x14000661d
lea rax, [rdx - 2]
test r9, r9
lea r8, [0x14003a1b8]
cmovne rax, rdx
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov word [rax], r15w
call fcn.1400046a0
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400066b4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x140006698
mov esi, r15d
jmp 0x1400066ec
mov rcx, qword [rbp + 0x168]
lea r8, [0x14003a17c]
mov edx, 0xc9
call fcn.140006388
mov esi, eax
jmp 0x1400066ec
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], r15d
mov rcx, rdi
mov dword [rsp + 0x24], r15d
call fcn.140006444
mov esi, eax
test eax, eax
jns 0x140006724
mov rcx, qword [rbp + 0x168]
lea r8, [0x14003a17c]
mov r9d, eax
mov edx, 0xcf
call fcn.140006358
test rdi, rdi
jne 0x1400067e1
mov eax, esi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400339f0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [0x14003a1c0]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400046a0
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140006774
mov rcx, qword [rbp + 0x168]
lea r8, [0x14003a17c]
mov edx, 0xd5
call fcn.140006388
mov esi, eax
jmp 0x1400067e1
lea rdx, [rsp + 0x24]
mov rcx, rbx
call fcn.140006444
mov esi, eax
test eax, eax
jns 0x1400067b7
mov rcx, qword [rbp + 0x168]
lea r8, [0x14003a17c]
mov r9d, eax
mov edx, 0xd7
call fcn.140006358
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
je 0x14000680b
jmp 0x1400067e1
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
je 0x1400067f9
movsxd rcx, dword [rsp + 0x24]
mov esi, r15d
movsxd rax, dword [rsp + 0x20]
shl rcx, 0x1f
or rcx, rax
mov qword [r14], rcx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
je 0x14000681d
jmp 0x1400066f5
mov rcx, qword [rbp + 0x168]
mov edx, 0x937
call fcn.1400063b4
int3
mov rcx, qword [rbp + 0x168]
mov edx, 0x937
call fcn.1400063b4
int3
mov rcx, qword [rbp + 0x168]
mov edx, 0x937
call fcn.1400063b4
int3
Function at 0x14000bf50
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 + 8], rcx
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r15, r9
lea rax, [rbp - 8]
mov r14, r8
mov qword [r11 - 0x38], rax
xor edi, edi
xor ebx, ebx
and qword [rbp - 8], 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]
nop dword [rax + rax]
test eax, eax
jne 0x14000bfaf
mov rdi, qword [rbp - 8]
xor esi, esi
and qword [rbp - 8], rbx
jmp 0x14000bfc4
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov ecx, esi
call fcn.14000d0b0
mov ecx, esi
call fcn.14000cfd4
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14000bfe4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
and qword [rbp - 8], rbx
test esi, esi
js 0x14000c0b2
and dword [rbp + 0x20], ebx
lea rax, [rbp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x10]
mov rdx, r14
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c0a4
test rbx, rbx
jne 0x14000c062
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x14000c05b
mov ebx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14000bfef
mov esi, 0x8007000e
jmp 0x14000c0b2
mov esi, 0x8000ffff
jmp 0x14000c0b2
cmp dword [rbp - 0x10], 0xb
je 0x14000c06f
mov esi, 0x8007000d
jmp 0x14000c0b2
xor r14d, r14d
cmp dword [rbp + 0x20], 8
je 0x14000c089
mov esi, 0x8007000d
mov ecx, esi
mov r14d, esi
call fcn.14000d0b0
jmp 0x14000c08f
mov rax, qword [rbx]
mov qword [r15], rax
mov ecx, r14d
call fcn.14000cfd4
mov esi, r14d
test r14d, r14d
jns 0x14000c0b9
mov ecx, r14d
jmp 0x14000c0b4
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov ecx, esi
call fcn.14000d0b0
mov ecx, esi
call fcn.14000cfd4
test rbx, rbx
je 0x14000c0e5
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
test rdi, rdi
je 0x14000c0f9
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x68]
mov eax, esi
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
Function at 0x14000c11c
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor r15d, r15d
lea r8, [rbp + 0x30]
xor r9d, r9d
mov qword [rbp + 0x30], r15
lea rcx, str.D:PAI_A_OICI_FA___WD_
mov qword [rbp + 0x38], r15
mov ebx, r15d
mov r14d, r15d
lea esi, [r15 + 1]
mov edx, esi
call qword [sym.imp.api_ms_win_security_sddl_l1_1_0.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c195
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x14000c17b
mov esi, 0x80004005
jmp 0x14000c189
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov ecx, esi
call fcn.14000d0b0
jmp 0x14000c2c3
mov rax, qword [rbp + 0x30]
lea r8, str.GlobalMicrosoft.Windows.Remediation.TelemetryUpdateHealthTools
xor edx, edx
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], 0x18
mov qword [rbp - 0x10], r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14000c209
mov rcx, rax
mov edx, 0x2710
mov rbx, rax
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x14000c23a
cmp eax, 0x102
je 0x14000c233
cmp eax, 0xffffffff
jne 0x14000c219
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x14000c223
mov esi, r15d
jmp 0x14000c2af
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x14000c223
mov esi, 0x80004005
jmp 0x14000c2a8
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x14000c2a8
mov esi, 0x800705b4
jmp 0x14000c2a8
lea r9, [rbp + 0x38]
lea r8, [0x14003ea80]
lea rdx, str.SoftwareMicrosoftRemediationLocalStateTelemetryUpdateHealthTools
call fcn.14000bf50
mov r14, qword [rbp + 0x38]
test eax, eax
cmovs r14, rsi
call fcn.14000dc98
mov esi, eax
test eax, eax
jns 0x14000c26a
mov ecx, eax
jmp 0x14000c2aa
xor ecx, ecx
call fcn.14000cfd4
lea r9, [r14 + 1]
mov dword [rsp + 0x20], 8
lea r8, [0x14003ea80]
lea rdx, str.SoftwareMicrosoftRemediationLocalStateTelemetryUpdateHealthTools
call fcn.14000ed68
mov esi, eax
test eax, eax
jns 0x14000c29d
mov ecx, eax
call fcn.14000d0b0
mov ecx, esi
call fcn.14000cfd4
test esi, esi
jns 0x14000c2af
mov ecx, esi
call fcn.14000d0b0
test rbx, rbx
je 0x14000c2c3
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseMutex]
nop dword [rax + rax]
test esi, esi
jns 0x14000c2d5
lea rdx, str.Failed_to_get_a_proper_GlobalEventCounter_for_telemetry__using_0
mov ecx, esi
call fcn.14000c5f4
test rbx, rbx
je 0x14000c2e9
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14000c2fe
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x90]
mov rax, r14
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ed68
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], r9
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
xor ebx, ebx
lea rax, [r11 + 8]
and qword [r11 + 8], rbx
mov rsi, r8
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]
nop dword [rax + rax]
test eax, eax
jne 0x14000edbe
mov rbx, qword [rsp + 0x40]
and qword [rsp + 0x40], 0
xor edi, edi
jmp 0x14000edd3
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14000d0b0
mov ecx, edi
call fcn.14000cfd4
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000edf6
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
and qword [rsp + 0x40], 0
test edi, edi
js 0x14000ee4a
xor ecx, ecx
call fcn.14000cfd4
mov eax, dword [rsp + 0x60]
xor ecx, ecx
mov dword [rsp + 0x28], eax
test rbx, rbx
lea rax, [rsp + 0x58]
mov r9d, 0xb
cmovne rcx, rbx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000ee3c
xor edi, edi
jmp 0x14000ee51
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14000d0b0
mov ecx, edi
call fcn.14000cfd4
test rbx, rbx
je 0x14000ee6c
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret