Function at 0x431cfc
Capabilities:
Capture webcam image

Disassembly:
push 0x8c
mov eax, 0x449777
call fcn.0043722d
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 0x431d3e
mov ecx, dword [ebp + 0x14]
shr ecx, 0x10
movsx ecx, cx
cmp dword [esi + 0x6c], ecx
je 0x432154
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 0x431daf
cmp dword [esi + 0x30], ebx
jne 0x431daf
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.00432279
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 0x432117
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.00408492
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0x60]
call fcn.00408492
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x431e42
cmp eax, dword [ebp - 0x60]
je 0x431e47
call fcn.00435551
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x5c]
je 0x431f8e
lea esi, [ebp - 0x3c]
call fcn.00412f23
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.00417d53
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 0x431eac
inc dword [ebp - 0x34]
lea edi, [ebp - 0x98]
call fcn.00432432
jmp 0x431e28
mov esi, ebx
call fcn.00432376
mov esi, eax
call fcn.004332d7
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x5c], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00431153
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.00417d53
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.00412f23
mov eax, dword [eax]
add eax, 4
cmp dword [eax + 0x18], 8
jb 0x431f29
mov eax, dword [eax + 4]
jmp 0x431f2c
add eax, 4
push eax
push dword [ebp - 0x48]
call fcn.00402ba6
lea esi, [ebp - 0x3c]
call fcn.00412f23
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x18], 8
jb 0x431f4d
mov eax, dword [eax + 4]
jmp 0x431f50
add eax, 4
push eax
push dword [ebp - 0x44]
call fcn.00402ba6
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x58]
call fcn.0041ff19
lea eax, [ebp - 0x58]
push eax
push ecx
mov esi, ebx
call fcn.00432336
add esp, 4
call fcn.00433ec1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040ccd5
lea ecx, [ebp - 0x48]
call fcn.0040ccd5
jmp 0x431f94
mov edi, dword [ebp - 0x2c]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x2c], 0
je 0x43210b
cmp dword [ebx + 0x5c], 0xffffffff
jne 0x43210b
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x30], eax
je 0x43210b
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebp - 0x28]
jl 0x43210b
cmp eax, dword [ebp - 0x20]
jg 0x43210b
mov esi, ebx
call fcn.00432336
mov esi, eax
call fcn.004332d7
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 [0x44ef78]
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.00442db0
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 0x432065
push 0x3c
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x2c], eax
mov esi, edx
mov eax, dword [0x45d8cc]
mov ecx, 0x45d8cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push esi
push dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
push 0x44ec50
push eax
mov dword [ebp - 4], 2
call fcn.0040411b
mov esi, dword [ebp + 8]
add esp, 0x10
push 0x44c69c
push dword [esi + 0x84]
call fcn.00402ba6
push dword [ebp - 0x18]
sub esi, 0xffffff80
call fcn.0040cd81
mov eax, ebx
call fcn.0041ff19
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.004045ea
mov ebx, dword [ebp + 8]
mov esi, ebx
call fcn.00432279
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x64], ebx
je 0x432154
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.0043240e
call fcn.00437305
ret 0x10