Function at 0x5c007b93
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x228
mov eax, 0x5c055890
call fcn.5c05556f
mov dword [ebp - 0x230], ecx
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], ebx
call dword [sym.imp.DDRAW.dll_AcquireDDThreadLock]
xor eax, eax
inc eax
mov byte [ebp - 4], al
test esi, esi
jne 0x5c007be4
mov ebx, 0x80070057
call dword [sym.imp.DDRAW.dll_ReleaseDDThreadLock]
mov eax, ebx
call fcn.5c0554c1
ret 0x10
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x214], ebx
push eax
push 0x20019
push ebx
push 0x5c002570
mov esi, ebx
mov dword [ebp - 0x210], ebx
push 0x80000002
mov dword [ebp - 0x20c], esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
push 4
pop edi
test eax, eax
jne 0x5c007d0e
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x1f0], edi
push eax
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x1f8]
push eax
push ebx
push 0x5c0027e8
push dword [ebp - 0x1fc]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
test eax, eax
jne 0x5c007c68
cmp dword [ebp - 0x1f8], edi
jne 0x5c007c68
cmp dword [ebp - 0x1f4], eax
setne al
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x1f0], edi
push eax
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x1f8]
push eax
push ebx
push 0x5c0027f8
push dword [ebp - 0x1fc]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
test eax, eax
jne 0x5c007cb5
cmp dword [ebp - 0x1f8], edi
jne 0x5c007cb5
cmp dword [ebp - 0x1f0], edi
jne 0x5c007cb5
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x1f0], edi
push eax
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x1f8]
push eax
push ebx
push 0x5c002808
push dword [ebp - 0x1fc]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
test eax, eax
jne 0x5c007d02
cmp dword [ebp - 0x1f8], edi
jne 0x5c007d02
cmp dword [ebp - 0x1f0], edi
jne 0x5c007d02
mov esi, dword [ebp - 0x1f4]
mov dword [ebp - 0x20c], esi
push dword [ebp - 0x1fc]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor edx, edx
mov dword [ebp - 0x21c], 0x5c002874
mov eax, ebx
mov dword [ebp - 0x218], 6
lea ecx, [edx + 1]
mov dword [ebp - 0x1f0], ecx
xor edx, edx
mov dword [ebp - 0x1f4], eax
mov eax, dword [eax*4 + 0x5c059a88]
inc edx
test eax, eax
je 0x5c007bd4
cmp ecx, edx
jne 0x5c007bd4
cmp dword [ebp - 0x210], 0
lea ecx, [eax + 4]
mov edx, dword [eax]
mov dword [ebp - 0x224], ecx
lea ecx, [eax + 0x104]
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x208], edx
jne 0x5c007da7
mov ecx, ebx
mov eax, dword [edx + ecx*4]
mov esi, 0x5c0028a4
cmp eax, dword [esi + ecx*4]
mov esi, dword [ebp - 0x20c]
jne 0x5c007da7
inc ecx
cmp ecx, edi
jne 0x5c007d77
mov ecx, dword [ebp - 0x1f0]
mov eax, dword [ebp - 0x1f4]
mov esi, dword [ebp - 0x20c]
inc eax
push 4
pop edi
jmp 0x5c007d2f
test esi, esi
jne 0x5c007dc1
mov esi, 0x5c002894
mov ecx, ebx
mov eax, dword [edx + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x5c007dc1
inc ecx
cmp ecx, edi
jne 0x5c007db2
jmp 0x5c007d8f
mov eax, dword [ebp - 0x230]
mov ecx, ebx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
mov dword [ebp - 0x200], esi
mov eax, dword [edx + ecx*4]
mov esi, 0x5c002844
cmp eax, dword [esi + ecx*4]
mov esi, dword [ebp - 0x200]
jne 0x5c007e03
inc ecx
cmp ecx, edi
jne 0x5c007dd8
mov eax, dword [esi + 0x478]
test eax, eax
je 0x5c007e03
test dword [eax + 0x10], 0x10000
je 0x5c007d8f
mov ecx, dword [ebp - 0x208]
lea eax, [ebp - 0x204]
push eax
lea edx, [ebp - 0x1f8]
call fcn.5c01626a
test eax, eax
je 0x5c007e58
cmp eax, 0x80004002
jne 0x5c007d8f
cmp dword [ebp - 0x214], 0
jne 0x5c007d8f
mov ecx, dword [ebp - 0x208]
lea eax, [ebp - 0x204]
push esi
push eax
lea edx, [ebp - 0x1f8]
call fcn.5c015155
test eax, eax
jne 0x5c007d8f
mov eax, dword [ebp - 0x1f8]
lea ecx, [ebp - 0x1ec]
push edi
push ecx
lea ecx, [ebp - 0x100]
mov esi, dword [eax]
push ecx
push dword [ebp - 0x200]
mov ecx, dword [esi + 0xc]
push eax
call dword [0x5c05e150]
call dword [esi + 0xc]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x1f8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5c05e150]
call esi
cmp dword [ebp - 0x204], 0
je 0x5c007eb3
push dword [ebp - 0x204]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
cmp dword [ebp - 0x200], 0
jne 0x5c007d8f
xor ecx, ecx
inc ecx
cmp word [ebp - 0x2a], cx
jne 0x5c007ecf
xor eax, eax
mov word [ebp - 0x2a], ax
cmp word [ebp - 0x116], cx
jne 0x5c007ee1
xor eax, eax
mov word [ebp - 0x116], ax
mov edx, dword [ebp - 0x208]
mov ecx, ebx
mov esi, dword [ebp - 0x21c]
mov eax, dword [edx + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x5c007f1f
inc ecx
cmp ecx, edi
jne 0x5c007eef
or dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 0x218]
and dword [ebp - 0x100], 0xfffeffff
mov word [ebp - 0x2a], di
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x28], 0x3f
mov esi, 0x5c002864
mov ecx, ebx
mov eax, dword [edx + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x5c007f58
inc ecx
cmp ecx, edi
jne 0x5c007f26
mov eax, dword [ebp - 0x218]
or dword [ebp - 0x130], 0xffffffff
mov word [ebp - 0x116], di
mov word [ebp - 0x118], ax
mov dword [ebp - 0x114], 0x3f
mov esi, dword [ebp - 0x21c]
mov ecx, ebx
mov eax, dword [edx + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x5c007f6f
inc ecx
cmp ecx, edi
jne 0x5c007f60
jmp 0x5c007f83
mov ecx, ebx
mov esi, 0x5c002844
mov eax, dword [edx + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x5c007fcf
inc ecx
cmp ecx, edi
jne 0x5c007f76
lea edi, [ebp - 0x3c]
lea eax, [ebp - 0x100]
mov esi, dword [ebp - 0x1f4]
push dword [ebp - 0x220]
push eax
mov esi, dword [esi*4 + 0x5c059a88]
push dword [ebp - 0x224]
push dword [ebp - 0x228]
mov esi, dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x22c]
mov ecx, esi
call dword [0x5c05e150]
call esi
mov ecx, eax
mov dword [ebp - 0x1f0], ecx
jmp 0x5c007d95
lea edi, [ebp - 0x128]
lea eax, [ebp - 0x1ec]
jmp 0x5c007f8c