joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49a330
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5fee8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
sub eax, 0x10
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.00414870
add eax, 0x10
mov dword [esi], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
mov dword [esp + 0x1c], 0
call fcn.00403f80
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
mov byte [esp + 0x20], 1
call fcn.00403f80
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 2
call fcn.00403f80
add esp, 0x10
add eax, 0x10
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], edx
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x49c260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
fld qword [edi + 0x18]
fstp qword [esi + 0x18]
lea ebp, [esi + 0x50]
fld qword [edi + 0x20]
fstp qword [esi + 0x20]
fld qword [edi + 0x28]
fstp qword [esi + 0x28]
fld qword [edi + 0x30]
fstp qword [esi + 0x30]
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
movzx ecx, byte [edi + 0x48]
mov byte [esi + 0x48], cl
mov dl, byte [edi + 0x49]
mov byte [esi + 0x49], dl
mov al, byte [edi + 0x4a]
mov byte [esi + 0x4a], al
movzx ecx, byte [edi + 0x4b]
mov byte [esi + 0x4b], cl
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x4c], edx
mov ecx, dword [edi + 0x50]
mov ebx, dword [ebp]
lea eax, [ecx - 0x10]
sub ebx, 0x10
cmp eax, ebx
je 0x49c339
cmp dword [ebx + 0xc], 0
jl 0x49c32d
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x49c32d
push eax
call fcn.00403f80
mov dword [esp + 0x18], eax
add esp, 4
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49c321
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x14]
add ecx, 0x10
mov dword [ebp], ecx
jmp 0x49c339
mov edx, dword [ecx - 0xc]
push edx
push ecx
mov ecx, ebp
call fcn.00401c00
fld qword [edi + 0x58]
fstp qword [esi + 0x58]
fld qword [edi + 0x60]
fstp qword [esi + 0x60]
fld qword [edi + 0x68]
fstp qword [esi + 0x68]
fld qword [edi + 0x70]
fstp qword [esi + 0x70]
mov eax, dword [edi + 0x78]
mov dword [esi + 0x78], eax
mov cl, byte [edi + 0x7c]
mov byte [esi + 0x7c], cl
mov dl, byte [edi + 0x7d]
mov byte [esi + 0x7d], dl
mov al, byte [edi + 0x7e]
mov byte [esi + 0x7e], al
mov ecx, dword [edi + 0x80]
mov dword [esi + 0x80], ecx
fld qword [edi + 0x88]
fstp qword [esi + 0x88]
mov eax, esi
fld qword [edi + 0x90]
fstp qword [esi + 0x90]
fld qword [edi + 0x98]
fstp qword [esi + 0x98]
fld qword [edi + 0xa0]
fstp qword [esi + 0xa0]
fld qword [edi + 0xa8]
fstp qword [esi + 0xa8]
fld qword [edi + 0xb0]
fstp qword [esi + 0xb0]
mov edx, dword [edi + 0xb8]
pop edi
mov dword [esi + 0xb8], edx
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4a1020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ff6ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi], vtable.CSimpleTextSubtitle.0
mov dword [esp + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov byte [esp + 0x14], 1
call fcn.005a2e2e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4a1081
push 0x80004005
call fcn.00401480
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x14], 2
call fcn.005a2e2e
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4a10af
push 0x80004005
call fcn.00401480
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x34], eax
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 3
call fcn.0049caa0
fld1
xor eax, eax
fstp qword [esi + 0x88]
xor ecx, ecx
mov dword [esi + 0x38], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x3c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov byte [esi + 0x48], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x80], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4ab500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6002bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
push eax
push ecx
push edx
push ecx
add ebx, 0xfffffff0
xor edi, edi
mov dword [esp + 0x44], esp
mov ebp, esp
push ebx
mov dword [esp + 0x30], edi
call fcn.00414870
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [esp + 0x38]
add esp, 4
push eax
mov ecx, esi
call fcn.004a8b90
fld qword [esp + 0x38]
mov ecx, dword [esp + 0x48]
fstp qword [esi + 0x170]
fld qword [esp + 0x40]
mov dword [esi], vtable.CPolygon.0
fstp qword [esi + 0x178]
mov dword [esi + 0x180], ecx
mov dword [esi + 0x184], edi
mov dword [esi + 0x188], edi
mov dword [esi + 0x18c], edi
mov dword [esi + 0x190], edi
mov dword [esi + 0x194], edi
mov dword [esi + 0x198], edi
mov dword [esi + 0x19c], edi
mov dword [esi + 0x1a0], edi
mov ecx, esi
mov byte [esp + 0x1c], 3
call fcn.004aa940
mov dword [esp + 0x1c], 0xffffffff
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4ab5df
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x28
Function at 0x4c6340
Capabilities:
Encode data using xor

Disassembly:
cmp eax, edx
jne 0x4c6368
lea ecx, [edx + edi - 1]
cmp eax, ecx
jae 0x4c6383
lea esp, [esp]
movzx edx, byte [ecx]
xor byte [eax], dl
mov dl, byte [eax]
xor byte [ecx], dl
mov dl, byte [ecx]
xor byte [eax], dl
add eax, 1
sub ecx, 1
cmp eax, ecx
jb 0x4c6350
ret
xor ecx, ecx
test edi, edi
jle 0x4c6383
push esi
lea esi, [edx + edi - 1]
mov dl, byte [esi]
mov byte [ecx + eax], dl
add ecx, 1
sub esi, 1
cmp ecx, edi
jl 0x4c6373
pop esi
ret

Function at 0x4c6900
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x6018c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f1550]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, ecx
xor esi, esi
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x2c]
lea eax, [edi - 1]
cmp eax, 0x7f
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], eax
ja case.0x4c694e.3
movzx eax, byte [eax + 0x4c6b0c]
jmp dword [eax*4 + 0x4c6af8]
push 0x24
call fcn.0059b05a
mov ebx, eax
add esp, 4
mov dword [ebx], 0x24
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
mov ecx, dword [ebp + 8]
push esi
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], esi
mov eax, dword [ebx]
lea edx, [esp + 0x1c]
push edx
push eax
push ebx
push eax
mov eax, dword [ebp + 4]
push ebx
push 0x335004
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4c6a2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [esp + 0x28], 0xffffffff
call fcn.0059b05f
add esp, 4
xor al, al
jmp 0x4c6ae0
push 0x20
call fcn.0059b05a
mov ebx, eax
add esp, 4
mov dword [ebx], 0x20
jmp 0x4c6967
push 0x818
call fcn.0059b05a
mov ebx, eax
add esp, 4
mov dword [ebx], 0x818
jmp 0x4c6967
push 0x20
call fcn.0059b05a
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x34]
push esi
cdq
push 0x800
push edx
push eax
mov dword [ebx], 0x20
call fcn.005bf960
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
jmp 0x4c696d
push esi
mov dword [esp + 0x28], 0xffffffff
call fcn.0059b05f
add esp, 4
xor al, al
jmp 0x4c6ae0
mov ecx, dword [esp + 0x2c]
movzx edx, byte [ecx + 0x4c6ba0]
jmp dword [edx*4 + 0x4c6b8c]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x4c80d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x601b2a
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x6f1550]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f1550]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
call fcn.00486290
mov ecx, dword [0x6144e4]
mov esi, dword [esp + 0xa4]
cmp esi, 3
mov edx, dword [0x6144e8]
mov eax, dword [0x6144ec]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x6144f0]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x98], 1
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov ecx, 0x6147c4
je 0x4c8169
mov ecx, 0x614754
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov di, word [esp + 0xac]
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [0x614974]
mov dword [esp + 0x70], eax
mov eax, dword [0x614978]
mov dword [esp + 0x74], eax
mov eax, dword [0x61497c]
mov dword [esp + 0x78], eax
mov eax, dword [0x614980]
mov dword [esp + 0x7c], eax
xor eax, eax
cmp esi, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov word [esp + 0x1c], dx
mov word [esp + 0x1e], di
mov dword [esp + 0x20], ebp
je 0x4c8207
jle 0x4c8201
cmp esi, 3
jg 0x4c8201
mov bx, 0x20
jmp 0x4c820b
mov bx, 0x10
jmp 0x4c820b
mov bx, 0x18
movzx edx, di
movzx eax, bx
imul eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov word [esp + 0x28], ax
movzx eax, ax
imul eax, ebp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb0]
test eax, eax
mov word [esp + 0x2a], bx
jne 0x4c8254
cmp esi, 1
je 0x4c8246
cmp esi, 2
jne 0x4c8286
xor eax, eax
cmp di, 2
setne al
add eax, 3
je 0x4c8286
mov edx, dword [ecx]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0xc]
mov word [esp + 0x1c], 0xfffe
mov word [esp + 0x2c], 0x16
mov word [esp + 0x2e], bx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
movzx ecx, word [esp + 0x2c]
add ecx, 0x12
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x4c]
call fcn.00486430
mov esi, dword [esp + 0x18]
push 0
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.004862a0
lea ecx, [esp + 0x44]
mov dword [esp + 0x14], 1
mov byte [esp + 0x98], 0
call fcn.00486280
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005bf6a4
add esp, 0x88
ret 0x14
Function at 0x4c9050
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareGabestFiltersMPEG_Audio_Decoder
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [esi], vtable.CMpaDecFilter.4.0
mov dword [esi + 0xc], vtable.CMpaDecFilter.3.0
mov dword [esi + 0x10], vtable.CMpaDecFilter.2.0
mov dword [esi + 0x98], vtable.CMpaDecFilter.1.0
mov dword [esi + 0x9c], vtable.CMpaDecFilter.0
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c91d6
mov edi, dword [esp + 8]
mov edx, dword [esi + 0x59b0]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.SampleFormat
push edi
mov dword [esp + 0x28], edx
call ebx
movzx ecx, byte [esi + 0x59b4]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.Normalize
push edi
mov dword [esp + 0x28], ecx
call ebx
mov eax, dword [esi + 0x59c8]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.Boost
push edi
mov dword [esp + 0x28], eax
call ebx
mov edx, dword [esi + 0x59b8]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.Ac3SpeakerConfig
push edi
mov dword [esp + 0x28], edx
call ebx
mov ecx, dword [esi + 0x59bc]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.DtsSpeakerConfig
push edi
mov dword [esp + 0x28], ecx
call ebx
mov eax, dword [esi + 0x59c0]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.AacSpeakerConfig
push edi
mov dword [esp + 0x28], eax
call ebx
movzx edx, byte [esi + 0x59c4]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.Ac3DynamicRangeControl
push edi
mov dword [esp + 0x28], edx
call ebx
movzx ecx, byte [esi + 0x59c5]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
mov dword [esp + 0x20], ecx
push str.DtsDynamicRangeControl
push edi
call ebx
movzx eax, byte [esi + 0x59c6]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.AacDynamicRangeControl
push edi
mov dword [esp + 0x28], eax
call ebx
test edi, edi
pop ebx
je 0x4c91d6
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea edx, [esi + 0x5998]
push edx
call edi
lea ecx, [esi + 0x5978]
call fcn.004c8dc0
lea ecx, [esi + 0xc0]
call fcn.004c8cc0
lea eax, [esi + 0xa0]
push eax
call edi
pop edi
mov ecx, esi
pop esi
add esp, 0xc
jmp fcn.005e5420
Function at 0x4ce6d0
Capabilities:
Access peb ldr_data
Get ntdll base address
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6021da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], vtable.CMpeg2DecFilter.4.0
mov dword [esi + 0xc], vtable.CMpeg2DecFilter.3.0
mov dword [esi + 0x10], vtable.CMpeg2DecFilter.2.0
mov dword [esi + 0xe8], vtable.CMpeg2DecFilter.1.0
mov dword [esi + 0xec], vtable.CMpeg2DecFilter.0
xor ebx, ebx
mov dword [esp + 0x24], ebx
xor edi, edi
mov dword [esp + 0x10], edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SoftwareGabestFiltersMPEG_Video_Decoder
push reloc.DSOUND.dll_DirectSoundCreate
mov byte [esp + 0x48], 4
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4ce84c
mov edi, dword [esp + 0xc]
mov edx, dword [esi + 0x184]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push ebx
push str.DeinterlaceMethod
push edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edx
call ebp
mov ecx, dword [esi + 0x188]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push ebx
push str.Brightness
push edi
mov dword [esp + 0x28], ecx
call ebp
mov eax, dword [esi + 0x18c]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push ebx
push str.Contrast
push edi
mov dword [esp + 0x28], eax
call ebp
mov edx, dword [esi + 0x190]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push ebx
push 0x62a0a4
push edi
mov dword [esp + 0x28], edx
call ebp
mov ecx, dword [esi + 0x194]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push ebx
push str.Saturation
push edi
mov dword [esp + 0x28], ecx
call ebp
movzx eax, byte [esi + 0x20298]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push ebx
push str.ForcedSubtitles
push edi
mov dword [esp + 0x28], eax
call ebp
movzx edx, byte [esi + 0x20299]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push ebx
push str.PlanarYUV
push edi
mov dword [esp + 0x28], edx
call ebp
movzx ecx, byte [esi + 0x2029a]
push 4
lea edx, [esp + 0x14]
push edx
push 4
mov dword [esp + 0x1c], ecx
push ebx
push str.Interlaced
push edi
call ebp
pop ebp
mov ecx, dword [esi + 0xf0]
cmp ecx, ebx
je 0x4ce85f
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 1
call edx
mov ecx, dword [esi + 0xf4]
cmp ecx, ebx
je 0x4ce872
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 1
call edx
cmp edi, ebx
je 0x4ce87d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x11c]
cmp eax, ebx
je 0x4ce89d
push eax
call fcn.005c7d0e
add esp, 4
mov dword [esi + 0x11c], ebx
mov ecx, dword [esi + 0xf8]
cmp ecx, ebx
mov byte [esp + 0x24], bl
je 0x4ce8b9
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, esi
mov dword [esi + 0xf8], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.00505570
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4ce6e9
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x6021da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esi], vtable.CMpeg2DecFilter.4.0
mov dword [esi + 0xc], vtable.CMpeg2DecFilter.3.0
mov dword [esi + 0x10], vtable.CMpeg2DecFilter.2.0
mov dword [esi + 0xe8], vtable.CMpeg2DecFilter.1.0
mov dword [esi + 0xec], vtable.CMpeg2DecFilter.0
xor ebx, ebx
mov dword [esp + 0x24], ebx
xor edi, edi
mov dword [esp + 0x10], edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
push ecx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SoftwareGabestFiltersMPEG_Video_Decoder
push reloc.DSOUND.dll_DirectSoundCreate
mov byte [esp + 0x48], 4
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4ce84c
mov edi, dword [esp + 0xc]
mov edx, dword [esi + 0x184]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push ebx
push str.DeinterlaceMethod
push edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edx
call ebp
mov ecx, dword [esi + 0x188]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push ebx
push str.Brightness
push edi
mov dword [esp + 0x28], ecx
call ebp
mov eax, dword [esi + 0x18c]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push ebx
push str.Contrast
push edi
mov dword [esp + 0x28], eax
call ebp
mov edx, dword [esi + 0x190]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push ebx
push 0x62a0a4
push edi
mov dword [esp + 0x28], edx
call ebp
mov ecx, dword [esi + 0x194]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push ebx
push str.Saturation
push edi
mov dword [esp + 0x28], ecx
call ebp
movzx eax, byte [esi + 0x20298]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push ebx
push str.ForcedSubtitles
push edi
mov dword [esp + 0x28], eax
call ebp
movzx edx, byte [esi + 0x20299]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push ebx
push str.PlanarYUV
push edi
mov dword [esp + 0x28], edx
call ebp
movzx ecx, byte [esi + 0x2029a]
push 4
lea edx, [esp + 0x14]
push edx
push 4
mov dword [esp + 0x1c], ecx
push ebx
push str.Interlaced
push edi
call ebp
pop ebp
mov ecx, dword [esi + 0xf0]
cmp ecx, ebx
je 0x4ce85f
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 1
call edx
mov ecx, dword [esi + 0xf4]
cmp ecx, ebx
je 0x4ce872
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 1
call edx
cmp edi, ebx
je 0x4ce87d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x11c]
cmp eax, ebx
je 0x4ce89d
push eax
call fcn.005c7d0e
add esp, 4
mov dword [esi + 0x11c], ebx
mov ecx, dword [esi + 0xf8]
cmp ecx, ebx
mov byte [esp + 0x24], bl
je 0x4ce8b9
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, esi
mov dword [esi + 0xf8], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.00505570
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4dc1d0
Capabilities:
Encode data using add xor sub operations

Disassembly:
lea ecx, [eax + 1]
cmp eax, ecx
jae 0x4dc1ee
movzx edx, byte [ecx]
xor byte [eax], dl
mov dl, byte [eax]
xor byte [ecx], dl
mov dl, byte [ecx]
xor byte [eax], dl
add eax, 1
sub ecx, 1
cmp eax, ecx
jb 0x4dc1d7
ret

Function at 0x4dc210
Capabilities:
Encode data using add xor sub operations

Disassembly:
lea ecx, [eax + 3]
cmp eax, ecx
jae 0x4dc22e
movzx edx, byte [ecx]
xor byte [eax], dl
mov dl, byte [eax]
xor byte [ecx], dl
mov dl, byte [ecx]
xor byte [eax], dl
add eax, 1
sub ecx, 1
cmp eax, ecx
jb 0x4dc217
ret

Function at 0x4dc4e0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov eax, esi
call fcn.004dc210
lea eax, [esi + 0xc]
call fcn.004dc1d0
lea eax, [esi + 0xe]
call fcn.004dc1d0
lea eax, [esi + 0x10]
call fcn.004dc1d0
lea eax, [esi + 0x12]
call fcn.004dc210
lea eax, [esi + 0x16]
call fcn.004dc210
lea eax, [esi + 0x1a]
call fcn.004dc210
lea eax, [esi + 0x1e]
pop esi
jmp fcn.004dc210

Function at 0x4dc530
Capabilities:
Encode data using add xor sub operations

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 4]
call fcn.004dc1d0
lea eax, [esi + 0x10]
call fcn.004dc1d0
lea eax, [esi + 0x12]
call fcn.004dc210
lea eax, [esi + 0x16]
call fcn.004dc1d0
lea eax, [esi + 0x18]
call fcn.004dc210
lea eax, [esi + 0x28]
call fcn.004dc1d0
lea eax, [esi + 0x2a]
call fcn.004dc1d0
lea eax, [esi + 0x2c]
pop esi
jmp fcn.004dc1d0

Function at 0x4dc580
Capabilities:
Encode data using add xor sub operations

Disassembly:
push esi
mov esi, ecx
call fcn.004dc530
lea eax, [esi + 0x30]
call fcn.004dc1d0
lea eax, [esi + 0x34]
call fcn.004dc1d0
lea eax, [esi + 0x36]
pop esi
jmp fcn.004dc1d0

Function at 0x4dc5b0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov esi, ecx
call fcn.004dc530
lea eax, [esi + 0x36]
call fcn.004dc1d0
lea eax, [esi + 0x3a]
call fcn.004dc1d0
lea eax, [esi + 0x3c]
pop esi
jmp fcn.004dc1d0