Function at 0x1002eca0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c5a24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x2c0
push esi
push edi
push 0x74
call fcn.100c27e9
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x100eea8c]
add ecx, 0x18b4
push ecx
mov ecx, eax
call fcn.10022a90
mov esi, dword [0x100eea8c]
mov dword [0x100f2468], eax
lea eax, [ebp - 0x258]
push 0x104
push eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002ed45
sub ecx, edx
lea eax, [ebp - 0x258]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.10003310
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x28]
mov eax, edx
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
push 0x11
push str._fonts_tahoma.ttf
cmp eax, 0x11
jb 0x1002eda2
cmp edx, 0x10
lea esi, [ebp - 0x3c]
lea eax, [ecx + 0x11]
cmovae esi, dword [ebp - 0x3c]
add esi, ecx
mov dword [ebp - 0x2c], eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov byte [esi + 0x11], 0
lea eax, [ebp - 0x3c]
mov esi, dword [ebp - 0x20]
add esp, 0xc
jmp 0x1002edaf
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
push 0x11
call fcn.1000a030
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x1002ee20
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ee16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002ee16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c2c4d
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x24], eax
nop word [eax + eax]
mov ecx, dword [esi + 0x94]
movd xmm0, dword [eax + 0x100d466c]
lea eax, [ebp - 0x18]
cmp dword [ebp - 0x48], 0x10
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x5c]
cvtdq2ps xmm0, xmm0
push ecx
push eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x18], 0
movss dword [ebp - 0x1c], xmm0
call fcn.10032020
add esp, 8
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x1002ee89
xor ecx, ecx
jmp 0x1002ef43
lea ecx, [ebp - 0x2cc]
call fcn.1004aaa0
mov ecx, 0x1d
lea edi, [ebp - 0x150]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0x108], 0
jne 0x1002eefd
mov esi, dword [ebp - 0x40]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002eeb4
sub ecx, edx
lea eax, [ecx + esi]
cmp eax, esi
jbe 0x1002eed6
mov cl, byte [eax - 1]
cmp cl, 0x2f
je 0x1002eed6
cmp cl, 0x5c
je 0x1002eed6
dec eax
cmp eax, esi
ja 0x1002eec4
movss xmm0, dword [ebp - 0x1c]
sub esp, 8
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push eax
push str._s___.0fpx
lea eax, [ebp - 0x108]
push 0x28
push eax
call fcn.10031e30
add esp, 0x18
mov eax, dword [ebp - 0x44]
lea esi, [ebp - 0x150]
movss xmm0, dword [ebp - 0x1c]
lea edi, [ebp - 0xd8]
mov ecx, 0x1d
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xd8]
push eax
movss dword [ebp - 0xc8], xmm0
call fcn.1004ab30
mov esi, dword [ebp - 0x20]
mov ecx, eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x100eea78], ecx
add eax, 4
mov dword [ebp - 0x24], eax
cmp eax, 0xc
jb 0x1002ee40
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x1002ef91
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002ef87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002ef87
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100c2c4d
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret