Function at 0x100010a0
Capabilities:
Check if file exists
Create process on windows
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x10011450]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x100010d1
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001790
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx], 0x30
jb 0x100010bb
mov eax, dword [ebx + 4]
push esi
push edi
cmp eax, 0x7d3
jg case.0x100010fa.1001
je 0x100013e0
sub eax, 0x3e8
cmp eax, 7
ja case.0x100010fa.1001
jmp dword [eax*4 + 0x10001564]
mov byte [0x10012510], 0
jmp case.0x100010fa.1001
cmp dword [0x10012504], 0
jne 0x10001163
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
call fcn.10001000
cmp dword [ebp - 0x418], 0
je 0x10001159
mov ecx, dword [0x10012508]
cmp eax, 0xa
mov edx, 1
cmove ecx, edx
mov dword [0x10012508], ecx
mov dword [0x10012504], 1
cmp dword [0x10012508], 0
jne case.0x100010fa.1001
push 8
push str.pairing_
push dword [ebx + 0x1c]
call fcn.10001650
add esp, 0xc
test eax, eax
je 0x100011d7
mov ebx, dword [ebx + 0x1c]
xor edi, edi
mov esi, str.CamutilWebCamEditor.exe
mov ecx, esi
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100011b4
test dl, dl
je 0x100011b0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100011b4
add eax, 2
add ecx, 2
test dl, dl
jne 0x10001194
xor eax, eax
jmp 0x100011b9
sbb eax, eax
or eax, 1
test eax, eax
je 0x100011ce
add esi, 0x32
inc edi
cmp esi, 0x1001144c
jl 0x10001190
jmp case.0x100010fa.1001
cmp edi, 0x16
jge case.0x100010fa.1001
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001790
mov esp, ebp
pop ebp
ret 4
cmp dword [0x10012508], 0
je 0x100012ac
mov edi, 0x14
mov esi, str.CamutilVirtualCameraFilter.dll
mov eax, dword [ebx + 0x1c]
mov ecx, esi
jmp 0x10001210
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10001230
test dl, dl
je 0x1000122c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10001230
add eax, 2
add ecx, 2
test dl, dl
jne 0x10001210
xor eax, eax
jmp 0x10001235
sbb eax, eax
or eax, 1
test eax, eax
je 0x10001247
add esi, 0x32
inc edi
cmp esi, 0x1001144c
jl 0x10001206
jmp 0x100012ac
cmp edi, 0x16
jge 0x100012ac
push str._s__
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.1000158a
push dword [ebx + 0x18]
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100015df
push 0x1000c1a8
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100015df
add esp, 0x24
lea eax, [ebp - 0x108]
push 1
push 0
push eax
push str.regsvr32.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [ebx + 0x1c]
mov ecx, 0x1000c1c4
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100012d4
test dl, dl
je 0x100012d0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100012d4
add eax, 2
add ecx, 2
test dl, dl
jne 0x100012b4
xor eax, eax
jmp 0x100012d9
sbb eax, eax
or eax, 1
test eax, eax
jne case.0x100010fa.1001
push dword [ebx + 0x18]
push 0x104
push 0x10012510
call fcn.1000158a
add esp, 0xc
jmp case.0x100010fa.1001
cmp byte [0x10012510], 0
je case.0x100010fa.1001
push 0x10012510
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.1000158a
add esp, 0xc
push 0x10012510
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov edi, eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x108]
push str.uninst
push eax
call esi
push edi
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 0x108]
push eax
push 0x10012510
call dword [sym.imp.KERNEL32.dll_MoveFileA]
jmp case.0x100010fa.1001
cmp dword [0x10012508], 0
jne case.0x100010fa.1001
lea eax, [ebp - 0x418]
push eax
push 0
push 0
push 0x1000c21c
call sub.SHELL32.dll_SHGetKnownFolderPath
push dword [ebp - 0x418]
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.10001734
push str.Camutil
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.100016c8
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x418]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp case.0x100010fa.1001
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [0x10012500]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x1000c210
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.100015df
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, str.CamutilVirtualCameraFilter.dll
lea ebx, [ebx]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.1000158a
push esi
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100015df
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1000153f
push str._u__s__
lea eax, [ebp - 0x310]
push 0x104
push eax
call fcn.1000158a
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push 0x104
push eax
call fcn.100015df
push 0x1000c1a8
lea eax, [ebp - 0x310]
push 0x104
push eax
call fcn.100015df
push 0x3c
lea eax, [ebp - 0x454]
push 0
push eax
call fcn.100017a0
add esp, 0x30
mov dword [ebp - 0x454], 0x3c
lea eax, [ebp - 0x310]
mov dword [ebp - 0x450], 0x140
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x454]
mov dword [ebp - 0x448], str.open
push eax
mov dword [ebp - 0x444], str.regsvr32.exe
mov dword [ebp - 0x438], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je case.0x100010fa.1001
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x1000153f
push 0xffffffffffffffff
push eax
call edi
push dword [ebp - 0x41c]
call ebx
add esi, 0x32
cmp esi, 0x1001144c
jl 0x10001440
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001790
mov esp, ebp
pop ebp
ret 4