Function at 0x14011b728
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.140022ac0
sub rsp, rax
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov rax, qword [0x140198858]
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 + 0x1100]
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.14011a918
nop
lea rdx, [rsp + 0x1100]
lea rcx, [rsp + 0x70]
call fcn.14011c2f4
test al, al
jne 0x14011b7e2
lea rcx, [rsp + 0x50]
call fcn.14011ca64
jmp 0x14011c239
lea rcx, [rsp + 0x70]
call fcn.14011c2c4
test al, al
je 0x14011b8b9
lea rcx, [rsp + 0x70]
call fcn.14011c284
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0xef0]
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 + 0xef0]
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.14011c2dc
mov rdx, rdi
lea rcx, [rsp + 0xae0]
test al, al
lea r8, str..ttc
jne 0x14011b872
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 + 0x1100]
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 + 0x1100]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rdx, [rsp + 0x1100]
lea rcx, [rsp + 0x70]
call fcn.14011c3e0
jmp 0x14011b8cf
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.14011c4a8
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14011cb88
nop
lea rcx, [rsp + 0x4a0]
call fcn.14011ca64
nop
lea rcx, [rsp + 0x70]
call fcn.14011c260
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.14011d21c
movzx ecx, word [rax + 0x30]
mov dword [rsp + 0x200], ecx
lea rcx, [rsp + 0x88]
call fcn.14011cb00
mov byte [rsp + 0x207], 1
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
call fcn.14011d21c
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.14011cb00
lea r8, [rsp + 0x20c]
lea rdx, str.Font_face_name_is__s
mov ecx, 3
call fcn.14011a9c8
mov dword [rsp + 0x180], esi
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
call fcn.14011d21c
movzx ecx, word [rax + 0x30]
mov dword [rsp + 0x184], ecx
lea rcx, [rsp + 0x88]
call fcn.14011cb00
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
call fcn.14011d21c
mov cl, byte [rax + 0x28]
mov byte [rsp + 0x1e8], cl
lea rcx, [rsp + 0x88]
call fcn.14011cb00
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
test rax, rax
je 0x14011c22f
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x180]
lea r8, [0x14011ae90]
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 0x14011bf6b
cmp dword [rsp + 0x188], esi
je 0x14011bf6b
cmp dword [rsp + 0x1390], esi
je 0x14011c22f
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.14011ab80
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 0x14011baef
lea rdx, str.GetDC_failed_
lea ecx, [rax + 1]
call fcn.14011ac88
nop
lea rcx, [rsp + 0x4a0]
call fcn.14011ca64
jmp 0x14011c22f
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 + 0xc0]
call fcn.14011c62c
nop
mov rdx, rax
lea rcx, [rsp + 0x4a0]
call fcn.14011cb88
nop
lea rcx, [rsp + 0xc0]
call fcn.14011ca64
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.14011d21c
mov rbx, rax
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x4a0]
call fcn.14011d21c
mov rdx, rbx
mov rcx, rax
call fcn.14011b684
xor esi, esi
test eax, eax
sete bl
lea rcx, [rsp + 0x88]
call fcn.14011cb00
nop
lea rcx, [rsp + 0xd8]
call fcn.14011cb00
test bl, bl
je 0x14011bbc8
lea rdx, str.FontData_doesnt_match._Skip_this_font.
lea ecx, [rsi + 1]
call fcn.14011abd8
jmp 0x14011badd
cmp dword [rsp + 0x1388], esi
je 0x14011bc79
xor r8d, r8d
lea rdx, [rsp + 0x148]
lea rcx, [rsp + 0x4a0]
call fcn.14011d21c
mov rsi, rax
mov dword [rsp + 0x60], 1
xor r8d, r8d
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x4a0]
call fcn.14011d21c
mov rdi, rax
mov dword [rsp + 0x60], 3
xor r8d, r8d
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
call fcn.14011d21c
mov rbx, rax
mov dword [rsp + 0x60], 7
xor r8d, r8d
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x50]
call fcn.14011d21c
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.14011ce84
xor esi, esi
test eax, eax
mov bl, sil
jle 0x14011bc7b
mov bl, 1
test r14b, 8
je 0x14011bc93
and r14d, 0xfffffff7
lea rcx, [rsp + 0xd8]
call fcn.14011cb00
nop
test r14b, 4
je 0x14011bcab
and r14d, 0xfffffffb
lea rcx, [rsp + 0x88]
call fcn.14011cb00
nop
test r14b, 2
je 0x14011bcc3
and r14d, 0xfffffffd
lea rcx, [rsp + 0x110]
call fcn.14011cb00
nop
test r14b, 1
je 0x14011bcd6
lea rcx, [rsp + 0x148]
call fcn.14011cb00
test bl, bl
je 0x14011badd
mov edi, 1
lea rdx, str.Need_to_update_the_font
lea ecx, [rdi + 2]
call fcn.14011aa20
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 + 0xef0]
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 + 0xef0]
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 + 0xef0]
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, [0x14017c63c]
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.14011af20
test eax, eax
je 0x14011bdde
lea rcx, [rsp + 0x4b0]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x14011bdd0
test rax, rax
jne 0x14011bdf9
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 + 0xef0]
lea rcx, [rsp + 0x1100]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14011badd
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x6c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14011bef3
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 0x14011bef3
test al, 1
je 0x14011bef3
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 + 0xef0]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test edi, edi
jne 0x14011bf25
lea rdx, [rsp + 0x4b0]
lea rcx, [rsp + 0x50]
call fcn.14011ace0
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.14011ab80
jmp 0x14011badd
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.14011b3e8
test eax, eax
je 0x14011c22f
cmp dword [rsp + 0x60], esi
je 0x14011c156
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 0x14011c057
mov r12d, 1
cmp rax, 8
jae 0x14011c091
lea esi, [r12 + 7]
sub rsi, rax
lea r8, [0x140197240]
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 0x14011c074
movzx r9d, di
add di, r12w
lea r8, [0x1401d2774]
mov edx, 8
lea rcx, [rsp + 0x4a0]
call fcn.1400088c8
mov ecx, 0x4000
movzx eax, di
add di, r12w
cmp ax, cx
ja 0x14011c22f
lea rcx, [rsp + 0x4a0]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x14011c0d3
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.14011b3e8
test eax, eax
je 0x14011c22f
cmp dword [rsp + 0x60], esi
jne 0x14011c091
mov rdi, r14
jmp 0x14011c15c
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 0x14011c1b4
test r12b, al
je 0x14011c1b4
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 + 0x1100]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea r8, [rsp + 0x8d0]
mov ecx, 3
test eax, eax
jne 0x14011c1ec
lea rdx, str.Failed_to_copy_to__s
call fcn.14011a970
jmp 0x14011c22f
lea rdx, str.Successfully_copied_to__s
call fcn.14011aa78
lea rdx, [rsp + 0x6c0]
lea rcx, [rsp + 0x50]
call fcn.14011ace0
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 0x14011c22f
lea rcx, [rsp + 0x50]
call fcn.14011ca64
mov rcx, qword [rsp + 0x1318]
xor rcx, rsp
call fcn.140022430
add rsp, 0x1320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret