Function at 0x10032f76
Capabilities:
Capture webcam image

Disassembly:
push ebp
sub esp, 0x70
mov eax, 0x100bf170
call fcn.100a35ac
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
push ebx
push ebx
mov edi, ecx
mov dword [ebp + 0x6c], ebx
push 0xb
lea esi, [edi + 0xac]
push dword [esi]
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, esp
mov dword [ebp + 0x68], esp
push 0x100cb0a0
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp + 0x30], esp
push 0x100cb330
mov byte [ebp - 4], 1
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp + 0x34], esp
push str.AutoComplete
mov byte [ebp - 4], 2
call fcn.10005f07
lea eax, [ebp + 0x70]
push eax
mov byte [ebp - 4], bl
call fcn.1003fd77
add esp, 0x10
push 0x100cb330
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10002834
xor ecx, ecx
cmp eax, ebx
sete cl
mov byte [ebp - 4], bl
mov dword [edi + 0x154], ecx
mov ecx, dword [ebp + 0x70]
add ecx, 0xfffffff0
call fcn.10001d29
push ecx
mov ecx, esp
mov dword [ebp + 0x34], esp
push 0x100cb0a0
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp + 0x30], esp
push 0x100cb330
mov byte [ebp - 4], 4
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp + 0x68], esp
push str.KeepHistory
mov byte [ebp - 4], 5
call fcn.10005f07
lea eax, [ebp + 0x70]
push eax
mov byte [ebp - 4], bl
call fcn.1003fd77
add esp, 0x10
push 0x100cb330
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.10002834
xor ecx, ecx
cmp eax, ebx
sete cl
mov byte [ebp - 4], bl
mov dword [edi + 0x150], ecx
mov ecx, dword [ebp + 0x70]
add ecx, 0xfffffff0
call fcn.10001d29
push dword [ebp + 0x7c]
mov ecx, edi
call fcn.1001df62
cmp byte [edi + 0xa5], bl
je 0x100332cd
mov ecx, dword [edi + 0x74]
lea eax, [ebp + 0x7f]
push eax
push edi
mov byte [ebp + 0x7f], bl
call fcn.10067b42
push ebx
push str._GS_
lea ecx, [edi + 0x50]
mov dword [ebp + 0x6c], eax
call fcn.10003080
cmp eax, 0xffffffff
je 0x100333c6
lea eax, [edi + 0x158]
push dword [eax]
mov dword [ebp + 0x70], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100333c6
lea eax, [ebp + 0x20]
push eax
push dword [esi]
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [edi + 0xc]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x419
push dword [ebp + 0x6c]
call edi
lea ecx, [ebp + 0x48]
push ecx
push eax
push 0x41d
push dword [ebp + 0x6c]
mov dword [ebp + 0x68], eax
call edi
lea eax, [ebp]
push eax
mov eax, dword [ebp + 0x68]
dec eax
push eax
push 0x41d
push dword [ebp + 0x6c]
call edi
mov eax, dword [ebp]
push ecx
mov ecx, esp
mov dword [ebp + 0x34], esp
push 0x100cb0a0
mov dword [ebp + 0x48], eax
call fcn.10005f07
push 0x16
push ecx
mov ecx, esp
mov dword [ebp + 0x30], esp
push str.Height
mov byte [ebp - 4], 7
call fcn.10005f07
mov byte [ebp - 4], bl
call fcn.100400d9
sub eax, dword [ebp + 0x54]
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
add eax, dword [ebp + 0x4c]
add esp, 0xc
cdq
sub eax, edx
sar eax, 1
push eax
push ebx
lea eax, [ebp + 0x48]
push eax
call edi
mov eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x4c]
sub eax, dword [ebp + 0x2c]
add eax, dword [ebp + 0x54]
cdq
sub eax, edx
sar eax, 1
push eax
push ebx
lea eax, [ebp + 0x48]
push eax
call edi
add dword [ebp + 0x54], 0x64
push 4
lea eax, [ebp + 0x48]
push eax
push ebx
mov ecx, esi
call fcn.10027615
lea eax, [ebp + 0x10]
push eax
push dword [esi]
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp + 0x38]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
add dword [ebp + 0x38], 2
mov eax, dword [ebp + 0x38]
add dword [ebp + 0x3c], 2
sub dword [ebp + 0x44], 2
add eax, 0x1f
mov dword [ebp + 0x40], eax
lea eax, [ebp + 0x10]
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov dword [ebp + 0x6c], eax
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push 3
push eax
push dword [ebp + 0x6c]
mov dword [ebp + 0x68], eax
push dword [ebp + 0x6c]
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebx
push dword [ebp + 0x6c]
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowRgn]
push dword [ebp + 0x68]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebp + 0x58]
push eax
mov eax, dword [ebp + 0x70]
push dword [eax]
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp + 0x58]
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push 1
push eax
mov eax, dword [ebp + 0x70]
push dword [eax]
call dword [sym.imp.USER32.dll_SetWindowRgn]
lea eax, [ebp + 0x20]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp + 0x58]
push eax
mov eax, dword [ebp + 0x70]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 0x24]
neg eax
push eax
mov eax, dword [ebp + 0x20]
neg eax
push eax
lea eax, [ebp + 0x58]
push eax
call edi
add dword [ebp + 0x58], 0x1e
mov ecx, dword [ebp + 0x70]
inc dword [ebp + 0x64]
add dword [ebp + 0x60], 2
push 4
lea eax, [ebp + 0x58]
push eax
push ebx
call fcn.10027615
jmp 0x100333c6
push ebx
push ebx
push 0x14b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x74]
mov eax, dword [eax + 0xbc]
push 1
push eax
push 0x30
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp + 0x70], 0xffffffff
mov dword [ebp + 0x7c], ebx
lea ecx, [edi + 0x138]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp dword [ebp + 0x7c], eax
jae 0x10033359
push dword [ebp + 0x7c]
call fcn.10001bf2
mov eax, dword [eax]
add eax, 0x30
push dword [eax]
mov ecx, esi
call fcn.1002756a
cmp dword [ebp + 0x70], ebx
jge 0x10033354
push dword [ebp + 0x7c]
lea ecx, [edi + 0x138]
call fcn.10001bf2
mov eax, dword [eax]
add eax, 0x34
push eax
lea eax, [edi + 0x80]
push eax
call fcn.100030b9
pop ecx
pop ecx
test al, al
je 0x10033354
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x70], eax
inc dword [ebp + 0x7c]
jmp 0x100332f9
cmp dword [ebp + 0x70], ebx
jge 0x100333b3
lea ecx, [edi + 0x138]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
mov dword [ebp + 0x70], ebx
sar eax, 2
test eax, eax
jbe 0x10033381
push ebx
call fcn.10001bf2
mov eax, dword [eax]
add eax, 0x34
jmp 0x10033396
push 0x100cb0a0
lea ecx, [ebp + 0x7c]
call fcn.10005f07
or dword [ebp + 0x6c], 1
mov byte [ebp - 4], 8
lea ecx, [edi + 0x80]
push eax
call fcn.10004a20
test byte [ebp + 0x6c], 1
je 0x100333b3
mov ecx, dword [ebp + 0x7c]
add ecx, 0xfffffff0
call fcn.10001d29
push dword [ebp + 0x70]
mov ecx, esi
call fcn.10027532
mov eax, dword [ebp + 0x70]
mov dword [edi + 0x104], eax
push ebx
push 1
push 0xb
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add ebp, 0x74
leave
ret 4