Function at 0x425e70
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489c3a
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x1039
push ecx
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x84], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
js 0x426270
test byte [ebp - 0x74], 0xe
je 0x426270
mov eax, dword [ebp - 0x6c]
test eax, eax
js 0x426270
mov ecx, dword [ebp - 0x8c]
mov eax, dword [eax*4 + 0x4be694]
mov edx, dword [ebp - 0x88]
push dword [ebp - 0x90]
mov dword [ecx], eax
mov eax, dword [ebp - 0x70]
mov dword [edx], eax
push dword [ecx]
push eax
push dword [ebp - 0x84]
lea eax, [ebp - 0x80]
push eax
call fcn.00425950
add esp, 0x14
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 1
call fcn.0046b860
test eax, eax
jne 0x425f97
push 0x490b00
call fcn.0046b670
push eax
push 0x490b00
call fcn.0046b800
add esp, 0xc
mov dword [edi], eax
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], 0
mov dword [ebp - 0x98], 1
test ecx, ecx
je 0x42628a
call fcn.0046b840
jmp 0x42628a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
inc eax
push 2
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x68]
push eax
push 0
push dword [ebp - 0x84]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
push dword [ebp - 0x64]
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], 0x28
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push ecx
push eax
movdqu xmmword [ebp - 0x54], xmm0
movdqu xmmword [ebp - 0x44], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
movdqu xmm0, xmmword [ebp - 0x44]
push 2
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x84]
movdqu xmmword [ebp - 0x30], xmm0
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
movdqa xmm0, xmmword [0x499060]
push dword [ebp - 0x84]
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [ebp - 0x90]
mov ecx, dword [0x4be608]
mov dword [ebp - 0x94], eax
cmp byte [edx], 0
cmovne ecx, dword [0x4be60c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xa
lea ecx, [ebp - 0x80]
call fcn.0046b310
push eax
call fcn.00472ae7
add esp, 8
lea ecx, [ebp - 0x80]
test eax, eax
lea eax, [ebp - 0x20]
je 0x426072
push 0xc00
jmp 0x426077
push 0xc20
push eax
push 0xffffffffffffffff
call fcn.0046b310
push eax
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_DrawTextW]
push 0
push 0
push 0x419
push dword [0x4bdb3c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x18]
mov ecx, edx
sub ecx, dword [ebp - 0x20]
push dword [ebp - 0x94]
cmp ecx, eax
push dword [ebp - 0x84]
cmovg edx, eax
mov dword [ebp - 0x18], edx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0xa
lea ecx, [ebp - 0x80]
call fcn.0046b310
push eax
call fcn.00472ae7
add esp, 8
test eax, eax
je 0x426168
push 1
push 6
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
movdqu xmm0, xmmword [ebp - 0x20]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push eax
movdqu xmmword [esi], xmm0
call dword [sym.imp.USER32.dll_GetCursor]
push eax
call fcn.00424bf0
mov eax, dword [ebp - 0x88]
add esp, 0x10
sub eax, dword [esi + 4]
add eax, dword [ebp + 0x14]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
push 0x28
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x426152
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 8]
sub eax, ecx
push 0
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x4261f0
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi]
sub eax, ecx
push 0
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x4261f0
mov eax, dword [ebp - 0x88]
push esi
push dword [ebp - 0x6c]
push dword [eax]
push dword [ebp - 0x84]
call fcn.00426a20
mov eax, dword [ebp - 0x8c]
push dword [eax]
call fcn.00426360
add esp, 0x14
test al, al
je 0x426197
add dword [esi + 8], 0xfffffffa
mov eax, dword [ebp - 0x8c]
cmp dword [eax], 0x9c77
jne 0x4261ba
push 0
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
sub eax, ecx
mov edx, dword [ebp - 0x18]
cmp eax, edx
jle 0x4261d9
push 0x490b00
mov ecx, edi
call fcn.0040c6d0
jmp 0x425f74
mov eax, dword [ebp - 0x20]
add eax, ecx
push 1
mov dword [esi], eax
add eax, edx
push 6
push esi
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esi + 0xc]
cmp ecx, dword [ebp - 0x24]
jle 0x426207
mov eax, dword [ebp + 0x14]
sub eax, ecx
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
jge 0x42621d
sub eax, ecx
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x28]
cmp ecx, eax
jle 0x426233
push 0
sub eax, ecx
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x30]
cmp ecx, eax
jge 0x426248
push 0
sub eax, ecx
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
push 2
push esi
push 0
push dword [ebp - 0x84]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x80]
mov dword [edi], ecx
test ecx, ecx
je 0x425f77
call fcn.0046b5c0
jmp 0x425f74
push 0x490b00
call fcn.0046b670
push eax
push 0x490b00
call fcn.0046b800
add esp, 0xc
mov dword [edi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00470e77
mov esp, ebp
pop ebp
ret