joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140117e90
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [0x14019f020]
mov rdi, rax
test rax, rax
jne 0x140117ed2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140117f19
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140117f72
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140117f30
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140117fb3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1401471d2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1401471d3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140117f80
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1401190bc
Capabilities:
Parse pe header

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

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

Function at 0x1400112da
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014c10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014c30
xor al, al
jmp 0x140014cb1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014c43
xor al, al
jmp 0x140014cb1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014c6d
xor al, al
jmp 0x140014cb1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014c81
xor al, al
jmp 0x140014cb1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014c93
xor al, al
jmp 0x140014cb1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014caf
xor al, al
jmp 0x140014cb1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400022b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140009740]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400022d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400022d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400022d0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000232d
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 0x140002324
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400022d0
add rax, 0x28
cmp rax, r9
jne 0x140002310
xor eax, eax
ret

Function at 0x140002330
Capabilities:
Parse pe header

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

Function at 0x1400023f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009740]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000240f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002418
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140007c90
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
push rbx
mov eax, 0xc6ef3720
mov r8d, dword [rcx]
mov r10, rcx
mov ecx, dword [rcx + 4]
mov r11, rdx
nop word [rax + rax]
mov edx, eax
mov ebx, r8d
shr edx, 0xb
shr ebx, 5
and edx, 3
mov r9d, dword [r11 + rdx*4]
mov edx, r8d
shl edx, 4
xor edx, ebx
add r9d, eax
add eax, 0x61c88647
add edx, r8d
xor edx, r9d
sub ecx, edx
mov edx, eax
and edx, 3
mov ebx, ecx
mov r9d, dword [r11 + rdx*4]
mov edx, ecx
shr ebx, 5
shl edx, 4
xor edx, ebx
add r9d, eax
add edx, ecx
xor edx, r9d
sub r8d, edx
test eax, eax
jne 0x140007ca8
mov dword [r10], r8d
mov dword [r10 + 4], ecx
pop rbx
ret
Function at 0x140007d00
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, rdx
call fcn.1400015e0
mov eax, dword [0x1400082e0]
test eax, eax
je 0x140007d54
sub eax, 1
lea rbx, [0x140008100]
lea rdi, str.meowmeowmeowmeow
shr eax, 3
lea esi, [rax*8]
lea rax, [rbx + 8]
add rsi, rax
nop dword [rax]
mov rcx, rbx
mov rdx, rdi
add rbx, 8
call fcn.140007c90
cmp rbx, rsi
jne 0x140007d40
lea rcx, str.decrypted:_n
call fcn.140007c40
mov eax, dword [0x1400082e0]
test eax, eax
je 0x140007d98
xor ebx, ebx
lea rdi, [0x140008100]
lea rsi, str.x_02x
nop word [rax + rax]
movzx edx, byte [rdi + rbx]
mov rcx, rsi
add rbx, 1
call fcn.140007c40
cmp ebx, dword [0x1400082e0]
jb 0x140007d80
lea rcx, [0x140009013]
call fcn.140007c40
mov rcx, qword [rbp + 8]
call sub.msvcrt.dll_atoi
lea rcx, str.PID:__i
mov edx, eax
call fcn.140007c40
mov rcx, qword [rbp + 8]
call sub.msvcrt.dll_atoi
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r8d, dword [0x1400082e0]
mov rbx, rax
mov r9d, 0x3000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, rbx
mov qword [rsp + 0x20], 0
mov r9d, dword [0x1400082e0]
mov rsi, rax
lea r8, [0x140008100]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9, rsi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140001150
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x480]
sub rsp, 0x580
mov rax, qword [0x14001e818]
xor rax, rsp
mov qword [rbp + 0x470], rax
lea rcx, str._n_t_t_br__div_classfilename_
mov rdi, r9
mov ebx, r8d
mov rsi, rdx
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov ecx, ebx
call fcn.140003fb4
mov rdx, rax
lea rcx, str.Running_Tests_for__b__s__b__file_types_br__
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov rax, qword [rdi]
lea r8, [rsp + 0x48]
lea rdx, [0x14001af60]
mov rcx, rdi
mov rax, qword [rax + 0x88]
call qword [0x140010b20]
test eax, eax
js 0x1400012dc
mov rdx, qword [rsp + 0x48]
lea rcx, str._n_t_tTesting_file_type_extension___b__s__b__
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov edi, 2
lea rax, [rbp + 0x50]
mov ebx, 0x104
mov qword [rsp + 0x28], rax
mov r9d, edi
and qword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov dword [rsp + 0x40], ebx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x1400012cb
lea rdx, [rbp + 0x50]
lea rcx, str.with_ProgID___b__s__b__
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
lea rax, [rsp + 0x44]
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x50]
lea rax, [rbp + 0x260]
mov r9d, edi
mov qword [rsp + 0x28], rax
xor r8d, r8d
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x1400012cb
lea rdx, [rbp + 0x260]
lea rcx, str.and_friendly_name___b__s__b__
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rdx, rsi
lea rcx, str._br___n_t_tFile_tested:__b__s__b__br__
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetThreadLocale]
nop dword [rax + rax]
mov edi, 0x40
lea r9, str.MMMM_dd__yyyy
mov ecx, eax
mov dword [rsp + 0x28], edi
lea rax, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
nop dword [rax + rax]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetThreadLocale]
nop dword [rax + rax]
mov dword [rsp + 0x28], edi
lea r9, str.h:mm_tt
mov ecx, eax
xor r8d, r8d
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
nop dword [rax + rax]
test ebx, ebx
je 0x140001384
test eax, eax
je 0x140001384
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x30]
lea rcx, str._n_t_tCreated_on__s_at__s_br___
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
lea rcx, str.__div_
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.14000ea30
mov rbx, qword [rsp + 0x5a0]
add rsp, 0x580
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008788
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov rdi, qword [rsp + 0x78]
mov r10, r9
mov rsi, qword [rsp + 0x70]
mov r11, r8
xor ebp, ebp
mov rcx, rdx
mov r8, r10
mov rdx, r11
mov eax, dword [rdi]
add eax, eax
mov dword [rsp + 0x50], eax
lea r9d, [rbp + 2]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
test edx, edx
js 0x140008804
cmp word [rsi], bp
mov eax, 0x80004005
cmove edx, eax
mov ecx, dword [rsp + 0x50]
mov eax, edx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
shr ecx, 1
dec ecx
mov dword [rdi], ecx
add rsp, 0x40
pop rdi
ret

Function at 0x1400094d4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x14001e818]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rsi, rdx
lea r8, str.Found_SupportedProtocols_registry_key
mov rbx, rcx
mov edx, 1
mov rcx, qword [rcx + 0x20]
call fcn.14000151c
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
call fcn.140008788
xor r14d, r14d
test eax, eax
js 0x140009575
cmp word [rsp + 0x50], 0x2a
jne 0x140009575
cmp word [rsp + 0x52], r14w
jne 0x140009575
mov rax, qword [rbx + 0x20]
lea r8, str.Verb_handler_supports_all_protocols_and_can_be_invoked_with_items_streamed_from_a_non_file_system_location.
mov dword [rax + 0x7104], r14d
jmp 0x140009600
mov edi, r14d
xor edx, edx
jmp 0x14000959c
mov rcx, qword [rbx + 0x20]
lea r9, [rbp + 0x160]
lea r8, str.Detected_support_for__s_protocol
mov edx, 1
call fcn.14000151c
inc edi
mov edx, edi
mov qword [rsp + 0x38], r14
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea r8, [rbp + 0x160]
mov qword [rsp + 0x28], r14
mov rcx, rsi
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
je 0x14000957c
mov rax, qword [rbx + 0x20]
test edi, edi
je 0x1400095ef
mov dword [rax + 0x7104], r14d
lea r8, str.Verb_handler_supports_multiple_protocols_and_can_be_invoked_with_items_streamed_from_a_non_file_system_location.
jmp 0x140009600
mov dword [rax + 0x7104], 2
lea r8, str.Verb_handler_does_not_support_any_protocols_and_cannot_be_invoked_with_items_streamed_from_a_non_file_system_location.
mov rcx, qword [rbx + 0x20]
xor edx, edx
call fcn.14000151c
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.14000ea30
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000b570
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x460
mov rax, qword [0x14001e818]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor r14d, r14d
mov rsi, r9
mov rbx, rdx
mov rbp, rcx
test r8, r8
jne 0x14000b5c6
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax + rax]
neg eax
sbb eax, eax
not eax
and eax, 0x80004005
jmp 0x14000b616
lea rax, [rsp + 0x30]
mov edx, 0x104
sub r8, rax
lea rcx, [rsp + 0x30]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x14000b5fb
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14000b5fb
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14000b5d8
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
neg rdx
mov word [rax], r14w
sbb eax, eax
not eax
and eax, 0x8007007a
test eax, eax
js 0x14000b6b8
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
nop dword [rax + rax]
test rbx, rbx
je 0x14000b659
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rbx
lea r8, str._s_s.html
mov edx, 0x104
lea rcx, [rsp + 0x240]
call fcn.14000d494
jmp 0x14000b69d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
nop dword [rax + rax]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x28], ebx
lea r8, str._sFileTypeVerifierLog__s__d.html
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x240]
call fcn.14000d494
test eax, eax
js 0x14000b6b8
mov rdx, rsi
lea rcx, [rsp + 0x240]
call qword [sym.imp.SHLWAPI.dll_SHStrDupW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14000ea30
mov rbx, qword [rsp + 0x490]
add rsp, 0x460
pop r14
pop rsi
pop rbp
ret
Function at 0x14000ce90
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x14001e818]
xor rax, rsp
mov qword [rbp + reloc.COMCTL32.dll_DSA_Create], rax
xor r12d, r12d
lea rax, [rsp + 0x30]
mov edi, 0x104
mov qword [rdx], r12
mov r14d, r12d
lea r8, [rsp + 0x30]
mov r9d, edi
sub rcx, rax
mov r15, rdx
lea rax, [r9 + 0x7ffffefa]
test rax, rax
je 0x14000cf07
movzx eax, word [rcx + r8]
test ax, ax
je 0x14000cf07
mov word [r8], ax
add r8, 2
sub r9, 1
jne 0x14000cee3
lea rax, [r8 - 2]
test r9, r9
mov rdx, rdi
lea rcx, [rsp + 0x30]
cmovne rax, r8
lea r8, [0x140012378]
mov word [rax], r12w
call fcn.14000d3bc
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14000cf77
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x14000d072
mov rcx, qword [rbp + 0x178]
mov edx, 0xc9
call fcn.140002ea8
mov esi, eax
jmp 0x14000d056
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], r12d
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call fcn.1400031d4
mov esi, eax
test eax, eax
jns 0x14000cfb5
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, 0xcf
call fcn.140002e6c
mov rcx, rbx
call fcn.140002f3c
jmp 0x14000d056
lea r8, [0x140012380]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14000d3bc
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14000cffe
mov rcx, qword [rbp + 0x178]
mov edx, 0xd5
call fcn.140002ea8
mov esi, eax
jmp 0x14000cfa8
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400031d4
mov esi, eax
test eax, eax
jns 0x14000d032
mov rcx, qword [rbp + 0x178]
mov r9d, eax
mov edx, QISearch
call fcn.140002e6c
mov rcx, rdi
call fcn.140002f3c
jmp 0x14000cfa8
mov rcx, rdi
call fcn.140002f3c
movsxd rax, dword [rsp + 0x20]
mov rcx, rbx
movsxd r14, dword [rsp + 0x24]
shl rax, 0x1f
or r14, rax
call fcn.140002f3c
mov esi, r12d
test esi, esi
jns 0x14000d072
mov rcx, qword [rbp + 0x178]
mov r9d, esi
mov edx, SHRestricted
call fcn.140002e6c
mov eax, esi
jmp 0x14000d077
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + reloc.COMCTL32.dll_DSA_Create]
xor rcx, rsp
call fcn.14000ea30
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14000e134
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x4d0]
sub rsp, 0x5d0
mov rax, qword [0x14001e818]
xor rax, rsp
mov qword [rbp + 0x4c0], rax
xor r15d, r15d
lea rdx, [rsp + 0x50]
mov qword [r8], r15
mov r14, r8
mov rsi, r9
mov qword [r9], r15
lea r8d, [r15 + 0x27]
call sub.ole32.dll_StringFromGUID2
mov ecx, eax
neg ecx
sbb ebx, ebx
not ebx
and ebx, 0x80004005
test eax, eax
je 0x14000e2db
lea r9, [rsp + 0x50]
lea r8, str.CLSID_s
lea edx, [r15 + 0x31]
lea rcx, [rbp - 0x60]
call fcn.14000d494
mov ebx, eax
test eax, eax
js 0x14000e2db
lea rax, str.InProcServer32
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r8, str.CLSID_s_s
lea edx, [r15 + 0x45]
lea rcx, [rbp + 0x10]
call fcn.14000d494
mov ebx, eax
test eax, eax
js 0x14000e2db
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x10]
lea rax, [rbp + 0xa0]
mov r9d, 0xffff
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000e2db
or rdi, 0xffffffffffffffff
lea rax, [rbp + 0xa0]
mov r9, rdi
inc r9
cmp word [rax + r9*2], r15w
jne 0x14000e24c
lea r8, [rbp + 0xa0]
mov qword [rsp + 0x28], r14
call fcn.14000e30c
mov ebx, eax
test eax, eax
js 0x14000e2db
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x208
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x60]
lea rax, [rbp + 0x2b0]
mov r9d, 0xffff
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14000e2db
lea rax, [rbp + 0x2b0]
inc rdi
cmp word [rax + rdi*2], r15w
jne 0x14000e2bb
mov r9, rdi
mov qword [rsp + 0x28], rsi
lea r8, [rbp + 0x2b0]
call fcn.14000e30c
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp + 0x4c0]
xor rcx, rsp
call fcn.14000ea30
mov rbx, qword [rsp + 0x608]
add rsp, 0x5d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000e44c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x14001e818]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, rcx
mov rax, rdx
lea rcx, [rsp + 0x38]
mov r9d, 0x20019
mov qword [rsp + 0x20], rcx
lea rdx, str.shellexContextMenuHandlers
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000e61d
movups xmm0, xmmword [0x140010cf0]
mov r14d, dword [rsi]
xor edi, edi
xor edx, edx
movdqu xmmword [rbp - 0x79], xmm0
jmp 0x14000e5e9
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x69]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000e5e5
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, str.SuppressionPolicy
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14000e543
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHRestricted]
nop dword [rax + rax]
test eax, eax
jne 0x14000e5d4
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x69]
call qword [sym.imp.SHELL32.dll_Ordinal_704]
nop dword [rax + rax]
test eax, eax
setne bl
test eax, eax
jne 0x14000e5a3
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x30]
lea r8, [rbp - 0x69]
mov dword [rsp + 0x30], 0x80
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14000e5a3
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x69]
call qword [sym.imp.SHELL32.dll_Ordinal_704]
nop dword [rax + rax]
test eax, eax
setne bl
test bl, bl
je 0x14000e5d4
mov rax, qword [rsp + 0x50]
sub rax, qword [rbp - 0x79]
jne 0x14000e5bb
mov rax, qword [rsp + 0x58]
sub rax, qword [rbp - 0x71]
test rax, rax
lea r8, [rsp + 0x50]
mov edx, 0x7fffffff
mov rcx, rsi
cmove edx, r14d
call fcn.14000e3b8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
inc edi
mov edx, edi
mov rcx, qword [rsp + 0x38]
lea r8, [rbp - 0x69]
mov r9d, 0x40
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x14000e4c3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14000ea30
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret