Function at 0x424d50
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485c2a
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4b31cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x1039
push ecx
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x84], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
js 0x425150
test byte [ebp - 0x74], 0xe
je 0x425150
mov eax, dword [ebp - 0x6c]
test eax, eax
js 0x425150
mov ecx, dword [ebp - 0x8c]
mov eax, dword [eax*4 + 0x4b574c]
mov edx, dword [ebp - 0x88]
push dword [ebp - 0x90]
mov dword [ecx], eax
mov eax, dword [ebp - 0x70]
mov dword [edx], eax
push dword [ecx]
push eax
push dword [ebp - 0x84]
lea eax, [ebp - 0x80]
push eax
call fcn.00424840
add esp, 0x14
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 1
call fcn.00468f70
test eax, eax
jne 0x424e77
push 0x48cc00
call fcn.00468d70
push eax
push 0x48cc00
call fcn.00468f00
add esp, 0xc
mov dword [edi], eax
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], 0
mov dword [ebp - 0x98], 1
test ecx, ecx
je 0x42516a
call fcn.00468f40
jmp 0x42516a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
inc eax
push 2
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x68]
push eax
push 0
push dword [ebp - 0x84]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
push dword [ebp - 0x64]
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_MonitorFromPoint]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], 0x28
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push ecx
push eax
movdqu xmmword [ebp - 0x54], xmm0
movdqu xmmword [ebp - 0x44], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
movdqu xmm0, xmmword [ebp - 0x44]
push 2
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x84]
movdqu xmmword [ebp - 0x30], xmm0
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
movdqa xmm0, xmmword [0x4910d0]
push dword [ebp - 0x84]
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [ebp - 0x90]
mov ecx, dword [0x4b56c0]
mov dword [ebp - 0x94], eax
cmp byte [edx], 0
cmovne ecx, dword [0x4b56c4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xa
lea ecx, [ebp - 0x80]
call fcn.004689b0
push eax
call fcn.0046f5b7
add esp, 8
lea ecx, [ebp - 0x80]
test eax, eax
lea eax, [ebp - 0x20]
je 0x424f52
push 0xc00
jmp 0x424f57
push 0xc20
push eax
push 0xffffffffffffffff
call fcn.004689b0
push eax
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_DrawTextW]
push 0
push 0
push 0x419
push dword [0x4b4b00]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x18]
mov ecx, edx
sub ecx, dword [ebp - 0x20]
push dword [ebp - 0x94]
cmp ecx, eax
push dword [ebp - 0x84]
cmovg edx, eax
mov dword [ebp - 0x18], edx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0xa
lea ecx, [ebp - 0x80]
call fcn.004689b0
push eax
call fcn.0046f5b7
add esp, 8
test eax, eax
je 0x425048
push 1
push 6
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
movdqu xmm0, xmmword [ebp - 0x20]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push eax
movdqu xmmword [esi], xmm0
call dword [sym.imp.USER32.dll_GetCursor]
push eax
call fcn.00423ad0
mov eax, dword [ebp - 0x88]
add esp, 0x10
sub eax, dword [esi + 4]
add eax, dword [ebp + 0x14]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
push 0x28
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x425032
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 8]
sub eax, ecx
push 0
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x4250d0
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi]
sub eax, ecx
push 0
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x4250d0
mov eax, dword [ebp - 0x88]
push esi
push dword [ebp - 0x6c]
push dword [eax]
push dword [ebp - 0x84]
call fcn.004258e0
mov eax, dword [ebp - 0x8c]
push dword [eax]
call fcn.00425240
add esp, 0x14
test al, al
je 0x425077
add dword [esi + 8], 0xfffffffa
mov eax, dword [ebp - 0x8c]
cmp dword [eax], 0x9c77
jne 0x42509a
push 0
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
sub eax, ecx
mov edx, dword [ebp - 0x18]
cmp eax, edx
jle 0x4250b9
push 0x48cc00
mov ecx, edi
call fcn.0040c520
jmp 0x424e54
mov eax, dword [ebp - 0x20]
add eax, ecx
push 1
mov dword [esi], eax
add eax, edx
push 6
push esi
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esi + 0xc]
cmp ecx, dword [ebp - 0x24]
jle 0x4250e7
mov eax, dword [ebp + 0x14]
sub eax, ecx
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
jge 0x4250fd
sub eax, ecx
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x28]
cmp ecx, eax
jle 0x425113
push 0
sub eax, ecx
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x30]
cmp ecx, eax
jge 0x425128
push 0
sub eax, ecx
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
push 2
push esi
push 0
push dword [ebp - 0x84]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x80]
mov dword [edi], ecx
test ecx, ecx
je 0x424e57
call fcn.00468c60
jmp 0x424e54
push 0x48cc00
call fcn.00468d70
push eax
push 0x48cc00
call fcn.00468f00
add esp, 0xc
mov dword [edi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dfbe
mov esp, ebp
pop ebp
ret