Function at 0x1001b0a8
Capabilities:
Capture webcam image
Resolve function by parsing pe exports

Disassembly:
push 0x174
mov eax, 0x100ecdae
call fcn.100c74e5
mov edi, edx
mov eax, dword [edi + 8]
mov ebx, ecx
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xf4], edi
cmp eax, 0xfffffff4
jne 0x1001b240
mov esi, dword [edi + 0x24]
cmp esi, 0x65
jne 0x1001b0e3
push 4
pop eax
jmp 0x1001bc0b
and dword [ebp - 0xf4], 0
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebx + 0x1bc]
call fcn.1000bd4f
movzx ecx, al
mov eax, dword [edi + 0xc]
dec eax
je 0x1001b239
sub eax, 0x10000
je 0x1001b1f8
dec eax
jne 0x1001bc09
test ecx, ecx
je 0x1001b1b3
mov esi, dword [ebp - 0xf4]
push eax
push dword [esi + 0x28]
push 0x419
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x2c], 1
mov dword [ebp - 0xf0], eax
jne 0x1001b17a
call fcn.1000ebc5
cmp dword [esi + 0x34], 0
je 0x1001b156
mov eax, dword [esi + 0x34]
jmp 0x1001b15b
mov eax, dword [0x101366b8]
mov ecx, dword [esi + 0xb0]
neg ecx
sbb ecx, ecx
and ecx, 0xb
push ecx
mov ecx, dword [edi + 0x28]
and ecx, 1
push ecx
push dword [ebp - 0xf0]
mov esi, eax
jmp 0x1001b1de
mov eax, dword [esi + 0x28]
push 0
push eax
push 0x40c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 0x10]
add ebx, 0x24c
push esi
push dword [edi]
push ebx
test eax, eax
je 0x1001b1a9
call fcn.1003dd36
jmp 0x1001bc09
call fcn.1003dc4e
jmp 0x1001bc09
cmp esi, 0x67
jne 0x1001bc09
xor esi, esi
push esi
push 0x67
push 0x419
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
call fcn.1000ebc5
push esi
push esi
mov esi, dword [0x101366b4]
push ebx
push dword [edi + 0x10]
push dword [edi]
call fcn.1001bc7b
push 0x1013669c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1001bc09
push 0x10
pop eax
test ecx, ecx
je 0x1001bc0b
mov ecx, dword [ebp - 0xf4]
mov ecx, dword [ecx + 0x38]
test cl, 1
je 0x1001b216
mov eax, 0x410010
test cl, 2
je 0x1001b220
or eax, 0x440000
test cl, 4
je 0x1001bc0b
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x44], ecx
or eax, 0x800000
jmp 0x1001bc0b
push 0x20
jmp 0x1001b0dd
cmp eax, 0xfffffd3a
jne 0x1001bb07
xor eax, eax
cmp dword [0x10136098], eax
je 0x1001b265
push eax
push eax
push 0xbd5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [edi + 0xc]
and dword [ebp - 0xf8], 0
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebx + 0x1bc]
mov dword [ebp - 0x100], esi
call fcn.1000bd4f
test al, al
je 0x1001bb07
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [ebp - 0x100]
lea esi, [ebx + 4]
push 0x40c
push dword [esi]
mov dword [ebp - 0x104], esi
call edi
test eax, eax
je 0x1001b300
mov eax, dword [ebx + 0x2f4]
test eax, eax
je 0x1001b323
lea ecx, [ebp - 0x120]
push ecx
push dword [ebp - 0x100]
push 0x433
push dword [eax + 0x24]
call edi
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [ebp - 0x120]
push eax
mov eax, dword [ebx + 0x2f4]
push dword [eax + 0x24]
call esi
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebx + 0x2f4]
push dword [eax + 0x24]
call esi
jmp 0x1001b323
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x100]
push 0x433
push dword [esi]
call edi
lea eax, [ebp - 0x120]
mov edi, esi
call fcn.10004102
mov ebx, dword [ebp - 0xf8]
cmp dword [ebx + 0xb0], 0
je 0x1001b5c9
push dword [ebx + 0xb0]
push dword [ebp - 0xe4]
call fcn.1001bc11
push dword [ebx + 0xb0]
call dword [sym.imp.USER32.dll_GetMenuItemCount]
dec eax
mov dword [ebp - 0xec], eax
js 0x1001b5c9
mov eax, dword [ebp - 0xe4]
add eax, 0x1ec
mov dword [ebp - 0x13c], eax
push dword [ebp - 0xec]
push dword [ebx + 0xb0]
call dword [sym.imp.USER32.dll_GetMenuItemID]
mov ecx, dword [ebp - 0x13c]
mov esi, eax
lea eax, [ebp - 0x140]
push eax
mov dword [ebp - 0xe8], esi
call fcn.1000bd4f
test al, al
je 0x1001b5bd
mov edi, dword [ebp - 0x140]
cmp dword [edi + 0x20], 2
jne 0x1001b893
xor ecx, ecx
cmp dword [edi + 0x90], ecx
je 0x1001b6c3
lea eax, [edi + 0x7c]
cmp dword [eax + 0x18], 8
jb 0x1001b3d1
mov eax, dword [eax + 4]
jmp 0x1001b3d4
add eax, 4
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x180]
push ecx
lea ecx, [ebp - 0x124]
push ecx
push 0xffffffffffffffff
push eax
push 0x101364f0
call fcn.1004974e
test eax, eax
je 0x1001b668
xor esi, esi
mov dword [ebp - 0xfc], esi
lea eax, [ebp - 0xfc]
push eax
mov dword [ebp - 4], esi
call fcn.1002910d
mov eax, dword [ebp - 0xfc]
push esi
mov dword [ebp - 0x110], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xfc]
mov esi, dword [ebp - 0x124]
call fcn.1000c33c
push eax
lea ebx, [ebp - 0xf0]
call fcn.100164b7
lea edx, [ebp - 0x110]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
push edx
push dword [ebp - 0xf0]
push eax
call dword [ecx + 0x104]
cmp word [ebp - 0x110], 0xffff
jne 0x1001b58c
and dword [ebp - 0xe8], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
lea edx, [ebp - 0xe8]
push edx
push eax
call dword [ecx + 0xb4]
push ecx
mov ecx, dword [ebp - 0xe8]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x108], esp
test eax, eax
je 0x1001b4ae
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [ebp - 0xe0]
push eax
call fcn.100165b0
sub esp, 0x1c
mov byte [ebp - 4], 3
mov eax, esp
mov dword [ebp - 0x108], esp
push str.channel
call fcn.10008945
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0xe0]
call fcn.10016cd0
lea eax, [ebp - 0x88]
push eax
lea esi, [ebp - 0x17c]
mov byte [ebp - 4], 4
call fcn.10016987
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0
lea ebx, [ebp - 0xe0]
je 0x1001b510
lea ebx, [ebp - 0x88]
cmp dword [edi + 0x58], 8
jb 0x1001b51b
mov eax, dword [edi + 0x44]
jmp 0x1001b51e
lea eax, [edi + 0x44]
push eax
sub esp, 0x54
mov eax, esp
mov dword [ebp - 0x108], esp
push eax
call fcn.100170f5
push dword [edi + 0xb8]
mov eax, dword [ebp - 0xf8]
push dword [ebp - 0xec]
push dword [eax + 0xb0]
push dword [ebp - 0xe4]
call fcn.10020296
push 0
push 1
lea esi, [ebp - 0x17c]
call fcn.100016e6
lea eax, [ebp - 0x88]
call fcn.1001705e
lea eax, [ebp - 0xe0]
call fcn.1001705e
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x1001b58c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x124]
call fcn.1004a0c8
push dword [ebp - 0xf0]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x1001b5b7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [ebp - 0xf8]
dec dword [ebp - 0xec]
jns 0x1001b371
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
mov edi, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0x2f4]
test eax, eax
je 0x1001b5f0
mov eax, dword [eax + 0x24]
mov dword [ebp - 0xe8], eax
xor eax, eax
cmp dword [ebx + 0x2c], 4
sete al
mov dword [ebp - 0xf0], eax
test eax, eax
je 0x1001b618
push 0xffffffffffffffff
lea esi, [ebx + 0xec]
xor edi, edi
call fcn.10001880
mov edi, dword [ebp - 0xe4]
push 0x10102458
push 8
pop esi
push esi
push edi
mov ecx, ebx
call fcn.1001a3b0
cmp dword [ebp - 0xf0], 0
je 0x1001ba9c
mov eax, dword [0x10136098]
test eax, eax
jne 0x1001ba71
push 0xb4
call fcn.100a20ff
pop ecx
test eax, eax
je 0x1001b983
mov edi, eax
call fcn.1000d719
mov edi, dword [ebp - 0xe4]
jmp 0x1001b985
cmp dword [edi + 0x78], 8
jb 0x1001b673
mov edi, dword [edi + 0x64]
jmp 0x1001b676
add edi, 0x64
push edi
lea edi, [ebp - 0x17c]
call fcn.1002072c
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1001b68e
mov eax, dword [eax + 4]
jmp 0x1001b691
add eax, 4
push eax
push dword [ebp - 0xe8]
push 0x402
push dword [ebp - 0xec]
push dword [ebx + 0xb0]
call dword [sym.imp.USER32.dll_ModifyMenuW]
push 0
push 1
lea esi, [ebp - 0x17c]
call fcn.100016e6
jmp 0x1001b5bd
cmp dword [edi + 0xb0], ecx
je 0x1001b5bd
cmp dword [0x1013660c], ecx
je 0x1001b7ec
xor eax, eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 6
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x150]
push eax
sub esp, 0x1c
mov byte [ebp - 4], 7
lea eax, [edi + 0x9c]
mov esi, esp
mov dword [ebp - 0x108], esp
push eax
call fcn.1000e554
call fcn.1004b218
cmp dword [edi + 0x58], 8
jb 0x1001b74d
mov eax, dword [edi + 0x44]
jmp 0x1001b750
lea eax, [edi + 0x44]
push eax
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x150]
push eax
push dword [edi + 0xb8]
push dword [ebp - 0xec]
push dword [ebx + 0xb0]
push dword [ebp - 0xe4]
call fcn.10020115
test eax, eax
jne 0x1001b7d6
cmp dword [edi + 0x78], 8
jb 0x1001b78b
mov edi, dword [edi + 0x64]
jmp 0x1001b78e
add edi, 0x64
push edi
lea edi, [ebp - 0x17c]
call fcn.1002072c
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1001b7a6
mov eax, dword [eax + 4]
jmp 0x1001b7a9
add eax, 4
push eax
push dword [ebp - 0xe8]
push 0x402
push dword [ebp - 0xec]
push dword [ebx + 0xb0]
call dword [sym.imp.USER32.dll_ModifyMenuW]
push 0
push 1
lea esi, [ebp - 0x17c]
call fcn.100016e6
lea edi, [ebp - 0x160]
call fcn.10015ef6
lea edi, [ebp - 0x150]
jmp 0x1001b925
mov eax, dword [edi + 0xd8]
lea ecx, [edi + 4]
push 0xffffffffffffffff
mov dword [edi], eax
lea eax, [edi + 0xdc]
push ecx
xor ebx, ebx
call fcn.1000165f
lea eax, [edi + 0x24]
push 0xffffffffffffffff
lea esi, [edi + 0xbc]
push eax
mov eax, esi
call fcn.1000165f
lea eax, [edi + 0x40]
push eax
call fcn.1000be2f
cmp dword [edi + 0xd0], ebx
jne 0x1001b832
mov esi, str.Search_History_turned_off
jmp 0x1001b840
cmp dword [esi + 0x18], 8
jb 0x1001b83d
mov esi, dword [esi + 4]
jmp 0x1001b840
add esi, 4
push esi
lea edi, [ebp - 0x17c]
call fcn.1002072c
cmp dword [eax + 0x18], 8
pop ecx
jb 0x1001b858
mov eax, dword [eax + 4]
jmp 0x1001b85b
add eax, 4
push eax
push dword [ebp - 0xe8]
mov eax, dword [ebp - 0xf8]
push 0x400
push dword [ebp - 0xec]
push dword [eax + 0xb0]
call dword [sym.imp.USER32.dll_ModifyMenuW]
push 0
push 1
lea esi, [ebp - 0x17c]
call fcn.100016e6
jmp 0x1001b5b7
mov eax, dword [edi]
cmp eax, 0x12
jne 0x1001b933
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 8
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x20]
push eax
sub esp, 0x1c
mov byte [ebp - 4], 9
add edi, 4
mov esi, esp
mov dword [ebp - 0x108], esp
push edi
call fcn.1000e554
call fcn.1004b218
cmp dword [ebp - 0x1c], 0
jne 0x1001b900
push 0x403
jmp 0x1001b905
push 0x400
push dword [ebp - 0xec]
push dword [ebx + 0xb0]
call dword [sym.imp.USER32.dll_EnableMenuItem]
lea edi, [ebp - 0x134]
call fcn.10015ef6
lea edi, [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
call fcn.10015ef6
jmp 0x1001b5bd
cmp eax, 0x18
je 0x1001b941
cmp eax, 0x19
jne 0x1001b5bd
mov eax, dword [ebp - 0x104]
push 0
push dword [ebp - 0x100]
push 0x40c
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1001b97c
push 0x401
push dword [ebp - 0xec]
push dword [ebx + 0xb0]
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x1001b5bd
push 0x400
jmp 0x1001b965
xor eax, eax
mov dword [0x10136098], eax
lea eax, [ebx + 0xd0]
cmp dword [eax + 0x18], esi
jb 0x1001b99a
mov eax, dword [eax + 4]
jmp 0x1001b99d
add eax, 4
mov ecx, dword [edi + 0x1b8]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 0x17c]
push eax
call dword [edx + 4]
lea ecx, [ebx + 0xec]
mov dword [ebp - 4], 0xa
cmp dword [ecx + 0x18], esi
jb 0x1001b9c7
mov ecx, dword [ecx + 4]
jmp 0x1001b9ca
add ecx, 4
cmp dword [eax + 0x18], esi
jb 0x1001b9d4
mov eax, dword [eax + 4]
jmp 0x1001b9d7
add eax, 4
push ecx
push dword [ebx + 0x110]
push eax
push dword [ebx + 0x10c]
lea eax, [ebp - 0x2c]
push dword [ebx + 0x108]
push dword [ebp - 0x114]
push dword [ebp - 0x120]
push dword [edi + 0x1b8]
push eax
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax]
call fcn.1000d914
push 0
push 1
lea esi, [ebp - 0x17c]
mov byte [ebp - 4], 0xc
call fcn.100016e6
cmp dword [ebp - 0x18], 0
je 0x1001ba47
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1001ba33
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 0x1b8]
xor edi, edi
call fcn.100109da
mov ecx, dword [0x10136098]
test ecx, ecx
je 0x1001ba58
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [0x10136098], 0
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.100016e6
jmp 0x1001ba83
push 0
push 0
push 0x7e8
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x104]
push 0
push 0
push 0xbd5
push dword [eax]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1001bafb
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x100]
cmp ecx, dword [eax + 0x2e8]
mov dword [ebp - 0x138], 0x14
lea esi, [ebp - 0x120]
lea edi, [ebp - 0x134]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0xe8]
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x114]
movsd dword es:[edi], dword [esi]
jne 0x1001bae7
push dword [ebp - 0x118]
push 0x48
jmp 0x1001baef
push dword [ebp - 0x120]
push 0x40
push dword [ebx + 0xb0]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
mov ebx, dword [ebp - 0xe4]
mov edi, dword [ebp - 0xf4]
mov eax, dword [edi + 8]
cmp eax, 0xfffffdf8
je 0x1001bbbc
cmp eax, 0xfffffdee
je 0x1001bbbc
cmp eax, 0xfffffd37
jne 0x1001bc09
mov edi, dword [ebp - 0xf4]
mov eax, dword [edi + 0xc]
mov ebx, dword [ebp - 0xe4]
push 0x10102458
mov esi, 0x1000
push esi
call fcn.1001a3d4
mov ebx, dword [edi + 0x10]
mov edi, dword [ebp - 0xe4]
lea eax, [ebp - 0x134]
push eax
push ebx
push 0x433
add edi, 4
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x134]
call fcn.10004102
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0x108]
lea eax, [ebp - 0x134]
push dword [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
mov eax, ebx
mov ebx, dword [ebp - 0xe4]
push 0x10102458
je 0x1001bbb4
push 0x800
jmp 0x1001bbb5
push esi
call fcn.1001a3d4
jmp 0x1001bc09
mov esi, dword [edi + 4]
and dword [ebp - 0xf0], 0
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebx + 0x1bc]
call fcn.1000bd4f
test al, al
je 0x1001bc09
mov eax, dword [ebp - 0xf0]
cmp dword [eax + 0x88], 0
je 0x1001bc09
cmp dword [eax + 0x8c], 8
jb 0x1001bbf9
mov eax, dword [eax + 0x78]
jmp 0x1001bbfc
add eax, 0x78
push 0x4f
push eax
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor eax, eax
call fcn.100c7568
ret