Function at 0x41189c
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [0x489840]
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
xor ebp, ebp
mov edi, ecx
cmp ebx, ebp
mov dword [esp + 0x1c], edi
jne 0x411aa2
mov ecx, edi
xor ebx, ebx
call fcn.00412873
cmp eax, 0x20
jle 0x4118d0
push 1
pop ebx
push 0x3e8
push 0x5600094c
push ebx
push ebp
push 9
push 0x47f650
push dword [edi + 4]
call fcn.0046a6f2
mov ebx, eax
xor eax, eax
lea edi, [esp + 0x40]
mov dword [esp + 0x3c], ebp
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x1c
stosd dword es:[edi], eax
push ebp
push 0xa775
push 0x419
push ebx
stosd dword es:[edi], eax
call esi
lea ecx, [esp + 0x20]
mov edi, 0x417
push ecx
push eax
push edi
push ebx
mov dword [esp + 0x24], eax
call esi
or byte [esp + 0x29], 8
push ebp
push dword [esp + 0x18]
push 0x416
push ebx
call esi
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
push 0x443
push ebx
call esi
push ebp
push ebp
push 0x418
push ebx
call esi
cmp eax, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebp
jle 0x41197f
mov dword [esp + 0x14], 0x489328
push dword [esp + 0x14]
push dword [esp + 0x14]
push edi
push ebx
call esi
inc dword [esp + 0x10]
add dword [esp + 0x14], 0x14
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
jl 0x411960
mov eax, dword [esp + 0x18]
push ebp
push ebx
mov dword [0x489844], eax
mov dword [0x489840], ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
push ebp
push 0x431
push ebx
call esi
cmp dword [0x48984c], ebp
mov dword [esp + 0x14], eax
jne 0x4119c1
push ebp
push ebp
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
push eax
call fcn.0041fd41
pop ecx
mov dword [0x48984c], eax
cmp dword [esp + 0x14], ebp
je 0x411a90
push ebp
push 0xa770
push 0x419
push ebx
call esi
lea ecx, [esp + 0x20]
push ecx
push eax
push edi
push ebx
call esi
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebp
push 0x20
push 0x20
push 1
push 0x4163
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_LoadImageW]
cmp eax, ebp
jne 0x411a21
mov eax, dword [0x492fe8]
push ebp
push 0x10
push 0x10
push 1
push 0x155
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push dword [esp + 0x24]
push dword [esp + 0x1c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push ebp
push 0xb379
push 0x419
push ebx
call esi
lea ecx, [esp + 0x20]
push ecx
push eax
push edi
push ebx
call esi
push ebp
push 0x20
push 0x20
push 1
push 0x122
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push dword [esp + 0x24]
push dword [esp + 0x1c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 1
mov edi, 0x404
push 0xb379
push edi
push ebx
call esi
cmp dword [0x47f648], ebp
jne 0x411a90
push 1
push 0xa770
push edi
push ebx
call esi
mov ebx, dword [0x489840]
mov edi, dword [esp + 0x1c]
cmp ebx, ebp
je 0x4118bf
push ebp
push ebp
push 0x418
push ebx
call esi
mov ecx, edi
call fcn.00412873
cmp eax, 0x14
jge 0x411abb
push 0x14
pop eax
push ebp
push dword [0x4930bc]
push ebp
push dword [edi + 4]
push eax
push 0x64
push ebp
push ebp
push 0x5600094c
push ebp
push 0x47f0f8
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
cmp edi, ebp
je 0x411b0a
push ebp
push ebp
push 0x431
push ebx
call esi
push eax
push ebp
push 0x430
push edi
call esi
push 0x489328
push dword [0x489844]
push 0x444
push edi
call esi
push 1
mov ebx, 0x404
push 0xb379
push ebx
push edi
call esi
cmp dword [0x47f648], ebp
jne 0x411b2d
push 1
push 0xa770
push ebx
push edi
call esi
push 1
push ebp
push 0x454
push edi
call esi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret