Function at 0x4be9b0
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1684
call fcn.006ab750
mov eax, dword [esp + 0x1688]
mov ecx, dword [esp + 0x168c]
mov edx, dword [esp + 0x1690]
push ebx
push ebp
mov word [eax], 0
mov eax, dword [esp + 0x169c]
push esi
mov word [ecx], 0
push edi
lea ecx, [esp + 0xa4c]
mov dword [eax], 0
push ecx
mov eax, str.SuiteUsageLinks
mov word [edx], 0
call fcn.004a55a0
lea edi, [esp + 0xa4c]
lea esi, [esp + 0xe60]
mov dword [esp + 0xa4c], 0x80000001
xor ebp, ebp
call fcn.00557d70
cmp word [esp + 0x1488], bp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
je 0x4bea95
mov eax, dword [esp + 0xe60]
mov ecx, eax
push 0x104
add eax, 1
lea edx, [esp + 0x844]
push edx
mov dword [esp + 0xe68], eax
mov eax, dword [esp + 0xe6c]
push ecx
push eax
add ebp, 1
call ebx
test eax, eax
jne 0x4bea8b
lea ecx, [esp + 0xe68]
push ecx
lea eax, [esp + 0x1280]
lea ecx, [esp + 0x844]
call fcn.00401730
cmp word [esp + 0x1488], 0
jne 0x4bea31
jmp 0x4bea95
mov word [esp + 0x1488], 0
mov edx, dword [esp + 0xe64]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
je 0x4bec0a
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
cmp byte [ecx + 1], 0
jne 0x4beaf8
push 0
call fcn.0069c84d
add esp, 4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
xor esi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
shl eax, 0x12
xor esi, eax
push esi
call fcn.0069d15e
mov edx, dword fs:[0x2c]
mov eax, dword [edx]
add esp, 4
mov byte [eax + 1], 1
call fcn.0069d16b
xor edx, edx
div ebp
mov ecx, dword [esp + 0xa4c]
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x18], ecx
xor eax, eax
mov edi, edx
jmp 0x4beb20
movzx ecx, word [esp + eax + 0xa50]
mov word [esp + eax + 0x1c], cx
add eax, 2
cmp cx, bp
jne 0x4beb20
xor eax, eax
jmp 0x4beb40
movzx ecx, word [esp + eax + 0xc58]
mov word [esp + eax + 0x224], cx
add eax, 2
cmp cx, bp
jne 0x4beb40
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 8
push ebp
lea eax, [esp + 0x230]
push eax
push ecx
mov word [esp + 0x444], bp
mov word [esp + 0x64c], bp
mov dword [esp + 0x440], 0x80000001
mov dword [esp + 0x24], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4beb9f
lea eax, [esp + 0x10]
call fcn.00557dc0
cmp word [esp + 0x638], bp
je 0x4bebff
lea esp, [esp]
cmp esi, edi
je 0x4bec23
mov eax, dword [esp + 0x10]
mov ecx, eax
push 0x104
add eax, 1
lea edx, [esp + 0x844]
push edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
add esi, 1
call ebx
test eax, eax
jne 0x4bec19
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x430]
lea ecx, [esp + 0x844]
call fcn.00401730
cmp word [esp + 0x638], bp
jne 0x4bebb0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1684
ret 0x10
mov word [esp + 0x638], bp
jmp 0x4bebff
mov edx, dword [esp + 0x1698]
push edx
mov edx, dword [esp + 0x430]
push 0x6bc0cc
push 0x6f701c
lea ecx, [esp + 0x644]
call fcn.004af7e0
mov edi, dword [esp + 0x169c]
mov edx, dword [esp + 0x42c]
push edi
push 0x6bc0cc
push 0x6f7024
lea ecx, [esp + 0x644]
call fcn.004af7e0
mov esi, dword [esp + 0x16a0]
mov edx, dword [esp + 0x42c]
push esi
push 0x6bc0cc
push 0x6f702c
lea ecx, [esp + 0x644]
call fcn.004af7e0
mov edx, dword [esp + 0x42c]
lea eax, [esp + 0x840]
push eax
push 0x6bc0cc
push 0x6f7034
lea ecx, [esp + 0x644]
call fcn.004af7e0
cmp word [esp + 0x840], 0
je 0x4becd4
lea ecx, [esp + 0x840]
push ecx
call fcn.0069c8f5
add esp, 4
jmp 0x4becd6
xor eax, eax
mov edx, dword [esp + 0x16a4]
mov word [edi + 4], 0
push esi
mov edi, 0x20
mov dword [edx], eax
call fcn.00552f50
mov eax, dword [esp + 0x14]
push eax
mov word [esi + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1684
ret 0x10