Function at 0x140001210
Capabilities:
Create directory
Set registry value
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x390
mov rax, qword [0x14007b008]
xor rax, rsp
mov qword [rsp + 0x380], rax
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x104
call fcn.1400398c0
lea rcx, str.LOCALAPPDATA
call fcn.14003df30
lea rcx, [rsp + 0x60]
mov r8, rax
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001260
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001270
lea rcx, [rsp + 0x60]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001290
movups xmm0, xmmword [str.MicrosoftWindowsFonts]
movzx eax, byte [0x140072810]
xor edx, edx
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x140072808]
movsd qword [rcx + 0x10], xmm0
mov byte [rcx + 0x18], al
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor edx, edx
lea rcx, [rsp + 0x170]
mov r8d, 0x208
call fcn.1400398c0
lea rcx, [0x140072760]
call fcn.14003df20
lea rcx, [rsp + 0x170]
mov r8, rax
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140001300
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140001310
lea rcx, [rsp + 0x170]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140001330
movaps xmm0, xmmword [str.MicrosoftWindowsFontsAdSlavicF.ttf]
xor edi, edi
movaps xmm1, xmmword [0x140072790]
xor r9d, r9d
mov eax, dword [0x1400727c8]
xor r8d, r8d
movups xmmword [rcx], xmm0
mov edx, 0x40000000
mov qword [rsp + 0x30], rdi
movaps xmm0, xmmword [0x1400727a0]
movups xmmword [rcx + 0x10], xmm1
mov dword [rsp + 0x28], pe_nt_image_headers64
movaps xmm1, xmmword [0x1400727b0]
movups xmmword [rcx + 0x20], xmm0
mov dword [rsp + 0x20], 2
movsd xmm0, qword [0x1400727c0]
movups xmmword [rcx + 0x30], xmm1
movsd qword [rcx + 0x40], xmm0
mov dword [rcx + 0x48], eax
movzx eax, word [0x1400727cc]
mov word [rcx + 0x4c], ax
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r9, [rsp + 0x5c]
mov qword [rsp + 0x20], rdi
mov rcx, rax
lea rdx, [0x14007bc30]
mov r8d, 0x155b4
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionFonts
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], edi
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf013f
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14000154d
mov rbx, qword [rsp + 0x50]
lea rcx, [rsp + 0x170]
xor edx, edx
mov r8d, 0x208
call fcn.1400398c0
lea rcx, [0x140072760]
call fcn.14003df20
lea rcx, [rsp + 0x170]
mov r8, rax
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x140001470
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140001480
lea rdx, [rsp + 0x170]
sub rdx, 2
nop
cmp word [rdx + 2], di
lea rdx, [rdx + 2]
jne 0x1400014a0
mov eax, dword [0x1400727c8]
mov r9d, 1
movaps xmm0, xmmword [str.MicrosoftWindowsFontsAdSlavicF.ttf]
xor r8d, r8d
movaps xmm1, xmmword [0x140072790]
mov rcx, rbx
movups xmmword [rdx], xmm0
mov dword [rsp + 0x28], 0x208
movaps xmm0, xmmword [0x1400727a0]
movups xmmword [rdx + 0x10], xmm1
movaps xmm1, xmmword [0x1400727b0]
movups xmmword [rdx + 0x20], xmm0
movsd xmm0, qword [0x1400727c0]
movups xmmword [rdx + 0x30], xmm1
movsd qword [rdx + 0x40], xmm0
mov dword [rdx + 0x48], eax
movzx eax, word [0x1400727cc]
mov word [rdx + 0x4c], ax
lea rax, [rsp + 0x170]
lea rdx, [0x1400727d0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9d, 0x1040
lea r8, str.Adobe_Font_package
lea rdx, str.All_fonts_were_installed_successfully
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov al, 1
jmp 0x14000154f
xor al, al
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140010140
mov rbx, qword [rsp + 0x3a0]
add rsp, 0x390
pop rdi
ret