Function at 0x1000b59f
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x28], esi
call fcn.1003cc20
test eax, eax
je 0x1000b5d4
call fcn.1003cc4c
test eax, eax
je 0x1000b5d4
mov dword [ebp - 0x38], 1
xor edi, edi
jmp 0x1000b5d9
xor edi, edi
mov dword [ebp - 0x38], edi
push dword [0x10135984]
mov eax, 0x1f4
push 0x69
push dword [esi + 4]
push eax
push eax
push edi
push edi
push 0x56001b4c
push edi
push str.ToolbarWindow32
push edi
call fcn.10006b6a
push 0x81
push edi
push 0x454
push eax
mov dword [esi + 0x24], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x28]
push dword [eax + 4]
mov ebx, dword [esi + 0x24]
call fcn.10019196
pop ecx
push dword [esi + 0x24]
xor ebx, ebx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x28]
cmp dword [eax + 0x2d4], ebx
mov dword [ebp - 0x1c], ebx
jle 0x1000b7e0
mov ecx, dword [esi + 0x28]
mov eax, dword [ebp - 0x1c]
mov edi, 0x2d0
add ecx, edi
call fcn.1000bd7c
cmp dword [eax + 8], ebx
je 0x1000b7cb
mov ecx, dword [esi + 0x28]
mov eax, dword [ebp - 0x1c]
add ecx, edi
call fcn.1000bd7c
mov eax, dword [eax]
push ebx
push eax
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x28]
push 0x40c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1000b7cb
mov ecx, dword [esi + 0x28]
mov eax, dword [ebp - 0x1c]
add ecx, edi
mov dword [ebp - 0x20], ebx
call fcn.1000bd7c
mov edi, dword [esi + 0x28]
mov esi, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [edi + 0x1bc]
call fcn.1000bd4f
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x1000b6c9
cmp dword [eax + 0x2c], 7
je 0x1000b7c8
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push dword [ebp - 0x3c]
push 0x419
push dword [edi + 4]
call esi
push 0x20
pop edi
push edi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.100c1480
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x34]
mov dword [ebp - 0x5c], edi
mov edi, dword [ebp - 0x28]
mov eax, dword [edi + 0x28]
push 0x417
mov dword [ebp - 0x58], 0x4f
push dword [eax + 4]
call esi
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x3c]
mov eax, dword [edi + 0x28]
push 0x43f
push dword [eax + 4]
call esi
lea eax, [ebp - 0x18]
push eax
push 1
push 0x444
push dword [edi + 0x24]
call esi
and byte [ebp - 0x4c], 0xf7
test byte [ebp - 0x4b], 8
je 0x1000b743
mov dword [ebp - 0x30], ebx
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x1000b786
cmp dword [ecx + 0x2c], 6
jne 0x1000b786
and byte [ebp - 0x4b], 0xef
test byte [ebp - 0x4b], 0x40
je 0x1000b777
or byte [ebp - 0x4b], 0x10
xor eax, eax
mov word [ebp - 0x4a], ax
cmp dword [ecx + 0x70], 8
jb 0x1000b76f
mov eax, dword [ecx + 0x5c]
jmp 0x1000b772
lea eax, [ecx + 0x5c]
mov dword [ebp - 0x44], eax
jmp 0x1000b786
mov ax, word [ecx + 0x30]
sub ax, word [ecx + 0x10c]
mov word [ebp - 0x4a], ax
push dword [ebp - 0x2c]
mov eax, dword [edi + 0x28]
push ecx
push dword [eax + 4]
lea ecx, [eax + 0x24c]
call fcn.1003d743
cmp eax, ebx
jle 0x1000b7a7
and byte [ebp - 0x4b], 0xef
mov word [ebp - 0x4a], ax
cmp dword [ebp - 0x44], ebx
jne 0x1000b7b0
and dword [ebp - 0x58], 0xfffffffd
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x3c]
push 0x440
push dword [edi + 0x24]
call esi
inc dword [ebp - 0x24]
mov esi, edi
jmp 0x1000b7cb
mov esi, dword [ebp - 0x28]
inc dword [ebp - 0x1c]
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x2d4]
jl 0x1000b64c
push dword [ebp - 0x2c]
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x30], ebx
jne 0x1000b7f6
cmp dword [ebp - 0x38], ebx
jne 0x1000b80a
push 0x1a0000
push ebx
push 0x41f
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x24]
mov edi, esi
call fcn.1000b4f0
mov edi, eax
sub edi, 0x11
cmp dword [ebp - 0x24], 1
mov dword [ebp - 0x2c], edi
jle 0x1000b932
push ebx
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x418
push dword [esi + 0x24]
call ebx
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x1000b8e0
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x1c]
push 0x41d
push dword [esi + 0x24]
call ebx
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
cmp eax, edi
mov dword [ebp - 0x34], eax
jge 0x1000b8d1
inc dword [ebp - 0x1c]
inc dword [ebp - 0x20]
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0x68
push 0x443
push dword [esi + 0x24]
mov byte [ebp - 0x10], 0
mov byte [ebp - 0xf], 0x40
mov dword [ebp - 0x18], 0xfffffffe
mov dword [ebp - 8], 0x10102458
call ebx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x7c], 0x20
mov word [ebp - 0x6a], ax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x78], 0x80000040
push 0x440
push dword [esi + 0x24]
call ebx
mov edi, dword [ebp - 0x2c]
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
jl 0x1000b84a
xor eax, eax
cmp dword [ebp - 0x30], eax
jne 0x1000b8ec
cmp dword [ebp - 0x38], eax
jne 0x1000b8fc
push 0x1a0000
push eax
push 0x41f
push dword [esi + 0x24]
call ebx
push 0
push 0
push 0x421
push dword [esi + 0x24]
call ebx
push dword [ebp - 0x20]
mov edi, esi
call fcn.1000b4f0
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x1a
push 0x716
push ecx
add eax, 4
push eax
xor eax, eax
push eax
push eax
push eax
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bfae1
leave
ret