Function at 0x4df0f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520c7d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x565300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.004a7910
test al, al
je 0x4df4ae
push dword [ebp + 0x10]
mov ecx, esi
push str.beauty
push edi
call fcn.004de6c0
push dword [ebp + 0x14]
mov ecx, esi
mov byte [ebp - 0x44], al
push str.beauty_white
push edi
call fcn.004df9d0
push dword [ebp + 0x18]
mov ecx, esi
mov dword [ebp - 0x40], eax
push str.beauty_buffing
push edi
call fcn.004df9d0
push dword [ebp + 0x1c]
mov ecx, esi
mov dword [ebp - 0x3c], eax
push str.chromakey
push edi
call fcn.004de6c0
push ecx
mov ecx, esp
mov byte [ebp - 0x38], al
mov ax, word [ebp + 0x1d]
push str.chroma_color
mov word [ecx], ax
mov al, byte [ebp + 0x1f]
mov byte [ecx + 2], al
mov ecx, edi
call fcn.004a6f30
push eax
lea eax, [ebp + 0xd]
mov ecx, esi
push eax
call fcn.004de890
push dword [ebp + 0x20]
push str.chroma_similarity
movzx ecx, byte [eax]
mov byte [ebp - 0x37], cl
movzx ecx, byte [eax + 1]
mov al, byte [eax + 2]
mov byte [ebp - 0x36], cl
mov ecx, esi
push edi
mov byte [ebp - 0x35], al
call fcn.004df9d0
push dword [ebp + 0x24]
mov ecx, esi
mov dword [ebp - 0x34], eax
push str.chroma_blend
push edi
call fcn.004df9d0
push dword [ebp + 0x28]
mov ecx, esi
mov dword [ebp - 0x30], eax
push str.contrast
push edi
call fcn.004df9d0
push dword [ebp + 0x2c]
mov ecx, esi
mov dword [ebp - 0x2c], eax
push str.brightness
push edi
call fcn.004df9d0
push dword [ebp + 0x30]
mov ecx, esi
mov dword [ebp - 0x28], eax
push str.saturation
push edi
call fcn.004df9d0
push dword [ebp + 0x34]
mov ecx, esi
mov dword [ebp - 0x24], eax
push str.gamma
push edi
call fcn.004df9d0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004df840
mov ecx, eax
call fcn.004e0740
mov eax, dword [ebp - 0x10]
or edi, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
jl 0x4df390
push 0x531c74
push eax
call sub.VCRUNTIME140.dll_wcsstr
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x10]
test ecx, ecx
je 0x4df390
sub ecx, eax
sar ecx, 1
jne 0x4df390
call fcn.00404590
mov ecx, eax
test ecx, ecx
je 0x4df4e3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp dword [eax - 4], 1
jle 0x4df2aa
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.004038f0
mov eax, dword [ebp - 0x10]
push eax
push str.Matting
lea eax, [ebp + 0xc]
push 0x5258a8
push eax
call fcn.00439f60
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
call fcn.004c7c50
add esp, 0x18
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.00403280
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4df2f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4df344
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.004ae8c0
add esp, 8
mov ecx, dword [ebp - 0x14]
push eax
add ecx, 0x668
mov byte [ebp - 4], 3
call fcn.004c1b40
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4df344
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4df35f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x668]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x4df459
cmp dword [ecx - 4], 1
jle 0x4df385
push eax
lea ecx, [esi + 0x668]
call fcn.004081b0
mov eax, dword [esi + 0x668]
jmp 0x4df45b
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4df413
mov eax, dword [ebp - 0x10]
mov ecx, 0x5258b4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4df3c9
test dx, dx
je 0x4df3c5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4df3c9
add eax, 4
add ecx, 4
test dx, dx
jne 0x4df3a3
xor eax, eax
jmp 0x4df3ce
sbb eax, eax
or eax, 1
test eax, eax
je 0x4df413
mov eax, dword [ebp - 0x10]
mov ecx, 0x5258c0
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4df406
test dx, dx
je 0x4df402
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4df406
add eax, 4
add ecx, 4
test dx, dx
jne 0x4df3e0
xor eax, eax
jmp 0x4df40b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4df362
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.004ae8c0
add esp, 8
push eax
lea ecx, [esi + 0x668]
mov byte [ebp - 4], 4
call fcn.004c1b40
mov edx, dword [ebp - 0x18]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4df362
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4df362
xor eax, eax
mov esi, dword [ebp + 8]
movups xmm0, xmmword [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [esi + 0x20], xmm0
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4df499
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x34
mov eax, dword [ebp + 8]
movups xmm0, xmmword [ebp + 0x10]
mov ecx, dword [ebp + 0x38]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp + 0x20]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp + 0x30]
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x34
push 0x80004005
call fcn.00404110
int3