joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140058be0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
mov eax, 0x8090
call fcn.14010f350
sub rsp, rax
mov rax, qword [0x1401dd1d8]
xor rax, rsp
mov qword [rsp + 0x8080], rax
xor ebp, ebp
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rbp
mov rdi, rdx
mov qword [rsp + 0x50], rbp
mov rsi, rcx
mov qword [rsp + 0x48], rbp
xor r9d, r9d
mov qword [rsp + 0x40], rbp
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rdi
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140058cd1
mov qword [rsp + 0x80c0], rbx
mov ebx, ebp
nop
mov qword [rsp + 0x38], rbp
lea r9, [rsp + 0x64]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x80]
mov qword [rsp + 0x28], rbp
mov edx, ebx
mov rcx, rdi
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x64], 0x3fff
mov word [rsp + 0x80], bp
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140058cc1
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
mov rdx, rdi
mov rcx, rsi
mov r8, rax
call fcn.14004ce40
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x140058c60
mov rbx, qword [rsp + 0x80c0]
mov rcx, qword [rsp + 0x8080]
xor rcx, rsp
call fcn.14010f260
add rsp, 0x8090
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400681e0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov byte [rcx + 0x28c20], 0
add rcx, 0x29268
lea rdx, [0x1401497d8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
lea rcx, [rbx + 0x29260]
lea rdx, [0x1401497d8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140065da0
Function at 0x140076f70
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rdi, rdx
lea rdx, str.C:Windowsiassist_
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
lea rdx, [0x14015ecf8]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
lea r8, [0x14014a9e0]
lea rdx, [0x14015ed68]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
lea r8, [0x140150708]
lea rdx, [0x14015ed10]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
lea rdx, [0x1401587d4]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov rbx, rax
test rax, rax
je 0x140077016
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rax, [rsp + 0x20]
mov qword [rsp + 0x38], rax
lea rdx, [0x1401497d8]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov rbx, rax
lea rdx, [0x14015ed6c]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov r8, rbx
mov dl, 1
mov rcx, rax
call fcn.140104150
lea rcx, [rsp + 0x60]
call fcn.1400fd5c0
nop
lea rdx, str.hosts.txt
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [0x1401497d8]
lea rcx, [0x1401df3d8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140077150
Capabilities:
Copy file

Disassembly:
push rbx
push rdi
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, rcx
cmp byte [rcx + 0x180], 0
jne 0x14007724f
xor r9d, r9d
xor r8d, r8d
mov edx, 0x184
mov rcx, qword [rcx + 0x1c8]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, str.C:WindowsSystem32Driversetchosts
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
lea rcx, [rsp + 0x50]
call fcn.1400fd5c0
nop
lea rdx, str.hosts.txt
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rbx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rsp + 0x58]
call fcn.1400fd5c0
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov rdx, rax
mov rcx, rdi
call fcn.140077260
lea rdx, [0x1401df3d8]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov rdx, rax
mov rcx, rdi
call fcn.140077590
mov rcx, rdi
call fcn.1400770d0
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x140078d60
Capabilities:
Reference http user-agent string

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x450
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401dd1d8]
xor rax, rsp
mov qword [rsp + reloc.mfc140u.dll_CD2DRadialGradientBrush::CD2DRadialGradientBrush], rax
mov ebx, edx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
add rcx, 0x28
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsi + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsi + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsi + 0x50]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsi + 0x60]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsi + 0x68]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov dword [rsi + 0x20], ebx
mov dword [rsi + 0x30], 0
mov dword [rsp + 0x20], 0x400
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call sub.urlmon.dll_ObtainUserAgentString
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsi + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov dword [rsi + 0x48], 0x84000000
mov dword [rsi + 0x4c], 0
mov dword [rsi + 0x58], 0x50
mov rax, rsi
mov rcx, qword [rsp + reloc.mfc140u.dll_CD2DRadialGradientBrush::CD2DRadialGradientBrush]
xor rcx, rsp
call fcn.14010f260
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14007aee0
Capabilities:
Encrypt or decrypt via wincrypt
Print debug messages

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x100
mov rax, qword [0x1401dd1d8]
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.140080730
mov eax, dword [rsi]
cmp dword [rsp + 0x140], r14d
je 0x14007afe8
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 0x14007b04d
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 0x14007b04d
jmp 0x14007b03e
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 0x14007b04d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090005
jne 0x14007b03e
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 0x14007b07d
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007b08d
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007b09f
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14010f260
add rsp, 0x100
pop rdi
ret
Function at 0x14007ba20
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.140078690
nop
mov word [rsp + 0x128], r12w
lea r9, [rsp + 0x110]
lea r8, [rsp + 0x128]
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.140078690
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 0x14007bb78
mov rax, qword [rsp + 0x38]
sub rax, r12
sar rax, 1
lea rdx, [rax + rax]
mov rax, r12
cmp rdx, 0x1000
jb 0x14007bb6f
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007bb6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.14010f2bc
nop
test r13, r13
je 0x14007bbbb
mov rdx, qword [rsp + 0x50]
sub rdx, r13
sar rdx, 1
add rdx, rdx
mov rax, r13
cmp rdx, 0x1000
jb 0x14007bbb3
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007bbb3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.14010f2bc
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 0x140080730
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 [0x1401dd1d8]
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 0x140080792
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 0x1400808c9
mov rcx, qword [r14]
test rcx, rcx
je 0x1400807a0
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x1400808c9
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 0x1400808c9
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 0x1400808c9
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 0x1400808c9
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.14010f260
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 0x1400b4de0
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 [0x1401dd1d8]
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, [0x1401497d8]
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.1400f91c0
mov qword [rsp + 0x40], rax
lea rdx, [0x14014e588]
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 0x1400b4f4d
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 0x1400b4f64
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x1401497d8]
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.14010f260
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 0x1400b9e60
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 [0x1401dd1d8]
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.14010f260
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400c4670
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 0x1400c4762
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, [0x1401497d8]
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 0x1400c471e
cmp dword [rsp + 0x68], ebx
lea rdx, str.Enabled
je 0x1400c4725
lea rdx, [0x140172210]
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