Function at 0x100378e0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
push ecx
lea edi, [ebp - 0x148]
mov ecx, 0x52
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x10363590]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov esi, esp
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
call eax
cmp esi, esp
call fcn.101b9ab0
cmp dword [ebp + 8], 0xa
jb 0x10037939
mov dword [ebp + 8], 0
jmp 0x10037944
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
cmp dword [ebp + 8], 0xa
jge 0x10037a12
push 0x50
lea edx, [ebp - 0xb4]
push edx
push 0x50
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.AVICAP32.dll_capGetDriverDescriptionA
test eax, eax
je 0x10037a0d
push 0
push 0
push 0xf0
push 0x140
push 0
push 0
push 0xc0000000
push str.My_Own_Capture_Window
call sub.AVICAP32.dll_capCreateCaptureWindowA
mov dword [ebp - 0xbc], eax
mov esi, esp
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.101b9ab0
test eax, eax
je 0x100379d8
mov esi, esp
push 0
mov eax, dword [ebp + 8]
push eax
push 0x40a
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x128], eax
jmp 0x100379e2
mov dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 0
je 0x100379ed
jmp 0x10037a12
mov esi, esp
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0xbc], 0
jmp 0x1003793b
cmp dword [ebp - 0xbc], 0
je 0x10037cad
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xbc]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp - 8]
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x38], 0xffffffff
push 0x2c
push 0
mov edx, dword [ebp - 8]
add edx, 4
push edx
call sub.MSVCR120D.dll_memset
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.101b9ab0
test eax, eax
je 0x10037aa2
mov ecx, dword [ebp - 8]
add ecx, 4
mov esi, esp
push ecx
push 0x2c
push 0x40e
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x12c], eax
jmp 0x10037aac
mov dword [ebp - 0x12c], 0
mov esi, esp
push 1
push 0xf0
push 0x140
push 0
push 0
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
cmp esi, esp
call fcn.101b9ab0
mov esi, esp
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.101b9ab0
test eax, eax
je 0x10037b15
mov esi, esp
mov edx, dword [ebp - 8]
push edx
push 0
push 0x409
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x130], eax
jmp 0x10037b1f
mov dword [ebp - 0x130], 0
mov esi, esp
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.101b9ab0
test eax, eax
je 0x10037b63
mov esi, esp
push 0x10002fae
push 0
push 0x405
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x134], eax
jmp 0x10037b6d
mov dword [ebp - 0x134], 0
mov esi, esp
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.101b9ab0
test eax, eax
je 0x10037bb3
mov esi, esp
lea ecx, [ebp - 0x120]
push ecx
push 0x60
push 0x441
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x138], eax
jmp 0x10037bbd
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x120], 0x8235
mov esi, esp
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.101b9ab0
test eax, eax
je 0x10037c0d
mov esi, esp
lea ecx, [ebp - 0x120]
push ecx
push 0x60
push 0x440
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x13c], eax
jmp 0x10037c17
mov dword [ebp - 0x13c], 0
mov esi, esp
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.101b9ab0
test eax, eax
je 0x10037c58
mov esi, esp
push 0
push 0
push 0x435
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x140], eax
jmp 0x10037c62
mov dword [ebp - 0x140], 0
mov esi, esp
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.101b9ab0
test eax, eax
je 0x10037ca3
mov esi, esp
push 0
push 1
push 0x434
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, esp
call fcn.101b9ab0
mov dword [ebp - 0x144], eax
jmp 0x10037cad
mov dword [ebp - 0x144], 0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x30], 0
je 0x10037cc2
mov dword [ebp - 0x148], 1
jmp 0x10037ccc
mov dword [ebp - 0x148], 0
mov al, byte [ebp - 0x148]
push edx
mov ecx, ebp
push eax
lea edx, [0x10037d04]
call fcn.101b9a50
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101b9ae0
add esp, 0x148
cmp ebp, esp
call fcn.101b9ab0
mov esp, ebp
pop ebp
ret 4