Function at 0x1003e357
Capabilities:
Capture webcam image

Disassembly:
push 0x64
mov eax, 0x100e9c3b
call fcn.100c747c
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x5c]
test al, 1
je 0x1003e6dd
cmp dword [0x10136608], 0
jne 0x1003e382
test al, 2
jne 0x1003e6dd
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [ebx]
push 0x419
push dword [ebp + 0xc]
call edi
lea ecx, [ebp - 0x50]
push ecx
push eax
push 0x41d
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x1003e6dd
sub esp, 0x1c
lea eax, [ebx + 0x24]
mov esi, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.1000e554
push dword [ebx]
push dword [ebp + 8]
call fcn.1003cdc9
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x1003e6dd
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x70], 0x20
mov dword [eax + 0x30], ecx
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp + 0x14]
push dword [eax]
mov dword [ebp - 0x6c], 0x48
push 0x43f
push dword [ebp + 0xc]
call edi
push 0xfffffffffffffffe
push 0xfffffffffffffffe
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
test byte [ebp - 0x5f], 0x88
je 0x1003e420
sub dword [ebp - 0x48], 0xd
lea esi, [ebp - 0x50]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 8]
xor edi, edi
cmp eax, edi
jle 0x1003e43b
mov ecx, dword [ebp - 0x50]
add eax, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0xc]
cmp eax, edi
jle 0x1003e445
add dword [ebp - 0x3c], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jle 0x1003e45b
cmp dword [ebx + 8], edi
jl 0x1003e45b
mov eax, dword [ebp - 0x40]
add ecx, eax
mov dword [ebp - 0x38], ecx
jmp 0x1003e45e
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x14]
cmp eax, edi
jle 0x1003e474
cmp dword [ebx + 0xc], edi
jl 0x1003e474
mov edx, dword [ebp - 0x3c]
add eax, edx
mov dword [ebp - 0x34], eax
jmp 0x1003e477
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0x30], edi
jle 0x1003e497
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x40]
sub eax, dword [ebp - 0x3c]
cmp ecx, edi
jle 0x1003e67d
cmp eax, edi
jle 0x1003e67d
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], 0x8820
cmp eax, 0xffffffff
jne 0x1003e4c5
mov dword [ebp - 0x14], 0x8821
jmp 0x1003e4d1
cmp eax, 0xfffffffe
jne 0x1003e4d1
mov dword [ebp - 0x14], 0x8822
mov ebx, dword [ebx + 0xc]
cmp ebx, 0xffffffff
jne 0x1003e4df
or dword [ebp - 0x14], 4
jmp 0x1003e4e8
cmp ebx, 0xfffffffe
jne 0x1003e4e8
or dword [ebp - 0x14], 8
mov ebx, dword [ebp + 8]
lea eax, [esi + 0x28]
push eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
call fcn.1003e8d9
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov eax, ebx
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x18]
mov eax, dword [eax]
lea edi, [ebp - 0x30]
lea esi, [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
call fcn.10056222
test al, al
je 0x1003e5f5
push 0xa4
call fcn.100a20ff
pop ecx
mov dword [ebp - 0x20], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x1003e5a5
mov eax, dword [ebp + 0x14]
push dword [eax + 0x20]
lea edi, [eax + 0x40]
sub esp, 0x1c
mov esi, esp
mov dword [ebp + 0x14], esp
push edi
call fcn.1000e554
cmp dword [edi + 0x18], 8
jb 0x1003e562
mov eax, dword [edi + 4]
mov dword [ebp + 0x14], eax
jmp 0x1003e568
add edi, 4
mov dword [ebp + 0x14], edi
mov esi, dword [ebp - 0x1c]
cmp dword [esi + 0x58], 8
jb 0x1003e576
mov edi, dword [esi + 0x44]
jmp 0x1003e579
lea edi, [esi + 0x44]
push ebx
push ebx
push 0x31
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x18]
push esi
push dword [ebp + 0x10]
push dword [esi + 0x1c]
push dword [ebp + 0x14]
push edi
push dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
call fcn.100341b9
mov esi, eax
xor ebx, ebx
jmp 0x1003e5a7
xor esi, esi
or dword [ebp - 4], 0xffffffff
xor edi, edi
cmp dword [0x101322a0], ebx
jne 0x1003e5bb
mov dword [0x101322a0], ebx
lea eax, [esi + 0x20]
push eax
push 0x10132270
call fcn.10003cf7
movzx eax, ax
push eax
push edi
push ebx
push 0x54000000
push ebx
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 0xc]
mov ebx, esi
call fcn.10003d64
push dword [ebp - 0x28]
mov ebx, dword [ebp + 8]
call fcn.10028fe5
mov dword [eax], esi
jmp 0x1003e6dd
mov eax, dword [ebp + 0x14]
push dword [eax + 0x20]
lea edi, [eax + 0x40]
sub esp, 0x1c
mov esi, esp
mov dword [ebp + 0xc], esp
push edi
call fcn.1000e554
cmp dword [edi + 0x18], 8
jb 0x1003e61a
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
jmp 0x1003e620
add edi, 4
mov dword [ebp + 0xc], edi
mov edi, dword [ebp - 0x1c]
cmp dword [edi + 0x58], 8
jb 0x1003e62e
mov ebx, dword [edi + 0x44]
jmp 0x1003e631
lea ebx, [edi + 0x44]
lea esi, [ebp - 0x24]
call fcn.100156f8
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 4]
push edi
push dword [ebp + 0x10]
push dword [edi + 0x1c]
push dword [ebp + 0xc]
push ebx
call fcn.100342f5
call fcn.100156f8
mov eax, dword [eax + 4]
add eax, 4
push 1
push eax
lea eax, [ebp - 0x40]
call fcn.10004120
call fcn.100156f8
mov eax, dword [eax + 4]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1003e6dd
mov eax, dword [ebp - 0x18]
push 0x60
mov dword [esi + 0x30], eax
call fcn.100a20ff
pop ecx
cmp eax, edi
je 0x1003e69c
mov edi, eax
call fcn.10026307
mov esi, eax
xor edi, edi
jmp 0x1003e69e
xor esi, esi
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, 0xffffd8f1
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x14]
push 0xffffffffffffffff
lea ecx, [esi + 0x40]
add eax, 0x40
push ecx
xor ebx, ebx
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.1000165f
and dword [esi + 0x20], ebx
push esi
push 1
push 0xbf2
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.100c7554
ret 0x10