joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007d820
Capabilities:
Parse url

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x118], rbx
mov r15, r9
mov r14, r8
mov rbp, rdx
mov rsi, rcx
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
add rsi, 0x28
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
lea edi, [rax + 8]
xor r12d, r12d
mov word [rsp + 0x128], r12w
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x128]
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.14007a490
nop
mov word [rsp + 0x128], r12w
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x128]
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.14007a490
nop
mov dword [rsp + 0x60], 0x68
mov r13, qword [rsp + 0x40]
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], edi
mov r12, qword [rsp + 0x28]
mov qword [rsp + 0xa8], r12
mov dword [rsp + 0xb0], edi
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
mov rdx, r13
mov rcx, rbp
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov rdx, r12
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov eax, dword [rsp + 0x74]
mov dword [r15], eax
test r12, r12
je 0x14007d978
mov rax, qword [rsp + 0x38]
sub rax, r12
sar rax, 1
lea rdx, [rax + rax]
mov rax, r12
cmp rdx, 0x1000
jb 0x14007d96f
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007d96f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.140113c9c
nop
test r13, r13
je 0x14007d9bb
mov rdx, qword [rsp + 0x50]
sub rdx, r13
sar rdx, 1
add rdx, rdx
mov rax, r13
cmp rdx, 0x1000
jb 0x14007d9b3
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007d9b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.140113c9c
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140082880
Capabilities:
Contain obfuscated stackstrings
Encrypt data using aes via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rbp - 8], rax
cmp qword [r9], 0
mov rsi, r9
mov r14, qword [rbp + 0x40]
mov rdi, rdx
mov rbx, qword [rbp + 0x48]
mov eax, 1
jne 0x1400828e2
lea r9d, [rax + 0x17]
mov dword [rsp + 0x20], 0xf0000008
lea r8, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140082a19
mov rcx, qword [r14]
test rcx, rcx
je 0x1400828f0
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x140082a19
movzx eax, byte [rdi]
lea rdx, [rbp - 0x28]
mov rcx, qword [rsi]
xor r14d, r14d
mov byte [rbp - 0x1c], al
xor r9d, r9d
movzx eax, byte [rdi + 1]
mov byte [rbp - 0x1b], al
movzx eax, byte [rdi + 2]
lea r8d, [r14 + 0x1c]
mov byte [rbp - 0x1a], al
movzx eax, byte [rdi + 3]
mov byte [rbp - 0x19], al
movzx eax, byte [rdi + 4]
mov byte [rbp - 0x18], al
movzx eax, byte [rdi + 5]
mov byte [rbp - 0x17], al
movzx eax, byte [rdi + 6]
mov byte [rbp - 0x16], al
movzx eax, byte [rdi + 7]
mov byte [rbp - 0x15], al
movzx eax, byte [rdi + 8]
mov byte [rbp - 0x14], al
movzx eax, byte [rdi + 9]
mov byte [rbp - 0x13], al
movzx eax, byte [rdi + 0xa]
mov byte [rbp - 0x12], al
movzx eax, byte [rdi + 0xb]
mov byte [rbp - 0x11], al
movzx eax, byte [rdi + 0xc]
mov byte [rbp - 0x10], al
movzx eax, byte [rdi + 0xd]
mov byte [rbp - 0xf], al
movzx eax, byte [rdi + 0xe]
mov byte [rbp - 0xe], al
movzx eax, byte [rdi + 0xf]
mov qword [rsp + 0x28], rbx
mov byte [rbp - 0xd], al
mov dword [rbp - 0x28], 0x208
mov dword [rbp - 0x24], 0x660e
mov dword [rbp - 0x20], 0x10
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x140082a19
mov rcx, qword [rbx]
lea r8, [rbp - 0x30]
xor r9d, r9d
mov dword [rbp - 0x30], 1
lea edx, [r14 + 4]
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x140082a19
mov rcx, qword [rbx]
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x2c]
mov dword [rbp - 0x2c], r14d
lea edx, [r14 + 3]
mov dword [rbp - 0x30], 4
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
test eax, eax
je 0x140082a19
mov rcx, qword [rbx]
lea r8, [rbp - 0x28]
xor r9d, r9d
mov dword [rbp - 0x28], 0x33323839
lea edx, [r14 + 1]
mov dword [rbp - 0x24], 0x39323334
mov dword [rbp - 0x20], 0x38393038
mov dword [rbp - 0x1c], 0x36343733
call qword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140113c40
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400b8650
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, reloc.mfc140u.dll_CHandleMap::CHandleMap
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r12, r8
mov r15, rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x60], r8
mov dword [rsp + 0x48], 0
lea rdx, [0x14014f8c8]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
lea rdx, [rsp + 0x38]
mov rcx, r12
call fcn.1400fd010
mov qword [rsp + 0x40], rax
lea rdx, [0x140154858]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov r14, rax
mov dword [rsp + 0x48], 2
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov esi, eax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdi, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
mov dword [rsp + 0x20], esi
mov r9, rdi
mov r8d, ebx
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
mov rdx, r14
mov rcx, r12
call qword [sym.imp.mfc140u.dll_Ordinal_1667]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, r12
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x1400b87bd
mov dword [rsp + 0x30], 0x190
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x70]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea rdx, [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
jmp 0x1400b87d4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x14014f8c8]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, r12
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, r15
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140113c40
lea r11, [rsp + reloc.mfc140u.dll_CHandleMap::CHandleMap]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400bd6d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0xb0]
mov rsi, rdx
mov edx, dword [r8 + 0x14]
xor ecx, ecx
mov rdi, r9
mov r14, r8
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
movzx r9d, word [r14 + 8]
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xor r8d, r8d
mov qword [rsp + 0x28], r14
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov rbp, rax
call qword [sym.imp.GDI32.dll_GetDIBits]
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [r14 + 0x20]
lea r9, [rsp + 0x40]
mov edx, dword [r14]
mov rbx, rax
mov eax, 0x4d42
mov dword [rsp + 0x4e], r15d
mov word [rsp + 0x48], ax
lea r8d, [rcx*4]
mov qword [rsp + 0x20], r15
mov ecx, dword [r14 + 0x14]
lea eax, [rdx + 0xe]
add ecx, 0xe
add eax, r8d
add ecx, edx
mov dword [rsp + 0x52], eax
add ecx, r8d
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x4a], ecx
lea r8d, [r15 + 0xe]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [r14 + 0x20]
lea r9, [rsp + 0x40]
mov rdx, r14
mov qword [rsp + 0x20], r15
mov rcx, rbx
lea r8d, [r8*4 + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [r14 + 0x14]
lea r9, [rsp + 0x40]
mov rdx, rbp
mov qword [rsp + 0x20], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140113c40
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c7fb0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_NTTerminal_Services
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c80a2
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x78], 4
mov dword [rsp + 0x70], 0x3ff
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
lea rdx, str.fDisableAutoReconnect
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
lea rdx, [0x14014f8c8]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
test ebx, ebx
jne 0x1400c805e
cmp dword [rsp + 0x68], ebx
lea rdx, str.Enabled
je 0x1400c8065
lea rdx, [0x140179610]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rbx, rax
mov edx, 0x4b0
mov rcx, rdi
call sub.mfc140u.dll_CMFCRibbonGallery::GetCompactSize
mov rdx, rbx
mov rcx, rax
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1400c80c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rdi, rcx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftTerminal_Server_Client
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c823f
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x88], 4
mov dword [rsp + 0x80], CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
lea rdx, [0x1401794f8]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
lea rdx, str.AuthenticationLevelOverride
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
lea rdx, [0x14014f8c8]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
test ebx, ebx
jne 0x1400c81e3
cmp dword [rsp + 0x78], ebx
jne 0x1400c81e3
lea rdx, str.Not_Prompt
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rbx, rax
mov edx, 0x4b3
mov rcx, rdi
call sub.mfc140u.dll_CMFCRibbonGallery::GetCompactSize
mov rcx, rax
mov rdx, rbx
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
mov edx, 0x444
mov rcx, rdi
call sub.mfc140u.dll_CMFCRibbonGallery::GetCompactSize
mov rcx, rax
xor edx, edx
call sub.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable
jmp 0x1400c821c
lea rdx, str.Prompt
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rbx, rax
mov edx, 0x4b3
mov rcx, rdi
call sub.mfc140u.dll_CMFCRibbonGallery::GetCompactSize
mov rcx, rax
mov rdx, rbx
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1400c8260
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREPoliciesMicrosoftWindows_NTTerminal_Services
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c8353
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x78], 4
mov dword [rsp + 0x70], 0x3ff
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
lea rdx, str.KeepAliveEnable
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
lea rdx, [0x14014f8c8]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
test ebx, ebx
jne 0x1400c830f
cmp dword [rsp + 0x68], 1
lea rdx, str.Enabled
je 0x1400c8316
lea rdx, [0x140179610]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rbx, rax
mov edx, 0x4ae
mov rcx, rdi
call sub.mfc140u.dll_CMFCRibbonGallery::GetCompactSize
mov rdx, rbx
mov rcx, rax
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1400c8370
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlTerminal_ServerWinStationsRDP_Tcp
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c84ac
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x78], 4
mov dword [rsp + 0x70], 0x3ff
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
lea rdx, str.UserAuthentication
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
lea rdx, [0x14014f8c8]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
test ebx, ebx
jne 0x1400c8451
cmp dword [rsp + 0x68], ebx
jne 0x1400c8451
lea rdx, str.Less_Secure
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rbx, rax
mov edx, 0x4a9
mov rcx, rdi
call sub.mfc140u.dll_CMFCRibbonGallery::GetCompactSize
mov rcx, rax
mov rdx, rbx
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
jmp 0x1400c84a1
lea rdx, str.Secure
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rbx, rax
mov edx, 0x4a9
mov rcx, rdi
call sub.mfc140u.dll_CMFCRibbonGallery::GetCompactSize
mov rcx, rax
mov rdx, rbx
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
mov edx, CMFCRibbonInfo::XImage::XImage
mov rcx, rdi
call sub.mfc140u.dll_CMFCRibbonGallery::GetCompactSize
mov rcx, rax
xor edx, edx
call sub.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1400c84d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlTerminal_Server
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c860c
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x78], 4
mov dword [rsp + 0x70], 0x3ff
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
lea rdx, str.fDenyTSConnections
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
lea rdx, [0x14014f8c8]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
test ebx, ebx
jne 0x1400c85c8
cmp dword [rsp + 0x68], ebx
jne 0x1400c85c8
lea rdx, str.Allowed
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rbx, rax
mov edx, 0x514
mov rcx, rdi
call sub.mfc140u.dll_CMFCRibbonGallery::GetCompactSize
mov rcx, rax
mov rdx, rbx
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
mov edx, CMFCRibbonInfo::XImage::XImage
mov rcx, rdi
call sub.mfc140u.dll_CMFCRibbonGallery::GetCompactSize
mov rcx, rax
xor edx, edx
call sub.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable
jmp 0x1400c8601
lea rdx, str.Not_Allowed
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rbx, rax
mov edx, 0x514
mov rcx, rdi
call sub.mfc140u.dll_CMFCRibbonGallery::GetCompactSize
mov rcx, rax
mov rdx, rbx
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1400cc710
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rsi, rdx
mov r14, rcx
cmp qword [rdx], 0
je 0x1400cc74e
mov eax, 0x80070057
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0xc8], 0
call fcn.1400ccc20
test eax, eax
js 0x1400cc8a0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov qword [rsp + 0x50], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
mov qword [rsp + 0x58], rax
mov r12d, dword [r14 + 4]
mov r15d, dword [r14 + 0xc]
sub r15d, r12d
mov r13d, dword [r14]
mov r14d, dword [r14 + 8]
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsi], rax
test rax, rax
jne 0x1400cc7cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xc0], 1
mov eax, 1
jmp 0x1400cc8a0
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rsi, rax
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0x40], 0x40cc0020
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r15d
mov r9d, r14d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
xor r14d, r14d
mov dword [rsp + 0xc0], r14d
jmp 0x1400cc85c
test rsi, rsi
je 0x1400cc876
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
test rdi, rdi
je 0x1400cc884
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
test rbx, rbx
je 0x1400cc89d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov eax, r14d
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret