Function at 0x427c90
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x250
mov eax, dword [0x474728]
xor eax, esp
mov dword [esp + 0x24c], eax
mov eax, dword [0x462540]
push ebx
push ebp
push esi
mov esi, ecx
mov edx, dword [esi + 0x74]
mov cx, word [0x462544]
push edi
push edx
mov dword [esp + 0x50], eax
mov word [esp + 0x54], cx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x427ce3
mov ecx, dword [esi + 0x74]
lea eax, [esp + 0x4c]
push eax
push 0
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
call dword [0x475b00]
lea edx, [esp + 0x54]
push edx
push 0x462540
mov ecx, esi
call fcn.00427560
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x34], 0
call sub.gdiplus.dll_GdipCreateBitmapFromFileICM
mov ecx, dword [esi + 0x114]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x48], edx
mov ebx, 0xff000000
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0x20]
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, ecx
sub edx, dword [esp + 0x18]
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov ebp, 1
mov dword [esp + 0x24], eax
lea edi, [esi + 0xa8]
jmp 0x427d87
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
mov eax, 0x66666667
imul ecx
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, eax
add ecx, dword [esp + 0x28]
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, ebp
add eax, dword [esp + 0x24]
lea edx, [esp + 0x34]
push edx
push ecx
push eax
mov eax, dword [esp + 0x4c]
push eax
call sub.gdiplus.dll_GdipBitmapGetPixel
test eax, eax
jne 0x427dd9
mov ebx, dword [esp + 0x34]
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov dword [esp + 0x10], edx
mov byte [esi + 0xec], al
mov ecx, ebx
fild dword [esp + 0x10]
shr ecx, 8
fld qword [0x462538]
mov byte [esi + 0xed], cl
mov byte [esi + 0xee], bl
fdiv st(1), st(0)
fxch st(1)
fstp dword [edi - 4]
movzx eax, byte [esi + 0xed]
mov dword [esp + 0x10], eax
mov eax, 0x66666667
fild dword [esp + 0x10]
fdiv st(1)
fstp dword [edi]
movzx ecx, byte [esi + 0xee]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
fild dword [esp + 0x10]
imul ecx
fdivrp st(1)
mov ecx, dword [esp + 0x28]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
lea ecx, [ecx + eax*2]
mov eax, 0x66666667
imul edx
fstp dword [edi + 4]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, ebp
add eax, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
push ecx
push eax
mov eax, dword [esp + 0x4c]
push eax
call sub.gdiplus.dll_GdipBitmapGetPixel
test eax, eax
jne 0x427e8b
mov ebx, dword [esp + 0x30]
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov dword [esp + 0x10], edx
mov byte [esi + 0xec], al
mov ecx, ebx
fild dword [esp + 0x10]
shr ecx, 8
fld qword [0x462538]
mov byte [esi + 0xed], cl
mov byte [esi + 0xee], bl
fdiv st(1), st(0)
fxch st(1)
fstp dword [edi + 8]
movzx eax, byte [esi + 0xed]
mov dword [esp + 0x10], eax
mov eax, 0x66666667
fild dword [esp + 0x10]
fdiv st(1)
fstp dword [edi + 0xc]
movzx ecx, byte [esi + 0xee]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
fild dword [esp + 0x10]
imul ecx
fdivrp st(1)
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x28]
lea ecx, [edx + eax*2]
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
add ecx, eax
mov eax, 0x66666667
imul edx
fstp dword [edi + 0x10]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, ebp
add eax, dword [esp + 0x24]
lea edx, [esp + 0x38]
push edx
push ecx
push eax
mov eax, dword [esp + 0x4c]
push eax
call sub.gdiplus.dll_GdipBitmapGetPixel
test eax, eax
jne 0x427f40
mov ebx, dword [esp + 0x38]
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov dword [esp + 0x10], edx
mov ecx, ebx
shr ecx, 8
fild dword [esp + 0x10]
mov byte [esi + 0xed], cl
fld qword [0x462538]
mov byte [esi + 0xec], al
mov byte [esi + 0xee], bl
fdiv st(1), st(0)
add ebp, 1
add edi, 0x24
cmp ebp, 4
fxch st(1)
fstp dword [edi - 0x10]
movzx eax, byte [esi + 0xed]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fdiv st(1)
fstp dword [edi - 0xc]
movzx ecx, byte [esi + 0xee]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fdivrp st(1)
fstp dword [edi - 8]
jl 0x427d83
mov edx, dword [esp + 0x40]
push edx
call sub.gdiplus.dll_GdipDisposeImage
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00448ec8
add esp, 0x250
ret