Function at 0x48c070
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfc0c
mov eax, dword fs:[0]
push eax
sub esp, 0x680
mov eax, dword [0x5603e8]
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 eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x206
lea edx, [ebp - 0x41e]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x67c], eax
mov dword [ebp - 0x674], ebx
mov word [ebp - 0x420], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
jmp 0x48c0e0
movzx ecx, word [eax + str.TypeLib_]
mov word [ebp + eax - 0x420], cx
add eax, 2
cmp cx, bx
jne 0x48c0e0
mov eax, esi
mov edx, esi
jmp 0x48c100
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x48c100
lea edi, [ebp - 0x420]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x48c116
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x670], ebx
mov dword [ebp - 0x66c], ebx
mov dword [ebp - 0x668], ebx
push 0x2001f
lea eax, [ebp - 0x420]
push eax
push 0x80000000
lea ecx, [ebp - 0x670]
mov dword [ebp - 4], ebx
call fcn.00412570
test eax, eax
je 0x48c17d
mov eax, dword [ebp - 0x670]
cmp eax, ebx
je 0x48c176
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x48c4b2
xor esi, esi
jmp 0x48c187
mov esi, dword [ebp - 0x680]
push 0x206
lea edx, [ebp - 0x626]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x628], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x68c]
push eax
mov eax, dword [ebp - 0x670]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x664]
push ecx
lea edx, [ebp - 0x628]
push edx
push esi
mov edi, 0x104
push eax
mov dword [ebp - 0x664], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc esi
mov dword [ebp - 0x684], eax
mov dword [ebp - 0x680], esi
cmp dword [ebp - 0x664], ebx
je 0x48c434
mov dword [ebp - 0x65c], ebx
mov dword [ebp - 0x658], ebx
mov dword [ebp - 0x654], ebx
mov edx, dword [ebp - 0x670]
push 0x2001f
lea ecx, [ebp - 0x628]
push ecx
push edx
lea ecx, [ebp - 0x65c]
call fcn.00412570
test eax, eax
jne 0x48c414
mov dword [ebp - 0x650], ebx
mov dword [ebp - 0x64c], ebx
mov dword [ebp - 0x648], ebx
mov esi, dword [ebp - 0x65c]
push 0x2001f
push str.0win32
push esi
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 2
call fcn.00412570
test eax, eax
je 0x48c2a5
push 0x2001f
push str.0win64
push esi
lea ecx, [ebp - 0x650]
call fcn.00412570
test eax, eax
je 0x48c2a5
mov eax, dword [ebp - 0x650]
cmp eax, ebx
je 0x48c28e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x650], ebx
mov dword [ebp - 0x64c], ebx
mov byte [ebp - 4], bl
cmp esi, ebx
je 0x48c42e
push esi
jmp 0x48c422
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x218], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0x660]
push edx
lea eax, [ebp - 0x218]
push eax
push 0x4c79ac
lea ecx, [ebp - 0x650]
mov dword [ebp - 0x660], edi
call fcn.00434210
cmp dword [ebp - 0x660], ebx
je 0x48c277
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x630], 7
mov dword [ebp - 0x634], ebx
mov word [ebp - 0x644], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x48c311
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x644]
call fcn.00405660
mov edx, dword [ebp - 0x630]
mov edi, dword [ebp - 0x644]
mov byte [ebp - 4], 3
mov esi, edi
cmp edx, 8
jae 0x48c393
lea esi, [ebp - 0x644]
mov eax, esi
mov ecx, dword [ebp - 0x634]
lea eax, [eax + ecx*2]
mov ecx, edi
cmp edx, 8
jae 0x48c368
lea ecx, [ebp - 0x644]
cmp ecx, eax
je 0x48c397
mov edx, dword [sym.imp.MSVCR100.dll_towlower]
push edx
push esi
push eax
push ecx
lea eax, [ebp - 0x678]
push eax
call fcn.0044b640
mov edx, dword [ebp - 0x630]
mov edi, dword [ebp - 0x644]
add esp, 0x14
jmp 0x48c39d
mov eax, edi
jmp 0x48c352
mov dword [ebp - 0x678], esi
mov esi, 8
mov eax, edi
cmp edx, esi
jae 0x48c3ae
lea eax, [ebp - 0x644]
mov ecx, dword [ebp - 0x67c]
push ecx
push eax
call dword [sym.imp.MSVCR100.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x48c448
cmp dword [ebp - 0x630], esi
jb 0x48c3de
mov edx, dword [ebp - 0x644]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov word [ebp - 0x644], ax
mov eax, dword [ebp - 0x650]
mov dword [ebp - 0x630], 7
mov dword [ebp - 0x634], ebx
cmp eax, ebx
je 0x48c40e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x650], ebx
mov dword [ebp - 0x64c], ebx
mov eax, dword [ebp - 0x65c]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x48c42e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x65c], ebx
mov dword [ebp - 0x658], ebx
cmp dword [ebp - 0x684], ebx
je 0x48c181
mov edi, dword [ebp - 0x674]
jmp 0x48c49f
mov edi, 1
cmp dword [ebp - 0x630], esi
jb 0x48c464
mov ecx, dword [ebp - 0x644]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x650]
xor edx, edx
mov dword [ebp - 0x630], 7
mov dword [ebp - 0x634], ebx
mov word [ebp - 0x644], dx
cmp eax, ebx
je 0x48c48e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x65c]
cmp eax, ebx
je 0x48c49f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x670]
cmp eax, ebx
je 0x48c4b0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
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.004b12f6
mov esp, ebp
pop ebp
ret