Function at 0x4707ef
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov esi, ecx
push ebp
push ecx
lea edi, [esi + 0x270]
mov ecx, esp
push ebp
mov dword [esp + 0x28], edi
call fcn.00413efb
push ebp
push 0x46000045
push 0x4b1e80
push ecx
mov ecx, esp
push ebp
call fcn.00413efb
push dword [esi + 4]
mov ecx, edi
call fcn.0047958f
push ebp
push dword [edi]
call fcn.004707b2
push esi
push dword [edi]
call fcn.00478929
mov eax, dword [esi + 4]
mov ebx, 0xe800
push ebx
push 0x5600094c
push ebp
push 0xfb
push eax
call fcn.0040989e
push ebx
mov dword [esp + 0x40], eax
mov eax, dword [esi + 4]
push 0x5600094c
push ebp
push 0xfe
push eax
call fcn.0040989e
push ebx
mov dword [esp + 0x50], eax
mov eax, dword [esi + 4]
push 0x5600194c
push ebp
push 0x134
push eax
call fcn.0040989e
mov ecx, dword [esp + 0x64]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x4c
mov dword [esi + 0x22c], ecx
mov ecx, dword [esp + 0x14]
push ebp
push ebp
push 0x455
mov dword [esi + 0x220], ecx
push eax
mov dword [esi + 0x224], eax
call ebx
test al, 1
jne 0x4708ca
or al, 1
push eax
push ebp
push 0x454
push dword [esi + 0x224]
call ebx
push ebp
push 3
push 0x416
push dword [esi + 0x224]
call ebx
push ebp
push 2
push 0x416
push dword [esi + 0x224]
call ebx
push ebp
push 1
push 0x416
push dword [esi + 0x224]
call ebx
push ebp
push ebp
push 0x431
push dword [esi + 0x224]
call ebx
push eax
push ebp
push 0x430
push dword [esi + 0x224]
call ebx
push ebp
push 0x804c
push 0x419
push dword [esi + 0x22c]
call ebx
push ebp
push eax
push 0x416
push dword [esi + 0x22c]
call ebx
push ebp
push ebp
push 0x431
push dword [esi + 0x22c]
call ebx
push str.Shell32.dll
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push pe_nt_image_headers32
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_LoadIconW]
push ebp
push 0xe120
push 0x419
mov dword [esp + 0x1c], eax
push dword [esi + 0x22c]
call ebx
push dword [esp + 0x10]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0x417a
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_LoadIconW]
cmp eax, ebp
mov dword [esp + 0x10], eax
jne 0x4709ba
push 0x14a
push dword [0x4c7b64]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0x10], eax
push ebp
push 0xe123
push 0x419
push dword [esi + 0x22c]
call ebx
push dword [esp + 0x10]
dec eax
push eax
push dword [esp + 0x1c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0x109
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_LoadIconW]
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x470a16
push ebp
push 0xb37b
push 0x419
push dword [esi + 0x22c]
call ebx
push dword [esp + 0x10]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0xf3
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_LoadIconW]
push ebp
push 0xe122
push 0x419
mov dword [esp + 0x1c], eax
push dword [esi + 0x22c]
call ebx
push dword [esp + 0x10]
dec eax
push eax
push dword [esp + 0x1c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0x149
push dword [0x4c7b64]
call dword [sym.imp.USER32.dll_LoadIconW]
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x470a88
push ebp
push 0xe125
push 0x419
push dword [esi + 0x22c]
call ebx
push dword [esp + 0x10]
dec eax
push eax
push dword [esp + 0x1c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [esp + 0x14]
push ebp
push 0x430
push dword [esi + 0x22c]
call ebx
push ebp
push dword [esi + 0x220]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x20]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [edi]
push dword [esi + 0x22c]
call dword [sym.imp.USER32.dll_SetParent]
push dword [edi]
push dword [esi + 0x224]
call dword [sym.imp.USER32.dll_SetParent]
push dword [edi]
push dword [esi + 0x220]
call dword [sym.imp.USER32.dll_SetParent]
push ebp
push ebp
push 0x31
push dword [esi + 0x22c]
call ebx
push 0x16
mov edx, eax
pop ecx
xor eax, eax
lea edi, [esp + 0x34]
mov dword [esp + 0x30], ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x30]
push eax
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x30]
neg eax
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul qword [0x4ab340]
call fcn.0049d7e0
movzx eax, ax
mov edi, eax
shl edi, 0x10
or edi, eax
push edi
push ebp
push 0x41f
push dword [esi + 0x22c]
call ebx
push edi
push ebp
push 0x41f
push dword [esi + 0x224]
call ebx
push edi
push ebp
push 0x41f
push dword [esi + 0x220]
call ebx
lea edi, [esi + 0x26c]
lea eax, [esi + 0x268]
push edi
push eax
push dword [esi + 0x22c]
call fcn.0048f035
fild dword [edi]
add esp, 0xc
fmul qword [0x4ab2e8]
call fcn.0049d7e0
mov dword [edi], eax
mov eax, dword [esp + 0x1c]
push 5
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret