Function at 0x100b9140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10131d5b
mov eax, dword fs:[0]
push eax
mov eax, 0x116c
call fcn.100e39d0
mov eax, dword [0x10188068]
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
cmp byte [ebx + 0x24], 0
jne 0x100b9479
lea eax, [ebp - 0x1164]
mov byte [ebx + 0x24], 1
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionFontSubstitutes
push 0x80000002
mov dword [ebp - 0x1164], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100b9479
mov esi, dword [ebp - 0x1164]
mov dword [ebp - 0x116c], esi
mov dword [ebp - 0x1170], esi
push 0x800
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1154], eax
lea eax, [ebp - 0x1010]
push eax
call fcn.100fc650
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x800
push 0
push eax
call fcn.100fc650
add esp, 0xc
mov dword [ebp - 0x1160], 0x400
lea eax, [ebp - 0x115c]
mov dword [ebp - 0x115c], 0x800
mov dword [ebp - 0x1158], 0
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x1158]
push eax
push 0
lea eax, [ebp - 0x1160]
push eax
lea eax, [ebp - 0x1010]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x100b9472
xor esi, esi
nop
test eax, eax
jne 0x100b946c
cmp dword [ebp - 0x1158], 1
jne 0x100b93de
push 0x98
push eax
lea eax, [ebp - 0x10b0]
push eax
call fcn.100fc650
add esp, 0xc
mov byte [ebp - 0x1018], 0
lea eax, [ebp - 0x1150]
mov dword [ebp - 0x1014], 0
push 0x98
push 0
push eax
call fcn.100fc650
add esp, 0xc
mov byte [ebp - 0x10b8], 0
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x10b4], 0
lea ecx, [ebp - 0x10b0]
push eax
call fcn.100b9820
test al, al
je 0x100b93de
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x1150]
call fcn.100b9820
test al, al
je 0x100b93de
mov eax, dword [ebx + 0x1c]
and eax, dword [ebp - 0x1014]
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 8]
lea edx, [eax*8]
mov esi, dword [edx + esi]
mov dword [ebp - 0x1168], edx
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 8]
cmp dword [eax + edx], ecx
jne 0x100b9314
mov eax, ecx
jmp 0x100b931a
mov eax, dword [eax + edx + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x100b9395
mov al, byte [esi + 0xa0]
cmp al, byte [ebp - 0x1018]
jne 0x100b9358
test al, al
je 0x100b933b
mov al, byte [esi + 0x1f]
cmp al, byte [ebp - 0x1099]
jne 0x100b9358
lea eax, [ebp - 0x1094]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.10108488
add esp, 8
test eax, eax
je 0x100b935c
mov edx, dword [ebp - 0x1168]
mov esi, dword [esi]
jmp 0x100b9305
mov al, byte [ebp - 0x1018]
cmp al, byte [esi + 0xa0]
jne 0x100b9390
test al, al
je 0x100b9379
mov al, byte [ebp - 0x1099]
cmp al, byte [esi + 0x1f]
jne 0x100b9390
lea eax, [esi + 0x24]
push eax
lea eax, [ebp - 0x1094]
push eax
call fcn.10108488
add esp, 8
test eax, eax
je 0x100b9397
mov esi, dword [ebx + 8]
jmp 0x100b9397
mov esi, ecx
cmp esi, edi
jne 0x100b93d8
mov al, byte [ebp - 0x1018]
cmp al, byte [ebp - 0x10b8]
jne 0x100b93d8
lea eax, [ebp - 0x10b0]
push eax
lea eax, [ebp - 0x1178]
push eax
lea ecx, [ebx + 4]
call fcn.100bd220
mov edi, dword [ebp - 0x1178]
lea esi, [ebp - 0x1150]
add edi, 0xa8
mov ecx, 0x28
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1154]
push 0x800
lea eax, [ebp - 0x1010]
inc esi
push 0
push eax
mov dword [ebp - 0x1154], esi
call fcn.100fc650
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x800
push 0
push eax
call fcn.100fc650
add esp, 0xc
mov dword [ebp - 0x1160], 0x400
lea eax, [ebp - 0x115c]
mov dword [ebp - 0x115c], 0x800
mov dword [ebp - 0x1158], 0
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x1158]
push eax
push 0
lea eax, [ebp - 0x1160]
push eax
lea eax, [ebp - 0x1010]
push eax
push esi
push dword [ebp - 0x1164]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x100b9250
mov esi, dword [ebp - 0x116c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.100e278d
mov esp, ebp
pop ebp
ret