Function at 0x1003803c
Capabilities:
Capture webcam image

Disassembly:
push ebp
sub esp, 0x70
mov eax, 0x100ba51e
call fcn.100a0664
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 + 0xb0]
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 0x100c503c
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x30], esp
push 0x100c51a4
mov byte [ebp - 4], 1
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x34], esp
push str.AutoComplete
mov byte [ebp - 4], 2
call fcn.100057f4
lea eax, [ebp + 0x70]
push eax
mov byte [ebp - 4], bl
call fcn.10044254
add esp, 0x10
push 0x100c51a4
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.1000272b
xor ecx, ecx
cmp eax, ebx
sete cl
mov byte [ebp - 4], bl
mov dword [edi + 0x158], ecx
mov ecx, dword [ebp + 0x70]
add ecx, 0xfffffff0
call fcn.10001ccd
push ecx
mov ecx, esp
mov dword [ebp + 0x34], esp
push 0x100c503c
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x30], esp
push 0x100c51a4
mov byte [ebp - 4], 4
call fcn.100057f4
push ecx
mov ecx, esp
mov dword [ebp + 0x68], esp
push str.KeepHistory
mov byte [ebp - 4], 5
call fcn.100057f4
lea eax, [ebp + 0x70]
push eax
mov byte [ebp - 4], bl
call fcn.10044254
add esp, 0x10
push 0x100c51a4
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.1000272b
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.10001ccd
push dword [ebp + 0x7c]
mov ecx, edi
call fcn.10021044
cmp byte [edi + 0xa9], bl
je 0x10038393
mov ecx, dword [edi + 0x78]
lea eax, [ebp + 0x7f]
push eax
push edi
mov byte [ebp + 0x7f], bl
call fcn.1006b272
push ebx
push str._GS_
lea ecx, [edi + 0x54]
mov dword [ebp + 0x6c], eax
call fcn.10002fb2
cmp eax, 0xffffffff
je 0x1003848c
lea eax, [edi + 0x15c]
push dword [eax]
mov dword [ebp + 0x70], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1003848c
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 0x100c503c
mov dword [ebp + 0x48], eax
call fcn.100057f4
push 0x16
push ecx
mov ecx, esp
mov dword [ebp + 0x30], esp
push str.Height
mov byte [ebp - 4], 7
call fcn.100057f4
mov byte [ebp - 4], bl
call fcn.10044598
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.1002c9a4
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.1002c9a4
jmp 0x1003848c
push ebx
push ebx
push 0x14b
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x78]
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 + 0x13c]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp dword [ebp + 0x7c], eax
jae 0x1003841f
push dword [ebp + 0x7c]
call fcn.1000b27e
mov eax, dword [eax]
add eax, 0x34
push dword [eax]
mov ecx, esi
call fcn.1002c8f9
cmp dword [ebp + 0x70], ebx
jge 0x1003841a
push dword [ebp + 0x7c]
lea ecx, [edi + 0x13c]
call fcn.1000b27e
mov eax, dword [eax]
add eax, 0x38
push eax
lea eax, [edi + 0x84]
push eax
call fcn.10002feb
pop ecx
pop ecx
test al, al
je 0x1003841a
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x70], eax
inc dword [ebp + 0x7c]
jmp 0x100383bf
cmp dword [ebp + 0x70], ebx
jge 0x10038479
lea ecx, [edi + 0x13c]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
mov dword [ebp + 0x70], ebx
sar eax, 2
test eax, eax
jbe 0x10038447
push ebx
call fcn.1000b27e
mov eax, dword [eax]
add eax, 0x38
jmp 0x1003845c
push 0x100c503c
lea ecx, [ebp + 0x7c]
call fcn.100057f4
or dword [ebp + 0x6c], 1
mov byte [ebp - 4], 8
lea ecx, [edi + 0x84]
push eax
call fcn.100046db
test byte [ebp + 0x6c], 1
je 0x10038479
mov ecx, dword [ebp + 0x7c]
add ecx, 0xfffffff0
call fcn.10001ccd
push dword [ebp + 0x70]
mov ecx, esi
call fcn.1002c8c1
mov eax, dword [ebp + 0x70]
mov dword [edi + 0x108], 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