Function at 0x43178e
Capabilities:
Capture webcam image

Disassembly:
push 0x8c
mov eax, 0x449276
call fcn.00436d6d
push 0x7f89
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
movsx eax, word [ebp + 0x14]
mov esi, dword [ebp + 8]
cmp dword [esi + 0x68], eax
jne 0x4317d0
mov ecx, dword [ebp + 0x14]
shr ecx, 0x10
movsx ecx, cx
cmp dword [esi + 0x6c], ecx
je 0x431be6
mov dword [esi + 0x68], eax
mov eax, dword [ebp + 0x14]
shr eax, 0x10
cmp dword [ebp + 0xc], 0x200
cwde
mov dword [esi + 0x6c], eax
jne 0x431841
cmp dword [esi + 0x30], ebx
jne 0x431841
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
mov dword [esi + 0x30], 1
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], 2
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
call fcn.00431d0b
mov dword [ebp - 0x90], vtable.shui::CSHMouseSignalArgs.0
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0x6c]
lea edx, [ebp - 0x90]
mov dword [ebp - 0x6c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
or dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x40], eax
cmp eax, ebx
je 0x431ba9
lea eax, [ebp - 0x28]
push eax
push ebx
lea edi, [esi + 4]
push 0x41a
push dword [edi]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], edi
call ebx
push 0
push 0
push 0x401
push dword [edi]
call ebx
push 0
push 0
push 0x402
push dword [edi]
mov dword [ebp - 0x30], eax
call ebx
or dword [esi + 0x5c], 0xffffffff
mov ebx, dword [esi + 0x50]
and dword [ebp - 0x34], 0
add esi, 0x44
inc eax
mov edi, esi
mov dword [ebp - 0x14], esi
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x18], eax
call fcn.0041f697
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0x60]
call fcn.0041f697
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4318d4
cmp eax, dword [ebp - 0x60]
je 0x4318d9
call fcn.0043508f
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x5c]
je 0x431a20
lea esi, [ebp - 0x3c]
call fcn.00402fdd
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x30]
sub eax, dword [ebp - 0x30]
push ecx
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
mov eax, dword [ebp - 0x40]
add edi, dword [ebp - 0x28]
call fcn.00417894
mov ebx, dword [ebp + 8]
mov ecx, eax
mov eax, dword [ebx + 0x68]
sub eax, edi
cdq
xor eax, edx
shr ecx, 1
sub eax, edx
cmp eax, ecx
jle 0x43193e
inc dword [ebp - 0x34]
lea edi, [ebp - 0x98]
call fcn.00431f3f
jmp 0x4318ba
mov esi, ebx
call fcn.00431e08
mov esi, eax
call fcn.00432e16
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x5c], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00430be5
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
add eax, ecx
sub ecx, dword [ebp - 0x24]
cdq
sub eax, edx
mov edx, edi
sub edx, dword [ebp - 0x58]
sar eax, 1
add dword [ebp - 0x50], edx
mov edx, eax
sub edx, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x4c], edx
mov dword [ebp - 0x58], edi
mov esi, ecx
call fcn.00417894
lea ecx, [esi + esi]
shr eax, 1
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea esi, [ebp - 0x3c]
call fcn.00402fdd
mov eax, dword [eax]
add eax, 4
cmp dword [eax + 0x18], 8
jb 0x4319bb
mov eax, dword [eax + 4]
jmp 0x4319be
add eax, 4
push eax
push dword [ebp - 0x48]
call fcn.00402802
lea esi, [ebp - 0x3c]
call fcn.00402fdd
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x18], 8
jb 0x4319df
mov eax, dword [eax + 4]
jmp 0x4319e2
add eax, 4
push eax
push dword [ebp - 0x44]
call fcn.00402802
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x58]
call fcn.0041f7a6
lea eax, [ebp - 0x58]
push eax
push ecx
mov esi, ebx
call fcn.00431dc8
add esp, 4
call fcn.00433a00
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040c5d7
lea ecx, [ebp - 0x48]
call fcn.0040c5d7
jmp 0x431a26
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x2c], 0
je 0x431b9d
cmp dword [ebx + 0x5c], 0xffffffff
jne 0x431b9d
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x30], eax
je 0x431b9d
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebp - 0x28]
jl 0x431b9d
cmp eax, dword [ebp - 0x20]
jg 0x431b9d
mov esi, ebx
call fcn.00431dc8
mov esi, eax
call fcn.00432e16
mov esi, dword [ebx + 0x68]
mov eax, esi
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
fild dword [ebp - 0x14]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x30]
fdivp st(1)
mov dword [ebp - 0x14], eax
fld1
fsub st(1)
fld qword [0x44ef50]
fmul st(1), st(0)
fld st(2)
fmulp st(1)
fsubp st(1)
fild dword [ebp - 0x14]
fmulp st(2)
fild dword [ebp - 0x30]
faddp st(2)
faddp st(1)
call fcn.004428f0
mov edx, dword [ebp - 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x24]
add eax, edx
cdq
sub eax, edx
add ebx, 0x70
sar eax, 1
mov edx, esi
sub edx, dword [ebx]
and dword [ebp - 0x2c], 0
add dword [ebx + 8], edx
mov edx, eax
sub edx, dword [ebx + 4]
mov dword [ebx + 4], eax
add dword [ebx + 0xc], edx
mov eax, ecx
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [ebx], esi
mov esi, eax
cmp esi, 0x3c
jl 0x431af7
push 0x3c
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x2c], eax
mov esi, edx
mov eax, dword [0x45c94c]
mov ecx, 0x45c94c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
push dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push 0x44ec28
push eax
mov dword [ebp - 4], 2
call fcn.004038f4
mov esi, dword [ebp + 8]
add esp, 0x10
push 0x44c684
push dword [esi + 0x84]
call fcn.00402802
push dword [ebp - 0x18]
sub esi, 0xffffff80
call fcn.0040c683
mov eax, ebx
call fcn.0041f7a6
lea eax, [ebp - 0x28]
push eax
xor esi, esi
push esi
push 0x419
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push 0xfffffffffffffffa
pop ecx
cdq
idiv ecx
push eax
push esi
push ebx
call dword [sym.imp.USER32.dll_OffsetRect]
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_KillTimer]
push esi
push 0x32
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_SetTimer]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00403c6b
mov ebx, dword [ebp + 8]
mov esi, ebx
call fcn.00431d0b
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x64], ebx
je 0x431be6
mov dword [ebp - 0x90], vtable.shui::CSHMouseSignalArgs.0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 3
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x90]
mov dword [ebp - 0x80], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x28]
mov edx, esi
call fcn.00431ea0
call fcn.00436e45
ret 0x10