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

Disassembly:
push 0xffffffffffffffff
push 0x622c16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x574
push ebx
push ebp
push esi
push edi
xor edi, edi
push 0x234
lea eax, [esp + 0x11c]
push edi
push eax
mov dword [esp + 0x120], edi
call fcn.005f7e70
mov ebx, dword [esp + 0x5a0]
add esp, 0xc
lea ecx, [esp + 0x114]
push ecx
push edi
push ebx
mov dword [esp + 0x24], edi
call sub.MSVFW32.dll_ICInfo
test eax, eax
je 0x5e35a4
mov ebp, dword [esp + 0x59c]
jmp 0x5e32f0
mov edx, dword [esp + 0x11c]
push 2
push edx
push ebx
mov dword [esp + 0x120], 0x238
call fcn.005e2b90
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x5e3582
lea eax, [esp + 0x598]
push eax
lea ecx, [esp + 0x98]
push str.A_video_codec_with_FOURCC__.4S
push ecx
mov edx, 0x40
call fcn.005a3920
add esp, 0xc
lea eax, [esp + 0x44]
lea edx, [esp + 0x11c]
push eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x48], 0x68474c
mov dword [esp + 0x4c], 0x1b8
mov dword [esp + 0x50], str.querying_video_codec_with_FOURCC___.4s_
mov dword [esp + 0x54], edx
call fcn.004f98b0
mov edx, dword [esp + 0x5a8]
mov eax, dword [esp + 0x5a4]
lea ecx, [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x5a4]
push edx
push eax
push ecx
push ebp
push esi
mov dword [esp + 0x5a4], edi
call fcn.005e2ee0
add esp, 0x18
cmp eax, edi
jne 0x5e354e
push 0x1d3
push 0x68474c
mov dword [esp + 0x5c], 0x28
mov dword [esp + 0x60], 0x140
mov dword [esp + 0x64], 0xf0
mov word [esp + 0x68], 1
mov word [esp + 0x6a], 0x18
mov dword [esp + 0x6c], 0x2e532e42
mov dword [esp + 0x70], 0x38400
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
call fcn.0051e419
add esp, 8
push edi
lea edx, [esp + 0x58]
push edx
push 0x400b
push esi
call sub.MSVFW32.dll_ICSendMessage
push 0x1d3
mov ebx, eax
lea eax, [esp + 0x98]
push 0x68474c
push eax
call fcn.0051e419
add esp, 0xc
cmp ebx, edi
jne 0x5e35f0
push 0x234
lea ecx, [esp + 0x354]
push edi
push ecx
mov dword [esp + 0x358], 0x238
call fcn.005f7e70
push 0x1db
push 0x68474c
call fcn.0051e419
add esp, 0x14
push 0x238
lea edx, [esp + 0x350]
push edx
push esi
call sub.MSVFW32.dll_ICGetInfo
push 0x1db
lea eax, [esp + 0x98]
push 0x68474c
push eax
call fcn.0051e419
mov ecx, dword [0x6d2cc4]
add esp, 0xc
cmp ecx, edi
je 0x5e34ad
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x384]
push eax
call edx
cmp ebp, edi
je 0x5e354e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x24], eax
cdq
mov dword [esp + 0x20], ecx
xor eax, edx
lea ecx, [ecx + ecx*2 + 3]
sub eax, edx
and ecx, 0xfffffffc
imul eax, ecx
push edi
lea edx, [esp + 0x20]
push edx
push 0x4004
push esi
mov dword [esp + 0x2c], 0x28
mov word [esp + 0x38], 1
mov word [esp + 0x3a], 0x18
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x40], eax
call sub.MSVFW32.dll_ICSendMessage
cmp eax, 0x28
jb 0x5e354e
xor ebx, ebx
cmp eax, edi
je 0x5e3528
push eax
push edi
call fcn.005f9b9c
add esp, 8
mov ebx, eax
push ebx
lea eax, [esp + 0x20]
push eax
push 0x4004
push esi
call sub.MSVFW32.dll_ICSendMessage
test eax, eax
jne 0x5e3545
mov ecx, dword [ebx + 0x10]
cmp ecx, dword [ebp + 0x10]
je 0x5e35bf
push ebx
call fcn.005f7a6f
add esp, 4
push esi
call sub.MSVFW32.dll_ICClose
mov edx, dword [esp + 0x80]
push edx
mov dword [esp + 0x590], 0xffffffff
mov dword [esp + 0x80], 0x627c10
call dword [0x6affb8]
mov ebx, dword [esp + 0x598]
add esp, 4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x114]
add eax, 1
push ecx
push eax
push ebx
mov dword [esp + 0x24], eax
call sub.MSVFW32.dll_ICInfo
test eax, eax
jne 0x5e32f0
xor eax, eax
mov ecx, dword [esp + 0x584]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x580
ret
push ebx
call fcn.005f7a6f
mov edx, dword [esp + 0x84]
push edx
mov dword [esp + 0x594], 0xffffffff
mov dword [esp + 0x84], 0x627c10
call dword [0x6affb8]
add esp, 8
mov eax, esi
jmp 0x5e35a6
mov eax, dword [esp + 0x80]
push eax
mov dword [esp + 0x590], 0xffffffff
mov dword [esp + 0x80], 0x627c10
call dword [0x6affb8]
add esp, 4
mov eax, esi
jmp 0x5e35a6