Function at 0x14011c01c
Capabilities:
Check if file exists
Copy file
Get file attributes
Move file
Set file attributes

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1320
call fcn.140022990
sub rsp, rax
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov rax, qword [0x140191810]
xor rax, rsp
mov qword [rsp + 0x1318], rax
mov r15, r9
mov r13, r8
mov rbx, rdx
mov qword [rsp + 0x68], rcx
mov r12, qword [rsp + 0x1380]
xor esi, esi
mov r14d, esi
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x50], si
mov qword [rsp + 0x58], rsi
mov r8, rcx
mov edi, 0x104
mov edx, edi
lea rcx, [rsp + 0xef0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rsp + 0x68]
lea rdx, str.Process_font:__s
lea ecx, [rsi + 3]
call fcn.14011b20c
nop
lea rdx, [rsp + 0xef0]
lea rcx, [rsp + 0x70]
call fcn.14011cbe8
test al, al
jne 0x14011c0d6
lea rcx, [rsp + 0x50]
call fcn.14011d364
jmp 0x14011cb2e
lea rcx, [rsp + 0x70]
call fcn.14011cbb8
test al, al
je 0x14011c1ad
lea rcx, [rsp + 0x70]
call fcn.14011cb78
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x1100]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
lea r8, [rsp + 0x1100]
mov rdx, rdi
lea rcx, [rsp + 0xae0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rsp + 0x70]
call fcn.14011cbd0
mov rdx, rdi
lea rcx, [rsp + 0xae0]
test al, al
lea r8, str..ttc
jne 0x14011c166
lea r8, str..ttf
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0xef0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rsp + 0xae0]
mov rdx, rdi
lea rcx, [rsp + 0xef0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rdx, [rsp + 0xef0]
lea rcx, [rsp + 0x70]
call fcn.14011ccd4
jmp 0x14011c1c3
mov r8, qword [rsp + 0x68]
mov rdx, rdi
lea rcx, [rsp + 0xae0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x4a0]
call fcn.14011cd9c
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14011d488
nop
lea rcx, [rsp + 0x4a0]
call fcn.14011d364
nop
lea rcx, [rsp + 0x70]
call fcn.14011cb54
xor edx, edx
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0x1f0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea r8d, [rdx + 0x6c]
lea rcx, [rsp + 0x180]
call sub.VCRUNTIME140.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
call fcn.14011db20
movzx ecx, word [rax + 0x30]
mov dword [rsp + 0x200], ecx
lea rcx, [rsp + 0x88]
call fcn.14011d400
mov byte [rsp + 0x207], 1
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
call fcn.14011db20
mov r8, qword [rax]
mov edx, 0x20
lea rcx, [rsp + 0x20c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rsp + 0x88]
call fcn.14011d400
lea r8, [rsp + 0x20c]
lea rdx, str.Font_face_name_is__s
mov ecx, 3
call fcn.14011b2bc
mov dword [rsp + 0x180], esi
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
call fcn.14011db20
movzx ecx, word [rax + 0x30]
mov dword [rsp + 0x184], ecx
lea rcx, [rsp + 0x88]
call fcn.14011d400
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
call fcn.14011db20
mov cl, byte [rax + 0x28]
mov byte [rsp + 0x1e8], cl
lea rcx, [rsp + 0x88]
call fcn.14011d400
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
test rax, rax
je 0x14011cb24
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x180]
lea r8, [0x14011b784]
lea rdx, [rsp + 0x1f0]
mov rcx, rax
call qword [sym.imp.GDI32.dll_EnumFontFamiliesExW]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [rsp + 0x180], esi
je 0x14011c860
cmp dword [rsp + 0x188], esi
je 0x14011c860
cmp dword [rsp + 0x1390], esi
je 0x14011cb24
mov word [rsp + 0x4a0], si
mov qword [rsp + 0x4a8], rsi
lea rdx, str.Found_a_matching_font_in_the_system
mov ecx, 3
call fcn.14011b474
lea rcx, [rsp + 0x18c]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rdi, rax
mov qword [rsp + 0x80], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x14011c3e3
lea rdx, str.GetDC_failed_
lea ecx, [rax + 1]
call fcn.14011b57c
nop
lea rcx, [rsp + 0x4a0]
call fcn.14011d364
jmp 0x14011cb24
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rsi, rax
mov qword [rsp + 0x60], rax
mov rdx, rbx
lea rcx, [rsp + 0xc8]
call fcn.14011cf24
nop
mov rdx, rax
lea rcx, [rsp + 0x4a0]
call fcn.14011d488
nop
lea rcx, [rsp + 0xc8]
call fcn.14011d364
nop
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
xor r8d, r8d
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x50]
call fcn.14011db20
mov rbx, rax
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x4a0]
call fcn.14011db20
mov rdx, rbx
mov rcx, rax
call fcn.14011bf78
xor esi, esi
test eax, eax
sete bl
lea rcx, [rsp + 0x88]
call fcn.14011d400
nop
lea rcx, [rsp + 0xd8]
call fcn.14011d400
test bl, bl
je 0x14011c4bc
lea rdx, str.FontData_doesnt_match._Skip_this_font.
lea ecx, [rsi + 1]
call fcn.14011b4cc
jmp 0x14011c3d1
cmp dword [rsp + 0x1388], esi
je 0x14011c56d
xor r8d, r8d
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x4a0]
call fcn.14011db20
mov rsi, rax
mov dword [rsp + 0x60], 1
xor r8d, r8d
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x4a0]
call fcn.14011db20
mov rdi, rax
mov dword [rsp + 0x60], 3
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
call fcn.14011db20
mov rbx, rax
mov dword [rsp + 0x60], 7
xor r8d, r8d
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x50]
call fcn.14011db20
nop
mov r14d, 0xf
mov dword [rsp + 0x60], r14d
mov r9d, dword [rsi + 0x2c]
mov r8, qword [rdi + 0x20]
mov edx, dword [rbx + 0x2c]
mov rcx, qword [rax + 0x20]
call fcn.14011d78c
xor esi, esi
test eax, eax
mov bl, sil
jle 0x14011c56f
mov bl, 1
test r14b, 8
je 0x14011c587
and r14d, 0xfffffff7
lea rcx, [rsp + 0xd8]
call fcn.14011d400
nop
test r14b, 4
je 0x14011c5a0
and r14d, 0xfffffffb
lea rcx, [rsp + 0x88]
call fcn.14011d400
nop
nop
test r14b, 2
je 0x14011c5b8
and r14d, 0xfffffffd
lea rcx, [rsp + 0x110]
call fcn.14011d400
nop
test r14b, 1
je 0x14011c5cb
lea rcx, [rsp + 0x148]
call fcn.14011d400
test bl, bl
je 0x14011c3d1
mov edi, 1
lea rdx, str.Need_to_update_the_font
lea ecx, [rdi + 2]
call fcn.14011b314
mov ebx, 0x100
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x8d0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0xcf0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xae0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
mov r8, r13
lea r14d, [rbx + 4]
mov edx, r14d
lea rcx, [rsp + 0x1100]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rsp + 0xcf0]
mov edx, r14d
lea rcx, [rsp + 0x1100]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, str..tt2
mov edx, r14d
lea rcx, [rsp + 0x1100]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r8, r15
mov edx, r14d
lea rcx, [rsp + 0x6c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [0x14017541c]
mov edx, r14d
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov r8d, r14d
lea rdx, [rsp + 0x4b0]
lea rcx, [rsp + 0x50]
call fcn.14011b814
test eax, eax
je 0x14011c6d3
lea rcx, [rsp + 0x4b0]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x14011c6c5
test rax, rax
jne 0x14011c6ee
lea r8, [rsp + 0xae0]
mov rdx, r14
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edi, esi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x8d0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0xcf0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
lea r8, [rsp + 0xcf0]
mov rdx, r14
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rsp + 0x8d0]
mov rdx, r14
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rsp + 0x4b0]
mov rdx, r14
lea rcx, [rsp + 0x6c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
xor r8d, r8d
lea rdx, [rsp + 0x1100]
lea rcx, [rsp + 0xef0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14011c3d1
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x6c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14011c7e8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rsp + 0x6c0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14011c7e8
test al, 1
je 0x14011c7e8
xor eax, 1
mov edx, eax
lea rcx, [rsp + 0x6c0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov r8d, 5
lea rdx, [rsp + 0x6c0]
lea rcx, [rsp + 0x1100]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test edi, edi
jne 0x14011c81a
lea rdx, [rsp + 0x4b0]
lea rcx, [rsp + 0x50]
call fcn.14011b5d4
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.GDI32.dll_AddFontResourceW]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1d]
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_PostMessageW]
mov dword [r12], 1
lea rdx, str.Font_updated.__System_reboot_needed
mov ecx, 3
call fcn.14011b474
jmp 0x14011c3d1
mov ebx, 0x100
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0xcf0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xae0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
lea r8, [rsp + 0xcf0]
mov rdx, rdi
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r8, [rsp + 0x4b0]
mov rdx, rdi
lea rcx, [rsp + 0x6c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rdx, [rsp + 0xae0]
lea rcx, [rsp + 0x60]
call fcn.14011bcdc
test eax, eax
je 0x14011cb24
cmp dword [rsp + 0x60], esi
je 0x14011ca4b
movzx edi, si
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0xcf0]
mov qword [rsp + 0x38], rax
lea r14d, [rbx + 4]
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x6c0]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
lea rcx, [rsp + 0x4b0]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x14011c94c
mov r12d, 1
cmp rax, 8
jae 0x14011c986
lea esi, [r12 + 7]
sub rsi, rax
lea r8, [0x140190590]
mov rdx, rbx
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
sub rsi, r12
jne 0x14011c969
movzx r9d, di
add di, r12w
lea r8, [0x1401cc4f4]
mov edx, 8
lea rcx, [rsp + 0x4a0]
call fcn.140008418
mov ecx, 0x4000
movzx eax, di
add di, r12w
cmp ax, cx
ja 0x14011cb24
lea rcx, [rsp + 0x4a0]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x14011c9c8
add rax, rax
lea rcx, [rsp + 0x4c0]
sub rcx, rax
lea r8, [rsp + 0x4a0]
mov rdx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rsp + 0x4b0]
mov rdx, r14
lea rcx, [rsp + 0x6c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rsp + 0xcf0]
mov rdx, r14
lea rcx, [rsp + 0x6c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rdx, [rsp + 0x6c0]
lea rcx, [rsp + 0x60]
call fcn.14011bcdc
test eax, eax
je 0x14011cb24
cmp dword [rsp + 0x60], esi
jne 0x14011c986
mov rdi, r14
jmp 0x14011ca51
mov r12d, 1
mov r8, r15
mov rdx, rdi
lea rcx, [rsp + 0x8d0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rsp + 0x6c0]
mov rdx, rdi
lea rcx, [rsp + 0x8d0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rcx, [rsp + 0x8d0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14011caa9
test r12b, al
je 0x14011caa9
xor eax, r12d
mov edx, eax
lea rcx, [rsp + 0x8d0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor r8d, r8d
lea rdx, [rsp + 0x8d0]
lea rcx, [rsp + 0xef0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea r8, [rsp + 0x8d0]
mov ecx, 3
test eax, eax
jne 0x14011cae1
lea rdx, str.Failed_to_copy_to__s
call fcn.14011b264
jmp 0x14011cb24
lea rdx, str.Successfully_copied_to__s
call fcn.14011b36c
lea rdx, [rsp + 0x6c0]
lea rcx, [rsp + 0x50]
call fcn.14011b5d4
lea rcx, [rsp + 0x8d0]
call qword [sym.imp.GDI32.dll_AddFontResourceW]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1d]
mov ecx, 0xffff
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14011cb24
lea rcx, [rsp + 0x50]
call fcn.14011d364
mov rcx, qword [rsp + 0x1318]
xor rcx, rsp
call fcn.140021f10
add rsp, 0x1320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret