joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011c10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1401dd1d8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140011c3d
xor eax, eax
jmp 0x140011d92
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140011c68
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140011c68
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140011d92
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140011d85
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140011cab
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140011cd6
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140011d8a
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
js 0x140011d85
cmp eax, 1
jle 0x140011d45
cmp eax, 3
jne 0x140011d85
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140011d8a
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140011d73
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140011d85
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov eax, edi
jne 0x140011d8a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14010f260
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140012470
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x1400124a0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov rdx, qword [rax]
test rdx, rdx
je 0x1400124c8
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400124ca
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140012530
test ecx, ecx
jle 0x1400124fe
cmp rbx, rbp
mov rcx, r14
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x50]
add r14, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x38]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140012530
cmp qword [rdi + 0x80], 0
je 0x140012530
mov rcx, rdi
call fcn.140010c40
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
or eax, dword [rax]
xor dh, ah
add al, byte [rax + 0x2000bd0c]
invalid

Function at 0x140012560
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x140012590
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x1400125b8
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400125ba
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140012613
test ecx, ecx
jle 0x1400125ee
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r14, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140012613
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140012613
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
or byte [rdi*4 + 0x2f432000], 0
Function at 0x140014f60
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1401dd1d8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbp, rcx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x38], 0
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
lea rdx, [0x14014e590]
lea rcx, [rsp + 0x40]
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
mov rcx, rbp
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov dword [rsp + 0x38], 2
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov esi, eax
lea rcx, [rsp + 0x40]
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
mov rcx, rbp
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, rbp
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbp
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14001508e
mov rcx, rbp
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, rbp
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14010f260
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400260a0
Capabilities:
Write file on windows

Disassembly:
test rdx, rdx
je 0x140026157
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
call fcn.140027840
lea rdx, [0x14014e5c8]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov rdi, rax
test rax, rax
je 0x140026145
mov edx, 1
lea rcx, [rbx + 8]
mov r9, rax
lea r8d, [rdx + 0xd]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov edx, 1
lea rcx, [rbx + 0x18]
mov r9, rdi
lea r8d, [rdx + 0x27]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp word [rbx + 0x26], 8
jne 0x140026120
movsxd rdx, dword [rbx + 0x40]
lea rcx, [rbx + 0x44]
mov r9, rdi
mov r8d, 4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov edx, dword [rbx + 0x44c]
mov r9, rdi
mov rcx, qword [rbx + 0x450]
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rbx
call fcn.140027990
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400394e0
Capabilities:
Create new key via cryptacquirecontext
Hash data using sha1
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
sub rsp, 0x48
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rsi, rcx
lea rax, vtable.CCrypto.0
mov qword [rcx], rax
xor ebx, ebx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
lea r14, [rcx + 0x18]
mov qword [r14], rbx
add rcx, 0x20
mov edx, 0x400
call sub.mfc140u.dll_CMapStringToString::CMapStringToString
nop
mov dword [rsp + 0x20], ebx
lea r9d, [rbx + 1]
xor r8d, r8d
xor edx, edx
lea rcx, [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400395be
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
je 0x1400395e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7ff6ffea
je 0x1400395e6
lea rax, [rsp + 0x78]
mov qword [rsp + 0x88], rax
lea rdx, [0x14014d85c]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
movsxd rcx, eax
lea rax, [0x140000000]
lea rdx, [rax + 0x150dd0]
lea rdx, [rdx + rcx*2]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
mov r8d, 0xffffffff
mov rdx, rbx
mov rcx, rax
call fcn.140105fe0
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8004
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop
mov rax, rsi
add rsp, 0x48
pop r14
pop rdi
pop rsi
pop rbx
ret
mov dword [rsp + 0x20], 0xf0000028
mov r9d, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400395be
call qword [sym.imp.KERNEL32.dll_GetLastError]
movsxd rbx, eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x88], rax
lea rdx, [0x14014d85c]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov rdi, rax
lea rax, [0x140000000]
lea rdx, [rax + 0x150d70]
lea rdx, [rdx + rbx*2]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
mov r8d, 0xffffffff
mov rdx, rdi
mov rcx, rax
call fcn.140105fe0
jmp 0x1400395d9
Function at 0x140039920
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x30
cmp qword [rcx + 8], 0
mov rsi, rdx
mov rdi, rcx
je 0x1400399f5
lea r14, [rcx + 0x18]
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1400399f5
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rdi + 8]
xor ebx, ebx
xor r9d, r9d
mov qword [r14], rbx
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov edx, 0x8004
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400399f5
mov rcx, qword [rdi + 0x10]
lea r15, [rdi + 0x10]
test rcx, rcx
je 0x14003999b
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov qword [r15], rbx
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
mov ebx, eax
mov rcx, rsi
add ebx, ebx
call qword [sym.imp.mfc140u.dll_Ordinal_6717]
mov rcx, qword [r14]
xor r9d, r9d
mov rdx, rax
mov r8d, ebx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400399f5
mov r8, qword [r14]
mov r9d, 1
mov rcx, qword [rdi + 8]
mov edx, 0x6602
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x1400399f5
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov al, 1
jmp 0x140039a00
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x140039bd0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x20]
mov rbx, rdx
mov rdi, rcx
xor edx, edx
add rcx, 0x20
call qword [rax + 0x70]
mov rax, qword [rdi + 0x20]
lea rcx, [rdi + 0x20]
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx + 8]
call qword [rax + 0x88]
mov rax, qword [rdi + 0x20]
lea rcx, [rdi + 0x20]
call qword [rax + 0xa8]
lea rcx, [rdi + 0x20]
call sub.mfc140u.dll_CDaoFieldExchange::Default
mov ecx, dword [rbx + 0x10]
mov rbp, rax
xor r9d, r9d
mov dword [rsp + 0x40], ecx
mov rcx, qword [rdi + 0x10]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rbp
lea r8d, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x140039c60
mov rcx, rbp
call sub.mfc140u.dll_operator_1
xor al, al
jmp 0x140039cad
mov rax, qword [rdi + 0x20]
lea rcx, [rdi + 0x20]
mov edx, dword [rsp + 0x40]
call qword [rax + 0x70]
mov rax, qword [rdi + 0x20]
lea rcx, [rdi + 0x20]
mov r8d, dword [rsp + 0x40]
mov rdx, rbp
call qword [rax + 0x88]
mov rax, qword [rdi + 0x20]
lea rcx, [rdi + 0x20]
call qword [rax + 0xa8]
mov rax, qword [rdi + 0x20]
lea rcx, [rdi + 0x20]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x68]
mov rcx, rbp
call sub.mfc140u.dll_operator_1
mov al, 1
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x140039cd0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [rcx + 0x20]
mov rbp, rcx
add rcx, 0x20
mov r14, rdx
call qword [rax + 0x78]
mov r8, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
mov rbx, rax
lea rdi, [rax + rax]
mov rdx, rdi
call qword [r8 + WSAStartup]
lea rcx, [rbp + 0x20]
call sub.mfc140u.dll_CDaoFieldExchange::Default
mov rcx, qword [rbp + 0x10]
mov rsi, rax
xor r9d, r9d
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rsi
lea r8d, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x140039d4f
mov rcx, rsi
call sub.mfc140u.dll_operator_1
xor al, al
jmp 0x140039d8b
xor edx, edx
mov rcx, r14
lea r8, [rdx - 1]
call sub.mfc140u.dll_CMFCToolTipCtrl::SetHotRibbonButton
mov edx, dword [rsp + 0x60]
mov r8, 0xffffffffffffffff
mov rcx, r14
call sub.mfc140u.dll_CMFCToolTipCtrl::SetHotRibbonButton
mov r8d, dword [rsp + 0x60]
mov rdx, rsi
mov rcx, qword [r14 + 8]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rsi
call sub.mfc140u.dll_operator_1
mov al, 1
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140049910
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x2c0
mov qword [r11 - 0x258], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x1401dd1d8]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r15, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [r11 - 0x248]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x68], operator
xor r12d, r12d
mov dword [rsp + 0x64], r12d
mov ecx, 0x1f402
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov ecx, 0xfa01
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0xa0]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea rdx, [0x1401497d8]
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140049a99
mov ebx, r12d
mov dword [rsp + 0x6c], 0xfa00
mov dword [rsp + 0x70], 0xfa00
mov word [rsi], r12w
mov byte [r14], 0
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x70]
mov r8, rsi
mov edx, ebx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140049a91
mov r9, rsi
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x248]
call fcn.140048a90
mov r9, r14
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [rbp + 0x248]
call fcn.140048a90
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x140049a20
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, CMapStringToOb::~CMapStringToOb
mov rcx, rbp
call sub.mfc140u.dll_CMFCRibbonGallery::GetCompactSize
mov rcx, rax
mov edx, 1
call sub.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable
nop
lea rcx, [rsp + 0x88]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14010f260
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14004e4e0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14004e586
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.iAssist_instance
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov rbx, rax
lea rdx, str.AppIsAllReadyRunning_in_closing
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov r9d, 0xffffffff
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.1400591a0
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov al, 1
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor al, al
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x14004f460
Capabilities:
Set file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
lea rdx, [0x14018a678]
lea rcx, [rsp + 0x48]
call fcn.1400fb9d0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov rdx, rax
mov rcx, rbx
call fcn.140059040
lea rdx, [0x140189eb8]
lea rcx, [rsp + 0x50]
call fcn.1400fb9d0
nop
lea rdx, [0x140158f68]
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 rcx, rax
lea rdx, [0x14014a9e0]
call fcn.1400dfca0
lea rcx, [rsp + 0x58]
call fcn.1400fd5c0
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
lea rdx, [0x14014a9e0]
call fcn.1400dffa0
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rsp + 0x58]
call fcn.1400fd5c0
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rsp + 0x58]
call fcn.1400fd5c0
mov rcx, rax
call fcn.1400f7520
lea rdx, [0x14018af78]
lea rcx, [rsp + 0x58]
call fcn.1400fb9d0
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov rdx, rax
mov rcx, rbx
call fcn.140059040
nop
lea rcx, [rsp + 0x50]
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]
add rsp, 0x30
pop rbx
ret
Function at 0x140056450
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rdx
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov rcx, rax
call fcn.1400f7cf0
test al, al
je 0x1400564aa
mov rdx, rbx
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov rcx, rax
call fcn.1400db470
test al, al
je 0x1400564aa
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
nop
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]

Function at 0x1400587c0
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, r8
mov byte [0x1401def20], 0
mov rsi, r8
mov rdi, rdx
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rcx, [0x14004f5b0]
call qword [sym.imp.USER32.dll_EnumWindows]
movzx ebx, byte [0x1401def20]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rsi, qword [rsp + 0x38]
movzx eax, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret