Function at 0x5dc990
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [esp], 0x154
call sub.msvcrt.dll_malloc
mov ecx, 0x55
mov ebx, eax
mov dword [ebp - 0x30], eax
mov edi, ebx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 0x140], 0xffffffff
mov dword [esp + 4], str.DivXDecH264.ax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x148], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll__stricmp
test eax, eax
je 0x5dce30
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x24], 0
mov dword [esp + 4], eax
mov dword [ebx + 0x28], 0xffffffff
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 1
mov dword [esp], ebx
call fcn.005dc760
mov dword [esp], 0x64
call sub.msvcrt.dll_malloc
mov esi, dword [ebx + 0x134]
mov edx, 0x58
test al, 1
mov edi, eax
mov dword [ebx + 0x138], eax
jne 0x5dcff0
test edi, 2
jne 0x5dd00c
mov ecx, edx
shr ecx, 2
test dl, 2
rep movsd dword es:[edi], dword [esi]
je 0x5dca66
movzx ecx, word [esi]
mov word [edi], cx
mov ecx, 2
and edx, 1
je 0x5dca72
movzx edx, byte [esi + ecx]
mov byte [edi + ecx], dl
lea edx, [eax + 0x58]
mov dword [eax + 0x58], 0
lea ecx, [ebx + 0xec]
mov dword [edx + 4], 0
mov edi, ecx
mov dword [edx + 8], 0
mov eax, dword [ebx + 0x138]
mov edx, 0x48
mov dword [ebp - 0x2c], ecx
and ecx, 1
mov dword [eax + 0x40], 0
mov word [eax + 0x3e], 0x18
jne 0x5dd030
test edi, 2
jne 0x5dd020
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x5dcad8
mov word [edi], 0
add edi, 2
and edx, 1
je 0x5dcae0
mov byte [edi], 0
mov eax, dword [0xa163c4]
mov ecx, dword [0xa16478]
mov edx, dword [ebx + 0x138]
mov dword [ebx + 0x10c], 1
mov dword [ebx + 0xec], eax
mov eax, dword [0xa163c8]
mov dword [ebx + 0x100], ecx
mov ecx, dword [0xa16480]
mov dword [ebx + 0x110], 0
mov dword [ebx + 0xf0], eax
mov eax, dword [0xa163cc]
mov dword [ebx + 0x108], ecx
mov dword [ebx + 0xf4], eax
mov eax, dword [0xa163d0]
mov dword [ebx + 0xf8], eax
mov eax, dword [0xa16474]
mov dword [ebx + 0xfc], eax
mov eax, dword [0xa1647c]
mov dword [ebx + 0x104], eax
mov eax, dword [0xa163e4]
mov dword [ebx + 0x118], eax
mov eax, dword [0xa163e8]
mov dword [ebx + 0x11c], eax
mov eax, dword [0xa163ec]
mov dword [ebx + 0x120], eax
mov eax, dword [0xa163f0]
mov dword [ebx + 0x124], eax
movsx esi, word [edx + 0x3e]
mov eax, dword [edx + 0x38]
imul eax, dword [edx + 0x34]
add esi, 7
mov ecx, esi
sar ecx, 0x1f
shr ecx, 0x1d
add ecx, esi
sar ecx, 3
imul eax, ecx
lea esi, [ebx + 0x6c]
mov edi, esi
mov ecx, eax
sar ecx, 0x1f
xor eax, ecx
sub eax, ecx
mov ecx, 0xd
mov dword [ebx + 0x114], eax
mov dword [edx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x128], 0
mov dword [ebx + 0x12c], 0x58
mov dword [ebx + 0x130], edx
rep stosd dword es:[edi], eax
mov edx, dword [ebx + 0x34]
mov eax, dword [edx]
cmp eax, 0x34
jbe 0x5dcbe7
mov eax, 0x34
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], esi
call sub.msvcrt.dll_memcpy
mov eax, dword [ebx + 0x74]
imul eax, dword [ebx + 0x70]
mov word [ebx + 0x7a], 0x18
mov dword [ebx + 0x6c], 0x28
mov dword [ebx + 0x7c], 0
mov edx, eax
sar edx, 0x1f
xor eax, edx
sub eax, edx
lea eax, [eax + eax*2]
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [eax + 0xc118d8], 0
add eax, 4
cmp eax, 0x18
jb 0x5dcc26
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x10], 0xc118d8
mov dword [esp + 0xc], eax
lea eax, [ebx + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005dbf20
test eax, eax
mov dword [ebx + 0xa0], eax
je 0x5dd044
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x5dcfa0
mov edx, dword [ebx + 0x6c]
lea eax, [ebx + 0x38]
mov dword [ebx + 0x38], edx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov edx, dword [esi + 8]
mov dword [eax + 8], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [esi + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [esi + 0x18]
mov dword [eax + 0x18], edx
mov edx, dword [esi + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [esi + 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [esi + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [esi + 0x28]
mov dword [eax + 0x28], edx
mov edx, dword [esi + 0x2c]
mov dword [eax + 0x2c], edx
mov edx, dword [esi + 0x30]
mov dword [ebx + 0x13c], 0
mov dword [eax + 0x30], edx
mov dword [esp], str.Decoder_supports_the_following_YUV_formats:
call sub.msvcrt.dll_printf
mov eax, dword [0x916540]
test eax, eax
je 0x5dcd80
mov esi, 0x916540
mov edi, dword [ebp - 0x2c]
jmp 0x5dcd09
add esi, 0x10
mov eax, dword [esi]
test eax, eax
je 0x5dcd80
mov edx, dword [ebx + 0x138]
mov word [edx + 0x3e], ax
mov eax, dword [esi + 4]
mov dword [edx + 0x40], eax
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [ebx + 0xfc], edx
mov edx, dword [eax + 4]
mov dword [ebx + 0x100], edx
mov edx, dword [eax + 8]
mov dword [ebx + 0x104], edx
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x108], eax
mov eax, dword [ebx + 0xa0]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x2c]
sub esp, 8
test eax, eax
jne 0x5dcd00
mov eax, dword [esi + 0xc]
or dword [ebx + 0x13c], eax
lea eax, [esi + 4]
add esi, 0x10
mov dword [esp + 4], eax
mov dword [esp], 0xa16081
call sub.msvcrt.dll_printf
mov eax, dword [esi]
test eax, eax
jne 0x5dcd09
mov dword [esp], 0xa
call sub.msvcrt.dll_putchar
mov eax, dword [ebx + 0x13c]
test eax, eax
jne 0x5dcf84
mov eax, dword [ebx + 0x138]
mov edi, str.divxcvki.ax
mov ecx, dword [0xa16478]
mov esi, dword [ebp + 8]
mov word [eax + 0x3e], 0x18
mov dword [eax + 0x40], 0
mov eax, dword [0xa16474]
mov dword [ebx + 0x100], ecx
mov ecx, dword [0xa16480]
mov dword [ebx + 0xfc], eax
mov eax, dword [0xa1647c]
mov dword [ebx + 0x108], ecx
mov ecx, 0xc
mov dword [ebx + 0x104], eax
mov eax, dword [ebx]
mov dword [ebx + 0x144], eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x5dcf08
mov esi, dword [ebp + 8]
mov edi, str.divxdec.ax
mov ecx, 0xb
mov dword [ebx + 0x14c], 1
repe cmpsb byte [esi], byte es:[edi]
sete dl
add eax, 7
movzx edx, dl
mov dword [ebx + 0x150], edx
mov dword [ebx], eax
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
lea edi, [ebp - 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareDivXNetworksDivX4Windows
mov dword [esp], 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
jne 0x5dceb1
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.AVC_7x_Logo
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegSetValueExA
mov eax, dword [ebp - 0x1c]
sub esp, 0x18
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
jmp 0x5dc9e3
lea eax, [ebp - 0x24]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20006
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareDivXNetworksDivX4Windows
mov dword [esp], 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
sub esp, 0x24
test eax, eax
jne 0x5dc9e3
jmp 0x5dce6c
mov esi, dword [ebp + 8]
mov edi, str.divx_c32.ax
mov ecx, 0xc
repe cmpsb byte [esi], byte es:[edi]
je 0x5dcdf8
mov esi, dword [ebp + 8]
mov edi, str.wmvds32.ax
mov ecx, 0xb
repe cmpsb byte [esi], byte es:[edi]
je 0x5dcdf8
mov esi, dword [ebp + 8]
mov edi, str.wmv8ds32.ax
mov ecx, 0xc
repe cmpsb byte [esi], byte es:[edi]
je 0x5dcdf8
mov esi, dword [ebp + 8]
mov edi, str.divxdec.ax
mov ecx, 0xb
mov dword [ebx + 0x14c], 0
repe cmpsb byte [esi], byte es:[edi]
sete dl
movzx edx, dl
test edx, edx
mov dword [ebx + 0x150], edx
je 0x5dce22
add eax, 9
mov dword [ebx], eax
mov eax, dword [ebp - 0x30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], eax
mov dword [esp], 0xa16088
call sub.msvcrt.dll_printf
jmp 0x5dcd9a
mov edx, dword [ebx + 0x74]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebx + 0x138]
neg edx
mov dword [ebx + 0x74], edx
mov dword [ecx + 0x38], edx
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [edx + 0x2c]
sub esp, 8
test eax, eax
je 0x5dcc7c
mov dword [esp], 0xa16024
call sub.msvcrt.dll_puts
mov eax, dword [ebx + 0x74]
mov edx, dword [ebx + 0x138]
neg eax
mov dword [ebx + 0x74], eax
mov dword [edx + 0x38], eax
jmp 0x5dcc7c
movzx edx, byte [esi]
lea edi, [eax + 1]
add esi, 1
test edi, 2
mov byte [eax], dl
mov edx, 0x57
je 0x5dca4f
movzx ecx, word [esi]
sub edx, 2
add esi, 2
mov word [edi], cx
add edi, 2
jmp 0x5dca4f
mov word [edi], 0
sub edx, 2
add edi, 2
jmp 0x5dcac2
mov byte [ebx + 0xec], 0
lea edi, [ebx + 0xed]
mov dl, 0x47
jmp 0x5dcab6
mov dword [esp], str.Failed_to_create_DirectShow_filter
call sub.msvcrt.dll_puts
mov dword [ebp - 0x30], 0
jmp 0x5dce22