Function at 0x4100bf
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6d4
mov eax, dword [0x518450]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x5f]
push 0x3f
push ebx
push eax
mov byte [ebp - 0x60], bl
call fcn.004bf040
add esp, 0xc
mov dword [ebp - 0x6c8], ebx
mov dword [ebp - 0x6c4], ebx
mov edi, 0x80000001
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
mov dword [ebp - 0x6cc], 0xc
push 0x16
pop esi
push esi
lea eax, [ebp - 0x1a0]
push str.SoftwareCyberLinkPowerDVD_d
push eax
call ebx
add esp, 0xc
lea edx, [ebp - 0x1a0]
mov ecx, edi
call fcn.0040fe2a
cmp al, 1
je 0x41013b
dec esi
cmp esi, 0xb
jge 0x41010d
jmp 0x410419
push 0x23
lea edx, [ebp - 0x5b0]
pop ecx
call fcn.0040fdee
mov ecx, dword [ebp + 8]
xor esi, esi
add ecx, 9
mov dword [ebp - 0x60], 0x47524442
mov eax, ecx
mov dword [ebp - 0x58], 0x30
imul eax, ecx
inc esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x24], 0x4f464e49
add eax, 0x19
cdq
mov dword [ebp - 0x6c0], eax
imul eax, ecx, 5
mov dword [ebp - 0x6bc], edx
cdq
mov dword [ebp - 0x6b8], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x6c0]
mov dword [ebp - 0x6b4], edx
push eax
call fcn.00410b11
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x6b8]
push eax
call fcn.00410b11
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004104e2
lea eax, [ebp - 0x6b4]
mov dword [ebp - 0x6bc], 5
push eax
push str.SoftwareCyberLinkCommon
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x410212
push 4
lea eax, [ebp - 0x6bc]
push eax
push 4
push 0
push str.PBRCT
push dword [ebp - 0x6b4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x6b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x410218
jne 0x410218
lcall 0x4ab4, 0xba336ae8
add dword [ebp + 0x51e506b9], eax
add al, ch
invalid
push 0x33
mov edx, 0x85014ab4
mov ecx, 0x51e506
call fcn.004016ef
pop ecx
push 0
lea ecx, [ebp - 0x6c8]
push ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorA]
lea eax, [ebp - 0x5b0]
push eax
lea eax, [ebp - 0x3a8]
push str._sCyberLinkBDNAV_ris.ifo
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x6cc]
push 0
push 2
push 2
push eax
push 0
push 0xc0000000
lea eax, [ebp - 0x3a8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
cmp esi, 0xffffffff
je 0x4102d4
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x6bc]
push eax
push 0x40
lea eax, [ebp - 0x120]
push eax
push esi
call edi
push 0
lea eax, [ebp - 0x6bc]
push eax
push 0x10
lea eax, [ebp - 0x70]
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea eax, [ebp - 0x6d4]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x6d4]
lea esi, [ebp - 0x120]
push 0x10
pop ecx
lea edi, [ebp - 0xe0]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0xa0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x6d0]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xe0]
push 0x58
push eax
call fcn.004726c0
add esp, 0xc
lea eax, [ebp - 0x5b0]
push eax
call fcn.00410bf3
xor eax, eax
mov byte [ebp - 0x1c], 0
lea edi, [ebp - 0x1b]
xor ecx, ecx
stosd dword es:[edi], eax
lea edx, [ebp - 0x6b0]
mov dword [ebp - 0x6b4], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov al, byte [ebp + ecx - 0x84]
xor al, byte [ecx + 0x4efa20]
mov byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0x14
jl 0x41034b
xor esi, esi
movzx eax, byte [ebp + esi - 0x1c]
push eax
push str._02X
push edx
call ebx
mov edx, dword [ebp - 0x6b4]
add esp, 0xc
add edx, 4
inc esi
mov dword [ebp - 0x6b4], edx
cmp esi, 0xa
jl 0x410364
xor eax, eax
mov word [edx], ax
lea eax, [ebp - 0x6b0]
push eax
lea eax, [ebp - 0x5b0]
push eax
lea eax, [ebp - 0x3a8]
push str._sPDVD_s.ve2
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x6cc]
xor ebx, ebx
push ebx
push 2
push 2
push eax
push ebx
push 0xc0000000
lea eax, [ebp - 0x3a8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x410419
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x6bc]
push ebx
push eax
push 0x10
lea eax, [ebp - 0x70]
push eax
push esi
call edi
push ebx
lea eax, [ebp - 0x6bc]
push eax
push 0x14
lea eax, [ebp - 0x84]
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b9a6c
mov esp, ebp
pop ebp
ret 4