Function at 0x100241c0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100435c5
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x10]
mov dword [esp + 0x80], 0
xorps xmm0, xmm0
mov al, byte [eax + 0x28]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
and al, 1
push 0
push dword [ebx + 0x18]
mov byte [esp + 0x1f], al
push 0x419
push dword [ebx + 0x1c]
movdqu xmmword [esp + 0x70], xmm0
movdqu xmmword [esp + 0x60], xmm0
call edi
lea ecx, [esp + 0x60]
push ecx
push eax
push 0x41d
push dword [ebx + 0x1c]
call edi
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x20]
add eax, 2
mov dword [esp + 0x18], eax
lea eax, [ebx + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x2c], eax
call fcn.10023780
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x64]
cdq
sub eax, edx
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
cmp byte [esp + 0x17], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], ecx
lea edx, [edi + eax]
lea edi, [ecx + ebx]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edi
je 0x100242c8
inc eax
inc edx
inc ecx
mov dword [esp + 0x50], eax
inc edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], edi
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x50]
push eax
push esi
call fcn.100236d0
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x10]
cmp dword [ecx - 0xc], 0
je 0x10024481
mov eax, dword [esp + 0x58]
add eax, 0xfffffffc
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
push ecx
add ecx, 0xfffffff0
mov dword [esp + 0x2c], 0
mov edi, esp
call fcn.1000abe0
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
call fcn.100245a0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
add ecx, 4
mov edi, dword [esp + 0x64]
add ecx, edx
cmp byte [esp + 0x17], 0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], eax
je 0x10024367
lea eax, [edx + 1]
inc ecx
mov dword [esp + 0x50], eax
lea eax, [edi + 1]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x6c]
inc eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push esi
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov ecx, dword [esp + 0x18]
mov edi, eax
push 2
push ecx
mov dword [esp + 0x30], ecx
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
test eax, eax
push ecx
cmovne edi, eax
mov eax, dword [esp + 0x24]
add eax, 4
mov dword [esp + 0x30], edi
push eax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x2c]
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0x38]
push ecx
push eax
mov ecx, ebx
call fcn.10024040
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 0xffffffffffffffff
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
movss xmm2, dword [0x1004e840]
lea ecx, [esp + 0x38]
mov ebx, dword [esp + 0x18]
sub esp, 0x10
call fcn.10023b00
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0
push eax
push 0
push 0
call dword [sym.imp.gdiplus.dll_GdipCreateStringFormat]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
movd xmm0, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x24]
push ebx
push dword [esp + 0x34]
dec eax
mov dword [esp + 0x50], 0
push ecx
push dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x5c], 0
movd xmm1, eax
mov eax, dword [edi + 0x10]
mov edi, dword [esp + 0x38]
cvtdq2ps xmm1, xmm1
push dword [eax - 0xc]
movss dword [esp + 0x54], xmm0
push eax
push edi
movss dword [esp + 0x60], xmm1
call dword [sym.imp.gdiplus.dll_GdipDrawString]
push dword [esp + 0x30]
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
push dword [esp + 0x38]
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
push ebx
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
push edi
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x58]
add eax, 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, dword [ebx + 8]
mov edi, esp
sub ecx, 0x10
mov dword [esp + 0x2c], 0
call fcn.1000abe0
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x24]
mov ecx, edi
call fcn.100245a0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x64]
add eax, ecx
cmp byte [esp + 0x17], 0
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x5c], ecx
je 0x100244ff
mov eax, dword [esp + 0x18]
inc edx
inc dword [esp + 0x58]
inc eax
inc ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x5c], ecx
sub ecx, dword [esp + 0x24]
sub ecx, edx
push 0
mov eax, ecx
cdq
push 0
sub eax, edx
push 0x31
push dword [edi + 0x1c]
sar eax, 1
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call edi
mov ecx, dword [ebx + 8]
mov dword [esp + 0x1c], eax
cmp dword [ecx - 4], 1
mov eax, dword [ecx - 0xc]
mov dword [esp + 0x28], eax
jle 0x1002454a
push eax
lea ecx, [ebx + 8]
call fcn.10001f90
mov eax, dword [esp + 0x28]
push 0
push eax
push dword [ebx + 8]
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x64]
add eax, dword [esp + 0x28]
push 4
push eax
push dword [esp + 0x68]
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
push dword [esp + 0x1c]
push esi
call edi
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1002af5f
mov esp, ebp
pop ebp
ret 4