joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007a890
Capabilities:
Encrypt or decrypt via wincrypt
Print debug messages

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x100
mov rax, qword [0x1401d61d8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov qword [r11 - 0x10], rbx
lea rax, [rsp + 0x48]
mov qword [r11 - 0x18], rbp
mov rbx, r8
mov r8d, dword [rsp + 0x138]
mov rbp, rdx
mov rdx, qword [rsp + 0x130]
mov qword [r11 - 0x20], rsi
mov rsi, r9
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
mov qword [r11 - 0x28], r14
lea rax, [rsp + 0x50]
xor r14d, r14d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
call fcn.14007fcb0
mov eax, dword [rsi]
cmp dword [rsp + 0x140], r14d
je 0x14007a998
mov rcx, qword [rsp + 0x48]
lea r8d, [r14 + 1]
mov dword [rsp + 0x40], eax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov edi, eax
test eax, eax
je 0x14007a9fd
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx], rax
mov rdx, rbp
mov r8d, dword [rsi]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x40]
lea r8d, [r14 + 1]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov dword [rsp + 0x30], eax
xor edx, edx
mov rax, qword [rbx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov edi, eax
test eax, eax
jne 0x14007a9fd
jmp 0x14007a9ee
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx], rax
mov rdx, rbp
mov r8d, dword [rsi]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], rbp
lea r8d, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov edi, eax
test eax, eax
jne 0x14007a9fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090005
jne 0x14007a9ee
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx], r14
mov dword [rsi], r14d
mov rcx, qword [rsp + 0x48]
mov r14, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xf8]
test rcx, rcx
je 0x14007aa2d
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007aa3d
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007aa4f
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14010bb40
add rsp, 0x100
pop rdi
ret
Function at 0x14007b3d0
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.1400780e0
nop
mov word [rsp + 0x128], r12w
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x128]
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.1400780e0
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 0x14007b528
mov rax, qword [rsp + 0x38]
sub rax, r12
sar rax, 1
lea rdx, [rax + rax]
mov rax, r12
cmp rdx, 0x1000
jb 0x14007b51f
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b51f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14010bb9c
nop
test r13, r13
je 0x14007b56b
mov rdx, qword [rsp + 0x50]
sub rdx, r13
sar rdx, 1
add rdx, rdx
mov rax, r13
cmp rdx, 0x1000
jb 0x14007b563
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b563
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.14010bb9c
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 0x14007fcb0
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 [0x1401d61d8]
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 0x14007fd12
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 0x14007fe49
mov rcx, qword [r14]
test rcx, rcx
je 0x14007fd20
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x14007fe49
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 0x14007fe49
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 0x14007fe49
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 0x14007fe49
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.14010bb40
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 0x1400b3360
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 [0x1401d61d8]
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, [0x140144758]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
lea rdx, [rsp + 0x38]
mov rcx, r12
call fcn.1400f66f0
mov qword [rsp + 0x40], rax
lea rdx, [0x140149428]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
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 0x1400b34cd
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_]
jmp 0x1400b34e4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x140144758]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
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.14010bb40
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 0x1400b83e0
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 [0x1401d61d8]
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.14010bb40
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c2b70
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 0x1400c2c62
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, [0x140144758]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
test ebx, ebx
jne 0x1400c2c1e
cmp dword [rsp + 0x68], ebx
lea rdx, str.Enabled
je 0x1400c2c25
lea rdx, [0x14016cc00]
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 0x1400c2c80
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 0x1400c2dff
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x88], 4
mov dword [rsp + 0x80], CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
lea rdx, [0x14016cae8]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
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, [0x140144758]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
test ebx, ebx
jne 0x1400c2da3
cmp dword [rsp + 0x78], ebx
jne 0x1400c2da3
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 0x1400c2ddc
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 0x1400c2e20
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 0x1400c2f13
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, [0x140144758]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
test ebx, ebx
jne 0x1400c2ecf
cmp dword [rsp + 0x68], 1
lea rdx, str.Enabled
je 0x1400c2ed6
lea rdx, [0x14016cc00]
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 0x1400c2f30
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 0x1400c306c
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, [0x140144758]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
test ebx, ebx
jne 0x1400c3011
cmp dword [rsp + 0x68], ebx
jne 0x1400c3011
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 0x1400c3061
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 0x1400c3090
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 0x1400c31cc
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, [0x140144758]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
test ebx, ebx
jne 0x1400c3188
cmp dword [rsp + 0x68], ebx
jne 0x1400c3188
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 0x1400c31c1
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