Function at 0x425a70
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4885ea
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 0x425e70
test byte [ebp - 0x74], 0xe
je 0x425e70
mov eax, dword [ebp - 0x6c]
test eax, eax
js 0x425e70
mov ecx, dword [ebp - 0x8c]
mov eax, dword [eax*4 + 0x4be794]
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.00425570
add esp, 0x14
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 1
call fcn.0046a870
test eax, eax
jne 0x425b97
push 0x490c20
call fcn.0046a680
push eax
push 0x490c20
call fcn.0046a810
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 0x425e8a
call fcn.0046a850
jmp 0x425e8a
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 [0x4be708]
mov dword [ebp - 0x94], eax
cmp byte [edx], 0
cmovne ecx, dword [0x4be70c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xa
lea ecx, [ebp - 0x80]
call fcn.0046a2c0
push eax
call fcn.00471537
add esp, 8
lea ecx, [ebp - 0x80]
test eax, eax
lea eax, [ebp - 0x20]
je 0x425c72
push 0xc00
jmp 0x425c77
push 0xc20
push eax
push 0xffffffffffffffff
call fcn.0046a2c0
push eax
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_DrawTextW]
push 0
push 0
push 0x419
push dword [0x4bdb44]
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.0046a2c0
push eax
call fcn.00471537
add esp, 8
test eax, eax
je 0x425d68
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.00424810
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 0x425d52
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 0x425df0
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 0x425df0
mov eax, dword [ebp - 0x88]
push esi
push dword [ebp - 0x6c]
push dword [eax]
push dword [ebp - 0x84]
call fcn.00426600
mov eax, dword [ebp - 0x8c]
push dword [eax]
call fcn.00425f60
add esp, 0x14
test al, al
je 0x425d97
add dword [esi + 8], 0xfffffffa
mov eax, dword [ebp - 0x8c]
cmp dword [eax], 0x9c77
jne 0x425dba
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 0x425dd9
push 0x490c20
mov ecx, edi
call fcn.0040c980
jmp 0x425b74
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 0x425e07
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 0x425e1d
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 0x425e33
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 0x425e48
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 0x425b77
call fcn.0046a570
jmp 0x425b74
push 0x490c20
call fcn.0046a680
push eax
push 0x490c20
call fcn.0046a810
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.0046f8ce
mov esp, ebp
pop ebp
ret