Function at 0x10052b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10144c04
mov eax, dword fs:[0]
push eax
sub esp, 0x8e0
push esi
push edi
lea edi, [ebp - 0x8ec]
mov ecx, 0x238
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101b32cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8e8], 0
cmp dword [ebp + 0x18], 3
jne 0x10052c09
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.10052b10
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x10052bc9
lea edx, [ebp - 0x18]
push edx
push 1
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x5c]
push eax
call fcn.10052b10
add esp, 0x18
mov dword [ebp - 0x8ec], eax
mov ecx, dword [ebp - 0x8ec]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.1004ce20
lea ecx, [ebp - 0x5c]
call fcn.100055c0
cmp dword [ebp + 0x1c], 0
je 0x10052bd7
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10004b10
mov edx, dword [ebp - 0x8e8]
or edx, 1
mov dword [ebp - 0x8e8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.100055c0
mov eax, dword [ebp + 8]
jmp 0x10052dd3
mov eax, dword [str.DivXProductConfig]
push eax
lea ecx, [ebp - 0x88]
call fcn.1000a5e0
mov dword [ebp - 4], 1
push 0x1f4
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x68]
call fcn.1005b9c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.1000b3d0
lea ecx, [ebp - 0x68]
call fcn.1005bdc0
movzx edx, al
test edx, edx
jne 0x10052c94
cmp dword [ebp + 0x1c], 0
je 0x10052c62
mov eax, dword [ebp + 0x1c]
mov dword [eax], 1
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10004bb0
mov edx, dword [ebp - 0x8e8]
or edx, 1
mov dword [ebp - 0x8e8], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.1005bd60
mov eax, dword [ebp + 8]
jmp 0x10052dd3
mov dword [ebp - 0x8b0], 1
mov dword [ebp - 0x8bc], 0x800
push 0x400
mov ecx, dword [ebp + 0x14]
call fcn.10006750
push eax
lea eax, [ebp - 0x898]
push eax
call fcn.100df950
add esp, 0xc
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x8a4]
push eax
call fcn.10054350
add esp, 0xc
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x10052d75
mov esi, esp
lea ecx, [ebp - 0x8bc]
push ecx
lea edx, [ebp - 0x898]
push edx
lea eax, [ebp - 0x8b0]
push eax
push 0
mov ecx, dword [ebp + 0x10]
call fcn.10006750
push eax
mov ecx, dword [ebp - 0x8a4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.10097d90
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x10052d40
mov dword [ebp - 0x90], 0
jmp 0x10052d5f
cmp dword [ebp - 0x8c], 5
jne 0x10052d55
mov dword [ebp - 0x90], 2
jmp 0x10052d5f
mov dword [ebp - 0x90], 1
mov esi, esp
mov edx, dword [ebp - 0x8a4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.10097d90
cmp dword [ebp + 0x1c], 0
je 0x10052d86
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x90]
mov dword [eax], ecx
lea edx, [ebp - 0x898]
push edx
lea ecx, [ebp - 0x8e0]
call fcn.100437e0
lea eax, [ebp - 0x8e0]
push eax
mov ecx, dword [ebp + 8]
call fcn.10004b10
mov ecx, dword [ebp - 0x8e8]
or ecx, 1
mov dword [ebp - 0x8e8], ecx
lea ecx, [ebp - 0x8e0]
call fcn.100055c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.1005bd60
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x10052e0c]
call fcn.10097d30
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10097dc0
add esp, 0x8ec
cmp ebp, esp
call fcn.10097d90
mov esp, ebp
pop ebp
ret