Function at 0x1001f1a0
Capabilities:
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 0x100e6d66
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x668
mov eax, dword [0x10112200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x654], esi
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov dword [ebp - 0x670], eax
lea eax, [ebp - 0x660]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionFonts
push esi
mov dword [ebp - 0x664], edx
mov dword [ebp - 0x660], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001f6b1
push 8
mov dword [ebp - 0x650], eax
mov dword [ebp - 0x64c], eax
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x644], eax
mov dword [ebp - 0x640], eax
call fcn.100bb295
lea ecx, [ebp - 0x650]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x650], eax
mov dword [eax], ecx
mov dword [ebp - 4], 0
xor edi, edi
nop dword [eax]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x658], 0x200
push ecx
lea ecx, [ebp - 0x620]
mov eax, edi
push ecx
push eax
push dword [ebp - 0x660]
inc edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1001f39a
xorps xmm0, xmm0
mov dword [ebp - 0x628], eax
lea ecx, [ebp - 0x620]
mov dword [ebp - 0x624], eax
movups xmmword [ebp - 0x638], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f2c7
sub ecx, edx
lea eax, [ebp - 0x620]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x638]
call fcn.10014cd0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x640]
mov edx, dword [ebp - 0x648]
lea eax, [esi + 1]
cmp edx, eax
ja 0x1001f318
push ecx
lea ecx, [ebp - 0x650]
call fcn.10015450
mov esi, dword [ebp - 0x640]
mov edx, dword [ebp - 0x648]
mov ecx, dword [ebp - 0x644]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x644], ecx
add ecx, esi
and eax, ecx
mov dword [ebp - 0x63c], ecx
mov ecx, dword [ebp - 0x64c]
lea esi, [eax*4]
cmp dword [ecx + esi], 0
jne 0x1001f368
push 0x18
call fcn.100bb295
mov ecx, dword [ebp - 0x64c]
add esp, 4
mov dword [ecx + esi], eax
mov edx, dword [ebp - 0x648]
mov ecx, dword [ebp - 0x64c]
movups xmm0, xmmword [ebp - 0x638]
lea eax, [edx - 1]
and eax, dword [ebp - 0x63c]
mov eax, dword [ecx + eax*4]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x628]
movq qword [eax + 0x10], xmm0
inc dword [ebp - 0x640]
mov byte [ebp - 4], 0
jmp 0x1001f270
cmp eax, 0x103
jne 0x1001f270
mov edx, dword [ebp - 0x644]
mov eax, dword [ebp - 0x640]
add eax, edx
mov dword [ebp - 0x658], edx
mov dword [ebp - 0x674], eax
cmp edx, eax
je 0x1001f67f
mov esi, dword [ebp - 0x654]
nop dword [eax]
mov ecx, dword [ebp - 0x648]
mov eax, dword [ebp - 0x64c]
dec ecx
and ecx, edx
mov dword [ebp - 0x668], 0x104
mov edi, dword [eax + ecx*4]
mov eax, edi
mov dword [ebp - 0x65c], edi
cmp dword [edi + 0x14], 7
jbe 0x1001f3fc
mov eax, dword [edi]
lea ecx, [ebp - 0x668]
push ecx
lea ecx, [ebp - 0x220]
push ecx
push 0
push 2
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionFonts
push esi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1001f666
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f430
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
lea eax, [eax + ecx*2]
lea ecx, [ebp - 0x220]
cmp eax, ecx
je 0x1001f469
cmp word [eax], 0x2e
je 0x1001f556
sub eax, 2
lea ecx, [ebp - 0x220]
cmp eax, ecx
jne 0x1001f452
lea esi, [ebp - 0x220]
push 0x10107edc
push esi
call fcn.100c5b66
add esp, 8
test eax, eax
je 0x1001f497
push 0x10107ee4
push esi
call fcn.100c5b66
add esp, 8
test eax, eax
jne 0x1001f660
mov esi, dword [ebp - 0x664]
mov eax, dword [esi + 0x10]
inc eax
cmp dword [esi + 8], eax
ja 0x1001f4ae
push ecx
mov ecx, esi
call fcn.10015450
mov ecx, dword [esi + 8]
lea eax, [ecx - 1]
and eax, dword [esi + 0xc]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x10]
add edx, eax
lea eax, [ecx - 1]
and eax, edx
mov dword [ebp - 0x66c], edx
lea ecx, [eax*4]
mov eax, dword [esi + 4]
mov dword [ebp - 0x63c], ecx
cmp dword [ecx + eax], 0
jne 0x1001f4fc
push 0x18
call fcn.100bb295
mov edx, dword [ebp - 0x63c]
add esp, 4
mov ecx, dword [esi + 4]
mov dword [edx + ecx], eax
mov edx, dword [ebp - 0x66c]
mov ecx, dword [esi + 8]
xorps xmm0, xmm0
mov eax, dword [esi + 4]
dec ecx
and ecx, edx
mov esi, dword [eax + ecx*4]
mov eax, dword [ebp - 0x65c]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [eax + 0x14], 7
mov edi, dword [edi + 0x10]
jbe 0x1001f533
mov eax, dword [eax]
mov dword [ebp - 0x65c], eax
cmp edi, 0x7ffffffe
ja 0x1001f6cf
cmp edi, 7
ja 0x1001f55e
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x1001f5b4
lea esi, [eax + 2]
jmp 0x1001f46f
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x1001f571
mov eax, bind
jmp 0x1001f57c
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x63c]
push eax
push esi
call fcn.1000fec0
mov ecx, dword [ebp - 0x63c]
mov dword [esi + 0x14], ecx
lea ecx, [edi*2 + 2]
push ecx
push dword [ebp - 0x65c]
mov dword [esi], eax
push eax
mov dword [esi + 0x10], edi
call fcn.100bd480
add esp, 0x14
mov edx, dword [ebp - 0x664]
lea ecx, [ebp - 0x220]
xorps xmm0, xmm0
mov dword [ebp - 0x628], 0
movups xmmword [ebp - 0x638], xmm0
mov dword [ebp - 0x624], 0
inc dword [edx + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f5e4
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x638]
call fcn.10014cd0
mov ecx, dword [ebp - 0x670]
lea eax, [ebp - 0x638]
push eax
mov byte [ebp - 4], 2
call fcn.10021760
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x624]
cmp ecx, 7
jbe 0x1001f660
mov edx, dword [ebp - 0x638]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f656
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f6d4
push ecx
push edx
call fcn.100bb2c5
add esp, 8
mov esi, dword [ebp - 0x654]
mov edx, dword [ebp - 0x658]
inc edx
mov dword [ebp - 0x658], edx
cmp edx, dword [ebp - 0x674]
jne 0x1001f3d0
push dword [ebp - 0x660]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x650]
call fcn.10021bb0
mov eax, dword [ebp - 0x650]
push 8
push eax
mov dword [ebp - 0x650], 0
call fcn.100bb2c5
add esp, 8
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.100bb287
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10006360
call fcn.100c0e7a
int3