Function at 0x40c730
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov eax, dword [ebx - 0x4bc]
push esi
lea esi, [ebx - 0x4bc]
mov dword [ebp - 4], ebx
lea ecx, [ebx - 0x4bc]
mov dword [ebp - 8], esi
mov eax, dword [eax + 4]
add ecx, eax
call fcn.0040fb20
test eax, eax
jne 0x40c766
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x4dbe78], 0
je 0x40c778
push 1
mov ecx, esi
call fcn.0040fb40
mov eax, dword [ebx - 8]
xor ecx, ecx
push edi
cmp dword [eax + 0x1c], ecx
setne cl
push ecx
mov ecx, esi
call fcn.0040f9a0
mov eax, dword [esi]
lea edi, [ebx - 0x2e4]
push 0x414
mov esi, dword [eax + 4]
mov eax, dword [ebx - 0x4bc]
add esi, ebx
mov eax, dword [eax + 4]
push dword [eax + ebx - 0x4b8]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
call ebx
push eax
push dword [esi - 0x4b8]
mov ecx, edi
push dword [esi - 0x4b4]
call fcn.00402650
push 0x10
push 0x10
push 0x98
mov ecx, edi
call fcn.00402800
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push 0x418
mov eax, dword [edx]
lea edi, [ecx - 0x294]
mov esi, dword [eax + 4]
mov eax, dword [eax + 4]
add esi, ecx
push dword [eax + ecx - 0x4b8]
call ebx
push eax
push dword [esi - 0x4b8]
mov ecx, edi
push dword [esi - 0x4b4]
call fcn.00402650
push 0x10
push 0x10
push 0x98
mov ecx, edi
call fcn.00402800
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push 0x431
mov eax, dword [edx]
lea edi, [ecx - 0x1a4]
mov esi, dword [eax + 4]
mov eax, dword [eax + 4]
add esi, ecx
push dword [eax + ecx - 0x4b8]
call ebx
push eax
push dword [esi - 0x4b8]
mov ecx, edi
push dword [esi - 0x4b4]
call fcn.00402650
push 0x10
push 0x10
push 0xad
mov ecx, edi
call fcn.00402800
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push 0x419
mov eax, dword [edx]
lea edi, [ecx - 0x1f4]
mov esi, dword [eax + 4]
mov eax, dword [eax + 4]
add esi, ecx
push dword [eax + ecx - 0x4b8]
call ebx
push eax
push dword [esi - 0x4b8]
push dword [esi - 0x4b4]
mov ecx, edi
call fcn.00402650
push 0x10
push 0x10
push 0xae
mov ecx, edi
call fcn.00402800
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push 1
mov eax, dword [edx]
lea edi, [ecx - 0x244]
mov esi, dword [eax + 4]
mov eax, dword [eax + 4]
add esi, ecx
push dword [eax + ecx - 0x4b8]
call ebx
push eax
push dword [esi - 0x4b8]
mov ecx, edi
push dword [esi - 0x4b4]
call fcn.00402650
push 0x10
push 0x10
push 0x99
mov ecx, edi
call fcn.00402800
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push 0
push 1
mov eax, dword [esi]
push 0x401
mov eax, dword [eax + 4]
push dword [eax + ecx - 0x4b8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov ecx, edi
call fcn.004027f0
mov eax, dword [esi]
mov edi, dword [ebp - 4]
push 0
push 0x20
mov eax, dword [eax + 4]
push 0x20
push 2
push 0x77
push dword [eax + edi - 0x4b4]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [edi - 0xc], eax
mov dword [0x4d9f10], eax
mov eax, dword [esi]
push 0x49cba0
push 0x3f4
mov esi, dword [eax + 4]
mov eax, dword [edi - 0x4bc]
mov eax, dword [eax + 4]
push dword [eax + edi - 0x4b8]
call ebx
push eax
push dword [esi + edi - 0x4b8]
lea ecx, [edi - 0x154]
push dword [esi + edi - 0x4b4]
call fcn.00406d70
mov eax, dword [edi - 0x4bc]
lea esi, [edi - 0x4bc]
push 0x415
mov eax, dword [eax + 4]
push dword [eax + edi - 0x4b8]
call ebx
mov dword [edi - 0x30c], eax
mov eax, dword [esi]
push 0x41a
mov eax, dword [eax + 4]
push dword [eax + edi - 0x4b8]
call ebx
mov dword [edi - 0x308], eax
mov eax, dword [esi]
push 0x413
mov eax, dword [eax + 4]
push dword [eax + edi - 0x4b8]
call ebx
mov dword [edi - 0x304], eax
mov eax, dword [esi]
push 0x417
mov eax, dword [eax + 4]
push dword [eax + edi - 0x4b8]
call ebx
mov dword [edi - 0x300], eax
mov eax, dword [esi]
push 0x416
mov eax, dword [eax + 4]
push dword [eax + edi - 0x4b8]
call ebx
mov dword [edi - 0x2fc], eax
mov eax, dword [esi]
push 0x433
mov eax, dword [eax + 4]
push dword [eax + edi - 0x4b8]
call ebx
mov dword [edi - 0x2f8], eax
mov eax, dword [esi]
push 0x432
mov eax, dword [eax + 4]
push dword [eax + edi - 0x4b8]
call ebx
mov dword [edi - 0x2f4], eax
mov eax, dword [esi]
push 0x435
mov eax, dword [eax + 4]
push dword [eax + edi - 0x4b8]
call ebx
mov dword [edi - 0x2f0], eax
mov eax, dword [esi]
push 0x436
mov eax, dword [eax + 4]
push dword [eax + edi - 0x4b8]
call ebx
mov dword [edi - 0x2ec], eax
mov eax, dword [esi]
push 0x437
mov eax, dword [eax + 4]
push dword [eax + edi - 0x4b8]
call ebx
lea ecx, [edi - 0x4c0]
mov dword [edi - 0x2e8], eax
call fcn.0040bfc0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret