Function at 0x1000e590
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a4c7
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x100ca00c]
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 ebx, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
push 0
push esi
mov dword [ebp - 4], 0
call fcn.10083065
add esp, 8
test eax, eax
je 0x1000e739
push 0x410
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jne 0x1000e632
xor ecx, ecx
jmp 0x1000e649
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e640
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call fcn.10009d50
push str.Fontsmsyh.ttf
lea edx, [ebp - 0x12c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x15c]
call fcn.10006370
add esp, 4
mov esi, eax
lea eax, [ebp - 0x144]
cmp eax, esi
je 0x1000e6ca
mov eax, dword [ebp - 0x130]
cmp eax, 0x10
jb 0x1000e6a3
inc eax
lea ecx, [ebp - 0x144]
push eax
push dword [ebp - 0x144]
call fcn.10005d20
push esi
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x130], 0xf
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x144], 0
call fcn.10005c50
mov eax, dword [ebp - 0x148]
cmp eax, 0x10
jb 0x1000e6e8
inc eax
lea ecx, [ebp - 0x15c]
push eax
push dword [ebp - 0x15c]
call fcn.10005d20
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x148], 0xf
mov dword [ebp - 0x14c], 0
mov byte [ebp - 0x15c], 0
cmp eax, 0x10
jb 0x1000e725
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.10005d20
cmp dword [ebp - 0x130], 0x10
lea esi, [ebp - 0x144]
cmovae esi, dword [ebp - 0x144]
lea edi, [ebx + 4]
push edi
call fcn.10025c50
add esp, 4
test eax, eax
je 0x1000e7a0
lea eax, [ebp - 0x11c]
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
push eax
lea eax, [ebp - 0x164]
mov dword [ebp - 0x164], str.FT_Init_FreeType_failed
xorps xmm0, xmm0
mov byte [ebp - 0x160], 1
push eax
movq qword [ebp - 0x11c], xmm0
call fcn.1007d69c
add esp, 8
mov dword [ebp - method.std::exception.virtual_0], vtable.std::runtime_error.0
lea eax, [ebp - 0x120]
push 0x100c8384
push eax
call fcn.1007dd83
add ebx, 8
push ebx
push 0
push esi
push dword [edi]
call fcn.10021930
add esp, 0x10
test eax, eax
je 0x1000e80c
lea eax, [ebp - 0x11c]
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
push eax
lea eax, [ebp - 0x164]
mov dword [ebp - 0x164], str.FT_New_Face_failed__there_is_probably_a_problem_with_your_font_file_
xorps xmm0, xmm0
mov byte [ebp - 0x160], 1
push eax
movq qword [ebp - 0x11c], xmm0
call fcn.1007d69c
add esp, 8
mov dword [ebp - method.std::exception.virtual_0], vtable.std::runtime_error.0
lea eax, [ebp - 0x120]
push 0x100c8384
push eax
call fcn.1007dd83
push 0x756e6963
push dword [ebx]
call fcn.10022ea0
mov eax, dword [ebp - 0x130]
add esp, 8
cmp eax, 0x10
jb 0x1000e839
inc eax
lea ecx, [ebp - 0x144]
push eax
push dword [ebp - 0x144]
call fcn.10005d20
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.1001a147
mov esp, ebp
pop ebp
ret 4