Function at 0x416f99
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1404
call fcn.004ba2e0
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x13fc], eax
mov eax, dword [esp + 0x140c]
push ebx
mov ebx, dword [esp + 0x1414]
push ebp
mov ebp, dword [esp + 0x1410]
push esi
push edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1424]
push str.CPowerDVD11::EncryptRawData
mov dword [esp + 0x14], eax
call dword [sym.imp.VMProtectSDK32.dll_VMProtectBegin]
xor esi, esi
lea eax, [esp + 0x274]
push 0x9c
push esi
push eax
mov dword [esp + 0x27c], esi
call fcn.004b6030
push 0x1014
lea eax, [esp + 0x320]
push esi
push eax
call fcn.004b6030
lea eax, [esp + 0x30]
push eax
call fcn.0046db9a
push 0x40
lea eax, [esp + 0x38]
push ebp
push eax
call fcn.0046dbc2
lea eax, [esp + 0x40]
push eax
call fcn.0046dade
lea esi, [esp + 0x9c]
add esp, 0x2c
lea edi, [esp + 0x1348]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x1378]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00416ee3
lea eax, [esp + 0x178]
push eax
push 0x51ac38
call fcn.0046c22c
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x1364]
push eax
lea eax, [esp + 0x1388]
push eax
call fcn.004025a0
mov edi, ebx
lea esi, [esp + 0x136c]
mov ebx, 0x51ac28
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x1370]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ebx
lea edi, [esp + 0x1354]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0046c308
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x1358]
push eax
push 0x40
lea eax, [esp + 0x13f0]
push eax
push ebp
call fcn.0046c538
mov esi, ebx
lea edi, [esp + 0x1368]
push 0x80
lea eax, [esp + 0x137c]
push eax
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x2a8]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0046feab
add esp, 0x3c
xor ebp, ebp
inc ebp
xor ebx, ebx
push 0xfffffffffffffff0
pop ecx
push 0x10
pop eax
push 0x40
pop esi
lea edi, [ecx + 0x10]
sub esi, edi
cmp esi, eax
cmova esi, eax
lea eax, [esp + 0x13d8]
add eax, ecx
push esi
push eax
lea eax, [esp + 0x1330]
push eax
call fcn.004b91d0
push 0x10
pop eax
sub eax, esi
push eax
lea eax, [esp + 0x1338]
add eax, esi
push ebx
push eax
call fcn.004b6030
add esp, 0x18
mov eax, ebx
test ebp, ebp
je 0x41715b
mov cl, byte [esp + eax + 0x1338]
jmp 0x417162
mov cl, byte [esp + eax + 0x1368]
xor byte [esp + eax + 0x1328], cl
inc eax
cmp eax, 0x10
jl 0x41714e
lea eax, [esp + 0x1368]
mov ebp, ebx
push eax
lea eax, [esp + 0x132c]
push eax
lea eax, [esp + 0x278]
push eax
call fcn.0046f468
mov ecx, edi
lea esi, [esp + 0x1374]
lea edi, [esp + 0x1394]
add esp, 0xc
add edi, ecx
lea eax, [ecx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp eax, 0x40
jb 0x41710b
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x1388]
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov al, byte [ebx + 0x4e8a20]
xor al, byte [esp + ebx + 0x1348]
mov byte [ecx + ebx], al
inc ebx
cmp ebx, 0x10
jl 0x4171c7
call dword [sym.imp.VMProtectSDK32.dll_VMProtectEnd]
mov ecx, dword [esp + 0x140c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x1404
ret 0x10