Function at 0x100e7740
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10250d58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
push ebx
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
push eax
push 0x103
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionFonts
push reloc.WS2_32.dll_bind
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x100e78f6
push 0x208
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x18], 1
push 0
push eax
mov dword [ebp - 0x14], 0x104
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x100e77bd
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100e78f6
push dword [ebp - 0x10]
call esi
xor eax, eax
mov dword [ebp - 0x10], 0
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x3c], 0
lea edx, [eax + 2]
mov dword [ebp - 0x38], 7
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100e7810
sub eax, edx
lea ecx, [ebp - 0x4c]
push edi
sar eax, 1
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.1001a600
mov edi, dword [ebp + 0xc]
mov edx, edi
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x100e7844
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100e7860
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.1001a600
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x4c]
cmp edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
cmovb edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x38], 8
push edx
cmovae ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x20], 8
push ecx
cmovae eax, dword [ebp - 0x34]
push eax
call sym.WMCommon.dll_public:_static_int___cdecl_WM::GMStringUtils::CompareNoCase_wchar_t_const___wchar_t_const___unsigned_int_
add esp, 0xc
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.1001a5a0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.1001a5a0
test esi, esi
jne 0x100e78ef
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x64]
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 - 0x64]
mov dword [ebp - 4], 1
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
lea ecx, [ebp - 0x64]
test al, al
je 0x100e78ea
mov bl, 1
call fcn.1001a5a0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100e7900
push eax
call esi
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8