Function at 0x10023c00
Capabilities:
Get common file path
Query or enumerate registry value

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 0x1003351c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3a0
mov eax, dword [0x1003f00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x378], edx
mov esi, ecx
push 0x104
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 7
push str.Fonts_
lea ecx, [ebp - 0x390]
mov dword [ebp - 0x380], 0
mov dword [ebp - 0x37c], 0xf
mov byte [ebp - 0x390], 0
call fcn.100243c0
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023c98
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x390]
call fcn.10024510
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x350], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [ebp - 0x340], xmm0
mov byte [eax], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x37c]
cmp edx, 0x10
jb 0x10023d1d
mov ecx, dword [ebp - 0x390]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10023d13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10023d13
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10031f2f
add esp, 8
lea eax, [ebp - 0x370]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionFonts
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10023e46
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x354], 7
mov word [ebp - 0x368], ax
lea eax, [ebp - 0x36c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x330]
mov dword [ebp - 0x334], 0x104
push eax
lea eax, [ebp - 0x338]
mov dword [ebp - 0x36c], 0x104
push eax
push 0
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push dword [ebp - 0x370]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edi, 1
cmp eax, 0x103
je 0x10023e3a
test eax, eax
jne 0x10023de8
cmp dword [ebp - 0x338], 1
jne 0x10023de8
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10023dcc
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x10023e8b
lea eax, [ebp - 0x36c]
mov dword [ebp - 0x334], 0x104
push eax
lea eax, [ebp - 0x330]
mov dword [ebp - 0x36c], 0x104
push eax
lea eax, [ebp - 0x338]
push eax
push 0
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x228]
push eax
push edi
push dword [ebp - 0x370]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
inc edi
cmp eax, 0x103
jne 0x10023db5
push dword [ebp - 0x370]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x371], 0
mov edx, dword [ebp - 0x33c]
cmp edx, 0x10
jb 0x10024016
mov ecx, dword [ebp - 0x350]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002400c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002400c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push dword [ebp - 0x36c]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x398], 0
push eax
lea ecx, [ebp - 0x3a8]
mov dword [ebp - 0x394], 0xf
mov byte [ebp - 0x3a8], 0
call fcn.100243c0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x350]
cmp dword [ebp - 0x33c], 0x10
push dword [ebp - 0x340]
cmovae eax, dword [ebp - 0x350]
push eax
push ecx
lea ecx, [ebp - 0x3a8]
call fcn.10024510
mov esi, dword [ebp - 0x378]
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x368]
movq qword [ebp - 0x3b0], xmm1
movq qword [ebp - 0x358], xmm1
movups xmmword [ebp - 0x388], xmm0
movups xmmword [ebp - 0x368], xmm0
cmp esi, eax
je 0x10023f7c
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x10023f72
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10023f59
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023d0d
mov eax, edx
push ecx
push eax
call fcn.10031f2f
movups xmm0, xmmword [ebp - 0x388]
add esp, 8
movq xmm1, qword [ebp - 0x3b0]
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm1
jmp 0x10023fb8
mov edx, dword [ebp - 0x354]
cmp edx, 0x10
jb 0x10023fb8
mov ecx, dword [ebp - 0x368]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10023fae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10023fae
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10031f2f
add esp, 8
mov edx, dword [ebp - 0x394]
cmp edx, 0x10
jb 0x10023ff4
mov ecx, dword [ebp - 0x3a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10023fea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10023fea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10031f2f
add esp, 8
push dword [ebp - 0x370]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x371], 1
jmp 0x10023e4d
push edx
push ecx
call fcn.10031f2f
add esp, 8
mov al, byte [ebp - 0x371]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10031912
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret