Function at 0x4c7190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x671882
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x718924]
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 dword [ebp - 0x2d4], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x72249c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x721f4c]
cmp eax, dword [ecx + 4]
jg 0x4c7447
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x2b4], ax
xor esi, esi
mov dword [ebp - 0x2d0], eax
mov edi, 7
lea eax, [ebp - 0x2cc]
mov dword [ebp - 0x2a4], esi
push eax
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x2d4], 1
call fcn.004c8480
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4c7232
mov eax, dword [eax]
lea ecx, [ebp - 0x2d0]
push ecx
push 0x20019
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x2b8]
mov ebx, eax
cmp edx, 8
jb 0x4c728e
mov ecx, dword [ebp - 0x2cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c7284
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c7499
push edx
push ecx
call fcn.004cb4db
add esp, 8
xor eax, eax
mov dword [ebp - 0x2bc], esi
mov dword [ebp - 0x2b8], edi
mov word [ebp - 0x2cc], ax
test ebx, ebx
jne 0x4c733e
push 0x20a
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x29c]
push ebx
push eax
mov dword [ebp - 0x2d8], 0x208
call fcn.004e30c0
add esp, 0xc
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x2dc]
push eax
push ebx
push str.infoGUID
push dword [ebp - 0x2d0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c7332
lea ecx, [ebp - 0x29c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c7304
sub ecx, edx
lea eax, [ebp - 0x29c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2b4]
call fcn.0044e920
mov edi, dword [ebp - 0x2a0]
mov esi, dword [ebp - 0x2a4]
push dword [ebp - 0x2d0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x721f48]
cmp ecx, 8
jb 0x4c737d
mov eax, dword [0x721f34]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4c7373
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c7499
mov eax, edx
push ecx
push eax
call fcn.004cb4db
add esp, 8
mov eax, dword [ebp - 0x2b4]
mov dword [0x721f34], eax
mov eax, dword [ebp - 0x2b0]
mov dword [0x721f38], eax
mov eax, dword [ebp - 0x2ac]
mov dword [0x721f3c], eax
mov eax, dword [ebp - 0x2a8]
mov dword [0x721f40], eax
mov dword [0x721f44], esi
mov dword [0x721f48], edi
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x4c7426
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x4c7426
push 0x80
lea eax, [ebp - 0x90]
push esi
push eax
call fcn.004e30c0
add esp, 0xc
lea eax, [ebp - 0x90]
push 0x40
push eax
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c7405
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x90]
push ecx
mov ecx, 0x721f34
call fcn.0044e920
mov eax, 0x721f34
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.004cb998
mov esp, ebp
pop ebp
ret
push 0x721f4c
call fcn.004cb872
add esp, 4
cmp dword [0x721f4c], 0xffffffff
jne 0x4c71e8
xor eax, eax
mov dword [0x721f44], 0
push 0x673950
mov dword [0x721f48], 7
mov word [0x721f34], ax
call fcn.004cb72a
push 0x721f4c
call fcn.004cb828
add esp, 8
jmp 0x4c71e8
call fcn.004e6589
int3