Function at 0x4684e8
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
and dword [ebp - 0x34], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ebx, ecx
mov eax, dword [esi + 0xc]
dec eax
je 0x468ad0
dec eax
je 0x4685e3
sub eax, 0xffff
jne 0x468ad7
mov esi, dword [esi + 0x24]
cmp esi, 0xe141
jne 0x468ad7
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x419
push dword [ebx + 0xe4]
mov dword [ebp - 0x34], 4
call esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x28], eax
push ecx
push eax
push 0x41d
push dword [ebx + 0xe4]
call esi
lea esi, [ebp - 0x48]
lea edi, [ebp - 0x58]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
sub eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub ecx, edx
sub eax, 0xe
sub ecx, 0xe
shr eax, 1
movsd dword es:[edi], dword [esi]
add dword [ebp - 0x58], eax
sub dword [ebp - 0x50], eax
shr ecx, 1
sub dword [ebp - 0x4c], ecx
lea eax, [ebp - 0x60]
add edx, ecx
push eax
mov dword [ebp - 0x54], edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0xe4]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x5c]
lea eax, [ebp - 0x48]
push dword [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
push dword [ebp - 0x28]
lea ecx, [ebx + 0xe0]
mov esi, eax
call fcn.00455ac1
push esi
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0x10]
push dword [ebx + 0xe4]
call fcn.00484244
add esp, 0x14
jmp 0x468ad7
mov ecx, ebx
call fcn.00464b29
mov ecx, ebx
mov dword [ebp - 0x68], eax
call fcn.00468b01
mov ecx, ebx
mov dword [ebp - 0x14], eax
call fcn.00465400
mov edi, eax
mov eax, dword [esi + 0x10]
test edi, edi
mov dword [ebp - 0x94], eax
je 0x468617
push edi
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x468619
xor eax, eax
and byte [ebp - 0x8c], 0
lea ecx, [ebx + 0xe0]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x88], edi
call fcn.0045ce8b
mov ecx, dword [esi + 0x10]
push eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x50], 1
call fcn.0046e3fc
mov esi, dword [esi + 0x10]
test esi, esi
mov dword [ebp - 0x28], esi
je 0x468663
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0xac]
mov ecx, ebx
push eax
call fcn.004651de
lea esi, [ebp - 0xac]
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xac]
lea ecx, [ebx + 0xe0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 3
movsd dword es:[edi], dword [esi]
add dword [ebp - 0x44], 3
mov dword [ebp - 0x48], eax
call fcn.004562aa
xor edi, edi
mov dword [ebp - 0x64], eax
cmp eax, edi
je 0x4686a9
mov eax, 0xffff
jmp 0x4686b6
push dword [ebp - 0x14]
push dword [ebp - 0x68]
call fcn.00462dc3
pop ecx
pop ecx
mov esi, dword [ebp + 0xc]
push eax
mov byte [ebp - 0x80], 1
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x84]
call fcn.0042049a
cmp dword [ebp - 0x64], edi
je 0x4686ed
call fcn.00462ea9
push eax
lea eax, [ebp - 0xac]
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.0046840e
mov eax, dword [0x4a9450]
mov ecx, ebx
mov dword [ebp - 0x5c], eax
call fcn.00468ae1
test eax, eax
mov eax, 0x4ab9f8
jne 0x468715
mov eax, 0x4bf5f0
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004066f3
push dword [esi + 0x10]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp eax, edi
je 0x468773
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
push 0x424
push eax
mov eax, dword [ebp - 0x38]
mov byte [ebp - 8], 1
mov dword [ebp - 4], edi
push dword [eax - 8]
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0xc]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
call fcn.0041f9b0
mov ecx, ebx
call fcn.00464b29
mov dword [ebp - 0x2c], eax
lea esi, [ebp - 0x48]
lea edi, [ebp - 0x24]
lea ecx, [ebp - 8]
xor eax, eax
push ecx
movsd dword es:[edi], dword [esi]
push eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
push eax
mov eax, dword [ebp - 0x30]
push 0x3e8
movsd dword es:[edi], dword [esi]
push dword [eax - 8]
movsd dword es:[edi], dword [esi]
push eax
mov eax, dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
push dword [eax + 0x10]
call dword [sym.imp.GDI32.dll_GetTextExtentExPointW]
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
jne 0x4687bf
push 0x14
pop edi
mov ecx, ebx
call fcn.00468ae1
mov esi, eax
push 4
neg esi
sbb esi, esi
push 4
push dword [ebp - 0x18]
and esi, 8
add esi, 4
add esi, dword [ebp - 0x24]
add esi, edi
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
test eax, eax
mov dword [ebp - 4], eax
je 0x46885e
cmp dword [ebp - 0x2c], 0
jne 0x468802
push 0
call fcn.00462ec9
pop ecx
jmp 0x46880a
push 0x18
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov edi, dword [ebp + 0xc]
push eax
push dword [ebp - 4]
push dword [edi + 0x10]
call dword [sym.imp.GDI32.dll_FillRgn]
cmp dword [ebp - 0x2c], 0
jne 0x468824
push 8
jmp 0x468826
push 0x17
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 1
push 1
push eax
push dword [ebp - 4]
push dword [edi + 0x10]
call dword [sym.imp.GDI32.dll_FrameRgn]
sub esi, dword [ebp - 0x24]
push dword [ebp - 4]
add esi, 4
mov dword [ebp - 0x14], esi
call dword [sym.imp.GDI32.dll_GetObjectType]
test eax, eax
je 0x468861
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x468861
mov edi, dword [ebp + 0xc]
call fcn.00462b06
mov ecx, ebx
mov esi, eax
call fcn.00468ae1
test eax, eax
je 0x468889
mov eax, dword [ebp - 0x2c]
neg eax
sbb eax, eax
and eax, 9
add eax, 0xe
push eax
call dword [sym.imp.USER32.dll_GetSysColor]
jmp 0x46888b
mov eax, esi
mov ecx, dword [edi + 0x10]
push eax
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
mov byte [ebp - 8], 1
call fcn.0042049a
lea esi, [ebp - 0x48]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x48]
push 0x8824
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 4
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov edi, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x38]
push dword [eax - 8]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_DrawTextW]
lea ecx, [ebp - 0xc]
call fcn.00420174
cmp dword [ebp - 0x68], 0
jne 0x468a00
lea ecx, [ebp - 0x6c]
call fcn.00473bce
push 0xb9
lea ecx, [ebp - 0x6c]
call fcn.00450a4f
lea esi, [ebp - 0x6c]
lea eax, [ebp - 0x68]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00488f7c
pop ecx
mov ecx, ebx
call fcn.00468ae1
test eax, eax
je 0x468933
mov ecx, 0x4ab9f8
mov eax, ecx
test eax, eax
je 0x468929
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0x4ab9f8
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.0040678b
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00450952
pop ecx
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0040665f
lea ecx, [ebp - 0x78]
call fcn.00401085
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x46896b
add dword [ebp - 0x10], 0xf
jmp 0x46896e
add dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0xdc]
add dword [ebp - 0xc], 3
sub dword [ebp - 8], 3
call fcn.0047c066
cmp dword [ebp - 0x64], 0
je 0x46898e
mov esi, 0xffff
jmp 0x4689a0
test eax, eax
je 0x468999
call fcn.00462b00
jmp 0x46899e
call fcn.0046292c
mov esi, eax
mov ecx, ebx
call fcn.00468ae1
test eax, eax
jne 0x4689b2
call fcn.00462b06
mov esi, eax
push esi
push dword [edi + 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 2
call fcn.00465332
test eax, eax
pop ecx
je 0x4689d2
push eax
push dword [edi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x10]
push 0x8824
push eax
mov eax, dword [ebp + 0xc]
push dword [eax - 8]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_DrawTextW]
lea ecx, [ebp + 0xc]
call fcn.00401085
lea ecx, [ebp - 0x6c]
call fcn.00473bfc
jmp 0x468a83
call fcn.0040f853
push eax
push dword [0x4c0e4c]
call fcn.00430f34
pop ecx
mov dword [ebp + 0xc], eax
pop ecx
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 0xe4]
call esi
test eax, eax
je 0x468a45
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 0xe4]
call esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
lea esi, [eax - 7]
lea eax, [ebp - 0x74]
push eax
push dword [ebx + 0xe4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x6c]
push 3
push 0
push 0
push 0xe
push 0xe
push dword [ebp + 0xc]
add eax, 0xffffffed
push esi
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_DrawIconEx]
lea ecx, [ebp - 0x38]
call fcn.00401085
lea ecx, [ebp - 0x5c]
call fcn.00401085
lea ecx, [ebp - 0x30]
call fcn.00401085
lea ecx, [ebp - 0x84]
call fcn.00420174
cmp dword [ebp - 0x28], 0
je 0x468abb
push dword [ebp - 0x98]
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_SetBkMode]
lea ecx, [ebp - 0x54]
call fcn.0046e1ae
lea ecx, [ebp - 0x94]
call fcn.0041c5c8
jmp 0x468ad7
mov dword [ebp - 0x34], 0x30
mov eax, dword [ebp - 0x34]
pop edi
pop esi
pop ebx
leave
ret 0xc