Function at 0x7142022c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x224
mov eax, 0x714bca24
call fcn.71431918
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x214], eax
mov dword [ebp - 4], ebx
call sub.DDRAW.dll_AcquireDDThreadLock
mov byte [ebp - 4], 1
cmp esi, ebx
jne 0x71420279
mov esi, 0x80070057
call sub.DDRAW.dll_ReleaseDDThreadLock
mov eax, esi
call fcn.71431958
ret 0x10
lea eax, [ebp - 0x1fc]
push eax
push 0x20019
push ebx
push 0x7141bb8c
push 0x80000002
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x224], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x7142039b
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop edi
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x1f8]
push eax
push ebx
push 0x71420644
push dword [ebp - 0x1fc]
mov dword [ebp - 0x1f4], edi
call esi
test eax, eax
jne 0x714202fd
cmp dword [ebp - 0x1f8], edi
jne 0x714202fd
cmp dword [ebp - 0x1f0], ebx
setne al
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x1f8]
push eax
push ebx
push 0x71420634
push dword [ebp - 0x1fc]
mov dword [ebp - 0x1f4], edi
call esi
test eax, eax
jne 0x71420346
cmp dword [ebp - 0x1f8], edi
jne 0x71420346
cmp dword [ebp - 0x1f4], edi
jne 0x71420346
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x1f8]
push eax
push ebx
push 0x71420624
push dword [ebp - 0x1fc]
mov dword [ebp - 0x1f4], edi
call esi
cmp eax, ebx
jne 0x7142038f
cmp dword [ebp - 0x1f8], edi
jne 0x7142038f
cmp dword [ebp - 0x1f4], edi
jne 0x7142038f
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x224], eax
push dword [ebp - 0x1fc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x200], 1
mov dword [ebp - 0x204], ebx
mov ecx, dword [ebp - 0x204]
mov eax, 0x714c1328
lea eax, [eax + ecx*4]
mov dword [ebp - 0x210], eax
mov eax, dword [eax]
cmp eax, ebx
je 0x7142061c
cmp dword [ebp - 0x200], 1
jne 0x7142061c
lea ecx, [eax + 4]
mov dword [ebp - 0x21c], ecx
lea ecx, [eax + 0x104]
mov eax, dword [eax]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x218], ebx
jne 0x7142040f
push 4
pop ecx
mov edi, 0x7141bed8
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x714205eb
cmp dword [ebp - 0x224], ebx
jne 0x7142042b
push 4
pop ecx
mov edi, 0x7141bee8
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x714205eb
mov ecx, dword [ebp - 0x228]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 4]
mov ebx, dword [ecx + 4]
push 4
pop ecx
mov edi, 0x7141bef8
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x71420461
mov ecx, dword [ebx + 0x478]
test ecx, ecx
je 0x71420461
test dword [ecx + 0x10], 0x10000
je 0x714205e9
lea ecx, [ebp - 0x1f4]
push ecx
lea ecx, [ebp - 0x1f8]
push ecx
push eax
call fcn.7142e2a2
test eax, eax
je 0x714204b3
cmp eax, 0x80004002
jne 0x714205e9
cmp dword [ebp - 0x208], 0
jne 0x714205e9
push ebx
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x1f8]
push eax
push dword [ebp - 0x1f0]
call fcn.714267b7
test eax, eax
jne 0x714205e9
push dword [ebp + 0x14]
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax]
lea edx, [ebp - 0x1ec]
push edx
lea edx, [ebp - 0x100]
push edx
push ebx
push eax
call dword [ecx + 0xc]
mov esi, eax
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x1f4], 0
je 0x714204f4
push dword [ebp - 0x1f4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
jne 0x714205e9
cmp word [ebp - 0x2a], 1
jne 0x71420509
xor eax, eax
mov word [ebp - 0x2a], ax
cmp word [ebp - 0x116], 1
jne 0x7142051c
xor eax, eax
mov word [ebp - 0x116], ax
mov esi, dword [ebp - 0x1f0]
push 4
pop eax
mov edx, 0x7141beb8
mov ecx, eax
mov edi, edx
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
jne 0x71420556
or dword [ebp - 0x44], 0xffffffff
and dword [ebp - 0x100], 0xfffeffff
mov ecx, eax
push 6
mov word [ebp - 0x2a], cx
pop ecx
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x28], 0x3f
mov esi, dword [ebp - 0x1f0]
mov ecx, eax
mov edi, 0x7141bea8
xor ebx, ebx
repe cmpsd dword [esi], dword es:[edi]
jne 0x7142058d
or dword [ebp - 0x130], 0xffffffff
mov ecx, eax
push 6
mov word [ebp - 0x116], cx
pop ecx
mov word [ebp - 0x118], cx
mov dword [ebp - 0x114], 0x3f
mov esi, dword [ebp - 0x1f0]
mov edi, edx
mov ecx, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x714205f6
mov esi, dword [ebp - 0x1f0]
mov ecx, eax
mov edi, 0x7141bef8
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x714205f6
mov eax, dword [ebp - 0x210]
mov eax, dword [eax]
mov esi, dword [eax]
lea edi, [ebp - 0x128]
lea eax, [ebp - 0x1ec]
push dword [ebp - 0x214]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x21c]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x220]
movsd dword es:[edi], dword [esi]
call dword [ebp - 0x20c]
mov dword [ebp - 0x200], eax
xor ebx, ebx
inc dword [ebp - 0x204]
jmp 0x714203ab
mov eax, dword [ebp - 0x210]
mov eax, dword [eax]
mov esi, dword [eax]
lea edi, [ebp - 0x3c]
lea eax, [ebp - 0x100]
jmp 0x714205c6
xor esi, esi
jmp 0x7142026a