Function at 0x40a450
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44383a
mov eax, dword fs:[0]
push eax
sub esp, 0xa4c
mov eax, dword [0x467060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x469f34]
test eax, eax
jne 0x40a4bd
push 0xe4
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0xa54], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40a4af
mov ecx, eax
call fcn.0040dc50
jmp 0x40a4b1
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x469f34], eax
xor ecx, ecx
push 0xffffffffffffffff
push ecx
add eax, 0x78
mov word [ebp - 0xa50], cx
push eax
lea ecx, [ebp - 0xa50]
mov dword [ebp - 0xa3c], 7
mov dword [ebp - 0xa40], 0
call fcn.00405a00
xor eax, eax
push 0x206
mov dword [ebp - 4], 1
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.Fonts
lea eax, [ebp - 0x218]
push eax
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa38], ax
lea eax, [ebp - 0xa36]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [ebp - 0xa3c], 8
lea eax, [ebp - 0xa50]
cmovae eax, dword [ebp - 0xa50]
push str.font_segoeui.ttf
push eax
lea eax, [ebp - 0xa38]
push eax
call esi
push str.segoeui.ttf
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [ebp - 0xa3c], 8
lea eax, [ebp - 0xa50]
cmovae eax, dword [ebp - 0xa50]
push str.font_segoeuib.ttf
push eax
lea eax, [ebp - 0x830]
push eax
call esi
push str.segoeuib.ttf
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xa38]
push eax
xor bl, bl
call edi
mov esi, dword [sym.imp.GDI32.dll_AddFontResourceW]
test eax, eax
je 0x40a658
lea eax, [ebp - 0x420]
push eax
call esi
movzx ebx, bl
mov ecx, 1
test eax, eax
cmovne ebx, ecx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x830]
push eax
call edi
test eax, eax
je 0x40a679
lea eax, [ebp - 0x628]
push eax
call esi
test eax, eax
jne 0x40a681
test bl, bl
je 0x40a733
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0xa54]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionFonts
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xa54], 0
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40a6ca
lea eax, [ebp - 0xa54]
push eax
push str.segoeui.ttf
mov ecx, str.Segoe_UI_OpenType_
call fcn.00435dc0
jmp 0x40a6d2
push dword [ebp - 0xa54]
call esi
lea eax, [ebp - 0xa54]
push eax
push 2
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionFonts
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xa54], 0
call edi
test eax, eax
jne 0x40a70f
lea eax, [ebp - 0xa54]
push eax
push str.segoeuib.ttf
mov ecx, str.Segoe_UI_Bold_OpenType_
call fcn.00435dc0
jmp 0x40a717
push dword [ebp - 0xa54]
call esi
push 0
push 0
push 0x1d
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0xa3c], 8
jb 0x40a74b
push dword [ebp - 0xa50]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004413e6
mov esp, ebp
pop ebp
ret