Function at 0x1075e06
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.01072dfc
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
or edi, 0xffffffff
call fcn.01072e3e
test eax, eax
je 0x1075e52
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 0x1075e93
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 0x1075e93
push edi
push dword [ebp + 8]
call fcn.010793b2
mov dword [ebx + 0x358], eax
mov eax, dword [ebx + 0x3bc]
cmp eax, 3
je 0x1075f0e
mov ecx, dword [ebp + 0xc]
sub ecx, 0x200
je 0x107603a
dec ecx
je 0x1075fb3
dec ecx
je 0x1075f9e
dec ecx
dec ecx
je 0x1075ef1
sub ecx, 0x9f
jne 0x1075f0e
dec eax
je 0x107606b
dec eax
jne 0x1075f0e
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 0x1076078
cmp eax, 2
jne 0x1075f02
mov ecx, ebx
call fcn.01075a49
jmp 0x1076078
cmp eax, 1
jne 0x1075f0e
mov ecx, ebx
call fcn.0107439c
push 1
push edi
mov ecx, esi
call fcn.01012481
mov esi, eax
mov dword [ebp + 0x10], esi
test esi, esi
je 0x1076094
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10761b2
xor edi, edi
mov dword [ebp + 0x14], edi
cmp dword [ebp - 8], edi
je 0x1076113
push dword [esi]
call fcn.01079389
mov ecx, dword [ebx + 0x338]
cmp ecx, edi
je 0x10760f4
push esi
call fcn.0107415d
test al, al
je 0x107609d
cmp dword [ebx + 0x388], 7
je 0x107609d
xor eax, eax
inc eax
cmp dword [ebp + 0xc], 0x204
mov dword [ebp + 0x14], eax
je 0x10760a2
cmp dword [ebp + 0xc], 0x206
je 0x10760a2
mov dword [ebx + 0x388], edi
jmp 0x10760a8
cmp eax, 2
jne 0x1075f02
mov ecx, ebx
call fcn.010757e5
jmp 0x1076078
test edi, edi
jl 0x1075f0e
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 0x1076078
dec eax
je 0x1076054
dec eax
jne 0x1075f0e
push esi
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.010754a8
jmp 0x1076078
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 0x1076078
push dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.01074822
cmp dword [ebx + 0x3bc], 1
jne 0x1076094
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01073a23
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
mov dword [ebp + 0x14], edi
jmp 0x10760f4
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.010403c2
push 0x21d
push 0x1065a68
call fcn.01012644
mov esi, dword [ebp + 0x10]
xor edi, edi
push edi
push 3
push esi
mov ecx, ebx
call fcn.010311ff
push edi
mov ecx, ebx
mov dword [ebx + 0x344], 1
call fcn.0103fba3
jmp 0x1076159
cmp dword [ebp + 0xc], 0x202
jne 0x1076137
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.01074067
jmp 0x1076170
cmp dword [ebp + 0xc], 0x205
jne 0x107615e
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.01074067
cmp dword [ebp + 0x14], edi
jne 0x10761ca
cmp dword [ebp + 0xc], 0x202
je 0x1076170
cmp dword [ebp + 0xc], 0x205
jne 0x1076185
push edi
push edi
push 0x447
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x10761ca
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.01040597
jmp 0x10761ca
push 4
push 1
push 0
push edi
add esi, 0x438
push esi
push dword [ebp - 4]
mov ecx, ebx
call fcn.01040e6b
xor eax, eax
inc eax
jmp 0x1076096