Function at 0x140023e80
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 [section..data]
xor rax, rsp
mov qword [rbp + 0x690], rax
xor r14d, r14d
call qword [sym.imp.wtli.dll_WtGetDefaultLanguage]
test ax, ax
je 0x140024194
movzx edx, ax
call fcn.14002bb80
mov r15, rax
lea r8, [rsp + 0x48]
mov rcx, rax
call fcn.14002b9f0
mov rdi, rax
test rax, rax
je 0x140024186
mov byte [rsp + 0x70], r14b
mov r12d, 1
mov ebx, r12d
lea rsi, [0x140043600]
cmp byte [0x140043600], r14b
jne 0x140023f8b
mov rcx, qword [0x140042770]
test rcx, rcx
jne 0x140023f53
mov ecx, 0x438
call qword [sym.imp.mfc120u.dll_Ordinal_1484]
test rax, rax
je 0x140023f3d
mov rcx, rax
call fcn.14002b540
mov rcx, rax
jmp 0x140023f40
mov rcx, r14
test rcx, rcx
je 0x140023f4e
mov qword [0x140042770], rcx
jmp 0x140023f53
mov ebx, r14d
jmp 0x140023f8b
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], 0x104
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.14002b2b0
mov ebx, eax
mov r8, rsi
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCR120.dll_strcpy_s]
cmp ebx, r12d
jne 0x140024186
mov word [rbp + 0x280], r14w
mov word [rbp + 0x80], r14w
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_290]
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.MSVCR120.dll__wsplitpath]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_290]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_8291]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_8291]
lea rdx, [rsp + 0x40]
lea rcx, [0x140042920]
call qword [sym.imp.mfc120u.dll_Ordinal_1496]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_4467]
test eax, eax
jne 0x140024042
mov r14d, r12d
jmp 0x14002416f
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
lea rdx, [rbp + 0x280]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_1665]
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_290]
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.mfc120u.dll_Ordinal_1030]
mov word [rbp + 0x480], r14w
mov qword [rsp + 0x58], r14
lea rdx, str.Word_List__d
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_290]
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.mfc120u.dll_Ordinal_1030]
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 0x14002416f
mov rax, qword [rsp + 0x40]
mov edi, dword [rax - 0x10]
inc edi
lea rdx, str.Name
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc120u.dll_Ordinal_290]
nop
mov rsi, qword [rax]
lea ebx, [rdi + rdi]
mov edx, edi
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_4855]
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.mfc120u.dll_Ordinal_1030]
or edx, 0xffffffff
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc120u.dll_Ordinal_12110]
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.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
test r15, r15
je 0x140024194
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r14d
mov rcx, qword [rbp + 0x690]
xor rcx, rsp
call fcn.14002c960
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