Function at 0x4cc1e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x606763
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x711ab8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov bl, cl
mov edi, edx
mov dword [ebp - 0x68], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
xor esi, esi
mov dword [ebp - 4], esi
push ecx
mov dword [ebp - 0x78], esp
mov dword [ebp - 0x78], esp
lea ecx, [ebp - 0xb4]
push ecx
call fcn.004cd0c0
mov byte [ebp - 4], 1
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa0], esi
mov byte [ebp - 4], 2
lea esi, [edi + 4]
mov ecx, 0x6da0fc
call fcn.00442b20
cmp eax, 0xffffffff
jne 0x4cc2f0
mov dword [ebp - 0x54], 0
mov eax, dword [esi]
lea edx, [ebp - 0x54]
push edx
movzx ecx, bl
neg ecx
sbb ecx, ecx
and ecx, 0x100
inc ecx
push ecx
push 0
push eax
mov edx, dword [edi]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4cc57d
cmp dword [ebp - 0x54], eax
je 0x4cc57d
push ecx
mov eax, esp
mov dword [ebp - 0x78], esp
push esi
push eax
call fcn.0040b930
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x54]
push ecx
lea edx, [ebp - 0x90]
push edx
mov byte [ebp - 4], 2
call fcn.004cd3c0
add esp, 0xc
mov byte [ebp - 4], 4
mov ebx, eax
lea edi, [ebp - 0xb4]
call fcn.004ccf70
mov byte [ebp - 4], 2
lea eax, [ebp - 0x90]
push eax
call fcn.004cdce0
jmp 0x4cc57a
mov ecx, 0x5c
call fcn.00442b40
mov edi, eax
cmp edi, 0xffffffff
je 0x4cc57a
lea ecx, [ebp - 0x60]
push ecx
mov ecx, edi
mov edx, esi
call fcn.00442dc0
mov byte [ebp - 4], 5
lea edx, [edi + 1]
lea eax, [ebp - 0x54]
push eax
push esi
call fcn.00442bc0
mov byte [ebp - 4], 6
lea edi, [ebp - 0x54]
call fcn.0040bd70
mov ecx, 0x6da0fc
mov esi, edi
call fcn.00442b20
cmp eax, 0xffffffff
je 0x4cc562
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x60]
lea esi, [ebp - 0x64]
call fcn.0040cf20
push eax
movzx ecx, bl
neg ecx
sbb ecx, ecx
and ecx, 0x100
add ecx, 9
push ecx
xor esi, esi
push esi
push edi
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4cc550
mov eax, dword [ebp - 0x64]
cmp eax, esi
je 0x4cc550
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x70], esi
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x5c]
push edx
push esi
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4cc550
mov eax, dword [ebp - 0x5c]
cmp eax, esi
je 0x4cc550
cmp eax, 0x2710
jae 0x4cc550
cmp dword [ebp - 0x70], esi
je 0x4cc550
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x7c], eax
jae 0x4cc54e
mov ebx, dword [ebp - 0x70]
inc ebx
lea eax, [ebp - 0x34]
call fcn.004307e0
mov ebx, 8
mov byte [ebp - 4], bl
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x20]
push eax
xor edi, edi
lea eax, [ebp - 0x34]
call fcn.00430040
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x4cc537
lea eax, [ebp - 0x34]
call fcn.00430040
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4cc424
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x34]
call fcn.00442750
cmp dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0x30]
jae 0x4cc446
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x58]
push edx
call fcn.0040b990
mov byte [ebp - 4], 9
lea edi, [ebp - 0x58]
call fcn.0040bd70
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
call fcn.00439db0
test eax, eax
je 0x4cc52c
mov dword [ebp - 0x6c], 0
cmp dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x30]
jae 0x4cc480
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x6c]
push ecx
push 1
push 0
push eax
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4cc52c
cmp dword [ebp - 0x6c], eax
je 0x4cc52c
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x84]
push ecx
mov ebx, 0x6ca140
call fcn.0041e2b0
add esp, 8
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x1c], 8
mov ebx, dword [ebp - 0x30]
jae 0x4cc4cc
lea ebx, [ebp - 0x30]
push ecx
mov edx, esp
mov dword [ebp - 0x78], esp
push eax
push edx
call fcn.0041e2b0
add esp, 8
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x90]
push ecx
mov byte [ebp - 4], 0xa
call fcn.004cd3c0
add esp, 0xc
mov byte [ebp - 4], 0xc
mov ebx, eax
lea edi, [ebp - 0xb4]
call fcn.004ccf70
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x90]
push edx
call fcn.004cdce0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x84]
call fcn.0040ba40
mov ebx, 8
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x58]
call fcn.0040ba40
mov byte [ebp - 4], 7
lea esi, [ebp - 0x34]
call fcn.0044df60
inc dword [ebp - 0x7c]
mov eax, dword [ebp - 0x5c]
jmp 0x4cc3d7
xor esi, esi
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x64]
cmp eax, esi
je 0x4cc562
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
call fcn.0040ba40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.0040ba40
mov edi, dword [ebp - 0x68]
xor ebx, ebx
mov dword [ebp - 0x74], ebx
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xa8]
sar eax, 3
cmp ebx, eax
jae 0x4cc8ed
mov ecx, dword [edi + 8]
xor eax, eax
cmp dword [ecx - 0xc], eax
jne 0x4cc64e
mov edx, dword [edi + 0xc]
cmp dword [edx - 0xc], eax
jne 0x4cc64e
lea eax, [ebp - 0x64]
push eax
push edi
call fcn.004cb350
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x70]
push ecx
mov ebx, 0x6ca140
call fcn.0041e2b0
add esp, 8
mov ebx, eax
mov byte [ebp - 4], 0xe
mov edi, dword [ebp - 0x74]
lea esi, [ebp - 0xb4]
call fcn.004af910
add eax, 4
push eax
lea edx, [ebp - 0x6c]
push edx
call fcn.004247e0
add esp, 8
mov byte [ebp - 4], 0xf
mov ebx, eax
mov edi, dword [ebp - 0x9c]
call fcn.00424a30
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x6c]
call fcn.0040ba40
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
call fcn.0040ba40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.0040ba40
mov ebx, dword [ebp - 0x74]
mov edi, ebx
lea esi, [ebp - 0xb4]
call fcn.004af910
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
mov edi, dword [ebp - 0x68]
jmp 0x4cc57f
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x88], eax
mov edi, ebx
lea esi, [ebp - 0xb4]
call fcn.004af910
push 0
push 0
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [eax]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4cc62c
cmp dword [ebp - 0x60], eax
je 0x4cc62c
cmp dword [ebp - 0x58], eax
je 0x4cc62c
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x80], eax
jae 0x4cc62c
mov ebx, dword [ebp - 0x58]
inc ebx
lea eax, [ebp - 0x50]
call fcn.004307e0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x94], ecx
mov ebx, dword [ebp - 0x88]
shr ebx, 1
add ebx, 2
lea eax, [ebp - 0x34]
call fcn.004307e0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x20]
lea eax, [edx + edx]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x98], 0
mov edi, dword [ebp - 0x74]
lea esi, [ebp - 0xb4]
call fcn.004af910
mov esi, eax
lea ecx, [ebp - 0x84]
push ecx
xor edi, edi
lea eax, [ebp - 0x34]
call fcn.00430040
push eax
lea edx, [ebp - 0x98]
push edx
push edi
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x50]
call fcn.00430040
push eax
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [esi]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4cc8cd
cmp dword [ebp - 0x98], 1
jne 0x4cc8cd
mov edi, dword [ebp - 0x94]
lea eax, [ebp - 0x50]
call fcn.00430040
xor ecx, ecx
mov word [eax], cx
mov edi, dword [ebp - 0x84]
shr edi, 1
lea eax, [ebp - 0x34]
call fcn.00430040
xor edx, edx
mov word [eax], dx
mov esi, 8
cmp dword [ebp - 0x38], esi
mov ecx, dword [ebp - 0x4c]
jae 0x4cc782
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x54]
push eax
call fcn.0040b990
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x30]
jae 0x4cc79a
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x5c]
push edx
call fcn.0040b990
mov byte [ebp - 4], 0x13
lea edi, [ebp - 0x54]
call fcn.0040bd70
lea edi, [ebp - 0x5c]
call fcn.0040bd70
mov esi, dword [ebp - 0x68]
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x54]
call fcn.00439db0
test eax, eax
je 0x4cc8b5
mov eax, dword [esi + 0xc]
cmp dword [eax - 0xc], 0
je 0x4cc7e6
mov ecx, dword [ebp - 0x5c]
call fcn.00439db0
test eax, eax
je 0x4cc8b5
lea eax, [ebp - 0x78]
push eax
push esi
call fcn.004cb350
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x8c]
push ecx
mov ebx, 0x6ca140
call fcn.0041e2b0
add esp, 8
mov ebx, eax
mov byte [ebp - 4], 0x15
mov edi, dword [ebp - 0x74]
lea esi, [ebp - 0xb4]
call fcn.004af910
add eax, 4
push eax
lea edx, [ebp - 0xbc]
push edx
call fcn.004247e0
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0xb8]
push eax
mov ebx, 0x6d09dc
call fcn.0041e2b0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0xc0]
push edx
mov ebx, eax
call fcn.004247e0
add esp, 0x18
mov byte [ebp - 4], 0x18
mov ebx, eax
mov edi, dword [ebp - 0x9c]
call fcn.00424a30
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xc0]
call fcn.0040ba40
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xb8]
call fcn.0040ba40
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xbc]
call fcn.0040ba40
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x8c]
call fcn.0040ba40
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x78]
call fcn.0040ba40
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x5c]
call fcn.0040ba40
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x54]
call fcn.0040ba40
mov byte [ebp - 4], 0x10
lea esi, [ebp - 0x34]
call fcn.0044df60
mov byte [ebp - 4], 2
lea esi, [ebp - 0x50]
call fcn.0044df60
inc dword [ebp - 0x80]
jmp 0x4cc6a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
push ecx
call fcn.004cde80
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005c397a
mov esp, ebp
pop ebp
ret