Function at 0x40bd40
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov eax, dword [ebx - 0x370]
push esi
lea esi, [ebx - 0x370]
mov dword [ebp - 8], ebx
lea ecx, [ebx - 0x370]
mov dword [ebp - 4], esi
mov eax, dword [eax + 4]
add ecx, eax
call fcn.0043b1e0
test eax, eax
jne 0x40bd76
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x463ab8], 0
je 0x40bd88
push 1
mov ecx, esi
call fcn.0040ee40
mov eax, dword [ebx - 8]
xor ecx, ecx
push edi
cmp dword [eax + 0x1c], ecx
setne cl
push ecx
mov ecx, esi
call fcn.0040ece0
mov eax, dword [esi]
lea edi, [ebx - 0x198]
push 0x414
mov esi, dword [eax + 4]
mov eax, dword [ebx - 0x370]
add esi, ebx
mov eax, dword [eax + 4]
push dword [eax + ebx - 0x36c]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
call ebx
push eax
push dword [esi - 0x36c]
mov ecx, edi
push dword [esi - 0x368]
call fcn.00402270
push 0x10
push 0x10
push 0x98
mov ecx, edi
call fcn.00402420
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push 0x418
mov eax, dword [edx]
lea edi, [ecx - 0x148]
mov esi, dword [eax + 4]
mov eax, dword [eax + 4]
add esi, ecx
push dword [eax + ecx - 0x36c]
call ebx
push eax
push dword [esi - 0x36c]
mov ecx, edi
push dword [esi - 0x368]
call fcn.00402270
push 0x10
push 0x10
push 0x98
mov ecx, edi
call fcn.00402420
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push 0x431
mov eax, dword [edx]
lea edi, [ecx - 0x58]
mov esi, dword [eax + 4]
mov eax, dword [eax + 4]
add esi, ecx
push dword [eax + ecx - 0x36c]
call ebx
push eax
push dword [esi - 0x36c]
mov ecx, edi
push dword [esi - 0x368]
call fcn.00402270
push 0x10
push 0x10
push 0xad
mov ecx, edi
call fcn.00402420
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push 0x419
mov eax, dword [edx]
lea edi, [ecx - 0xa8]
mov esi, dword [eax + 4]
mov eax, dword [eax + 4]
add esi, ecx
push dword [eax + ecx - 0x36c]
call ebx
push eax
push dword [esi - 0x36c]
push dword [esi - 0x368]
mov ecx, edi
call fcn.00402270
push 0x10
push 0x10
push 0xae
mov ecx, edi
call fcn.00402420
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push 1
mov eax, dword [edx]
lea edi, [ecx - 0xf8]
mov esi, dword [eax + 4]
mov eax, dword [eax + 4]
add esi, ecx
push dword [eax + ecx - 0x36c]
call ebx
push eax
push dword [esi - 0x36c]
mov ecx, edi
push dword [esi - 0x368]
call fcn.00402270
push 0x10
push 0x10
push 0x99
mov ecx, edi
call fcn.00402420
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 8]
push 0
push 1
mov eax, dword [eax]
push 0x401
mov eax, dword [eax + 4]
push dword [eax + esi - 0x36c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov ecx, edi
call fcn.00402410
mov eax, dword [esi - 0x370]
lea edi, [esi - 0x370]
push 0x415
mov eax, dword [eax + 4]
push dword [eax + esi - 0x36c]
call ebx
mov dword [esi - 0x1c0], eax
mov eax, dword [edi]
push 0x41a
mov eax, dword [eax + 4]
push dword [eax + esi - 0x36c]
call ebx
mov dword [esi - 0x1bc], eax
mov eax, dword [edi]
push 0x413
mov eax, dword [eax + 4]
push dword [eax + esi - 0x36c]
call ebx
mov dword [esi - 0x1b8], eax
mov eax, dword [edi]
push 0x417
mov eax, dword [eax + 4]
push dword [eax + esi - 0x36c]
call ebx
mov dword [esi - 0x1b4], eax
mov eax, dword [edi]
push 0x416
mov eax, dword [eax + 4]
push dword [eax + esi - 0x36c]
call ebx
mov dword [esi - 0x1b0], eax
mov eax, dword [edi]
push 0x433
mov eax, dword [eax + 4]
push dword [eax + esi - 0x36c]
call ebx
mov dword [esi - 0x1ac], eax
mov eax, dword [edi]
push 0x432
mov eax, dword [eax + 4]
push dword [eax + esi - 0x36c]
call ebx
mov dword [esi - 0x1a8], eax
mov eax, dword [edi]
push 0x435
mov eax, dword [eax + 4]
push dword [eax + esi - 0x36c]
call ebx
mov dword [esi - 0x1a4], eax
mov eax, dword [edi]
push 0x436
mov eax, dword [eax + 4]
push dword [eax + esi - 0x36c]
call ebx
mov dword [esi - 0x1a0], eax
mov eax, dword [edi]
push 0x437
mov eax, dword [eax + 4]
push dword [eax + esi - 0x36c]
call ebx
lea ecx, [esi - 0x374]
mov dword [esi - 0x19c], eax
call fcn.0040b5f0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret