Function at 0x1003fdea
Capabilities:
Capture webcam image

Disassembly:
push 0x884
mov eax, 0x10089179
call fcn.10085435
mov ebx, ecx
call dword [sym.imp.PhotoBase.dll_public:_static_class_ATL::CAtlStringMgr____stdcall_Base::String::GetBaseStringManager_void_]
push eax
lea ecx, [ebp - 0x860]
call fcn.10015daa
xor esi, esi
lea ecx, [ebp - 0x85c]
mov eax, 0x41a
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
cmp word [ebp + 0xc], ax
jne 0x1003fe37
push 0x51d
call fcn.10015928
mov byte [ebp - 4], 2
jmp 0x1003fe5d
cmp dword [ebx + 0x16b8], esi
je 0x1003fe4f
push 0x51c
call fcn.10015928
mov byte [ebp - 4], 3
jmp 0x1003fe5d
push 0x81
call fcn.10015928
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x860]
call fcn.1001e9fb
mov ecx, dword [ebp - 0x85c]
lea ecx, [ecx - 0x10]
call fcn.10015dfc
push 0x208
lea eax, [ebp - 0x428]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea edi, [ebp - 0x880]
xor eax, eax
push 8
pop ecx
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x34]
lea eax, [ebp - 0x428]
mov dword [ebp - 0x878], eax
mov edi, esi
mov eax, dword [ebp - 0x860]
mov dword [ebp - 0x880], ecx
mov dword [ebp - 0x87c], esi
mov dword [ebp - 0x874], eax
mov dword [ebp - 0x870], 0x71
mov dword [ebp - 0x86c], 0x1003fbe0
mov dword [ebp - 0x85c], edi
mov eax, 0x41a
mov byte [ebp - 4], 5
cmp word [ebp + 0xc], ax
jne 0x1003ff26
push 0x419
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push esi
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
js 0x1003ff6c
cmp eax, dword [ebx + 0x6c]
jge 0x1003ff6c
jb 0x1003ff1b
push 0x80070057
call dword [sym.imp.PhotoBase.dll_void___stdcall_ATL::BaseAtlThrow_long_int_]
imul ecx, eax, 0x214
add ecx, dword [ebx + 0x68]
jmp 0x1003ff54
push 0x417
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push esi
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
js 0x1003ff6c
cmp eax, dword [ebx + 0x5c]
jge 0x1003ff6c
jae 0x1003ff10
imul ecx, eax, 0x214
add ecx, dword [ebx + 0x58]
lea eax, [ebp - 0x85c]
push eax
call fcn.1001b609
mov edi, dword [ebp - 0x85c]
mov dword [ebp - 0x868], edi
lea eax, [ebp - 0x880]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov esi, eax
mov dword [ebp - 0x884], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x1004010e
lea eax, [ebp - 0x220]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1004010e
lea eax, [ebp - 0x220]
mov ecx, ebx
push eax
call fcn.1003fc41
test al, al
je 0x100400f9
lea ecx, [ebp - 0x640]
call fcn.1003d1f9
lea edx, [ebp - 0x640]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x220]
call fcn.1003d5d4
test eax, eax
jns 0x1003ffe4
push eax
call dword [sym.imp.PhotoBase.dll_void___stdcall_Base::Throw_long_int_]
mov ecx, ebx
call fcn.1003ebfc
mov ecx, 0x41a
cmp word [ebp + 0xc], cx
lea ecx, [eax + 0x248]
je 0x1003ffff
lea ecx, [eax + 0x34]
lea eax, [ebp - 0x640]
push eax
call fcn.1003d25a
mov eax, 0x41a
mov byte [ebx + 0x169e], 1
lea ecx, [ebp - 0x640]
push ecx
cmp word [ebp + 0xc], ax
jne 0x10040083
lea ecx, [ebx + 0x68]
call fcn.1003dbdb
push 0x419
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [ebx + 0x68]
call fcn.1003d9bc
mov ecx, ebx
call fcn.1003ebfc
add eax, 0x248
lea ecx, [ebp - 0x858]
push eax
call fcn.1003d225
lea eax, [ebp - 0x858]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebx + 0x68]
call fcn.1003db6a
mov dword [ebp - 0x85c], eax
test eax, eax
js 0x1004010e
push 0x419
jmp 0x100400da
lea ecx, [ebx + 0x58]
call fcn.1003dbdb
push 0x417
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [ebx + 0x58]
call fcn.1003d9bc
mov ecx, ebx
call fcn.1003ebfc
add eax, 0x34
lea ecx, [ebp - 0x858]
push eax
call fcn.1003d225
lea eax, [ebp - 0x858]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebx + 0x58]
call fcn.1003db6a
mov dword [ebp - 0x85c], eax
test eax, eax
js 0x1004010e
push 0x417
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push dword [ebp - 0x85c]
push 0x14e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1004010e
push 0
push 0x418
push 0x111
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x860]
lea ecx, [ecx - 0x10]
call fcn.10015dfc
xor eax, eax
call fcn.10085387
ret 0x10