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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48157b
push rbp
mov rbp, rsp
sub rsp, 0x78
mov ebx, dword [rax + 0x2c]
test ebx, ebx
jne 0x4813da
mov qword [rsp + 0x88], rax
lea rbx, [0x00555ee0]
mov rcx, rax
lea rax, [0x00669640]
call sym.sync._Map_.Load
test cl, cl
jne 0x4813c3
mov rax, qword [rsp + 0x88]
call sym.reflect._rtype_.String
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x30]
lea rbx, [0x0058d618]
call sym.runtime.concatstring2
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], rbx
call sym.reflect.typesByString
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x4813f7
lea rdx, [0x00552f00]
cmp rax, rdx
jne 0x4813e5
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
call sym.reflect.resolveTypeOff
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x00535fc0]
call sym.runtime.panicdottypeE
inc rdx
cmp rbx, rdx
jle 0x481441
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x4813f4
lea rax, [0x00669640]
lea rbx, [0x00555ee0]
lea rdi, [0x00552f00]
nop dword [rax + rax]
call sym.sync._Map_.LoadOrStore
lea rdx, [0x00552f00]
cmp rax, rdx
jne 0x48156b
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
nop
ret
lea rcx, [0x0052dd60]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rcx
lea rax, [0x0053d880]
call sym.runtime.newobject
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x006bc810], 0
nop
je 0x48149b
mov rbx, rax
lea rax, [0x0053d880]
call sym.runtime.wbMove
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
mov rbx, qword [rsp + 0x28]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
mov rax, qword [rsp + 0x50]
call sym.internal_abi.NewName
call sym.reflect.addReflectOff
mov rsi, qword [rsp + 0x60]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x481502
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
test rax, rax
jle 0x4814f4
mov dword [rsi + 0x10], edx
cmp dword [0x006bc810], 0
je 0x481523
call sym.runtime.gcWriteBarrier2
mov qword [r11], rcx
mov rdx, qword [rsi + 0x30]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x30], rcx
lea rax, [0x00669640]
lea rbx, [0x00555ee0]
lea rdi, [0x00552f00]
nop dword [rax]
call sym.sync._Map_.LoadOrStore
lea rdx, [0x00552f00]
cmp rax, rdx
jne 0x48155c
test byte [rbx], al
mov rax, rbx
add rsp, 0x78
pop rbp
ret
mov rbx, rdx
lea rcx, [0x00535fc0]
call sym.runtime.panicdottypeE
mov rbx, rdx
lea rcx, [0x00535fc0]
call sym.runtime.panicdottypeE
nop
mov qword [rsp + 8], rax
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.reflect._rtype_.ptrTo
Function at 0x48c540
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48c60a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x006bc7d0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48c5ef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x00531ba0]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x48c5de
mov edi, 1
lea rsi, [0x00531ba0]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x0058f2d8]
lea rsi, [0x0058e600]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString
Function at 0x51b960
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x51b977
inc rax
cmp rax, 4
jge 0x51b98f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x51b974
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x51b9a0
inc rax
cmp rax, 4
jge 0x51b9ae
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x51b9d7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x51b9bb
jmp 0x51b99d
Function at 0x140001060
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, 0x5a4d
mov ebp, r8d
mov r14d, edx
mov rdi, rcx
cmp word [rcx], ax
jne 0x14000116a
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x14000116a
mov ecx, 0x8664
cmp word [rax + 4], cx
jne 0x14000116a
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x14000116a
cmp dword [rax + 0x84], 0
jbe 0x14000116a
cmp dword [rax + 0x8c], 0
je 0x14000116a
mov ecx, dword [rax + 0x88]
add rcx, rdi
je 0x14000116a
mov ebx, dword [rcx + 0x20]
xor r11d, r11d
mov r15d, dword [rcx + 0x24]
add rbx, rdi
mov r12d, dword [rcx + 0x1c]
add r15, rdi
mov esi, dword [rcx + 0x18]
add r12, rdi
test esi, esi
je 0x14000116a
nop dword [rax]
mov r10d, dword [rbx]
mov r9d, r14d
add r10, rdi
xor eax, eax
nop dword [rax + rax]
movsx ecx, byte [rax + r10]
movzx edx, cl
lea ecx, [rdx - 0x61]
cmp ecx, 0x19
lea r8d, [rdx - 0x20]
cmova r8d, edx
lea ecx, [r8 + r8*8]
xor r9d, ecx
mov ecx, r8d
imul ecx, r8d
rol r9d, 5
sub r9d, ecx
test r8d, r8d
je 0x140001159
inc rax
cmp rax, 0xffffffffffffffff
jne 0x140001120
cmp r9d, ebp
je 0x140001187
inc r11d
add rbx, 4
cmp r11d, esi
jb 0x140001110
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
movzx ecx, word [r15 + r11*2]
mov eax, dword [r12 + rcx*4]
add rax, rdi
jmp 0x14000116c
Function at 0x140001d30
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 [0x14002d738], rbx
je 0x140001d97
cmp rax, rbx
jne 0x140001d8a
mov ebx, 1
mov esi, ebx
jmp 0x140001d9c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001d6f
mov ebx, 1
mov eax, dword [0x14002d740]
cmp eax, ebx
jne 0x140001db4
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x140001e2a
mov eax, dword [0x14002d740]
test eax, eax
jne 0x140001e1f
mov dword [0x14002d740], ebx
lea r15, [0x14001f718]
lea rdi, [0x14001f700]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140001e11
test eax, eax
jne 0x140001e15
cmp qword [rdi], r14
je 0x140001e06
movabs r10, 0xd30527475e523070
mov rax, qword [rdi]
mov rcx, qword [0x14001f658]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x140001dde
test eax, eax
je 0x140001e25
mov eax, 0xff
jmp 0x140001f8a
mov dword [0x14002cff0], ebx
mov edi, 0x1f
mov eax, dword [0x14002d740]
cmp eax, ebx
jne 0x140001e51
lea rdx, [0x14001f6f8]
lea rcx, [0x14001f668]
call sub.msvcrt.dll__initterm
mov dword [0x14002d740], 2
test esi, esi
jne 0x140001e5f
mov rax, r14
xchg qword [0x14002d738], rax
cmp qword [0x14002d758], r14
je 0x140001e9c
lea rcx, [0x14002d758]
call fcn.140002440
test eax, eax
je 0x140001e9c
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14002d758]
mov r9, qword [0x14001f658]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x140001eb5
mov eax, 0xff
jmp 0x140001f8a
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140001f3b
test ax, ax
je 0x140001ed0
test edx, edx
jne 0x140001f3b
sub ax, bx
cmp ax, di
ja 0x140001ee6
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x140001ed0
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.140005e98
mov dword [0x14002cfec], eax
cmp dword [0x14002d010], r14d
jne 0x140001f24
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14002cff0], r14d
jne 0x140001f39
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14002cfec]
jmp 0x140001f8a
cmp ax, 0x22
jne 0x140001f4f
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 0x140001ebe
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.140160000
add rsp, 0x28
jmp 0x140001d30
Function at 0x14000232c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140002378
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140002370
cmp dword [rcx + 0x3c], edx
jl 0x140002370
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140002370
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140002378
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140004f6c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x20
lea r8, [rcx + 8]
mov rbx, rcx
lea rdx, [0x140020d88]
call 0x14000c178
lea r8, [rbx + 0xc]
lea rdx, str.First_Help
call 0x14000c178
lea r8, [rbx + 0x10]
lea rdx, str.Last_Counter
call 0x14000c178
lea r8, [rbx + 0x14]
lea rdx, str.Last_Help
add rsp, 0x20
pop rbx
jmp 0x14000c178
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword gs:[0x58]
mov rdi, rdx
mov edx, 4
mov rbx, r8
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14002d718], eax
jg 0x14000c283
test rbx, rbx
je 0x14000c272
and dword [rbx], 0
mov rcx, qword [0x14002d720]
test rcx, rcx
jne 0x14000c223
and qword [rsp + 0x40], rcx
lea rax, [rsp + 0x40]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, str.SYSTEMCurrentControlSetServicesWmiApRplPerformance
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov rcx, qword [0x14002d720]
test eax, eax
jne 0x14000c266
test rcx, rcx
je 0x14000c213
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
mov qword [0x14002d720], rcx
test eax, eax
jne 0x14000c266
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rdi
mov dword [rsp + 0x50], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
cmp dword [rsp + 0x40], 4
je 0x14000c264
mov eax, 0xd
jmp 0x14000c268
test eax, eax
jle 0x14000c277
movzx eax, ax
or eax, 0x80070000
jmp 0x14000c277
mov eax, 0x80004003
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rcx, [0x14002d718]
call fcn.1400020e4
cmp dword [0x14002d718], 0xffffffff
jne 0x14000c1ad
lea rcx, [0x14001d9e0]
call fcn.140002204
lea rcx, [0x14002d718]
call fcn.140002074
jmp 0x14000c1ad
Function at 0x14000500c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x860
mov rax, qword [0x14002cf88]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rdi, rdx
mov rsi, rcx
mov ebx, 0x3f2
test rdx, rdx
je 0x140005129
mov rcx, rdx
call qword [sym.imp.msvcrt.dll_wcslen]
nop dword [rax + rax]
test rax, rax
je 0x140005129
lea rax, [rsp + 0x48]
mov r9d, 0x1000a
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140005129
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x800
call sub.msvcrt.dll_memset
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
and qword [rsp + 0x28], 0
xor edx, edx
mov rcx, qword [rsp + 0x48]
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x400
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x103
je 0x1400050fe
test eax, eax
jne 0x1400050f8
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
call fcn.14000500c
mov ebx, eax
test ebx, ebx
je 0x14000508b
jmp 0x140005118
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140001fe0
lea r11, [rsp + 0x860]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140005158
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
mov ebx, 0x3f2
test rdx, rdx
je 0x1400051eb
mov rcx, rdx
call qword [sym.imp.msvcrt.dll_wcslen]
nop dword [rax + rax]
test rax, rax
je 0x1400051eb
and qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov r9d, 0x10002
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400051eb
mov rcx, qword [rsp + 0x48]
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140005a18
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push r14
sub rsp, 0x50
mov ebx, 0x80004005
mov esi, 1
xor r14d, r14d
test esi, esi
je 0x140005aea
lea rcx, [0x14002d678]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
mov eax, dword [0x14002d5f8]
test eax, eax
jne 0x140005a84
lea r14d, [rax + 1]
mov dword [0x14002d5f8], r14d
mov dword [0x14002d5f4], r14d
mov rcx, qword [0x14002c100]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
nop dword [rax + rax]
xor esi, esi
jmp 0x140005a35
cmp dword [0x14002d5f4], 0
je 0x140005ad2
lea rcx, [0x14002d678]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
or edx, 0xffffffff
mov rcx, qword [0x14002c100]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x140005a35
mov eax, ebx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
xor esi, esi
inc eax
mov dword [0x14002d5f8], eax
xor ebx, ebx
jmp 0x140005a35
lea rcx, [0x14002d678]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
test r14d, r14d
je 0x140005abe
call fcn.1400071a0
mov ebx, eax
test eax, eax
js 0x140005baa
mov rax, qword [0x14002c150]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140005b25
mov rcx, qword [rcx + 8]
and qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x42
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeSecurity]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140005ba4
mov rax, qword [0x14002c160]
add rax, 0x108
cmp qword [rax], 0
jne 0x140005b9e
mov qword [rsp + 0x20], rax
lea r9, [0x140020ee0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140020ed0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
nop dword [rax + rax]
mov ebx, eax
jmp 0x140005ba4
jmp 0x140005baa
lea rcx, [0x14002d678]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
test ebx, ebx
jns 0x140005bc8
dec dword [0x14002d5f8]
and dword [0x14002d5f4], 0
mov rcx, qword [0x14002c100]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
nop dword [rax + rax]
lea rcx, [0x14002d678]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
jmp 0x140005abe
Function at 0x140005d28
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov ebx, ecx
mov ecx, 4
mov rdx, qword [rax]
mov eax, dword [rcx + rdx]
cmp dword [0x14002d714], eax
jg 0x140005d5f
mov edx, ebx
lea rcx, [0x14002c020]
add rsp, 0x20
pop rbx
jmp fcn.140005284
lea rcx, [0x14002d714]
call fcn.1400020e4
cmp dword [0x14002d714], 0xffffffff
jne 0x140005d4c
and qword [0x14002c070], 0
lea rax, str.SOFTWAREMicrosoftWBEMPROVIDERSPerformance
and qword [0x14002c0a0], 0
lea rcx, [0x14002d714]
or dword [0x14002c0a8], 0xffffffff
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [0x14002c058], rax
movdqa xmmword [0x14002c060], xmm0
movdqa xmmword [0x14002c080], xmm0
movdqa xmmword [0x14002c090], xmm1
mov dword [0x14002c078], 4
call fcn.140002074
jmp 0x140005d4c
Function at 0x14000bf54
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
xor edi, edi
mov rsi, r8
mov rbp, rdx
lea ebx, [rdi + 0x57]
test rcx, rcx
je 0x14000c004
test rdx, rdx
je 0x14000c004
test r8, r8
je 0x14000c037
and dword [r8], edi
lea rax, [r11 - 0x28]
and qword [r11 - 0x28], rdi
mov rdx, rcx
xor r8d, r8d
mov qword [r11 - 0x38], rax
mov rcx, 0xffffffff80000002
mov r9d, 0xf003f
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14000c031
and dword [rsp + 0x60], eax
lea r9, [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov dword [rsp + 0x78], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
cmp dword [rsp + 0x60], 4
mov ebx, eax
je 0x14000c031
mov ebx, 0xd
movzx ebx, bx
or ebx, 0x80070000
test rdi, rdi
je 0x14000c021
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
test ebx, ebx
jg 0x14000c004
jmp 0x14000c00d
mov ebx, 0x80004003
jmp 0x14000c00d

Function at 0x14000c044
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 rdi
sub rsp, 0x30
mov rdi, r8
and qword [r8], 0
and qword [r11 + 8], 0
lea rax, [r11 + 8]
mov qword [r11 - 0x18], rax
mov r9d, 0x2000000
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWBEMPROVIDERSPerformance
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14000c155
and dword [rsp + 0x48], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Performance_Data
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14000c144
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14000c144
mov ecx, eax
call fcn.140001284
mov qword [rdi], rax
test rax, rax
je 0x14000c139
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Performance_Data
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14000c13e
mov rcx, qword [rdi]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov qword [rdi], 0
jmp 0x14000c13e
mov ebx, 0xe
jmp 0x14000c144
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
jle 0x14000c162
movzx ebx, bx
or ebx, 0x80070000
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14000c178
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x20
lea r8, [rcx + 8]
mov rbx, rcx
lea rdx, [0x140020d88]
call 0x14000c178
lea r8, [rbx + 0xc]
lea rdx, str.First_Help
call 0x14000c178
lea r8, [rbx + 0x10]
lea rdx, str.Last_Counter
call 0x14000c178
lea r8, [rbx + 0x14]
lea rdx, str.Last_Help
add rsp, 0x20
pop rbx
jmp 0x14000c178
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword gs:[0x58]
mov rdi, rdx
mov edx, 4
mov rbx, r8
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14002d718], eax
jg 0x14000c283
test rbx, rbx
je 0x14000c272
and dword [rbx], 0
mov rcx, qword [0x14002d720]
test rcx, rcx
jne 0x14000c223
and qword [rsp + 0x40], rcx
lea rax, [rsp + 0x40]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, str.SYSTEMCurrentControlSetServicesWmiApRplPerformance
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov rcx, qword [0x14002d720]
test eax, eax
jne 0x14000c266
test rcx, rcx
je 0x14000c213
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
mov qword [0x14002d720], rcx
test eax, eax
jne 0x14000c266
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rdi
mov dword [rsp + 0x50], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
cmp dword [rsp + 0x40], 4
je 0x14000c264
mov eax, 0xd
jmp 0x14000c268
test eax, eax
jle 0x14000c277
movzx eax, ax
or eax, 0x80070000
jmp 0x14000c277
mov eax, 0x80004003
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rcx, [0x14002d718]
call fcn.1400020e4
cmp dword [0x14002d718], 0xffffffff
jne 0x14000c1ad
lea rcx, [0x14001d9e0]
call fcn.140002204
lea rcx, [0x14002d718]
call fcn.140002074
jmp 0x14000c1ad