Function at 0x1075996
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, ecx
call fcn.01011ddb
push dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], esi
call fcn.0107298a
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
or edi, 0xffffffff
call fcn.010729cc
test eax, eax
je 0x10759e2
push 0
push dword [ebx + 0x358]
push 0x419
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
movsx eax, word [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
shr eax, 0x10
cwde
mov dword [ebp - 0x10], eax
cmp edi, 0xffffffff
jne 0x1075a23
lea eax, [ebp - 0x14]
push eax
push 0
push 0x445
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 8], 0
mov edi, eax
je 0x1075a23
push edi
push dword [ebp + 8]
call fcn.01078f52
mov dword [ebx + 0x358], eax
mov eax, dword [ebx + 0x3bc]
cmp eax, 3
je 0x1075a9e
mov ecx, dword [ebp + 0xc]
sub ecx, 0x200
je 0x1075bca
dec ecx
je 0x1075b43
dec ecx
je 0x1075b2e
dec ecx
dec ecx
je 0x1075a81
sub ecx, 0x9f
jne 0x1075a9e
dec eax
je 0x1075bfb
dec eax
jne 0x1075a9e
lea edi, [ebp - 8]
stosd dword es:[edi], eax
or dword [ebp - 0xc], 0xffffffff
lea eax, [ebp - 0xc]
push eax
push ecx
push 0x450
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1075c08
cmp eax, 2
jne 0x1075a92
mov ecx, ebx
call fcn.010755d9
jmp 0x1075c08
cmp eax, 1
jne 0x1075a9e
mov ecx, ebx
call fcn.01073f2c
push 1
push edi
mov ecx, esi
call fcn.01012481
mov esi, eax
mov dword [ebp + 0x10], esi
test esi, esi
je 0x1075c24
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1075d42
xor edi, edi
mov dword [ebp + 0x14], edi
cmp dword [ebp - 8], edi
je 0x1075ca3
push dword [esi]
call fcn.01078f29
mov ecx, dword [ebx + 0x338]
cmp ecx, edi
je 0x1075c84
push esi
call fcn.01073ced
test al, al
je 0x1075c2d
cmp dword [ebx + 0x388], 7
je 0x1075c2d
xor eax, eax
inc eax
cmp dword [ebp + 0xc], 0x204
mov dword [ebp + 0x14], eax
je 0x1075c32
cmp dword [ebp + 0xc], 0x206
je 0x1075c32
mov dword [ebx + 0x388], edi
jmp 0x1075c38
cmp eax, 2
jne 0x1075a92
mov ecx, ebx
call fcn.01075375
jmp 0x1075c08
test edi, edi
jl 0x1075a9e
lea eax, [ebx + 0x3a8]
mov dword [eax], esi
mov dword [ebx + 0x3ac], edi
mov eax, dword [eax + 4]
mov ecx, esi
mov dword [ebx + 0x3b0], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x3b4], eax
xor eax, eax
inc eax
mov dword [ebx + 0x3c0], ecx
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ebx + 0x3c4], ecx
push edi
mov ecx, esi
mov dword [ebx + 0x3bc], eax
call fcn.01012481
mov dword [ebx + 0x3b8], eax
mov eax, dword [ebp - 0x10]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + 1]
push edx
push eax
push ecx
lea esi, [ebx + 0x3c8]
push esi
call dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x45
call edi
push eax
push 0x44
call edi
push eax
push esi
call dword [sym.imp.USER32.dll_InflateRect]
jmp 0x1075c08
dec eax
je 0x1075be4
dec eax
jne 0x1075a9e
push esi
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.01075038
jmp 0x1075c08
push dword [ebp - 0x10]
lea eax, [ebx + 0x3c8]
push dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1075c08
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.010743b2
cmp dword [ebx + 0x3bc], 1
jne 0x1075c24
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.010735b3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
mov dword [ebp + 0x14], edi
jmp 0x1075c84
mov dword [ebx + 0x388], eax
push 0xffff
push 5
push 0x403
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebx + 0x338]
push 0x405
push edi
push edi
push dword [esi + 0x14]
mov ecx, ebx
push dword [esi + 0x10]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.01040467
push 0x21d
push 0x1065978
call fcn.01012644
mov esi, dword [ebp + 0x10]
xor edi, edi
push edi
push 3
push esi
mov ecx, ebx
call fcn.01031267
push edi
mov ecx, ebx
mov dword [ebx + 0x344], 1
call fcn.0103fc0b
jmp 0x1075ce9
cmp dword [ebp + 0xc], 0x202
jne 0x1075cc7
xor ecx, ecx
lea eax, [ebx + 0x29c]
cmp dword [ebp - 4], eax
push 1
setne cl
push esi
mov eax, ecx
push eax
call fcn.01073bf7
jmp 0x1075d00
cmp dword [ebp + 0xc], 0x205
jne 0x1075cee
xor ecx, ecx
lea eax, [ebx + 0x29c]
cmp dword [ebp - 4], eax
push 2
setne cl
push esi
mov eax, ecx
push eax
call fcn.01073bf7
cmp dword [ebp + 0x14], edi
jne 0x1075d5a
cmp dword [ebp + 0xc], 0x202
je 0x1075d00
cmp dword [ebp + 0xc], 0x205
jne 0x1075d15
push edi
push edi
push 0x447
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1075d5a
push 1
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
movzx eax, word [ebp - 0x10]
movzx ecx, word [ebp - 0x14]
push edi
push edi
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.0104063c
jmp 0x1075d5a
push 4
push 1
push 0
push edi
add esi, 0x438
push esi
push dword [ebp - 4]
mov ecx, ebx
call fcn.01040d4f
xor eax, eax
inc eax
jmp 0x1075c26