Function at 0x435a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ee7b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x2c], 3
call fcn.00430f60
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x435a49
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esi + 0x78]
test eax, eax
je 0x435a56
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test edi, edi
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x78], edi
je 0x435c45
mov edx, dword [edi]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
call dword [edx + 0xc]
test eax, eax
jl 0x435c45
mov eax, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
jle 0x435c45
lea ecx, [ecx]
mov edx, dword [edi]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push 1
push edi
call dword [edx + 0x1c]
test eax, eax
jl 0x435c38
cmp dword [esp + 0x14], 0x1000
jge 0x435c38
call fcn.004d4318
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 1]
cmp eax, 0xd
mov byte [esp + 0x2c], 4
ja case.default.0x435ae1
jmp dword [eax*4 + 0x435f6c]
push 0x50298c
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x435bf0
push str._rY_bT
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x435bf0
push str.SVideo
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x435bf0
push 0x502960
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x435bf0
push str.YRYBY
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x435bf0
push str.SerialDigital
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x435bf0
push str.ParallelDigital
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x435bf0
push str.SCSI
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x435bf0
push 0x502904
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x435bf0
push str.1394
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x435bf0
push 0x5028f0
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x435bf0
push str.VideoDecoder
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x435bf0
push str.VideoEncoder
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x435bf0
push str.SCART
lea ecx, [esp + 0x14]
call fcn.00403220
jmp 0x435bf0
push ecx
lea eax, [esp + 0x14]
push 0x50288c
push eax
call fcn.00407a50
add esp, 0xc
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x14c]
push edi
push 0
push 0x143
push ecx
call ebp
mov edx, dword [esi + 0x14c]
push ebx
push eax
push 0x151
push edx
call ebp
lea eax, [edi - 0x10]
mov byte [esp + 0x2c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435c34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
jl 0x435a90
mov eax, dword [esi + 0x14c]
push 0
push 0
push 0x146
push eax
call ebp
test eax, eax
jle 0x435d06
push 1
lea ecx, [esi + 0x130]
call fcn.004d31b4
mov ecx, dword [edi]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
push edi
call dword [ecx + 0xc]
test eax, eax
jl 0x435d06
mov eax, dword [esp + 0x10]
xor ebx, ebx
test eax, eax
jle 0x435d06
mov edi, edi
mov ecx, dword [edi]
lea edx, [esp + 0x18]
push edx
push ebx
push edi
call dword [ecx + 0x18]
test eax, eax
jne 0x435cfd
mov eax, dword [esi + 0x14c]
xor edi, edi
push edi
push edi
push 0x146
push eax
call ebp
test eax, eax
jle 0x435cf9
mov ecx, dword [esi + 0x14c]
push 0
push edi
push 0x150
push ecx
call ebp
cmp eax, dword [esp + 0x18]
push 0
je 0x435ce6
mov edx, dword [esi + 0x14c]
push 0
push 0x146
push edx
inc edi
call ebp
cmp edi, eax
jl 0x435cb6
jmp 0x435cf9
mov eax, dword [esi + 0x14c]
push edi
push 0x14e
push eax
call ebp
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x435c90
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x435d14
mov ecx, dword [ebx]
push ebx
call dword [ecx + 4]
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x435d21
mov edx, dword [eax]
push eax
call dword [edx + 8]
test ebx, ebx
mov dword [esi + 0x7c], ebx
je 0x435ddf
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x435ddf
add eax, 0xfffffff0
push eax
call fcn.00406120
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push str.Capture_
push ecx
mov byte [esp + 0x3c], 5
call fcn.00410b30
add esp, 0x10
mov edi, dword [eax]
mov byte [esp + 0x2c], 6
call fcn.004e69f3
mov eax, dword [eax + 4]
push 0xffffffffffffffff
push 0x5023c8
push edi
mov ecx, eax
call fcn.004e88bb
mov edi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435daa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebx, 0xfffffff0
mov byte [esp + 0x2c], 3
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x435dc9
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
test edi, edi
jl 0x435ddb
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push eax
call dword [ecx + 0xc]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x435ded
mov edx, dword [ebx]
push ebx
call dword [edx + 4]
mov eax, dword [esi + 0x74]
test eax, eax
je 0x435dfa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
mov dword [esi + 0x74], ebx
je 0x435e87
lea edx, [esp + 0x34]
lea ecx, [esi + 0x70]
push edx
call fcn.00406f20
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x38]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.00406120
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00430a90
add esp, 8
test al, al
je 0x435e50
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx]
push edi
push ebx
call dword [ecx + 0xc]
push edi
call fcn.00460870
lea edx, [esi + 0x7e4]
push edx
lea eax, [esi + 0x1d0]
push eax
lea ecx, [esi + 0x180]
push ecx
lea edx, [esi + 0x84]
push edx
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
mov dword [eax], ebx
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
call fcn.00434b00
mov edi, dword [esp + 0x50]
add esp, 0x14
mov ecx, dword [esi + 0x19c]
push 0
push 0
push 0x146
push ecx
call ebp
test eax, eax
jle 0x435ed1
push 1
lea ecx, [esi + 0x2c0]
call fcn.004d31b4
push 1
lea ecx, [esi + 0x220]
call fcn.004d31b4
push 1
lea ecx, [esi + 0x270]
call fcn.004d31b4
push 1
lea ecx, [esi + 0x314]
call fcn.004d31b4
push 1
lea ecx, [esi + 0x548]
call fcn.004d31b4
push 1
lea ecx, [esi + 0x59c]
call fcn.004d31b4
mov ecx, esi
call fcn.00431150
mov ecx, esi
call fcn.00431480
mov ecx, esi
call fcn.0042fea0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435f23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebx, ebx
mov byte [esp + 0x2c], 1
je 0x435f32
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
test edi, edi
mov byte [esp + 0x2c], 0
je 0x435f41
mov ecx, dword [edi]
push edi
call dword [ecx + 8]
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x2c], 0xffffffff
je 0x435f57
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10