Function at 0x100e7460
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10250d3e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
push edi
push dword [ebp + 8]
mov dword [ebp - 0x28], eax
call sym.WMCommon.dll_private:_bool___thiscall_WM::GMFontChange::ChangeFontReg_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
test al, al
jne 0x100e74a5
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push esi
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0x10], 0
jne 0x100e74c3
pop esi
mov al, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x70]
push edi
push eax
call sym.WMCommon.dll_private:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_WM::GMFontChange::GetFontFileName_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
test al, al
jne 0x100e7510
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
cmp dword [esi + 0x14], 8
jb 0x100e74fa
mov esi, dword [esi]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x100e7510
mov byte [ebp + 0xf], al
jmp 0x100e771d
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
push 0x208
push eax
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 2
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2a8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 5
xor eax, eax
mov dword [ebp - 0x30], 0
push str.Fonts
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.1001a600
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2a8]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
lea edx, [ecx + 2]
mov word [ebp - 0x88], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e75a4
sub ecx, edx
lea eax, [ebp - 0x2a8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.1001a600
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xa0]
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_WM::GMFileName::JoinFileName_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x100e7618
mov ecx, eax
call fcn.1001a5a0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0xa0]
call fcn.1001a5a0
lea ecx, [ebp - 0x88]
call fcn.1001a5a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.1001a5a0
push 4
xor eax, eax
mov dword [ebp - 0x30], 0
push str..FOT
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.1001a600
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xa0]
push edi
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_WM::GMFilePathUtils::ChangeExtension_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x24]
cmp eax, esi
je 0x100e76a9
mov ecx, eax
call fcn.1001a5a0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x24], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x14], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0xa0]
call fcn.1001a5a0
lea ecx, [ebp - 0x40]
call fcn.1001a5a0
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x58]
cmp dword [edi + 0x14], 8
jb 0x100e76cf
mov edi, dword [edi]
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
push ecx
cmovae eax, dword [ebp - 0x24]
push edi
push eax
push 0
call dword [sym.imp.GDI32.dll_CreateScalableFontResourceW]
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.GDI32.dll_AddFontResourceW]
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x24]
mov byte [ebp + 0xf], 1
call fcn.1001a5a0
lea ecx, [ebp - 0x58]
call fcn.1001a5a0
lea ecx, [ebp - 0x70]
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xf]
pop esi
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc