Function at 0x140023430
Capabilities:
Copy file
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x6b8]
sub rsp, 0x7a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x14003c008]
xor rax, rsp
mov qword [rbp + 0x690], rax
xor r14d, r14d
call qword [sym.imp.wtli.dll_WtGetDefaultLanguage]
test ax, ax
je 0x140023749
movzx edx, ax
call fcn.14002b3f0
mov r15, rax
lea r8, [rsp + 0x48]
mov rcx, rax
call fcn.14002b260
mov rdi, rax
test rax, rax
je 0x14002373b
mov byte [rsp + 0x70], r14b
mov r12d, 1
mov ebx, r12d
lea rsi, [0x140043530]
cmp byte [0x140043530], r14b
jne 0x140023540
mov rcx, qword [0x140042770]
test rcx, rcx
jne 0x140023508
mov ecx, 0x438
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonLinkCtrl::XElementButtonLinkCtrl]
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400234f2
mov rcx, rax
call fcn.14002adb0
mov rcx, rax
jmp 0x1400234f5
mov rcx, r14
test rcx, rcx
je 0x140023503
mov qword [0x140042770], rcx
jmp 0x140023508
mov ebx, r14d
jmp 0x140023540
mov rax, qword [rcx]
call qword [rax + 0x30]
mov r8, rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], operator
mov qword [rsp + 0x20], rsi
or r9d, 0xffffffff
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, rsi
call fcn.14002ab20
mov ebx, eax
mov r8, rsi
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
cmp ebx, r12d
jne 0x14002373b
mov word [rbp + 0x280], r14w
mov word [rbp + 0x80], r14w
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
nop
lea rax, [rbp + 0x280]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x80]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CPngImage::LoadFromBuffer]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CPngImage::LoadFromBuffer]
lea rdx, [rsp + 0x40]
lea rcx, [0x140042908]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
jne 0x1400235f7
mov r14d, r12d
jmp 0x140023724
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
lea rdx, [rbp + 0x280]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
mov r8d, r12d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov word [rbp + 0x480], r14w
mov qword [rsp + 0x58], r14
lea rdx, str.Word_List__d
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
xor r8d, r8d
mov rdx, qword [rax]
lea rcx, [rbp + 0x480]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, [rbp + 0x480]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140023724
mov rax, qword [rsp + 0x40]
mov edi, dword [rax - 0x10]
inc edi
lea rdx, str.Name
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
nop
mov rsi, qword [rax]
lea ebx, [rdi + rdi]
mov edx, edi
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, r12d
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
or edx, 0xffffffff
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
test ebx, ebx
cmove r14d, r12d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x40]
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]
test r15, r15
je 0x140023749
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r14d
mov rcx, qword [rbp + 0x690]
xor rcx, rsp
call fcn.14002c160
lea r11, [rsp + 0x7a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret