joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f1ac0
Capabilities:
Get hostname
Get session user name
Initialize winsock library

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x810
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rsp + 0x800], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 0x101
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rdx, [rsp + 0x1f0]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
call sub.mfc140u.dll_AfxFieldText
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x38]
mov rcx, qword [rax + 8]
call fcn.140050eb0
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov ecx, 0x202
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400f1bb5
mov byte [rsp + 0x7ff], al
mov edx, 0x3ff
lea rcx, [rsp + 0x400]
call qword [sym.imp.WS2_32.dll_gethostname]
lea rdx, [rsp + 0x400]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
lea rcx, [rsp + 0x40]
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]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x800]
xor rcx, rsp
call fcn.140113c40
add rsp, 0x810
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400f2920
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x50], 4
mov dword [rsp + 0x48], 0x3ff
call fcn.1400f2f00
xor r8d, r8d
lea rdx, str.SOFTWAREWOW6432NodeJavaSoftJava_UpdatePolicy
test al, al
mov r9d, 1
lea rax, [rsp + 0x58]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
jne 0x1400f296d
lea rdx, str.SOFTWAREJavaSoftJava_UpdatePolicy
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400f29a5
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.EnableJavaUpdate
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x40], 0
setne al
add rsp, 0x38
ret
Function at 0x1400f2f60
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 6
setae al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140113c40
add rsp, 0x158
ret
Function at 0x1400f4570
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x98
xor edx, edx
mov qword [rsp + 0x38], rcx
lea rax, str.print
mov qword [rsp + 0x28], rdx
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x20], WSAStartup
mov dword [rsp + 0x50], 3
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
add rsp, 0x98
ret

Function at 0x1400f4fa0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rsi
sub rsp, 0x288
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x1400f517c
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400f501c
cmp eax, 2
jne 0x1400f5009
lea rcx, str.Key_not_found._n
call fcn.14010bca0
jmp 0x1400f517c
lea rcx, str.Error_opening_key._n
call fcn.14010bca0
xor eax, eax
jmp 0x1400f5181
mov qword [rsp + 0x2b8], rdi
mov rcx, rsi
mov qword [rsp + 0x280], r14
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
xor r14d, r14d
cmp word [rsi + rcx*2 - 2], 0x5c
lea rdi, [rsi + rcx*2]
je 0x1400f5057
mov eax, 0x5c
mov word [rdi], ax
add rdi, 2
mov word [rdi], r14w
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x40], operator
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400f5148
mov qword [rsp + 0x2b0], rbx
lea rbx, [rsp + 0x60]
sub rbx, rdi
nop word [rax + rax]
mov edx, 0x208
mov rax, rdi
nop dword [rax + rax]
lea rcx, [rdx + 0x7ffffdf6]
test rcx, rcx
je 0x1400f50e2
movzx ecx, word [rbx + rax]
test cx, cx
je 0x1400f50e2
mov word [rax], cx
add rax, 2
sub rdx, 1
jne 0x1400f50c0
test rdx, rdx
lea rcx, [rax - 2]
mov rdx, rsi
cmovne rcx, rax
mov word [rcx], r14w
mov rcx, rbp
call fcn.1400f4fa0
test eax, eax
je 0x1400f5140
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x40], operator
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400f50b0
mov rbx, qword [rsp + 0x2b0]
mov word [rdi - 2], r14w
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r14, qword [rsp + 0x280]
mov rdi, qword [rsp + 0x2b8]
test eax, eax
jne 0x1400f5015
mov eax, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140113c40
add rsp, 0x288
pop rsi
pop rbp
ret
Function at 0x1400f5870
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x58
mov qword [rax - 0x48], 0xfffffffffffffffe
mov r15, rcx
mov dword [rax + 0x10], 0
lea rdx, [0x140166320]
lea rcx, [rax + 0x18]
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 fcn.1400fe460
mov r14, rax
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov rbp, rax
mov dword [rsp + 0x98], 1
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov esi, eax
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdi, rax
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
mov rcx, r14
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 + 0xa8]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
mov r8, r15
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.140006490
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov r8, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, 1
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400f59c0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
movzx ebx, dl
mov rdi, r8
xor edx, edx
mov rsi, rcx
lea rcx, [rsp + 0x38]
lea r8d, [rdx + 0x58]
call sub.VCRUNTIME140.dll_memset
xor ebp, ebp
mov dword [rsp + 0x20], WSAStartup
mov rcx, rsi
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x24], 0x40
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rdi
mov qword [rsp + 0x38], rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test bl, bl
je 0x1400f5a58
mov rcx, qword [rsp + 0x88]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400f7310
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 [r8], 0
mov r14, r9
mov rbx, qword [rbp + 0x40]
mov rsi, r8
mov rdi, rcx
mov eax, 1
jne 0x1400f7371
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 0x1400f74a8
mov rcx, qword [r14]
test rcx, rcx
je 0x1400f737f
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x1400f74a8
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 0x1400f74a8
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 0x1400f74a8
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 0x1400f74a8
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 0x1400f8000
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400f80b2
cmp byte [rcx + 0x72], 0
je 0x1400f80b2
mov rax, qword [rcx]
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x1400f8073
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400f8077
sub eax, 1
je 0x1400f807b
sub eax, 2
je 0x1400f80b2
xor al, al
jmp 0x1400f80b4
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400f80a9
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400f8073
cmp byte [rbx + 0x72], 0
sete al
jmp 0x1400f80b4
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140113c40
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400f97a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x280
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x2b0], rbx
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
xor dil, dil
call sub.mfc140u.dll_AfxFieldText
mov rdx, qword [rax + 8]
add rdx, 0x250
lea rcx, [rsp + 0x40]
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_CFileDialog::SetTemplate]
mov rcx, rbp
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov r8, rax
mov rdx, 0xffffffff80000001
mov r9d, 0x20019
lea rcx, [rsp + 0x48]
call fcn.1400f3cd0
mov rbx, qword [rsp + 0x48]
test eax, eax
jne 0x1400f98b2
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov dword [rsp + 0x30], 0x400
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400f98b5
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x1400f98b5
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400f98ad
test al, 1
jne 0x1400f98b5
shr rax, 1
cmp word [rsp + rax*2 + 0x6e], 0
jne 0x1400f98b5
mov dil, 1
jmp 0x1400f98b5
xor dil, dil
test rbx, rbx
je 0x1400f98c5
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
test rbx, rbx
je 0x1400f98e0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, rbp
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
movzx eax, dil
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140113c40
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400fbb40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
cmp ebx, 0xffffffff
jne 0x1400fbb7f
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1400fd630
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x290], rbx
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x30], 0
call qword [sym.imp.mfc140u.dll_Ordinal_296]
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400fd6b1
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140113c40
mov rbx, qword [rsp + 0x290]
add rsp, 0x270
pop rdi
ret

Function at 0x1400fe310
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x280
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rcx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x30], 0
call qword [sym.imp.mfc140u.dll_Ordinal_296]
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400fe431
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rdx, str.AnakageCommon_
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov rbp, rax
mov dword [rsp + 0x30], 3
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
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
mov rcx, r14
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 + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, r14
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140113c40
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400fe6a0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x280
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rcx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x30], 0
call qword [sym.imp.mfc140u.dll_Ordinal_296]
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400fe7c1
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
lea rdx, [0x140182f50]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov rbp, rax
mov dword [rsp + 0x30], 3
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
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
mov rcx, r14
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 + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, r14
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140113c40
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400ff820
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0xfe0
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rsp + 0xfd0], rax
mov r10, rdx
mov qword [rsp + 0x20], rcx
mov rbx, rcx
lea r9, [rsp + 0x30]
mov rcx, r10
xor r8d, r8d
xor edx, edx
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
mov rax, rbx
mov rcx, qword [rsp + 0xfd0]
xor rcx, rsp
call fcn.140113c40
add rsp, 0xfe0
pop rbx
ret

Function at 0x1400ff890
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x20]
mov rbx, rcx
mov dword [rsp + 0x20], 0x101
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140113c40
add rsp, 0x250
pop rbx
ret